rubomatic 1.2.0 → 1.3.0

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: d19d59b63a493eacd17a04547a0818a158046e51d1ffbe7830b907cbad58e845
4
- data.tar.gz: fc58e175527ad8cefca6a5778c13b9ffb190320e0f11f41dd4171fe55e53f650
3
+ metadata.gz: ce8e0f7a87f9d63addb88eb2a46878a93a5fce7dc6fa2d7a30e8a25d58823641
4
+ data.tar.gz: bf207e649b1097f481b4e2a55ed8266cc3b6df650ee4c66a2eced23e2fbc11a5
5
5
  SHA512:
6
- metadata.gz: 684caec66e5805940db56a5faca84afed520e2deedad7e79dd00ffa3665b857bf9f80f7bbb23796ff85f4c7281534decd5b57e2de07a194e6f260287ea2f0e39
7
- data.tar.gz: 3da043157fd0cc4f4fad3bbb3b0489350e2141b620f75197fff57238111fe25a4a5e949f474d6718ef66a31c07952eb75b92f8c8d631dda8c2bf41da26b44c14
6
+ metadata.gz: 24b1b06a1335c8d90f06586a0714af7a79d70afbb38515abb20dcb25a1af009908e0cd7adab1f74610bdd230d9e04ce1a278a29b5fbac6f6a4ef0458705c995c
7
+ data.tar.gz: 7eaea3d006d4581d3d341800ffee16df481d4dce5e595667b036f40eca9546de8074c71356d937248a2160726d3e92ce016c0a9e0e871e93f81ca45657e3ef8e
data/CHANGELOG.adoc CHANGED
@@ -1,3 +1,35 @@
1
+ == 1.3.0
2
+
3
+ === Config
4
+
5
+ * Enabled ``Style/RedundantLineContinuation``
6
+ * Enabled ``Style/DataInheritance`` for Ruby 3.2+
7
+
8
+ === Dependencies
9
+
10
+ * `rubocop@1.49.0`
11
+ * `rubocop-brands_insurance@1.3.0`
12
+
13
+ == 1.2.0
14
+
15
+ === Config
16
+
17
+ * Added ``Exclude: [lib/tasks/seeds]`` to ``Metrics/CollectionLiteralLength``
18
+
19
+ == 1.1.0
20
+
21
+ === Config
22
+
23
+ * Enable `Metrics/CollectionLiteralLength`
24
+ * Enable `Style/MinMaxComparison`
25
+ * Enable `Style/MapToSet`
26
+ * Enable `Rails/ResponseParsedBody`
27
+
28
+ === Dependencies
29
+
30
+ * `rubocop@1.48.0`
31
+ * `rubocop-brands_insurance@1.2.0`
32
+
1
33
  == 1.0.0
2
34
 
3
35
  * Initial public release
data/configs/style.yml CHANGED
@@ -517,6 +517,11 @@ Style/Copyright:
517
517
  Notice: '^Copyright (\(c\) )?2[0-9]{3} .+'
518
518
  AutocorrectNotice: ''
519
519
 
520
+ Style/DataInheritance:
521
+ Description: Checks for inheritance from Data.define.
522
+ Enabled: <%= ENV['RUBY_MAJOR'].to_f >= 3.2 %>
523
+ VersionAdded: '1.49'
524
+
520
525
  Style/DateTime:
521
526
  Description: 'Use Time over DateTime.'
522
527
  StyleGuide: '#date-time'
@@ -1905,6 +1910,11 @@ Style/RedundantInterpolation:
1905
1910
  VersionAdded: '0.76'
1906
1911
  VersionChanged: '1.30'
1907
1912
 
1913
+ Style/RedundantLineContinuation:
1914
+ Description: Check for redundant line continuation.
1915
+ Enabled: true
1916
+ VersionAdded: '1.49'
1917
+
1908
1918
  Style/RedundantParentheses:
1909
1919
  Description: "Checks for parentheses that seem not to serve any purpose."
1910
1920
  Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubomatic
4
- VERSION = '1.2.0'
4
+ VERSION = '1.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubomatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.48.0
19
+ version: 1.49.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 1.48.0
26
+ version: 1.49.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-brands_insurance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.2.0
33
+ version: 1.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.2.0
40
+ version: 1.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement