rentacop 0.1.7 → 0.1.9

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rentacop/version.rb +1 -1
  3. data/rentacop.yml +10 -4
  4. metadata +4 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adb6dd0132b8930070ed6def34a265836aa575d6a4bad45155be609366a501b7
4
- data.tar.gz: aa959ecbb607f1e4fee33150a15cfa8a84627f7a2c8a8e9e49a9ccdbe8c3447b
3
+ metadata.gz: 40d7f2bfd05a68bb0ee3999542dfd23b20dffff413f3aa53a2253f90c67f8e11
4
+ data.tar.gz: abaca4f6a5558ae4eb2d5fba54449fe9d3788bb481a2ecbb2b777fbd8ed389f9
5
5
  SHA512:
6
- metadata.gz: 9e716c9ef5b6a0b5b4a9afb36515dc581365debb4733a05340d8903b5c5ccffe66ad5767db7253251a13224712014361c5dffe5cc8174f3cbc4906f8d26fdfe5
7
- data.tar.gz: 4193c0bab7b2522f42a564e200f17070d945c834b00c2bbc962ef77e2992f6f0ee9045c138b25f12c90194d0e1c07bcd308d88af1b002d0639398284ce52145f
6
+ metadata.gz: 4e680d78fe1127970232bcaed07cae73d0c597409e085f36869384f21e8f86ef76bfd8bbdfe66fa556f63ec82b1bd23f67f9d8234a1cc09d8185a0f50ec73f02
7
+ data.tar.gz: dd3acfc98ba2aaf965d7ba0c42dc9b8ded663c6cafa9840cd2b03eb14b468094780b661b5f1e59d042724f43daf928f07f97f6ce5fda7ad27566cb2b0a5c657c
@@ -1,3 +1,3 @@
1
1
  module Rentacop
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.9'
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
 
@@ -95,7 +95,11 @@ Naming/MethodParameterName:
95
95
  Enabled: false
96
96
 
97
97
  # Allow `has_`, `is_` prefixes
98
- Naming/PredicateName:
98
+ Naming/PredicatePrefix:
99
+ Enabled: false
100
+
101
+ # Allow boolean methods to not end with ?
102
+ Naming/PredicateMethod:
99
103
  Enabled: false
100
104
 
101
105
 
@@ -137,15 +141,17 @@ Style/FrozenStringLiteralComment:
137
141
  Enabled: false
138
142
 
139
143
  # Avoid hash rocket syntax where appropriate (EnforcedStyle)
140
- # Avoid value-less hash shorthand since it is ruby >= 3.1 (EnforcedShorthandSyntax)
141
144
  Style/HashSyntax:
142
145
  EnforcedStyle: ruby19_no_mixed_keys
143
- EnforcedShorthandSyntax: never
144
146
 
145
147
  # Allow non one-line conditions even when the body of the condition is one line
146
148
  Style/IfUnlessModifier:
147
149
  Enabled: false
148
150
 
151
+ # Allow long numbers without undescores
152
+ Style/NumericLiterals:
153
+ Enabled: false
154
+
149
155
  # Allow top level `include` in some places
150
156
  Style/MixinUsage:
151
157
  Exclude:
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rentacop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-03-01 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Collection of more relaxed rubocop rules
14
13
  email: db@dannyben.com
@@ -30,7 +29,6 @@ metadata:
30
29
  homepage_uri: https://github.com/dannyben/rentacop
31
30
  source_code_uri: https://github.com/DannyBen/rentacop
32
31
  rubygems_mfa_required: 'true'
33
- post_install_message:
34
32
  rdoc_options: []
35
33
  require_paths:
36
34
  - lib
@@ -38,15 +36,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
38
36
  requirements:
39
37
  - - ">="
40
38
  - !ruby/object:Gem::Version
41
- version: '3.0'
39
+ version: '3.2'
42
40
  required_rubygems_version: !ruby/object:Gem::Requirement
43
41
  requirements:
44
42
  - - ">="
45
43
  - !ruby/object:Gem::Version
46
44
  version: '0'
47
45
  requirements: []
48
- rubygems_version: 3.5.6
49
- signing_key:
46
+ rubygems_version: 3.6.9
50
47
  specification_version: 4
51
48
  summary: Collection of more relaxed rubocop rules
52
49
  test_files: []