quality 27.2.0 → 27.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cf0d000c2c4961b68e3a51390690a70724a0055
4
- data.tar.gz: 0a752eb16d72eb4a8b01e14d028920e880fb6dc5
3
+ metadata.gz: 621593cffc0a9148d8bb74df8636bc4e9e37c6e2
4
+ data.tar.gz: 84598150bb89a5c19b5f9b8fd31eb888b5ab05e6
5
5
  SHA512:
6
- metadata.gz: 808678c19ff5d0651abe718221ff9941c50dcd091466fb09fa6ad84e75879bd57248595c752c349eac1e55a27565ac116063f4f1e3ca602d01dd5c8aa0d2794b
7
- data.tar.gz: b10b0813b363489f4a6c4c49aa61e013e84b5927eff746c3ba4a9bcd079d7f8d12d0db23912fae92e7d92ed9b3aba9e83451f49bce1187d1ed659e8a14f29920
6
+ metadata.gz: 5693f3b960e2de5e6e5cf7720ab4539ad06ebfacc6fb424c94f522c35cefc1a68265b3f9bd53b83a7f23b4c411bb2dbbc4fc67be33b043083ef700f6650f044a
7
+ data.tar.gz: 8615e7d211df17cd25ff5a281c63a898cc61540a3fb4b42f9c9cc62294057f950f47e0299ea9de6f02a153b5162922b35eb130db9a2ec6ea21f980e03110b0cc
@@ -75,7 +75,7 @@ module Quality
75
75
 
76
76
  def count_existing_violations(filename)
77
77
  existing_violations = @count_io.read(filename).to_i
78
- raise("Problem with file #{filename}") if existing_violations.negative?
78
+ raise("Problem with file #{filename}") if existing_violations < 0
79
79
  existing_violations
80
80
  end
81
81
 
@@ -4,5 +4,5 @@
4
4
  # reek, flog, flay and rubocop and makes sure your numbers don't get
5
5
  # any worse over time.
6
6
  module Quality
7
- VERSION = '27.2.0'
7
+ VERSION = '27.3.0'
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quality
3
3
  version: !ruby/object:Gem::Version
4
- version: 27.2.0
4
+ version: 27.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-07 00:00:00.000000000 Z
11
+ date: 2016-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -376,7 +376,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
376
376
  version: '0'
377
377
  requirements: []
378
378
  rubyforge_project:
379
- rubygems_version: 2.4.8
379
+ rubygems_version: 2.6.8
380
380
  signing_key:
381
381
  specification_version: 4
382
382
  summary: Code quality tools for Ruby