sharp_style_rubocop 0.1.5 → 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 +4 -4
- data/CHANGELOG.md +7 -1
- data/README.md +1 -1
- data/config/default.yml +19 -1
- data/lib/sharp_style_rubocop/version.rb +1 -1
- metadata +57 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b043ca74c394382e7c4179ed6eef41806b30d4769cbc487dd325028354fd346a
|
|
4
|
+
data.tar.gz: faa079423fdbb8e96d864fc15bd9320a820041b18214a8c9b3e7fdef1c4621cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8a529b42c091caaf1ae195f0e89085c101578171f174e6b76b27b646a63a62cc381812ca43371bb0afc4ac995a1d38d9fd9be2f3aeef70427198b1e7e5b4054
|
|
7
|
+
data.tar.gz: 8d8926b704d7697db2f33292fca7cdf7aa1b8e04f7664ca798cc965b9e17c957e48e52bf0c72571cfc5a1c4207867c9650d63c9885934b188d85b94f0ec1e3cb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
## [
|
|
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`.
|
|
2
8
|
|
|
3
9
|
## [0.1.5] - 2026-10-30
|
|
4
10
|
|
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-
|
|
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.
|
|
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
|
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
|
+
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:
|