makandra-rubocop 11.2.0 → 12.1.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: 953ecbab7ca9ec17d63de0f9434de66776361114f0e7703b1742dddd8f7bdc6c
4
- data.tar.gz: b65dfd56422845832b2fb0ebb28c6ad48a8c551e5b26926900b6d3213709ff0b
3
+ metadata.gz: 0255ba88ffcf79e1a7383278a6b7eddd7611f89b6cde0de5097162bf3a28b487
4
+ data.tar.gz: 462fe3bfbcb8167c93bd455069d964b11e7fe33e9886d2ff40b78dccd823b1c1
5
5
  SHA512:
6
- metadata.gz: e1963fedc1e8539965fc8a8d23c602edf9d0ddc9a37aee2dccc6b51548283dea4c7585869f547075b9c14a8098118bfbac462bc59bba431e9af1484609d2a5b4
7
- data.tar.gz: 32c0353e45f301ebd5c79a24fb4c362d3284f33381f444959759de351c02669d573b251069371bc936e40bba76b3c63e8b45274bccc8a33421e832d1872a9e50
6
+ metadata.gz: c6f0ea4c886d783d30a04fad764ebb55528b1a1e44c1499b2df4a312b50ef1430dbea241dc087c9ef037087748bac10906e3a7cdbe089b3c2c590765f4b8d9d5
7
+ data.tar.gz: 27b9a1a5ccc212a645714f1631d8f62f957de7d955aa6a8c9e46fd2599335488fbfb16e7ae9c955f4714ff3ab4051bc5e03293bd696a3f15b14b4b5402dd3b02
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 2.7.8
data/CHANGELOG.md CHANGED
@@ -9,6 +9,26 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
9
9
  ### Compatible changes
10
10
 
11
11
 
12
+ ## 12.1.0 - 2024-01-07
13
+
14
+ ### Compatible changes
15
+
16
+ - Add default configuration for `rubocop-capybara` and `rubocop-factory_bot`
17
+
18
+
19
+ ## 12.0.0 - 2024-01-17
20
+
21
+ ### Compatible changes
22
+
23
+ - Supports Ruby 3.3 and Rails 7.1.
24
+
25
+ ### Breaking changes
26
+
27
+ - Upgrade to `rubocop` 1.60.0 (was 1.39.0)
28
+ - Upgrade to `rubocop-rails` 2.23.1 (was 2.19.0)
29
+ - Drop support for Ruby 2.6 (following change from `rubocop` 1.51.0)
30
+
31
+
12
32
  ## 11.2.0 - 2023-10-18
13
33
 
14
34
  ### Compatible changes
data/Gemfile.lock CHANGED
@@ -1,57 +1,78 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- makandra-rubocop (11.2.0)
5
- rubocop (~> 1.36.0)
6
- rubocop-rails (~> 2.19.0)
4
+ makandra-rubocop (12.1.0)
5
+ rubocop (~> 1.60.0)
6
+ rubocop-capybara (~> 2.20.0)
7
+ rubocop-factory_bot (~> 2.25.1)
8
+ rubocop-rails (~> 2.23.1)
7
9
  rubocop-rspec (~> 2.13.2)
8
10
 
9
11
  GEM
10
12
  remote: https://rubygems.org/
11
13
  specs:
12
- activesupport (6.1.7.3)
14
+ activesupport (7.1.3)
15
+ base64
16
+ bigdecimal
13
17
  concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ connection_pool (>= 2.2.5)
19
+ drb
14
20
  i18n (>= 1.6, < 2)
15
21
  minitest (>= 5.1)
22
+ mutex_m
16
23
  tzinfo (~> 2.0)
17
- zeitwerk (~> 2.3)
18
24
  ast (2.4.2)
19
- concurrent-ruby (1.2.2)
20
- i18n (1.12.0)
25
+ base64 (0.2.0)
26
+ bigdecimal (3.1.6)
27
+ concurrent-ruby (1.2.3)
28
+ connection_pool (2.4.1)
29
+ drb (2.2.0)
30
+ ruby2_keywords
31
+ i18n (1.14.1)
21
32
  concurrent-ruby (~> 1.0)
22
- json (2.6.3)
23
- minitest (5.18.0)
24
- parallel (1.22.1)
25
- parser (3.2.2.0)
33
+ json (2.7.1)
34
+ language_server-protocol (3.17.0.3)
35
+ minitest (5.21.2)
36
+ mutex_m (0.2.0)
37
+ parallel (1.24.0)
38
+ parser (3.3.0.5)
26
39
  ast (~> 2.4.1)
27
- rack (3.0.7)
40
+ racc
41
+ racc (1.7.3)
42
+ rack (3.0.9)
28
43
  rainbow (3.1.1)
29
44
  rake (12.3.2)
30
- regexp_parser (2.7.0)
31
- rexml (3.2.5)
32
- rubocop (1.36.0)
45
+ regexp_parser (2.9.0)
46
+ rexml (3.2.6)
47
+ rubocop (1.60.2)
33
48
  json (~> 2.3)
49
+ language_server-protocol (>= 3.17.0)
34
50
  parallel (~> 1.10)
35
- parser (>= 3.1.2.1)
51
+ parser (>= 3.3.0.2)
36
52
  rainbow (>= 2.2.2, < 4.0)
37
53
  regexp_parser (>= 1.8, < 3.0)
38
54
  rexml (>= 3.2.5, < 4.0)
39
- rubocop-ast (>= 1.20.1, < 2.0)
55
+ rubocop-ast (>= 1.30.0, < 2.0)
40
56
  ruby-progressbar (~> 1.7)
41
- unicode-display_width (>= 1.4.0, < 3.0)
42
- rubocop-ast (1.28.0)
57
+ unicode-display_width (>= 2.4.0, < 3.0)
58
+ rubocop-ast (1.30.0)
43
59
  parser (>= 3.2.1.0)
44
- rubocop-rails (2.19.0)
60
+ rubocop-capybara (2.20.0)
61
+ rubocop (~> 1.41)
62
+ rubocop-factory_bot (2.25.1)
63
+ rubocop (~> 1.41)
64
+ rubocop-rails (2.23.1)
45
65
  activesupport (>= 4.2.0)
46
66
  rack (>= 1.1)
47
67
  rubocop (>= 1.33.0, < 2.0)
68
+ rubocop-ast (>= 1.30.0, < 2.0)
48
69
  rubocop-rspec (2.13.2)
49
70
  rubocop (~> 1.33)
50
71
  ruby-progressbar (1.13.0)
72
+ ruby2_keywords (0.0.5)
51
73
  tzinfo (2.0.6)
52
74
  concurrent-ruby (~> 1.0)
53
- unicode-display_width (2.4.2)
54
- zeitwerk (2.6.7)
75
+ unicode-display_width (2.5.0)
55
76
 
56
77
  PLATFORMS
57
78
  ruby
@@ -62,4 +83,4 @@ DEPENDENCIES
62
83
  rake (~> 12.3)
63
84
 
64
85
  BUNDLED WITH
65
- 2.3.23
86
+ 2.4.22
data/README.md CHANGED
@@ -54,6 +54,24 @@ inherit_gem:
54
54
  - config/ext/rspec.yml
55
55
  ```
56
56
 
57
+ **For Capybara**
58
+
59
+ ```yaml
60
+ inherit_gem:
61
+ makandra-rubocop:
62
+ - config/default.yml
63
+ - config/ext/capybara.yml
64
+ ```
65
+
66
+ **For Factory Bot**
67
+
68
+ ```yaml
69
+ inherit_gem:
70
+ makandra-rubocop:
71
+ - config/default.yml
72
+ - config/ext/factory_bot.yml
73
+ ```
74
+
57
75
  Any per-project rules can then be defined in the `.rubocop.yml`:
58
76
 
59
77
  ```yaml