rubocop-cask 0.18.0 → 0.18.1

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: 35af14e8a33f65b8686058b7300758b15361e048
4
- data.tar.gz: d7d1dd8affff96bbb04ac9f593a5f3825c581923
3
+ metadata.gz: dba348b2aa48858874e7b488b5b7db5bd4f3ec3a
4
+ data.tar.gz: c5ad494ce5ac8cfcf1f385449ec0277b10411fa1
5
5
  SHA512:
6
- metadata.gz: 17fdf1155b52927df657a1d8857295f30e4e362bc03a924ff8c60fbfccf887f221edd0dd4bdffcdbcc1fcd11d3b43debf7951498eb1ec70135129174448de301
7
- data.tar.gz: 562afd58a0def6953739b2e1cf63d93311f987db215d78d236162a3eef311ec536b66a0381fce13297d2e2b05880c70cdd19435c6a06d12b4d339a80896a05b4
6
+ metadata.gz: f6b1e449c3085e1098cfd0c814ca4cb1cc98c0aff2fafd6130d0cb8469ccf7be80559e8e9461585a7acefa5c01ad683e19bb1bb79efc857b392943cf379a75aa
7
+ data.tar.gz: 2900ebf23269b0301875c8f61d3387b6d72e0f3b1ea1cf8a903bae76144c779e810ce6053beb71466dfd5b95ea3acca39f45ef96e743060086d0154c97e7974a
data/lib/rubocop-cask.rb CHANGED
@@ -15,7 +15,13 @@ require 'rubocop/cop/cask/no_dsl_version'
15
15
  require 'rubocop/cop/cask/stanza_order'
16
16
  require 'rubocop/cop/cask/stanza_grouping'
17
17
 
18
- RuboCop::ConfigLoader.default_configuration =
19
- RuboCop::ConfigLoader.configuration_from_file(
20
- File.expand_path('../config/default.yml', __dir__)
18
+ module RuboCop
19
+ module Cask
20
+ DEFAULT_CONFIG = File.expand_path('../config/default.yml', __dir__)
21
+ end
22
+
23
+ ConfigLoader.default_configuration = ConfigLoader.merge_with_default(
24
+ ConfigLoader.load_file(Cask::DEFAULT_CONFIG),
25
+ Cask::DEFAULT_CONFIG
21
26
  )
27
+ end
@@ -3,6 +3,6 @@ require 'rubygems'
3
3
  module RuboCop
4
4
  module Cask
5
5
  # Version information for the Cask RuboCop plugin.
6
- VERSION = '0.18.0'.freeze
6
+ VERSION = '0.18.1'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-cask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hagins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2018-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: public_suffix