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 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/README.md b/README.md index e9564850..0cb2fd9a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # 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. Inspired heavily by [gperftools](https://code.google.com/p/gperftools/), and written as a replacement for [perftools.rb](https://github.com/tmm1/perftools.rb). @@ -95,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): @@ -211,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 08c3224f..16db9f12 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' @@ -19,7 +19,9 @@ Gem::Specification.new do |s| s.license = 'MIT' - s.add_development_dependency 'rake-compiler', '~> 0.9' + s.required_ruby_version = '>= 2.1.0' + + s.add_development_dependency 'rake-compiler', '~> 1.0' s.add_development_dependency 'mocha', '~> 0.14' s.add_development_dependency 'minitest', '~> 5.0' end