flamegraph 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 06a272090cfc43c32f5e0127f93f4186ecbc079e
4
- data.tar.gz: 73df33b22ae95f0051e5732f2594cf001a5a8507
3
+ metadata.gz: 2c3fbf342a438e4ce5871d8baa3db641e4e3fd7e
4
+ data.tar.gz: 33a97dbacd76dd2f7a3cc704d385e22b90e22e3d
5
5
  SHA512:
6
- metadata.gz: a1afe9a9a489a017ca812f36dd0cccb40b22488d1955584eb4533906d813f92edb3e8baa2b4b6e411772becab881c53222dbc826603335ccf5bd656ef324f106
7
- data.tar.gz: 35a38b0d8634f5c92373d307b70bdc1c2522e2e3b4894e5b79458abaeaac21b9bcb069af94b2b56b1d474aca7be90f1dfdaf64fce8a21b351f6e28fcdfc96896
6
+ metadata.gz: 1ef50d13d58500bc953a4341d3ba59aaf81e0a5af2845bb758150b75d707c05cf2f59ca65ddfde4f98510a3cf6b30d8d3230444a013176885a4438a6bc20606b
7
+ data.tar.gz: 28e713024516ba5f8abbbf6418f361b250a3229a83a3f03a10f4ced42e70f80de0b8a1a1b06019374c8fcc986f3eabdb8f70fae2b879a7de468d25556de15341
@@ -3,7 +3,6 @@ require "json"
3
3
  if RUBY_VERSION >= "2.1.0".freeze
4
4
  begin
5
5
  require "stackprof"
6
- require "flamegraph/stackprof_sampler"
7
6
  rescue
8
7
  STDERR.puts "Please require the stackprof gem falling back to fast_stack"
9
8
  require "fast_stack"
@@ -25,6 +24,7 @@ module Flamegraph
25
24
 
26
25
  backtraces =
27
26
  if defined? StackProf
27
+ require "flamegraph/stackprof_sampler" unless defined? StackProfSampler
28
28
  StackProfSampler.collect(fidelity) do
29
29
  yield
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module Flamegraph
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flamegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron