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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28161b56e8af9d29a442ce0c1f7829ed92e59f787caeec6e0a5e32460c359c4b
4
- data.tar.gz: 33bc2c6f17befe461f55c31c7a0388612b48c265fa975e2f2c1f544620c92848
3
+ metadata.gz: 7c2a750eaabc48236dfa0d947d3a5fceb65c3a1806f607e6e3c25af41099db69
4
+ data.tar.gz: cf732ed1e6289c588451c258017ee36ac681051f4c663279ab8f9525ba5e8103
5
5
  SHA512:
6
- metadata.gz: b0747ea7979874775af93ab0e2f00f6489293268974cff820b5abbd7b00732250e0451150fa1a402450418dd666660f22884988a0a4504447aae47e10c1b8d12
7
- data.tar.gz: 9e86aa89d4c3168d7a5f5e1f50a5a705f418d75547ec2715b77e9a188caa47e15ff110954b4e6563204f9ff3175616ea998fb53c2185597b44e84f85c5ee5676
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 (8.0.0)
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.8.11)
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.0)
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.3)
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: pending
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: always
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: referer
658
+ EnforcedStyle: referrer # Discussed in https://github.com/makandra/makandra-rubocop/issues/34
659
659
  SupportedStyles:
660
660
  - referer
661
661
  - referrer
@@ -1,3 +1,3 @@
1
1
  module MakandraRubocop
2
- VERSION = '8.0.0'.freeze
2
+ VERSION = '9.1.0'.freeze
3
3
  end
@@ -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: 8.0.0
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-01-26 00:00:00.000000000 Z
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.0.3
130
+ rubygems_version: 3.2.25
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: makandra's default Rubocop configuration