From 3b045f4d4baf0f491f8f696296921396ebb8881e Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Wed, 2 Oct 2019 12:16:41 +0200 Subject: [PATCH 1/6] Remove unnecessary sudo: required directive https://github.com/travis-ci/docs-travis-ci-com/pull/2095 https://docs.travis-ci.com/user/reference/overview/ --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32a00d2a..0be94a5a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -sudo: required - services: - docker From 80fa0687d92f609f3f776e20b941d1e525bde7a2 Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Wed, 2 Oct 2019 12:19:14 +0200 Subject: [PATCH 2/6] Add CI badge to README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e9564850..309ca1ae 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Stackprof +[![Build Status](https://travis-ci.org/tmm1/stackprof.svg?branch=master)](https://travis-ci.org/tmm1/stackprof) + A sampling call-stack profiler for Ruby. Inspired heavily by [gperftools](https://code.google.com/p/gperftools/), and written as a replacement for [perftools.rb](https://github.com/tmm1/perftools.rb). From 44be59099b38cac68e7b967c3a327c45c8ae5871 Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Wed, 2 Oct 2019 12:20:22 +0200 Subject: [PATCH 3/6] Add gem version badge to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 309ca1ae..12b7b874 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Stackprof [![Build Status](https://travis-ci.org/tmm1/stackprof.svg?branch=master)](https://travis-ci.org/tmm1/stackprof) +[![Gem Version](https://badge.fury.io/rb/stackprof.svg)](https://badge.fury.io/rb/stackprof) A sampling call-stack profiler for Ruby. From b6ea04b30d2fbba223219ada0597e31241c8a38c Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Wed, 2 Oct 2019 12:21:22 +0200 Subject: [PATCH 4/6] Add required Ruby version to .gemspec --- stackprof.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stackprof.gemspec b/stackprof.gemspec index 08c3224f..d6a550d2 100644 --- a/stackprof.gemspec +++ b/stackprof.gemspec @@ -19,6 +19,8 @@ Gem::Specification.new do |s| s.license = 'MIT' + s.required_ruby_version = '>= 2.1.0' + s.add_development_dependency 'rake-compiler', '~> 0.9' s.add_development_dependency 'mocha', '~> 0.14' s.add_development_dependency 'minitest', '~> 5.0' From c8613a9ec09ee740c6556822e554eab7e69257e3 Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Wed, 2 Oct 2019 12:23:35 +0200 Subject: [PATCH 5/6] Change some URLs from http to https --- README.md | 4 ++-- stackprof.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12b7b874..0cb2fd9a 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ $ stackprof --flamegraph-viewer=tmp/flamegraph The `--flamegraph-viewer` command will output the exact shell command you need to run to open the `tmp/flamegraph` you generated with the built in stackprof flamegraph viewer: -![](http://i.imgur.com/EwndrgD.png) +![](https://i.imgur.com/EwndrgD.png) Alternatively, you can generate a flamegraph that uses [d3-flame-graph](https://github.com/spiermar/d3-flame-graph): @@ -214,7 +214,7 @@ multiple reporting modes are supported: ### `StackProf::Report.new(data).print_graphviz` -![](http://cl.ly/image/2t3l2q0l0B0A/content) +![](https://cl.ly/image/2t3l2q0l0B0A/content) ``` digraph profile { diff --git a/stackprof.gemspec b/stackprof.gemspec index d6a550d2..437eaff1 100644 --- a/stackprof.gemspec +++ b/stackprof.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'stackprof' s.version = '0.2.13' - s.homepage = 'http://github.com/tmm1/stackprof' + s.homepage = 'https://github.com/tmm1/stackprof' s.authors = 'Aman Gupta' s.email = 'aman@tmm1.net' From 029f1b1543a404718a15774ac8f6b5f9031c2327 Mon Sep 17 00:00:00 2001 From: Anton Rieder Date: Thu, 3 Oct 2019 11:29:49 +0200 Subject: [PATCH 6/6] Update rake-compiler dependency --- Gemfile.lock | 4 ++-- stackprof.gemspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 0787c806..751031d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GEM mocha (0.14.0) metaclass (~> 0.0.1) rake (10.3.2) - rake-compiler (0.9.3) + rake-compiler (1.0.8) rake PLATFORMS @@ -20,7 +20,7 @@ PLATFORMS DEPENDENCIES minitest (~> 5.0) mocha (~> 0.14) - rake-compiler (~> 0.9) + rake-compiler (~> 1.0) stackprof! BUNDLED WITH diff --git a/stackprof.gemspec b/stackprof.gemspec index 437eaff1..16db9f12 100644 --- a/stackprof.gemspec +++ b/stackprof.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.1.0' - s.add_development_dependency 'rake-compiler', '~> 0.9' + s.add_development_dependency 'rake-compiler', '~> 1.0' s.add_development_dependency 'mocha', '~> 0.14' s.add_development_dependency 'minitest', '~> 5.0' end