memory_profiler 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/memory_profiler/results.rb +1 -1
- data/lib/memory_profiler/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9769a5f77565cd3c8f4bce9a504c63252e042034
|
4
|
+
data.tar.gz: b2cb63c8a1a9961b39fa427fd252f24624b5ec79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
11
|
+
date: 2015-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|