devtools 0.1.9 → 0.1.10

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: ee5c3b665405f93c02469ca31b0633832e602e49
4
- data.tar.gz: 9d3fb9e0a46dbdf054cf8765864b7d4bcff0bd05
3
+ metadata.gz: 96656dd378c253d50fa61f3f38a1f4390df8607a
4
+ data.tar.gz: 5737d2fa8d38540afee79cdc74f153d079156e99
5
5
  SHA512:
6
- metadata.gz: 1170d6356797fca550e5a11f3433b5842576e4c643aac007b0b9677cf16f0ab1b3b5700bd7931ec26ed8bdac430a9180d7474cd3e3e7340a1eed88cb804eecce
7
- data.tar.gz: 5c15e326defc9d0840a010d5ec082826c608a4559859b1adebda35098ba07b34122da93553c9e64c59d507ef95d0a6b79d4cf49dabf1211bec5655fd733e1e28
6
+ metadata.gz: 0dbfdf0e5919696b7b7c7ab0d888f6515b5d1e37fe921913f1f48f81f5c99c95fe71e10a6c13c44468eea248882d28d0100be54318675d6aa656d84fd4f879df
7
+ data.tar.gz: 701110329080c002b0f1d05072619188c9bf81dc38fa62a4bcc01cb2a6ce1ce1f3c9ad2dc3b3b90de99ca4a79325aca0ca8c9f1d941738bb3e67b05c4c953acf
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = 'devtools'
3
- gem.version = '0.1.9'
3
+ gem.version = '0.1.10'
4
4
  gem.authors = [ 'Markus Schirp' ]
5
5
  gem.email = [ 'mbj@schirp-dso.com' ]
6
6
  gem.description = 'A metagem wrapping development tools'
@@ -19,17 +19,17 @@ Gem::Specification.new do |gem|
19
19
  gem.add_runtime_dependency 'anima', '~> 0.3.0'
20
20
  gem.add_runtime_dependency 'concord', '~> 0.1.5'
21
21
  gem.add_runtime_dependency 'adamantium', '~> 0.2.0'
22
- gem.add_runtime_dependency 'rspec', '= 3.4.0' # blocked by mutant-rspec
23
- gem.add_runtime_dependency 'rspec-core', '= 3.4.4' # blocked by mutant-rspec
22
+ gem.add_runtime_dependency 'rspec', '~> 3.5.0'
23
+ gem.add_runtime_dependency 'rspec-core', '~> 3.5.2'
24
24
  gem.add_runtime_dependency 'rspec-its', '~> 1.2.0'
25
25
  gem.add_runtime_dependency 'rake', '~> 11.2.2'
26
26
  gem.add_runtime_dependency 'yard', '~> 0.9.1'
27
- gem.add_runtime_dependency 'flay', '= 2.7.0' # blocked by interface changes
27
+ gem.add_runtime_dependency 'flay', '~> 2.8.0'
28
28
  gem.add_runtime_dependency 'flog', '~> 4.4.0'
29
29
  gem.add_runtime_dependency 'reek', '~> 4.2.0'
30
- gem.add_runtime_dependency 'rubocop', '~> 0.41.2'
30
+ gem.add_runtime_dependency 'rubocop', '~> 0.42.0'
31
31
  gem.add_runtime_dependency 'simplecov', '~> 0.12.0'
32
32
  gem.add_runtime_dependency 'yardstick', '~> 0.9.9'
33
- gem.add_runtime_dependency 'mutant', '~> 0.8.10'
34
- gem.add_runtime_dependency 'mutant-rspec', '~> 0.8.8'
33
+ gem.add_runtime_dependency 'mutant', '~> 0.8.11'
34
+ gem.add_runtime_dependency 'mutant-rspec', '~> 0.8.11'
35
35
  end
@@ -157,14 +157,12 @@ module Devtools
157
157
  FILE = 'mutant.yml'.freeze
158
158
  DEFAULT_NAME = ''.freeze
159
159
  DEFAULT_STRATEGY = 'rspec'.freeze
160
- DEFAULT_COVERAGE = '1/1'.freeze
161
160
 
162
161
  attribute :name, [String], default: DEFAULT_NAME
163
162
  attribute :strategy, [String], default: DEFAULT_STRATEGY
164
163
  attribute :zombify, [TrueClass, FalseClass], default: false
165
164
  attribute :since, [String, NilClass], default: nil
166
165
  attribute :ignore_subjects, [Array], default: []
167
- attribute :expect_coverage, [String], default: DEFAULT_COVERAGE
168
166
  attribute :namespace, [String]
169
167
  end # Mutant
170
168
 
@@ -46,6 +46,8 @@ module Devtools
46
46
  class FileList
47
47
  include Procto.call, Concord.new(:includes, :excludes)
48
48
 
49
+ GLOB = '**/*.{rb,erb}'.freeze
50
+
49
51
  # Expand includes and filter by excludes
50
52
  #
51
53
  # @return [Set<Pathname>]
@@ -87,7 +89,7 @@ module Devtools
87
89
  #
88
90
  # @api private
89
91
  def flay_includes
90
- ::Flay.expand_dirs_to_files(includes)
92
+ PathExpander.new(includes.dup, GLOB).process
91
93
  end
92
94
  end
93
95
  end
@@ -1,5 +1,5 @@
1
1
  describe Devtools::Flay::FileList, '.call' do
2
- subject(:output) { described_class.call([tmpdir.to_s], [exclude]) }
2
+ subject(:output) { described_class.call([tmpdir.to_s].freeze, [exclude]) }
3
3
 
4
4
  let(:tmpdir) { Dir.mktmpdir }
5
5
  let(:one) { Pathname(tmpdir).join('1.rb') }
@@ -31,7 +31,6 @@ namespace :metrics do
31
31
  arguments = %W[
32
32
  --include lib
33
33
  --require #{config.name}
34
- --expect-coverage #{config.expect_coverage}
35
34
  --use #{config.strategy}
36
35
  ].concat(ignore_subjects).concat(namespaces).concat(since).concat(jobs)
37
36
 
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.9
4
+ version: 0.1.10
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-07-19 00:00:00.000000000 Z
11
+ date: 2016-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: procto
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.4.0
75
+ version: 3.5.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 3.4.0
82
+ version: 3.5.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec-core
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '='
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 3.4.4
89
+ version: 3.5.2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '='
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 3.4.4
96
+ version: 3.5.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec-its
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -140,16 +140,16 @@ dependencies:
140
140
  name: flay
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '='
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 2.7.0
145
+ version: 2.8.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '='
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 2.7.0
152
+ version: 2.8.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: flog
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +184,14 @@ dependencies:
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 0.41.2
187
+ version: 0.42.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.41.2
194
+ version: 0.42.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
@@ -226,28 +226,28 @@ dependencies:
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 0.8.10
229
+ version: 0.8.11
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 0.8.10
236
+ version: 0.8.11
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: mutant-rspec
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: 0.8.8
243
+ version: 0.8.11
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: 0.8.8
250
+ version: 0.8.11
251
251
  description: A metagem wrapping development tools
252
252
  email:
253
253
  - mbj@schirp-dso.com