flamegraph 0.0.4 → 0.0.5

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: c9f2ed7713694114ae9ad4f11c72680181573043
4
- data.tar.gz: fa5339554885080409d60f84f6d35050735e727d
3
+ metadata.gz: 00a8e007306576db9b6d761785ef83a17dafaf42
4
+ data.tar.gz: 82efe147b7295c832b85ee2ae74ae8e351f1a701
5
5
  SHA512:
6
- metadata.gz: 1b1929d198d12a6dc85bdf23a38e88ca91ba886d4ffb997451362137ae10ce2d284073cc794bea1424c039b11956cb668bec7acf119b2239c0d64b5bae6ba42f
7
- data.tar.gz: 7dd4a3c65e20f34866ddfb5ec62da6104936dfa319fe2dede4a86c57311b8264aa2f5afcbf09385a2b7ac0bd7d8242083e3ebe518690fa85e5e3336157e91259
6
+ metadata.gz: 76a760121a2ebec486d6d1f76b4d5414f8d6bf2d1ff7eb82276fdd375c9324ac546d414f353b6d89f0aebfbe5307b6bb49cba4ba38216aa5dddc8065bd2140c0
7
+ data.tar.gz: 20e0dee3f38a4860a3cedb1ff0cb836e40519079c85321e5e693c0810467f9b72990e074dd5ef46d05d478b7acb1e43aaf5f5ff94db0d50a336c740b8094c1f7
data/CHANGELOG CHANGED
@@ -12,3 +12,8 @@
12
12
  - 0.0.4
13
13
  - When generating a local report embed all assets
14
14
  - Show stack depth
15
+
16
+ 12-Dec-2013
17
+
18
+ - 0.0.5
19
+ - Correct embed
@@ -11,7 +11,7 @@ module Flamegraph
11
11
  yield
12
12
  end
13
13
 
14
- embed_resources = filename && !opts.key?(:embed_resources)
14
+ embed_resources = (filename && !opts.key?(:embed_resources)) || opts[:embed_resources]
15
15
 
16
16
  renderer = Flamegraph::Renderer.new(backtraces)
17
17
  rendered = renderer.graph_html(embed_resources)
@@ -12,9 +12,9 @@ class Flamegraph::Renderer
12
12
  if embed_resources
13
13
  embed("jquery.min.js","d3.min.js","lodash.min.js")
14
14
  else
15
- '<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
16
- <script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.0.8/d3.min.js"></script>
17
- <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.min.js"></script>'
15
+ '<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
16
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.0.8/d3.min.js"></script>
17
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/1.3.1/lodash.min.js"></script>'
18
18
  end
19
19
 
20
20
  body.sub!("/**DATA**/", ::JSON.generate(graph_data));
@@ -1,3 +1,3 @@
1
1
  module Flamegraph
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
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.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-17 00:00:00.000000000 Z
11
+ date: 2013-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_stack
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  requirements: []
146
146
  rubyforge_project:
147
- rubygems_version: 2.0.3
147
+ rubygems_version: 2.0.14
148
148
  signing_key:
149
149
  specification_version: 4
150
150
  summary: Flamegraph support for arbitrary ruby apps
@@ -153,4 +153,3 @@ test_files:
153
153
  - test/test_helper.rb
154
154
  - test/test_renderer.rb
155
155
  - test/test_sampler.rb
156
- has_rdoc: