memory_profiler 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b6b21cb4cecfbff39a58884f5c67e379ee246db
4
- data.tar.gz: 17fc4f5587f41ce22ebd0445d4a8b207388447b0
3
+ metadata.gz: 9769a5f77565cd3c8f4bce9a504c63252e042034
4
+ data.tar.gz: b2cb63c8a1a9961b39fa427fd252f24624b5ec79
5
5
  SHA512:
6
- metadata.gz: 842bfb7550e047af23d8db0ac5522da9bf14b39e82d88a332627d679ea6fecd39ba445971656f4758ad0194f30a91f45cbf81d0641934f89f7fba01d7ead7d8e
7
- data.tar.gz: 754a46b32d671bcee62ea5704a8c636e7d1f20b2d4981cd1f376dc9d1f5156ce54a46469e68eede880d3e2801e5dcf0a6e293dc78eb9d125cb6e95bfcfa44569
6
+ metadata.gz: 702c11c6173f2721e6592932fef57b1295fdc92aed2800bcad2f48dd95a6e0f3fdc18dc097cd348747c098029fa6c001dfac96f386ab53d77b5e3efea5d36663
7
+ data.tar.gz: b96f1184db20cf3cdae75486a65aed8e0442e1512d2a4983bda35a208b8381319bab38d0ed1ba2c9ea52f065d950ac6c2155fa6120e33579d1997d487b17b40c
data/README.md CHANGED
@@ -366,6 +366,9 @@ Memory profiler also performs some String analysis to help you find strings that
366
366
 
367
367
  ## Changelog
368
368
 
369
+ ### 0.9.2
370
+ - Fix incorrect syntax in rescue clause
371
+
369
372
  ### 0.9.0
370
373
  - This is quite stable, upping version to reflect
371
374
  - Fixed bug where it would crash when location was nil for some reason
@@ -68,7 +68,7 @@ module MemoryProfiler
68
68
  def string_report(data, top)
69
69
  data
70
70
  .reject { |id, stat| stat.class_name != "String" }
71
- .map { |id, stat| [begin; ObjectSpace._id2ref(id); rescue "__UNKNOWN__"; end, "#{stat.file}:#{stat.line}"] }
71
+ .map { |id, stat| [begin; ObjectSpace._id2ref(id); rescue; "__UNKNOWN__"; end, "#{stat.file}:#{stat.line}"] }
72
72
  .group_by { |string, location| string }
73
73
  .sort_by { |string, list| -list.count }
74
74
  .first(top)
@@ -1,3 +1,3 @@
1
1
  module MemoryProfiler
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memory_profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-25 00:00:00.000000000 Z
11
+ date: 2015-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler