quality 36.0.0 → 36.1.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
  SHA256:
3
- metadata.gz: ad1e223ce6089adbe39ad4024e39bd6a24f63ca4e34422ab33d9239a140c54fb
4
- data.tar.gz: 2bfc0274a6c6af0db919a04be7b5e61a2e79f3e73d76050dc89e316f3c5d8daf
3
+ metadata.gz: 0c66b37cdb110269046721f38cafb06eca1f8d96cec35d3c3ef2e5650d72e5ce
4
+ data.tar.gz: 82e46462a6ffa1ebb9e5eda340b9cb9817e5057026f9b9f2a3898d5a86ed380f
5
5
  SHA512:
6
- metadata.gz: fad197897956b618f526dcd439b612a4557b437b3cd3e1473b2807b4cd9e57d5914792647d12052aefcb76da9e2a985a410c63fbe33fc2d99702ed64e1a4bb6f
7
- data.tar.gz: 6c5ffa7e7c22deccb75c8cdd489fd71ee75cd853787269bd56e5f10ee402594d5f74e3cbfae6d9070866bd6e8c584a4ad97a07e1b14a9796852c59c33dc7eb18
6
+ metadata.gz: 8901276ecd9d6e8ea29b568ee8f22e75acf7ebc08fb2641ed1604a203272983358f6d7df7f5756498e31f7b210802f105fce9f7a902148748970a6a6a539125a
7
+ data.tar.gz: d3d62de966cf078e7201972bb60ac07b4582af0872b6e21b8ee3892376a158a17e05ba6a2e5b94ce35e7c9f36c7b839e529e682e3d30ee5d377732c297c73910
@@ -71,7 +71,7 @@ module Quality
71
71
 
72
72
  def count_existing_violations(filename)
73
73
  existing_violations = @count_io.read(filename).to_i
74
- raise("Problem with file #{filename}") if existing_violations < 0
74
+ raise("Problem with file #{filename}") if existing_violations.negative?
75
75
 
76
76
  existing_violations
77
77
  end
@@ -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 = '36.0.0'
7
+ VERSION = '36.1.0'
8
8
  end
data/quality.gemspec CHANGED
@@ -68,6 +68,7 @@ Gem::Specification.new do |s|
68
68
  s.add_development_dependency('mocha')
69
69
  s.add_development_dependency('pronto')
70
70
  s.add_development_dependency('pronto-flake8')
71
+ s.add_development_dependency('pronto-punchlist')
71
72
  s.add_development_dependency('pronto-reek')
72
73
  s.add_development_dependency('pronto-rubocop')
73
74
  s.add_development_dependency('rake', ['!= 10.4.2'])
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: 36.0.0
4
+ version: 36.1.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: 2019-12-23 00:00:00.000000000 Z
11
+ date: 2019-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -330,6 +330,20 @@ dependencies:
330
330
  - - ">="
331
331
  - !ruby/object:Gem::Version
332
332
  version: '0'
333
+ - !ruby/object:Gem::Dependency
334
+ name: pronto-punchlist
335
+ requirement: !ruby/object:Gem::Requirement
336
+ requirements:
337
+ - - ">="
338
+ - !ruby/object:Gem::Version
339
+ version: '0'
340
+ type: :development
341
+ prerelease: false
342
+ version_requirements: !ruby/object:Gem::Requirement
343
+ requirements:
344
+ - - ">="
345
+ - !ruby/object:Gem::Version
346
+ version: '0'
333
347
  - !ruby/object:Gem::Dependency
334
348
  name: pronto-reek
335
349
  requirement: !ruby/object:Gem::Requirement