rubocop-rubomatic-rails 1.4.1 → 1.5.0.pre.rc.1

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: 2919c9dda6d82933d1b2f01a98867fd850f310e4185ab5e5ebe6676fd99c36ad
4
- data.tar.gz: 45c3c79e0e79ce10863baefc52276c5dfab5d03f60fac318f698f83e787d8162
3
+ metadata.gz: 9612ecf09f5d21e2d29ac5b15cd84aa76544b718341462c2af025e86fa9feaea
4
+ data.tar.gz: 792715d3c321632841465f78923d6b11c8d8ebe8b1a953abf9bce2c695418e11
5
5
  SHA512:
6
- metadata.gz: c8a8282b8788c864b4592a88dc260833689c4683ddc5810335f90454978d61cd68f71692f01455ccaf78e6fe8a203cbaeebe1f271725cb2e5027af02fd164473
7
- data.tar.gz: a6e1e775c65729a15b104b40e267162a8ffb95c945e1fd8ef7147aabbef758561eaf1656081eb1a1ac54b323c621c758e988a22fdfeae4db2ace4b18c23b3561
6
+ metadata.gz: a189ff6afa83b94b85cc8cce16e299568b9e226785bb4b676e00eac140d8867e9c6415ad387d4c7009545bf94a025c39ae611aa1c2dfb9bdecc19308808ad56d
7
+ data.tar.gz: 9eaf2e516e3e80b49b26202c179863c98f230a7c92819e15d92cfffd733898625495bfbe658c190f1c0b22756abf7dd4afce79654b284659232e4ec2ebe4849e
data/CHANGELOG.adoc CHANGED
@@ -1,3 +1,15 @@
1
+ == 1.5.0 (Unreleased)
2
+
3
+ === Cops
4
+
5
+ * Add ``Rails/WhereRange`` cop
6
+ * Add ``Rails/EnumSyntax`` cop
7
+
8
+ === Dependencies
9
+
10
+ * ``rubocop-rails@2.26.2``
11
+ * ``rubocop-rubomatic@1.5.1``
12
+
1
13
  == 1.4.0
2
14
 
3
15
  === Cops
data/config/rails.yml CHANGED
@@ -190,6 +190,10 @@ Rails/EnumHash:
190
190
  Include:
191
191
  - app/models/**/*.rb
192
192
 
193
+ # TODO: Limit to rails 7+
194
+ Rails/EnumSyntax:
195
+ Enabled: true
196
+
193
197
  Rails/EnumUniqueness:
194
198
  Enabled: true
195
199
  Include:
@@ -664,3 +668,6 @@ Rails/WhereNot:
664
668
 
665
669
  Rails/WhereNotWithMultipleConditions:
666
670
  Enabled: true
671
+
672
+ Rails/WhereRange:
673
+ Enabled: true
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module RubomaticRails
5
- VERSION = '1.4.1'
5
+ VERSION = '1.5.0-rc.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubomatic-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.0.pre.rc.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-22 00:00:00.000000000 Z
11
+ date: 2024-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-rails
@@ -16,28 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.23.0
19
+ version: 2.26.0
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 2.26.2
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: 2.23.0
29
+ version: 2.26.0
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 2.26.2
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rubocop-rubomatic
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 1.4.0
39
+ version: 1.5.0
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.5.1
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
47
  - - "~>"
39
48
  - !ruby/object:Gem::Version
40
- version: 1.4.0
49
+ version: 1.5.0
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 1.5.1
41
53
  description:
42
54
  email:
43
55
  - documents@brandsinsurance.com
@@ -59,14 +71,14 @@ files:
59
71
  - lib/rubocop/rubomatic-rails.rb
60
72
  - lib/rubocop/rubomatic-rails/inject.rb
61
73
  - lib/rubocop/rubomatic-rails/version.rb
62
- homepage: https://github.com/BrandsInsurance/rubocop-rubomatic-rails
74
+ homepage: https://github.com/BrandsInsurance/rubomatic-rails/
63
75
  licenses:
64
76
  - MIT
65
77
  metadata:
66
78
  rubygems_mfa_required: 'true'
67
- homepage_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails
68
- source_code_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails
69
- changelog_uri: https://github.com/BrandsInsurance/rubocop-rubomatic-rails/blob/main/CHANGELOG.adoc
79
+ homepage_uri: https://github.com/BrandsInsurance/rubomatic-rails/
80
+ source_code_uri: https://github.com/BrandsInsurance/rubomatic-rails
81
+ changelog_uri: https://github.com/BrandsInsurance/rubomatic-rails/blob/main/CHANGELOG.adoc
70
82
  post_install_message:
71
83
  rdoc_options: []
72
84
  require_paths:
@@ -78,9 +90,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
90
  version: 3.0.1
79
91
  required_rubygems_version: !ruby/object:Gem::Requirement
80
92
  requirements:
81
- - - ">="
93
+ - - ">"
82
94
  - !ruby/object:Gem::Version
83
- version: '0'
95
+ version: 1.3.1
84
96
  requirements: []
85
97
  rubygems_version: 3.2.15
86
98
  signing_key: