makandra-rubocop 8.0.0 → 9.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -0
- data/Gemfile.lock +4 -4
- data/config/default.yml +2 -2
- data/config/ext/rails.yml +1 -1
- data/lib/makandra_rubocop/version.rb +1 -1
- data/makandra-rubocop.gemspec +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c2a750eaabc48236dfa0d947d3a5fceb65c3a1806f607e6e3c25af41099db69
|
4
|
+
data.tar.gz: cf732ed1e6289c588451c258017ee36ac681051f4c663279ab8f9525ba5e8103
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 290c0cfb56bab6c05362b62c7ccee4db37788a1d682b1747af9b9270b4b3020efa77019bad5bb67721632e00003ae0de982dea6201daf6d60553672886828c56
|
7
|
+
data.tar.gz: 6d61a615a1c82fab8cff6c1d4dcef7a584af6396f7399e01cdc39382f80a24672053e145dce0060e57f97b2fdaa48a1da01a69594c505ec1b391e0f9d23724ad
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,30 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
9
9
|
### Compatible changes
|
10
10
|
|
11
11
|
|
12
|
+
## 9.1.0 - 2022-04-22
|
13
|
+
|
14
|
+
### Compatible changes
|
15
|
+
|
16
|
+
- Disable `Naming/BlockForwarding` (#37)
|
17
|
+
- Change `Style/HashSyntax` from `EnforcedShorthandSyntax` `always` to `either` (#36)
|
18
|
+
|
19
|
+
|
20
|
+
## 9.0.1 - 2022-03-09
|
21
|
+
|
22
|
+
### Compatible changes
|
23
|
+
|
24
|
+
- Activate Rubygems MFA
|
25
|
+
|
26
|
+
|
27
|
+
## 9.0.0 - 2022-02-09
|
28
|
+
|
29
|
+
### Breaking changes
|
30
|
+
|
31
|
+
- Changed `Rails/RequestReferer` from `EnforcedStyle` `referer` to `referrer`
|
32
|
+
|
33
|
+
### Compatible changes
|
34
|
+
|
35
|
+
|
12
36
|
## 8.0.0 - 2022-01-25
|
13
37
|
|
14
38
|
## Breaking changes
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
makandra-rubocop (
|
4
|
+
makandra-rubocop (9.0.0)
|
5
5
|
rubocop (~> 1.25.0)
|
6
6
|
rubocop-rails (~> 2.11.3)
|
7
7
|
rubocop-rspec (~> 2.4.0)
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
zeitwerk (~> 2.3)
|
18
18
|
ast (2.4.2)
|
19
19
|
concurrent-ruby (1.1.9)
|
20
|
-
i18n (1.
|
20
|
+
i18n (1.9.1)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
22
|
minitest (5.15.0)
|
23
23
|
parallel (1.21.0)
|
@@ -28,7 +28,7 @@ GEM
|
|
28
28
|
rake (12.3.2)
|
29
29
|
regexp_parser (2.2.0)
|
30
30
|
rexml (3.2.5)
|
31
|
-
rubocop (1.25.
|
31
|
+
rubocop (1.25.1)
|
32
32
|
parallel (~> 1.10)
|
33
33
|
parser (>= 3.1.0.0)
|
34
34
|
rainbow (>= 2.2.2, < 4.0)
|
@@ -50,7 +50,7 @@ GEM
|
|
50
50
|
tzinfo (2.0.4)
|
51
51
|
concurrent-ruby (~> 1.0)
|
52
52
|
unicode-display_width (2.1.0)
|
53
|
-
zeitwerk (2.5.
|
53
|
+
zeitwerk (2.5.4)
|
54
54
|
|
55
55
|
PLATFORMS
|
56
56
|
ruby
|
data/config/default.yml
CHANGED
@@ -2494,7 +2494,7 @@ Naming/BinaryOperatorParameterName:
|
|
2494
2494
|
Naming/BlockForwarding:
|
2495
2495
|
Description: 'Use anonymous block forwarding.'
|
2496
2496
|
StyleGuide: '#block-forwarding'
|
2497
|
-
Enabled:
|
2497
|
+
Enabled: false # Voted for this in https://github.com/makandra/makandra-rubocop/issues/37
|
2498
2498
|
VersionAdded: '1.24'
|
2499
2499
|
EnforcedStyle: anonymous
|
2500
2500
|
SupportedStyles:
|
@@ -3703,7 +3703,7 @@ Style/HashSyntax:
|
|
3703
3703
|
# enforces both ruby19 and no_mixed_keys styles
|
3704
3704
|
- ruby19_no_mixed_keys
|
3705
3705
|
# Force hashes that have a hash value omission
|
3706
|
-
EnforcedShorthandSyntax:
|
3706
|
+
EnforcedShorthandSyntax: either # Voted in this issue https://github.com/makandra/makandra-rubocop/issues/36, but open for re-evaluation at a later point in time.
|
3707
3707
|
SupportedShorthandSyntax:
|
3708
3708
|
# forces use of the 3.1 syntax (e.g. {foo:}) when the hash key and value are the same.
|
3709
3709
|
- always
|
data/config/ext/rails.yml
CHANGED
@@ -655,7 +655,7 @@ Rails/RequestReferer:
|
|
655
655
|
Description: 'Use consistent syntax for request.referer.'
|
656
656
|
Enabled: true
|
657
657
|
VersionAdded: '0.41'
|
658
|
-
EnforcedStyle:
|
658
|
+
EnforcedStyle: referrer # Discussed in https://github.com/makandra/makandra-rubocop/issues/34
|
659
659
|
SupportedStyles:
|
660
660
|
- referer
|
661
661
|
- referrer
|
data/makandra-rubocop.gemspec
CHANGED
@@ -13,6 +13,7 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.description = 'A relaxed set of default Rubocop settings to use across makandra projects.'
|
14
14
|
spec.homepage = 'https://github.com/makandra/makandra-rubocop'
|
15
15
|
spec.license = 'MIT'
|
16
|
+
spec.metadata = { 'rubygems_mfa_required' => 'true' }
|
16
17
|
|
17
18
|
# Specify which files should be added to the gem when it is released.
|
18
19
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makandra-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arne Hartherz
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rubocop
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
127
127
|
- !ruby/object:Gem::Version
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
|
-
rubygems_version: 3.
|
130
|
+
rubygems_version: 3.2.25
|
131
131
|
signing_key:
|
132
132
|
specification_version: 4
|
133
133
|
summary: makandra's default Rubocop configuration
|