sandi_meter 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sandi_meter/calculator.rb +1 -1
- data/lib/sandi_meter/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Y2I4MGJlNTJhY2UwMzdjN2M3NWQxNzdlMzgwMDRiNTVhZDYwMzA5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTU0N2IzMzFlMDc1Mjk0ZGQ1ODY5YmQ5ZDAzMTk1MThkOTZiZDVlNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWNiNWJjMDE4OTI0OTc5MjAzZjgwMzU1YTk2MDlhZjFiODNlM2U4MjU3Y2Zh
|
10
|
+
MTdlMTkwYmU5ZjBhMzc2OGE4YjEzMDU0ZWI0NDIyYjkxODYwMzZiMThiODYz
|
11
|
+
Mzg2MjAwYzk1ZDBkZWVjZDVhMWEwYzVkZGRmOGI2NzY5ZmRiMzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Mzg2NGI4Y2E2NzM0OTVkOTg4YzE3MzRiM2ZhZmQ1ZTE5YTIyNDEwOGNkNzM4
|
14
|
+
NWI0OGQ5MjU4OWY0YjFjNmUxMTliMThhNTdkZmI0NDU1ZDRjNWM1YzIwY2Zh
|
15
|
+
NGJjMzlmYjE5MGE4N2U0MzdkYWZlOTVkNzE0MjE5YjQzMzM1MTI=
|
@@ -145,7 +145,7 @@ module SandiMeter
|
|
145
145
|
|
146
146
|
@data[:classes].select { |c| c.controller? }.each do |klass|
|
147
147
|
total_controllers_amount += 1
|
148
|
-
proper_controllers_amount += 1 unless @data[:methods][klass.name].select { |m| m.ivars.uniq.size > 1 }.
|
148
|
+
proper_controllers_amount += 1 unless @data[:methods][klass.name] && @data[:methods][klass.name].select { |m| m.ivars.uniq.size > 1 }.any?
|
149
149
|
end
|
150
150
|
|
151
151
|
@output[:fourth_rule] ||= {}
|
data/lib/sandi_meter/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sandi_meter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoli Makarevich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|