devtools 0.1.16 → 0.1.18

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: 95a2011e361e2c635065228efbbb733f0433b791
4
- data.tar.gz: 0b6de2c2dc8f5994a376aa28565dc5b3b174ca01
3
+ metadata.gz: c549a85682750f12b2c140ec3ebe7e2491be50e4
4
+ data.tar.gz: 183f938f5d2b926f4bd2357b42f3099ee069af2d
5
5
  SHA512:
6
- metadata.gz: 0b757830eafb9b217bff29cf64f72ab43bd943339d4aa2732e795b0e87e3eae0ff27e91d039c6cf30a91f2d086452c541ba92d87239e932bb04df64c66ad7802
7
- data.tar.gz: 9ce4cd368899f6e4b890bf1c0c79e5744d4aebb9ce20da0d22d908d9539972885293b02271056d40b54650ecb8cb9b96f9403cf3c2739b214e0b0cd43a69b22e
6
+ metadata.gz: 37fff166ad4e307eeff09ae504c56d0ba6f9326f723a781f9b678e6950e559b0599c884b9a808a1522a93adb4e832e934c63e904c5f377d7d6b13f2ebf244f08
7
+ data.tar.gz: 237a5b52c549125ff9d542f5c69cc75f40aacbc86cf8ed1bb9cec736bb328cf128ef218faa9c89b3f0fbcfc05544e7f9de6663dfd23ab9a9de7ad3f675189b94
data/circle.yml CHANGED
@@ -1,7 +1,10 @@
1
1
  ---
2
2
  machine:
3
3
  ruby:
4
- version: '2.2.3'
4
+ version: '2.4.1'
5
+ dependencies:
6
+ pre:
7
+ - gem install bundler
5
8
  test:
6
9
  override:
7
10
  - bundle exec rake ci
@@ -1,3 +1,3 @@
1
1
  ---
2
2
  threshold: 8
3
- total_score: 112
3
+ total_score: 115
@@ -128,3 +128,6 @@ RedundantFreeze:
128
128
  # Prefer using `fail` when raising and `raise` when reraising
129
129
  SignalException:
130
130
  EnforcedStyle: semantic
131
+
132
+ Style/FrozenStringLiteralComment:
133
+ Enabled: false
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'devtools'
3
- gem.version = '0.1.16'
3
+ gem.version = '0.1.18'
4
4
  gem.authors = [ 'Markus Schirp' ]
5
5
  gem.email = [ 'mbj@schirp-dso.com' ]
6
6
  gem.description = 'A metagem wrapping development tools'
@@ -15,21 +15,22 @@ Gem::Specification.new do |gem|
15
15
  gem.extra_rdoc_files = %w[README.md]
16
16
  gem.required_ruby_version = '>= 2.1'
17
17
 
18
- gem.add_runtime_dependency 'procto', '~> 0.0.3'
19
- gem.add_runtime_dependency 'anima', '~> 0.3.0'
20
- gem.add_runtime_dependency 'concord', '~> 0.1.5'
21
- gem.add_runtime_dependency 'adamantium', '~> 0.2.0'
22
- gem.add_runtime_dependency 'rspec', '~> 3.5.0'
23
- gem.add_runtime_dependency 'rspec-core', '~> 3.5.4'
24
- gem.add_runtime_dependency 'rspec-its', '~> 1.2.0'
25
- gem.add_runtime_dependency 'rake', '~> 11.3.0'
26
- gem.add_runtime_dependency 'yard', '~> 0.9.1'
27
- gem.add_runtime_dependency 'flay', '~> 2.8.1'
28
- gem.add_runtime_dependency 'flog', '~> 4.4.0'
29
- gem.add_runtime_dependency 'reek', '~> 4.5.0'
30
- gem.add_runtime_dependency 'rubocop', '~> 0.47.0'
31
- gem.add_runtime_dependency 'simplecov', '~> 0.12.0'
32
- gem.add_runtime_dependency 'yardstick', '~> 0.9.9'
33
- gem.add_runtime_dependency 'mutant', '~> 0.8.11'
34
- gem.add_runtime_dependency 'mutant-rspec', '~> 0.8.11'
18
+ gem.add_runtime_dependency 'procto', '~> 0.0.3'
19
+ gem.add_runtime_dependency 'abstract_type', '~> 0.0.7'
20
+ gem.add_runtime_dependency 'anima', '~> 0.3.0'
21
+ gem.add_runtime_dependency 'concord', '~> 0.1.5'
22
+ gem.add_runtime_dependency 'adamantium', '~> 0.2.0'
23
+ gem.add_runtime_dependency 'rspec', '~> 3.5.0'
24
+ gem.add_runtime_dependency 'rspec-core', '~> 3.5.4'
25
+ gem.add_runtime_dependency 'rspec-its', '~> 1.2.0'
26
+ gem.add_runtime_dependency 'rake', '~> 12.0.0'
27
+ gem.add_runtime_dependency 'yard', '~> 0.9.1'
28
+ gem.add_runtime_dependency 'flay', '~> 2.8.1'
29
+ gem.add_runtime_dependency 'flog', '~> 4.4.0'
30
+ gem.add_runtime_dependency 'reek', '~> 4.6.0'
31
+ gem.add_runtime_dependency 'rubocop', '~> 0.47.0'
32
+ gem.add_runtime_dependency 'simplecov', '~> 0.14.0'
33
+ gem.add_runtime_dependency 'yardstick', '~> 0.9.9'
34
+ gem.add_runtime_dependency 'mutant', '~> 0.8.11'
35
+ gem.add_runtime_dependency 'mutant-rspec', '~> 0.8.11'
35
36
  end
@@ -6,6 +6,7 @@ require 'yaml'
6
6
  require 'fileutils'
7
7
 
8
8
  # Non stdlib infrastructure
9
+ require 'abstract_type'
9
10
  require 'procto'
10
11
  require 'anima'
11
12
  require 'concord'
@@ -109,21 +109,16 @@ module Devtools
109
109
 
110
110
  # Flay configuration
111
111
  #
112
- # @note We cannot use unified Integer until 2.4 since `instance_of?(Integer)` is
113
- # not semantically equivalent to `instance_of?(Fixnum)`
114
- #
115
- # rubocop:disable Lint/UnifiedInteger
116
112
  class Flay < self
117
113
  FILE = 'flay.yml'.freeze
118
114
  DEFAULT_LIB_DIRS = %w[lib].freeze
119
115
  DEFAULT_EXCLUDES = %w[].freeze
120
116
 
121
- attribute :total_score, [Fixnum]
122
- attribute :threshold, [Fixnum]
117
+ attribute :total_score, [0.class]
118
+ attribute :threshold, [0.class]
123
119
  attribute :lib_dirs, [Array], default: DEFAULT_LIB_DIRS
124
120
  attribute :excludes, [Array], default: DEFAULT_EXCLUDES
125
121
  end # Flay
126
- # rubocop:enable Lint/UnifiedInteger
127
122
 
128
123
  # Yardstick configuration
129
124
  class Yardstick < self
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.16
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-16 00:00:00.000000000 Z
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: procto
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.0.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: abstract_type
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.0.7
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.0.7
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: anima
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +128,14 @@ dependencies:
114
128
  requirements:
115
129
  - - "~>"
116
130
  - !ruby/object:Gem::Version
117
- version: 11.3.0
131
+ version: 12.0.0
118
132
  type: :runtime
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
- version: 11.3.0
138
+ version: 12.0.0
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: yard
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +184,14 @@ dependencies:
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: 4.5.0
187
+ version: 4.6.0
174
188
  type: :runtime
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
- version: 4.5.0
194
+ version: 4.6.0
181
195
  - !ruby/object:Gem::Dependency
182
196
  name: rubocop
183
197
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +212,14 @@ dependencies:
198
212
  requirements:
199
213
  - - "~>"
200
214
  - !ruby/object:Gem::Version
201
- version: 0.12.0
215
+ version: 0.14.0
202
216
  type: :runtime
203
217
  prerelease: false
204
218
  version_requirements: !ruby/object:Gem::Requirement
205
219
  requirements:
206
220
  - - "~>"
207
221
  - !ruby/object:Gem::Version
208
- version: 0.12.0
222
+ version: 0.14.0
209
223
  - !ruby/object:Gem::Dependency
210
224
  name: yardstick
211
225
  requirement: !ruby/object:Gem::Requirement
@@ -285,7 +299,6 @@ files:
285
299
  - shared/spec/shared/abstract_type_behavior.rb
286
300
  - shared/spec/shared/command_method_behavior.rb
287
301
  - shared/spec/shared/each_method_behaviour.rb
288
- - shared/spec/shared/hash_method_behavior.rb
289
302
  - shared/spec/shared/idempotent_method_behavior.rb
290
303
  - shared/spec/support/ice_nine_config.rb
291
304
  - spec/integration/devtools/rake/flay/verify_spec.rb
@@ -329,7 +342,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
342
  version: '0'
330
343
  requirements: []
331
344
  rubyforge_project:
332
- rubygems_version: 2.5.1
345
+ rubygems_version: 2.6.11
333
346
  signing_key:
334
347
  specification_version: 4
335
348
  summary: A metagem wrapping development tools
@@ -1,7 +0,0 @@
1
- shared_examples_for 'a hash method' do
2
- it_should_behave_like 'an idempotent method'
3
-
4
- it 'is a Fixnum' do
5
- should be_instance_of(Fixnum) # rubocop:disable Lint/UnifiedInteger
6
- end
7
- end