rubocop-cask 0.14.3 → 0.14.4

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: 97fb0164b470635c4e17b2c52b3417df758f2b03
4
- data.tar.gz: 68cadb77e2b6bb16fd9e02d7d71f7c2dc36b6d1d
3
+ metadata.gz: 5e3ef8c1197234e1a0f99c84c25b9a38de7bda32
4
+ data.tar.gz: c4339e3e4ae6144c91a7ce11384ec97401686ea9
5
5
  SHA512:
6
- metadata.gz: 689c10ff0eab204a4fad83555aa9a0d3dc93b8a47e201a3b9c835e1717bb23043e229acbc280a409c5800bc1c7bcb1bd38f3afcf658558983c2067c570ffe5af
7
- data.tar.gz: 07cccd16a9aa4c81fc32e73df057cb357b40ae6a52624e3baf2f1448cdf64daeb3016b06f0bbaeffdcbd3c9965d2941f7b1ae405157cd824e35d97beaa02308a
6
+ metadata.gz: eb6c7447ab7d25d715955cf82014118feb0b7f1b14b3f910786e7a618dc85af06ba212ee7ad558ede835d3d368031b1a51664b654988e276cab59f03724dd345
7
+ data.tar.gz: 413cb456166b64d779e9ac15dbc86bacd3efe057bb209f9df34b5e7161d0aa153fbf38d296350c56294eeca1cd15cb2161d452a04685f2539c82990501158705
data/config/default.yml CHANGED
@@ -1,20 +1,18 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.3
3
3
 
4
- ###
5
- ### RuboCop-Cask Cops
6
- ###
4
+ # Cask Cops
7
5
 
8
- Cask/NoDslVersion:
9
- Description: 'Do not use the deprecated DSL version syntax in your cask header.'
6
+ Cask/HomepageMatchesUrl:
7
+ Description: 'Ensure that the homepage and url match, otherwise add a comment. More info at https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment'
10
8
  Enabled: true
11
9
 
12
10
  Cask/HomepageUrlTrailingSlash:
13
11
  Description: 'Ensure that the homepage url has a slash after the domain name.'
14
12
  Enabled: true
15
13
 
16
- Cask/HomepageMatchesUrl:
17
- Description: 'Ensure that the homepage and url match, otherwise add a comment. More info at https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment'
14
+ Cask/NoDslVersion:
15
+ Description: 'Do not use the deprecated DSL version syntax in your cask header.'
18
16
  Enabled: true
19
17
 
20
18
  Cask/StanzaGrouping:
@@ -25,9 +23,7 @@ Cask/StanzaOrder:
25
23
  Description: 'Ensure that cask stanzas are sorted correctly. More info at https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#stanza-order'
26
24
  Enabled: true
27
25
 
28
- ###
29
- ### RuboCop Cops
30
- ###
26
+ # Built-In Cops
31
27
 
32
28
  Layout/AlignHash:
33
29
  EnforcedHashRocketStyle: table
@@ -45,6 +41,13 @@ Metrics/BlockLength:
45
41
  Metrics/LineLength:
46
42
  Enabled: false
47
43
 
44
+ Naming/FileName:
45
+ Enabled: false
46
+
47
+ Naming/HeredocDelimiterNaming:
48
+ Blacklist:
49
+ - END, EOD, EOF
50
+
48
51
  Performance/StringReplacement:
49
52
  Enabled: false
50
53
 
@@ -57,13 +60,9 @@ Style/Documentation:
57
60
  Style/EmptyElse:
58
61
  Enabled: false
59
62
 
60
- Naming/FileName:
63
+ Style/FrozenStringLiteralComment:
61
64
  Enabled: false
62
65
 
63
- Naming/HeredocDelimiterNaming:
64
- Blacklist:
65
- - END, EOD, EOF
66
-
67
66
  Style/HashSyntax:
68
67
  EnforcedStyle: ruby19_no_mixed_keys
69
68
 
@@ -82,11 +81,11 @@ Style/PercentLiteralDelimiters:
82
81
  Style/RegexpLiteral:
83
82
  EnforcedStyle: percent_r
84
83
 
85
- Style/TrailingCommaInLiteral:
86
- EnforcedStyleForMultiline: comma
87
-
88
84
  Style/SymbolArray:
89
85
  EnforcedStyle: brackets
90
86
 
87
+ Style/TrailingCommaInLiteral:
88
+ EnforcedStyleForMultiline: comma
89
+
91
90
  Style/WordArray:
92
91
  EnforcedStyle: brackets
@@ -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.14.3'.freeze
6
+ VERSION = '0.14.4'.freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-cask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3
4
+ version: 0.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hagins