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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjM5NTVlNTgyZGU3ZDQ2ZjgyMzU0MmY1YjkwZmFkNjViMjYzNzE1YQ==
4
+ Y2I4MGJlNTJhY2UwMzdjN2M3NWQxNzdlMzgwMDRiNTVhZDYwMzA5OQ==
5
5
  data.tar.gz: !binary |-
6
- NjJjODA5ZDlkZDQwZmU0OThmYjAzOGM0ZjJhMjEzNjI0ZWI0M2E1OQ==
6
+ MTU0N2IzMzFlMDc1Mjk0ZGQ1ODY5YmQ5ZDAzMTk1MThkOTZiZDVlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YzE5OTlmMjQ2NzkzMzY4MzU5NDYwMDEwYjNlOGNiMTI5ZDc0MDlkODdlZjFm
10
- ODdiM2Q3ZTkwMzc5YjE2M2QzMDc3MjhjZmUxMjNhNzU3ODQ4MzYyYzM0YjRj
11
- MjQwYzBkOGIzNjM2ZjlhODg0NjAyZmJiNWYxY2NmODk1YjRiYmU=
9
+ YWNiNWJjMDE4OTI0OTc5MjAzZjgwMzU1YTk2MDlhZjFiODNlM2U4MjU3Y2Zh
10
+ MTdlMTkwYmU5ZjBhMzc2OGE4YjEzMDU0ZWI0NDIyYjkxODYwMzZiMThiODYz
11
+ Mzg2MjAwYzk1ZDBkZWVjZDVhMWEwYzVkZGRmOGI2NzY5ZmRiMzc=
12
12
  data.tar.gz: !binary |-
13
- NDU3NmQ4MGIwYmU5YmQ1MjdiNjJjMTk1ODRiZWM0MmYzYThjZTk0NmRjODZj
14
- OGQxOGZkOTVhMTI2YzU5YWZlODg5MmM1ZDYxOTA1ZjBhYWYxMDQzODNmMzRk
15
- YTRiM2VhODZjYjNmYWM5NjIyZjljNmJlZDA2YjMwMDBjZTJhNTQ=
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 }.empty?
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] ||= {}
@@ -1,3 +1,3 @@
1
1
  module SandiMeter
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
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
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-02 00:00:00.000000000 Z
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler