pronto-flay 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pronto/flay/version.rb +1 -1
- data/lib/pronto/flay.rb +5 -5
- 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: d798833b3f98caba9a3817e52af6f288ba6af86e
|
4
|
+
data.tar.gz: 138f7fcdb05cea5c78755fc2790936f291141537
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 968efe1eb2211920a08f8510d5842e8a71e116ae8c5882ee7aef0933339740f91e4cbeddc69dab1fbea6c97e9661886aa3335b762e572f982c04b75b7d046985
|
7
|
+
data.tar.gz: e3867e878abc895127192702a15dc2ff95cb427e180972ccc1b7d51b5b6ed281566b21f6d2c9b41ef5db0cba9437363f89be9e2383c357f0cfa2b535031a9f5c
|
data/lib/pronto/flay/version.rb
CHANGED
data/lib/pronto/flay.rb
CHANGED
@@ -58,23 +58,23 @@ module Pronto
|
|
58
58
|
"#{File.basename(node.file)}:#{node.line}"
|
59
59
|
end
|
60
60
|
|
61
|
-
"#{match} code found in #{location.join(', ')}"
|
61
|
+
"#{match} code found in #{location.join(', ')} (mass = #{masses[hash]})"
|
62
62
|
end
|
63
63
|
|
64
64
|
def nodes_for(hash)
|
65
|
-
|
65
|
+
flay.hashes[hash]
|
66
66
|
end
|
67
67
|
|
68
68
|
def nodes
|
69
69
|
result = []
|
70
|
-
masses.each do |
|
71
|
-
nodes_for(
|
70
|
+
masses.keys.each do |hash|
|
71
|
+
nodes_for(hash).each { |node| result << node }
|
72
72
|
end
|
73
73
|
result
|
74
74
|
end
|
75
75
|
|
76
76
|
def masses
|
77
|
-
|
77
|
+
flay.masses
|
78
78
|
end
|
79
79
|
end
|
80
80
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-flay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindaugas Mozūras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|