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

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: 19a54f738b75e7e7306845aedd70a09ae7a01aa13d6c46d2d86756b51d6a61da
4
+ data.tar.gz: 687819de3aa425bcabc87a37e5ca8da1b67551ed806d53e9df56e23f518efed9
5
5
  SHA512:
6
- metadata.gz: c8a8282b8788c864b4592a88dc260833689c4683ddc5810335f90454978d61cd68f71692f01455ccaf78e6fe8a203cbaeebe1f271725cb2e5027af02fd164473
7
- data.tar.gz: a6e1e775c65729a15b104b40e267162a8ffb95c945e1fd8ef7147aabbef758561eaf1656081eb1a1ac54b323c621c758e988a22fdfeae4db2ace4b18c23b3561
6
+ metadata.gz: eea08d64e59a91ac12c1cf1c22c82844a6c7efdf3b99c33620a78bd249e5b5d725ad9237df4bc0f0da2b5c0b2568743d48b71033834d2dc28f90854f18300d7a
7
+ data.tar.gz: 6757fe60a050c3f2791acb26f80f59d5aa0e1155bc5f61b66a58a7aaafbe4bcfe971df371389495ee7023ba9d9b6e2b9aaa4de430d6cba497c69d3076c98407a
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,9 @@ Rails/EnumHash:
190
190
  Include:
191
191
  - app/models/**/*.rb
192
192
 
193
+ Rails/EnumSyntax:
194
+ Enabled: true
195
+
193
196
  Rails/EnumUniqueness:
194
197
  Enabled: true
195
198
  Include:
@@ -664,3 +667,6 @@ Rails/WhereNot:
664
667
 
665
668
  Rails/WhereNotWithMultipleConditions:
666
669
  Enabled: true
670
+
671
+ Rails/WhereRange:
672
+ 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.2'
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.2
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: