devtools 0.1.13 → 0.1.14

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: ec409133e1056044741280ef8f94a58bd1c22ca2
4
- data.tar.gz: b0aa05bb8a8aea463b6de5ea0e67c636fbfd04b6
3
+ metadata.gz: 617572a61930d0cb43ffbac1b1ade20babd8b0a1
4
+ data.tar.gz: e029b55bda7a448c3d095c0f631f9d9f039d5d05
5
5
  SHA512:
6
- metadata.gz: 030b4e970ffe51e851e964665ac7f7fc6675fe3483e3aa5fc92b245fd1c568be27f821d5988fb6596841debbf22a86758d4f6256ab01df80f3383267bc567edf
7
- data.tar.gz: 7bb017b4b02cf2415a9adb05a27cb814a14ec1b4be0ef9bb1eab19d672bc042a4b823d8dae6a37b4f29faf6787f88821abddcf58fb3bb8b064f0b82efada35c0
6
+ metadata.gz: b927e8c4f5cd10341e1537803c9588357e92f0832918794239e2efa329571c4c2cbb59c74930036149cbc01ca260d9fb27fdf8b4e4a1010d8b96665ed5b40a11
7
+ data.tar.gz: 83ac5b6a870362230dffe36d0fecff93a336e96e02a6709a4658662ee8a8d8f2fd539250eeb74d9eaae2da0bd57a8c017dae8f973fdd56f9414e632fca564b94
data/devtools.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'devtools'
3
- gem.version = '0.1.13'
3
+ gem.version = '0.1.14'
4
4
  gem.authors = [ 'Markus Schirp' ]
5
5
  gem.email = [ 'mbj@schirp-dso.com' ]
6
6
  gem.description = 'A metagem wrapping development tools'
@@ -22,12 +22,12 @@ Gem::Specification.new do |gem|
22
22
  gem.add_runtime_dependency 'rspec', '~> 3.5.0'
23
23
  gem.add_runtime_dependency 'rspec-core', '~> 3.5.4'
24
24
  gem.add_runtime_dependency 'rspec-its', '~> 1.2.0'
25
- gem.add_runtime_dependency 'rake', '~> 11.2.2'
25
+ gem.add_runtime_dependency 'rake', '~> 11.3.0'
26
26
  gem.add_runtime_dependency 'yard', '~> 0.9.1'
27
27
  gem.add_runtime_dependency 'flay', '~> 2.8.1'
28
28
  gem.add_runtime_dependency 'flog', '~> 4.4.0'
29
29
  gem.add_runtime_dependency 'reek', '~> 4.5.0'
30
- gem.add_runtime_dependency 'rubocop', '~> 0.44.1'
30
+ gem.add_runtime_dependency 'rubocop', '~> 0.45.0'
31
31
  gem.add_runtime_dependency 'simplecov', '~> 0.12.0'
32
32
  gem.add_runtime_dependency 'yardstick', '~> 0.9.9'
33
33
  gem.add_runtime_dependency 'mutant', '~> 0.8.11'
@@ -20,13 +20,17 @@ module Devtools
20
20
  # @api private
21
21
  def verify
22
22
  # Run flay first to ensure the max mass matches the threshold
23
- Devtools.notify_metric_violation(
24
- BELOW_THRESHOLD % largest_mass
25
- ) if below_threshold?
23
+ if below_threshold?
24
+ Devtools.notify_metric_violation(
25
+ BELOW_THRESHOLD % largest_mass
26
+ )
27
+ end
26
28
 
27
- Devtools.notify_metric_violation(
28
- TOTAL_MISMATCH % [total_mass, total_score]
29
- ) if total_mismatch?
29
+ if total_mismatch?
30
+ Devtools.notify_metric_violation(
31
+ TOTAL_MISMATCH % [total_mass, total_score]
32
+ )
33
+ end
30
34
 
31
35
  # Run flay a second time with the threshold set
32
36
  return unless above_threshold?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-13 00:00:00.000000000 Z
11
+ date: 2016-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: procto
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 11.2.2
117
+ version: 11.3.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 11.2.2
124
+ version: 11.3.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: yard
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.44.1
187
+ version: 0.45.0
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 0.44.1
194
+ version: 0.45.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement