rubocop-cask 0.8.2 → 0.8.3

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: 40a510bd5fca85ade0ba433f651a75b183348b0d
4
- data.tar.gz: 6992e7abf54094b3912ff223cedba1be033f6148
3
+ metadata.gz: 1f2b1bd54f58d2544c6e3e4ca9855a3ec6b293fb
4
+ data.tar.gz: d88e0a2e4ca854452e30cd7b5373c0818e02560b
5
5
  SHA512:
6
- metadata.gz: 75f2ea953da5703dfc0bc70d077724f12ea4bb70ba05676567537cdfd62d435d7d8d8c535798655685b0073b38e3da4232d4536a43e2dd6e25a768d423f2c6a4
7
- data.tar.gz: 70a142ac7248fdca70620d9c745449e7812e147962d46bce208c877ca6f31c80b76a6e19af999d784a689bcd7bf5a4a6c68aa1603d9a896368bc4eb8dc610ed3
6
+ metadata.gz: 951125b0a0e1f0af8f134d8b1e05eb6f4d316b64532bb1b8b4a8691452dd4437192f461ea75ffcd7bfee5119093e65227ab31e60770690f99927fa9935cbb9f2
7
+ data.tar.gz: 6373f90001b562524b735cf2c80e201f4672c68fe2b8d8d7fc8a74476f85fa1efc33bf048ed225f017032b07c1f29191f24c47c18d640521c4e98342fea5cf42
@@ -4,7 +4,7 @@ module RuboCop
4
4
  module Cask
5
5
  # Version information for the Cask RuboCop plugin.
6
6
  module Version
7
- STRING = '0.8.2'.freeze
7
+ STRING = '0.8.3'.freeze
8
8
 
9
9
  def self.gem_version
10
10
  Gem::Version.new(STRING)
@@ -14,10 +14,9 @@ module RuboCop
14
14
 
15
15
  MSG_NO_MATCH = '`%s` does not match `%s`'.freeze
16
16
 
17
- MSG_MISSING = '`%s` does not match `%s`, a comment in the form of ' \
18
- '`# %s was verified as official when first ' \
19
- 'introduced to the cask` has to be added above the ' \
20
- '`url` stanza'.freeze
17
+ MSG_MISSING = '`%s` does not match `%s`, a comment has to be added ' \
18
+ 'above the `url` stanza. For details, see ' \
19
+ 'https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment'.freeze
21
20
 
22
21
  MSG_UNNECESSARY = '`%s` matches `%s`, the comment above the `url` ' \
23
22
  'stanza is unnecessary'.freeze
@@ -2,12 +2,6 @@ describe RuboCop::Cop::Cask::HomepageMatchesUrl do
2
2
  include CopSharedExamples
3
3
 
4
4
  subject(:cop) { described_class.new }
5
- let(:missing_line_msg) do
6
- 'stanza groups should be separated by a single empty line'
7
- end
8
- let(:extra_line_msg) do
9
- 'stanzas within the same group should have no lines between them'
10
- end
11
5
 
12
6
  context 'when the url matches the homepage' do
13
7
  context 'and there is no comment' do
@@ -164,10 +158,9 @@ describe RuboCop::Cop::Cask::HomepageMatchesUrl do
164
158
  end
165
159
  let(:expected_offenses) do
166
160
  [{
167
- message: '`example.com` does not match `example.org`, a ' \
168
- 'comment in the form of `# example.com was verified as ' \
169
- 'official when first introduced to the cask` has to be ' \
170
- 'added above the `url` stanza',
161
+ message: '`example.com` does not match `example.org`, a comment ' \
162
+ 'has to be added above the `url` stanza. For details, see ' \
163
+ 'https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment',
171
164
  severity: :convention,
172
165
  line: 2,
173
166
  column: 2,
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.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hagins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-05 00:00:00.000000000 Z
11
+ date: 2016-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: public_suffix