rubocop-govuk 2.0.0 → 3.0.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
  SHA256:
3
- metadata.gz: 7c23b647abb912a4c141e4799fe35a39917d69d1b86d4c2528476ded0985809d
4
- data.tar.gz: 05bce0f54a903602b544a1a41ecb5abce498443996f4b992ddc2c94c111f0086
3
+ metadata.gz: 9f3cc703ef46580473e74ee44c4aefdb4c24e4dcb93591087e20d2b71ef03554
4
+ data.tar.gz: f9da7399e69c0296c83b885848aedf07147322ba1047535c03840aad3c05bec2
5
5
  SHA512:
6
- metadata.gz: 8a06387e9544b0221f2098dbc4376515cbf9ab965cec5b31215a1cd52968fffc5afeae0c3511b27f2d41218f7b771de48cf2a70e2fec814de22b90ffefb5c4d5
7
- data.tar.gz: a47f1a2d3bf1ac8191117aa5536e360369ad0761abfc5e6b95ba52ed801f89613315babf325c4ea25264fb859053117790daf3cbac18414960dcb7f6e4120c64
6
+ metadata.gz: 9d75c582f92b8a96a30402af2499e98c58e6717a5003078867cd5cb000443ffcb244c13266078c1790d1c02364d0dd7273561b74da67ab7d1bcbf61d85333c4b
7
+ data.tar.gz: 4e461a6d025a5e77ea6773bcce84b923ac23454763fb3badb74bf4bc517f69ddffd150be57dc96eb07885463cd448b8a42fdce8334e210ec97ce2f8e89d2890a
@@ -1,3 +1,10 @@
1
+ # 3.0.0
2
+
3
+ * Update Rubocop to 0.80.1
4
+ * This deletes the Style/BracesAroundHashParameters cop for future
5
+ Ruby 3 compatibility.
6
+ * Exclude `bin` directory and `db/schema.rb` from linter checks (#14)
7
+
1
8
  # 2.0.0
2
9
 
3
10
  * Use specific version for RuboCop
@@ -1,4 +1,7 @@
1
1
  AllCops:
2
+ Excludes:
3
+ - 'bin/**'
4
+
2
5
  DisplayCopNames:
3
6
  Description: 'Display cop names in offense messages'
4
7
  Enabled: true
@@ -55,7 +55,7 @@ Layout/IndentationConsistency:
55
55
  Description: Keep indentation straight.
56
56
  Enabled: true
57
57
 
58
- Metrics/LineLength:
58
+ Layout/LineLength:
59
59
  Description: Limit lines to 80 characters.
60
60
  Enabled: false
61
61
  Max: 80
@@ -245,7 +245,7 @@ Style/TrivialAccessors:
245
245
  ExactNameMatch: true
246
246
  AllowPredicates: true
247
247
  AllowDSLWriters: false
248
- AllowedMethod:
248
+ AllowedMethods:
249
249
  - to_ary
250
250
  - to_a
251
251
  - to_c
@@ -58,10 +58,6 @@ Style/BlockDelimiters:
58
58
  Prefer {...} over do...end for single-line blocks.
59
59
  Enabled: false
60
60
 
61
- Style/BracesAroundHashParameters:
62
- Description: 'Enforce braces style inside hash parameters.'
63
- Enabled: true
64
-
65
61
  Style/CaseEquality:
66
62
  Description: 'Avoid explicit use of the case equality operator(===).'
67
63
  Enabled: false
@@ -5,6 +5,10 @@
5
5
 
6
6
  require: rubocop-rails
7
7
 
8
+ AllCops:
9
+ Exclude:
10
+ - 'db/schema.rb'
11
+
8
12
  Rails:
9
13
  Enabled: true
10
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-govuk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Government Digital Service
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-28 00:00:00.000000000 Z
11
+ date: 2020-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '12.0'
19
+ version: '13.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '12.0'
26
+ version: '13.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.77'
33
+ version: 0.80.1
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.77'
40
+ version: 0.80.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement