quality 17.1.1 → 17.2.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: 29bd0ecc105055b8307eede80882a4889e0db96c
4
- data.tar.gz: e6b52e0df5e4b7b3ffbef6435b642f5c9e5aa038
3
+ metadata.gz: 912b09b15ecd97352a9f9661be47a75b7e779f8d
4
+ data.tar.gz: 3e3ac5f309c4b33dde65f8b5bf1d3840a256bdfe
5
5
  SHA512:
6
- metadata.gz: 07e1d1c0be97ed015abce372935f67c43e12c99bd1f8a3a7ab85ebb5f553ed89b541e667b0d2dcc8c5bdd3711d70b6f296c5aaca901dc4d320d33aebce76f282
7
- data.tar.gz: 4c8353bd99dfd966f48d381dd0470562dcccc7617625d0001b5d14273eab7eb46efeaaf2bd5261d4a9093201d6621f125c010f0c58d87387d1ea62bd10f242f2
6
+ metadata.gz: 44aa11ce25807e7fd53939e8708b1d220a10ddcf7b4d0c9f6f5d114fe25106efaf357b279933a14028e53ce1d974fc7155f439f886728e88ca58692b71cee0a9
7
+ data.tar.gz: 0aec4b8d60baa7015562bddd8d994d38fdc434708fda00f4c601fa557882f64ac8c58c56b097926c8c359a95c7e4acc825bdb21aaae458a3e7731ce2c7e8349d
data/README.md CHANGED
@@ -97,6 +97,11 @@ Quality::Rake::Task.new { |t|
97
97
  # Exclude the specified list of files--defaults to ['db/schema.rb']
98
98
  t.exclude_files = ['lib/whatever/imported_file.rb', 'lib/vendor/someone_else_fault.rb']
99
99
 
100
+ # Alternately, express it as a glob:
101
+
102
+ # Exclude the specified list of files
103
+ t.source_files_exclude_glob = "{lib/whatever/imported_file.rb,lib/vendor/**/*.rb}"
104
+
100
105
  # Extensions for Ruby language files--defaults to 'rb,rake'
101
106
  t.ruby_file_extensions_glob = 'rb,rake'
102
107
 
@@ -25,6 +25,7 @@ module Quality
25
25
  :source_and_doc_files_glob,
26
26
  :source_files_glob,
27
27
  :source_files_exclude_glob,
28
+ :source_files_exclude_glob=,
28
29
  :ruby_files_glob,
29
30
  :ruby_files_arr)
30
31
 
@@ -13,7 +13,7 @@ module Quality
13
13
  @popener.popen(@full_cmd) do |file|
14
14
  yield file
15
15
  end
16
- $CHILD_STATUS.exitstatus
16
+ $CHILD_STATUS.exitstatus if $CHILD_STATUS
17
17
  end
18
18
  end
19
19
  end
@@ -2,5 +2,5 @@
2
2
  # reek, flog, flay and rubocop and makes sure your numbers don't get
3
3
  # any worse over time.
4
4
  module Quality
5
- VERSION = '17.1.1'
5
+ VERSION = '17.2.0'
6
6
  end
data/quality.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |s|
30
30
  s.summary = 'Code quality tools for Ruby'
31
31
 
32
32
  s.add_runtime_dependency('activesupport')
33
- s.add_runtime_dependency('source_finder', ['>=2.1.1'])
33
+ s.add_runtime_dependency('source_finder', ['>=2.2.1'])
34
34
  s.add_runtime_dependency('cane', ['>= 2.6'])
35
35
  s.add_runtime_dependency('reek', ['>= 1.3.4'])
36
36
  s.add_runtime_dependency('flog', ['>= 4.1.1'])
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: 17.1.1
4
+ version: 17.2.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: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2015-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - '>='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.1
33
+ version: 2.2.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
- version: 2.1.1
40
+ version: 2.2.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cane
43
43
  requirement: !ruby/object:Gem::Requirement