flamegraph 0.0.9 → 0.1.0

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: 5c0565aa39e9cfc92a2293ca64e3c37145d178f2
4
- data.tar.gz: 88275457f457208072d8c8105886c8e581fca1f9
3
+ metadata.gz: 4ba4b99efd848cf7163638ecd6be70e0c147cdeb
4
+ data.tar.gz: 78fa3397d5639d092f31782dbc4a85ddeb75fea6
5
5
  SHA512:
6
- metadata.gz: a3076971fc006cf58c047010a638cc6f26bbf01d1209316c8c3e55a6c01a79c6c5f200f720ea074eaffc5f3356f016796484b0e4664055599b4a71c74c602676
7
- data.tar.gz: da847fde77553e5b5e868f631dacbb399fa077e484838362052983866f1a690b7a99fcd1d884b872232452c97292aa8518babe8f0927463d5f5945474681dc13
6
+ metadata.gz: 5d422d47a2ce53bcd716b66e3e541d5bca57ecb6d667853097a11c60e946d1b66e4e4b419619f1fb7fe65c16b230f0a168f0dca62fef1bb5340d18ca1ac248ca
7
+ data.tar.gz: 4eeec71e79899c7d167326960d9109b2af003ef04f853c0369a215073f3b108b1e3306a13f70a4b478b372c74b7a1dab2619858b04f17c7617dae511b5cc9a39
@@ -3,14 +3,14 @@ require "json"
3
3
  if RUBY_VERSION >= "2.1.0".freeze
4
4
  begin
5
5
  require "stackprof"
6
- rescue
6
+ rescue LoadError
7
7
  STDERR.puts "Please require the stackprof gem falling back to fast_stack"
8
8
  require "fast_stack"
9
9
  end
10
10
  else
11
11
  begin
12
12
  require "fast_stack"
13
- rescue
13
+ rescue LoadError
14
14
  STDERR.puts "Please require the fast_stack gem, note flamegraph is only supported on Ruby 2.0 and above"
15
15
  end
16
16
  end
@@ -466,9 +466,9 @@ svg.selectAll("g")
466
466
  .append("text")
467
467
  .attr("x",function(d) { return xScale(d.x - 0.98); })
468
468
  .attr("y",function(d) { return yScale(maxY - d.y);})
469
+ .on("click", click)
469
470
  .on("mouseover", mouseover)
470
471
  .on("mouseout", mouseout)
471
- .on("click", click)
472
472
  .each(fontSize)
473
473
  .attr("cursor", "pointer")
474
474
  .attr("display", "none");
@@ -1,3 +1,3 @@
1
1
  module Flamegraph
2
- VERSION = "0.0.9"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flamegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-30 00:00:00.000000000 Z
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_stack