quality 27.1.1 → 27.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69b9d8ea6d3d36a9e73cf811946e70c7b3bb793a
4
- data.tar.gz: 49b8cfe59c7a366c178dc1313488019d69998e2c
3
+ metadata.gz: 4cf0d000c2c4961b68e3a51390690a70724a0055
4
+ data.tar.gz: 0a752eb16d72eb4a8b01e14d028920e880fb6dc5
5
5
  SHA512:
6
- metadata.gz: 72b5636221f6d7b6058e38e0e6e3b6d08dd8e615af6fbd3cf17fad79192365e8bc19c8d5e76be92271c17b140721260fa39fa26957b5d78c1394a475de9e9473
7
- data.tar.gz: 016709cb6ed5ae10a4ea0a4eeff3fee427b94e4248cac88f94d442ba6983f7679180103b0a4c167eae88e8a06a04be9d5385d46793fba69e2ed9f120867476a5
6
+ metadata.gz: 808678c19ff5d0651abe718221ff9941c50dcd091466fb09fa6ad84e75879bd57248595c752c349eac1e55a27565ac116063f4f1e3ca602d01dd5c8aa0d2794b
7
+ data.tar.gz: b10b0813b363489f4a6c4c49aa61e013e84b5927eff746c3ba4a9bcd079d7f8d12d0db23912fae92e7d92ed9b3aba9e83451f49bce1187d1ed659e8a14f29920
@@ -9,7 +9,8 @@ module Quality
9
9
  # Configuration for running quality tool
10
10
  class Config
11
11
  attr_accessor :skip_tools, :verbose, :quality_name, :ratchet_name,
12
- :output_dir, :punchlist_regexp, :scalastyle_config
12
+ :output_dir, :punchlist_regexp,
13
+ :scalastyle_config, :scalastyle_exclude
13
14
 
14
15
  attr_writer :source_files_exclude_glob
15
16
 
@@ -120,6 +120,7 @@ module Quality
120
120
  :source_files_exclude_glob,
121
121
  :punchlist_regexp,
122
122
  :scalastyle_config,
123
+ :scalastyle_exclude,
123
124
  :js_files
124
125
  end
125
126
  end
@@ -8,9 +8,10 @@ module Quality
8
8
 
9
9
  def scalastyle_args
10
10
  c = " -c '#{scalastyle_config}' " if scalastyle_config
11
-
11
+ x = " -x '#{scalastyle_exclude}' " if scalastyle_exclude
12
12
  args = ''
13
13
  args += c if c
14
+ args += x if x
14
15
  args += scala_files.join(' ')
15
16
  args
16
17
  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 = '27.1.1'
7
+ VERSION = '27.2.0'
8
8
  end
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: 27.1.1
4
+ version: 27.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: 2016-09-30 00:00:00.000000000 Z
11
+ date: 2016-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport