sharp_style_rubocop 0.1.4 → 0.1.6

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: 5ad70c0cc559b88f7f31b5a176ccac7397acf0991b31b2e42b99db6d8bb9d43f
4
- data.tar.gz: 883ca046f4b512c6e51cef778cab5d3a91df7e2f71094c6c03ee19c2316f5fd4
3
+ metadata.gz: b043ca74c394382e7c4179ed6eef41806b30d4769cbc487dd325028354fd346a
4
+ data.tar.gz: faa079423fdbb8e96d864fc15bd9320a820041b18214a8c9b3e7fdef1c4621cd
5
5
  SHA512:
6
- metadata.gz: 9baf6a158e0bbdc3a72ac16446c060b92e76479949cd2c89436ea46989355357e6cdea9a7c3583124d547e576815af2b1da6b717da9535f979c67785b629ca1c
7
- data.tar.gz: a9e011b9d0c2b21cc23518a8c6dbe898465e6995dcfc4b5de5b323d924645d07b41f824ba028b12eda5e4d5e47bd3bf642a0dd1b5306205d0e521227909e23e9
6
+ metadata.gz: d8a529b42c091caaf1ae195f0e89085c101578171f174e6b76b27b646a63a62cc381812ca43371bb0afc4ac995a1d38d9fd9be2f3aeef70427198b1e7e5b4054
7
+ data.tar.gz: 8d8926b704d7697db2f33292fca7cdf7aa1b8e04f7664ca798cc965b9e17c957e48e52bf0c72571cfc5a1c4207867c9650d63c9885934b188d85b94f0ec1e3cb
data/CHANGELOG.md CHANGED
@@ -1,4 +1,15 @@
1
- ## [Unreleased]
1
+ ## [0.1.6] - 2026-11-07
2
+
3
+ - Add the `rubocop-capybara` plugin as a dependency and load it in `config/default.yml`, with `Capybara` pending cops enabled up to `3.1`.
4
+ - Add the `rubocop-minitest` plugin as a dependency and load it in `config/default.yml`, with `Minitest` pending cops enabled up to `0.41`.
5
+ - Add the `rubocop-rake` plugin as a dependency and load it in `config/default.yml`, with `Rake` pending cops enabled up to `0.7`.
6
+ - Add the `rubocop-thread_safety` plugin as a dependency and load it in `config/default.yml`, with `ThreadSafety` pending cops enabled up to `0.8`.
7
+ - Bump the `Performance` pending cops pin from `1.24` to `1.27`.
8
+
9
+ ## [0.1.5] - 2026-10-30
10
+
11
+ - Enable `Layout/MultilineArrayLineBreaks` for readability.
12
+ - Set `Layout/FirstMethodArgumentLineBreak` `AllowMultilineFinalElement` so method arguments can leave their opening brackets on the first line.
2
13
 
3
14
  ## [0.1.4] - 2026-10-30
4
15
 
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  My RuboCop style, packaged as a gem so every project can share the same rules.
4
4
 
5
- It bundles a RuboCop configuration (`config/default.yml`) along with the `rubocop-performance` and `rubocop-rspec` plugins it uses.
5
+ It bundles a RuboCop configuration (`config/default.yml`) along with the `rubocop-capybara`, `rubocop-minitest`, `rubocop-performance`, `rubocop-rake`, `rubocop-rspec`, and `rubocop-thread_safety` plugins it uses.
6
6
 
7
7
  See the following links for information on why I chose many of these changes:
8
8
  - [RuboCop 1.91: The Journey to 2.0 Begins](https://metaredux.com/posts/2026/09/11/rubocop-1-91.html)
data/config/default.yml CHANGED
@@ -1,6 +1,10 @@
1
1
  plugins:
2
+ - rubocop-capybara
3
+ - rubocop-minitest
2
4
  - rubocop-performance
5
+ - rubocop-rake
3
6
  - rubocop-rspec
7
+ - rubocop-thread_safety
4
8
 
5
9
  AllCops:
6
10
  NewCops: pending
@@ -18,6 +22,11 @@ AllCops:
18
22
  # cops added in that version or earlier; cops added after it stay pending.
19
23
  Bundler:
20
24
  NewCops: '1.92'
25
+ # rubocop-capybara plugin
26
+ Capybara:
27
+ NewCops: '3.1'
28
+ Capybara/RSpec:
29
+ NewCops: '3.1'
21
30
  Gemspec:
22
31
  NewCops: '1.92'
23
32
  Layout:
@@ -28,11 +37,17 @@ Metrics:
28
37
  NewCops: '1.92'
29
38
  Migration:
30
39
  NewCops: '1.92'
40
+ # rubocop-minitest plugin
41
+ Minitest:
42
+ NewCops: '0.41'
31
43
  Naming:
32
44
  NewCops: '1.92'
33
45
  # rubocop-performance plugin
34
46
  Performance:
35
- NewCops: '1.24'
47
+ NewCops: '1.27'
48
+ # rubocop-rake plugin
49
+ Rake:
50
+ NewCops: '0.7'
36
51
  # rubocop-rspec plugin
37
52
  RSpec:
38
53
  NewCops: '3.10'
@@ -40,6 +55,9 @@ Security:
40
55
  NewCops: '1.92'
41
56
  Style:
42
57
  NewCops: '1.92'
58
+ # rubocop-thread_safety plugin
59
+ ThreadSafety:
60
+ NewCops: '0.8'
43
61
  # End NewCops overrides
44
62
 
45
63
  # Remove "Rubocop 2.0" overrides after upgrading to Rubocop 2.0
@@ -79,6 +97,7 @@ Layout/FirstHashElementIndentation:
79
97
  # Enabled for readability. Counterpart Layout/MultilineMethodArgumentLineBreaks is also needed.
80
98
  Layout/FirstMethodArgumentLineBreak:
81
99
  Enabled: true
100
+ AllowMultilineFinalElement: true
82
101
  # This allows the guard plugin to be on the guard line e.g.
83
102
  #
84
103
  # guard(:rubocop,
@@ -100,6 +119,9 @@ Layout/HashAlignment:
100
119
  - key
101
120
  - table
102
121
 
122
+ Layout/MultilineArrayLineBreaks:
123
+ Enabled: true
124
+
103
125
  # Enabled for readability. Counterpart Layout/FirstMethodArgumentLineBreak is also needed.
104
126
  Layout/MultilineMethodArgumentLineBreaks:
105
127
  Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharpStyleRubocop
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sharp_style_rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - joe-sharp
@@ -23,6 +23,34 @@ dependencies:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
25
  version: '1.92'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rubocop-capybara
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '3.1'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.1'
40
+ - !ruby/object:Gem::Dependency
41
+ name: rubocop-minitest
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '0.41'
47
+ type: :runtime
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '0.41'
26
54
  - !ruby/object:Gem::Dependency
27
55
  name: rubocop-performance
28
56
  requirement: !ruby/object:Gem::Requirement
@@ -37,6 +65,20 @@ dependencies:
37
65
  - - "~>"
38
66
  - !ruby/object:Gem::Version
39
67
  version: '1.20'
68
+ - !ruby/object:Gem::Dependency
69
+ name: rubocop-rake
70
+ requirement: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '0.7'
75
+ type: :runtime
76
+ prerelease: false
77
+ version_requirements: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: '0.7'
40
82
  - !ruby/object:Gem::Dependency
41
83
  name: rubocop-rspec
42
84
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +93,20 @@ dependencies:
51
93
  - - "~>"
52
94
  - !ruby/object:Gem::Version
53
95
  version: '3.0'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rubocop-thread_safety
98
+ requirement: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.8'
103
+ type: :runtime
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.8'
54
110
  description: RuboCop rules and plugin setup for Joe Sharp's Ruby projects, shared
55
111
  as a gem so every project inherits the same style.
56
112
  email: