rentacop 0.1.8 → 0.1.10

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
  SHA256:
3
- metadata.gz: b63027710ed218276b118317b3a4df674c4ee7b09ff4b049b8a7550b0fb46c34
4
- data.tar.gz: 325082f47ede9f28b44014799d5db6ee14e84b990c9a88820f2157c06ea9c0d2
3
+ metadata.gz: 41edb74ee40373cc4469551e076e70a08da0c1e9233bd14551c3572311a060ac
4
+ data.tar.gz: c84c0dc2c2e4a17e20e26099e92d1e6baab6bb7033bf652d0d5367ac797b4e27
5
5
  SHA512:
6
- metadata.gz: 5730d1a228ca3a997f4d5b43a3c10376306a9a43c3acac195f0afd78956c0848dc4eccf2cd5a210ec8b0df7fdaa44d210f36e0aeaa0a528934ea3e309bd5504b
7
- data.tar.gz: 014c2af60126738c3434c3e54de5ff32b9ab8cb8a0c8beb9af235c18049a37551f01d53a4e9aa98835e11addde3a6ec4c7b3737437405a813cf3a6faea098781
6
+ metadata.gz: 42e0b776b21f1777c5405c93745f8bda9cdb2ecf6074ddf1fb706b9ea9865f8afa1ce7ef633f1cfaa2f3a12c042cebdecb30fb6db8b5a87434335e8a87073b17
7
+ data.tar.gz: a03449b3cf71127c23cbed3d3abaebe7426402e423b06a57a8b54d93c0af3a815a77046ac25e0d741b30540f5ed5e7c95cf121e0411f323cd639fc8dc3f68537
@@ -1,3 +1,3 @@
1
1
  module Rentacop
2
- VERSION = '0.1.8'
2
+ VERSION = '0.1.10'
3
3
  end
data/rentacop.yml CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  AllCops:
4
4
  NewCops: enable
5
- TargetRubyVersion: 3.0
5
+ TargetRubyVersion: 3.2
6
6
  Exclude:
7
7
  - 'spec/approvals/**/*'
8
8
 
@@ -45,6 +45,10 @@ Layout/MultilineOperationIndentation:
45
45
 
46
46
  # === Lint ===
47
47
 
48
+ # Allow `it` instead of `it()` inside a block
49
+ Lint/ItWithoutArgumentsInBlock:
50
+ Enabled: false
51
+
48
52
  # Not all inheriting classes need to call `super` in their constructor
49
53
  Lint/MissingSuper:
50
54
  Enabled: false
@@ -54,6 +58,8 @@ Lint/NonAtomicFileOperation:
54
58
  Enabled: false
55
59
 
56
60
 
61
+
62
+
57
63
  # === Metrics ===
58
64
 
59
65
  # Allow some complexity
@@ -141,10 +147,8 @@ Style/FrozenStringLiteralComment:
141
147
  Enabled: false
142
148
 
143
149
  # Avoid hash rocket syntax where appropriate (EnforcedStyle)
144
- # Avoid value-less hash shorthand since it is ruby >= 3.1 (EnforcedShorthandSyntax)
145
150
  Style/HashSyntax:
146
151
  EnforcedStyle: ruby19_no_mixed_keys
147
- EnforcedShorthandSyntax: never
148
152
 
149
153
  # Allow non one-line conditions even when the body of the condition is one line
150
154
  Style/IfUnlessModifier:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rentacop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
@@ -36,7 +36,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '3.0'
39
+ version: '3.2'
40
40
  required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - ">="