rubocop-cask 0.12.0 → 0.13.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: 442d35b763d9d298b87df4a292360fe9990a018a
4
- data.tar.gz: 088e6c62903ded5b57296b29cbfe63b9dfc1bfd9
3
+ metadata.gz: b1faf77bfe5b256655609036da39b1a5927098ba
4
+ data.tar.gz: ea6c73747633bbdbc450e8bb1d4c1e93ce0baee1
5
5
  SHA512:
6
- metadata.gz: 50bb469d68f72ea30723f96ad495717a714a78cbc1124dd0c6e1ec3427fa484f00936eb34cddb97a0eace82b87c09c976ebcc36619533315a44a2601609b3d19
7
- data.tar.gz: ce1b8254d503ddc1e5bfe5b207dc953063a86055d2bb3af76a89daaa06fa0c6d26abab44f920068b93730dd028a40c3ee7d29bec93853f0462777ac28a2a5ef8
6
+ metadata.gz: e0840b6b925d54c36b6e6dfb7576ac71d6d0eefb3a4f41f910fb1c2729855e11328de98c062d0976346b48d1b689a0f5214a4a487b06d45436c6b665c2b7107f
7
+ data.tar.gz: d57b685974bdcff47d6791147e2041e43063124217ecc5dcd8a04141b2117ebe39e229a47f8fdc85f2290f99da484bc8fb86e0994e7ef707b762f82432f91dc2
data/config/default.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ###
2
- ### RuboCop Cask cops
2
+ ### RuboCop-Cask Cops
3
3
  ###
4
4
 
5
5
  Cask/NoDslVersion:
@@ -23,9 +23,19 @@ Cask/StanzaOrder:
23
23
  Enabled: true
24
24
 
25
25
  ###
26
- ### RuboCop cops
26
+ ### RuboCop Cops
27
27
  ###
28
28
 
29
+ Layout/AlignHash:
30
+ EnforcedHashRocketStyle: table
31
+ EnforcedColonStyle: table
32
+
33
+ Layout/IndentArray:
34
+ EnforcedStyle: align_brackets
35
+
36
+ Layout/IndentHash:
37
+ EnforcedStyle: align_braces
38
+
29
39
  Metrics/BlockLength:
30
40
  Enabled: false
31
41
 
@@ -35,10 +45,6 @@ Metrics/LineLength:
35
45
  Performance/StringReplacement:
36
46
  Enabled: false
37
47
 
38
- Style/AlignHash:
39
- EnforcedHashRocketStyle: table
40
- EnforcedColonStyle: table
41
-
42
48
  Style/BarePercentLiterals:
43
49
  EnforcedStyle: percent_q
44
50
 
@@ -54,12 +60,6 @@ Style/FileName:
54
60
  Style/HashSyntax:
55
61
  EnforcedStyle: ruby19_no_mixed_keys
56
62
 
57
- Style/IndentArray:
58
- EnforcedStyle: align_brackets
59
-
60
- Style/IndentHash:
61
- EnforcedStyle: align_braces
62
-
63
63
  Style/PercentLiteralDelimiters:
64
64
  PreferredDelimiters:
65
65
  '%': '{}'
@@ -3,12 +3,6 @@ require 'rubygems'
3
3
  module RuboCop
4
4
  module Cask
5
5
  # Version information for the Cask RuboCop plugin.
6
- module Version
7
- STRING = '0.12.0'.freeze
8
-
9
- def self.gem_version
10
- Gem::Version.new(STRING)
11
- end
12
- end
6
+ VERSION = '0.13.0'.freeze
13
7
  end
14
8
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-cask
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Hagins
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-14 00:00:00.000000000 Z
11
+ date: 2017-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: public_suffix
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.47.1
33
+ version: 0.49.0
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: 0.47.1
40
+ version: 0.49.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.14'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.14'
55
55
  description: |2
@@ -63,7 +63,10 @@ extra_rdoc_files:
63
63
  - MIT-LICENSE.md
64
64
  - README.md
65
65
  files:
66
+ - MIT-LICENSE.md
67
+ - README.md
66
68
  - config/default.yml
69
+ - lib/rubocop-cask.rb
67
70
  - lib/rubocop/cask/ast/cask_block.rb
68
71
  - lib/rubocop/cask/ast/cask_header.rb
69
72
  - lib/rubocop/cask/ast/stanza.rb
@@ -79,9 +82,6 @@ files:
79
82
  - lib/rubocop/cop/cask/no_dsl_version.rb
80
83
  - lib/rubocop/cop/cask/stanza_grouping.rb
81
84
  - lib/rubocop/cop/cask/stanza_order.rb
82
- - lib/rubocop-cask.rb
83
- - MIT-LICENSE.md
84
- - README.md
85
85
  - spec/project_spec.rb
86
86
  - spec/rubocop/cop/cask/homepage_matches_url_spec.rb
87
87
  - spec/rubocop/cop/cask/homepage_url_trailing_slash_spec.rb
@@ -100,17 +100,17 @@ require_paths:
100
100
  - lib
101
101
  required_ruby_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - '>='
103
+ - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: 2.0.0
106
106
  required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  requirements: []
112
112
  rubyforge_project:
113
- rubygems_version: 2.0.14.1
113
+ rubygems_version: 2.6.8
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Code style checking for Homebrew-Cask files