standard-rubocop-lts 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b1aa86b2626e183e08dda45dfc9af5e0c085500b0299bd02e16ebf367a0552c
4
- data.tar.gz: 753f186c21bfdf8db99965880ba3bc0f36301bff4e10c37cf0a779f6c3ed70da
3
+ metadata.gz: b6788df90fd0b61b1ca99551916bca31f76fd1ab52e520486bb38b7a7aad6ea2
4
+ data.tar.gz: ce5085159f7a9cd6d31cd79c771309fddbebec6c087cca117d187d97f47e7d97
5
5
  SHA512:
6
- metadata.gz: d27ca3d06a2a66e5614032c0b704a540188435f6128bbd676690e4061aa6217c20b51438a8775455e26251c1c357c5af40c0f8d95461d0bf149003049e22b939
7
- data.tar.gz: 455001e3c60c717a80bfbc94989c94cd7d71984eafb5c549e4616df25d6c59c4dec3c72109dd2443fdefe99954f165a8343a2ef2a2758357c2bce80281aad11d
6
+ metadata.gz: f7779a122394981c4e0d09627f4c444caf13bda32c1143b9ada7901ec6bf4b2b4cc070656b0c594a0e5c32d87a8dbdc5ded4a975a91a8df692ff400bd9a67218
7
+ data.tar.gz: dfe0b3f586fca0d9dc937aa78742dfeae1ec730d00d408dbad4ab9e4dc36a9ec191148e0daef479fc69b9264f100e10fb0f744a0568f999c0a597ecf45529844
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,14 +10,49 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
- ## [1.0.9] 2023-09-20
14
- ### Fixed
15
- - Gemspec/DevelopmentDependencies changed to gemspec
13
+ ## [1.0.10] 2024-03-23
14
+ ### Added
15
+ - Moved development dependencies back to gemspec
16
16
  - See: https://github.com/rubygems/rubygems/discussions/5065#discussioncomment-7031586
17
+ - kettle-soup-cover v1.0.2 for Code Coverage (dev dependency)
18
+ - rspec-stubbed_env v1.0.1 for testing ENV variable-based logic (dev dependency)
19
+ ### Changed
20
+ - Disable `Rake/MethodDefinitionInTask` Cop
21
+ - Cop is 66% incorrect, and hasn't been fixed in 2+ years.
22
+ - See: https://github.com/rubocop/rubocop-rake/issues/42
23
+ - `AllCops/NewCops` is now disabled
24
+ - Allows other libraries to make those decisions:
25
+ - rubocop-lts
26
+ - rubocop-ruby*_*
27
+ - rubocop-shopify
28
+ - standard
29
+ - rspec-block_is_expected promoted to runtime dependency
30
+ - was an undeclared dependency of rubocop-ruby*_* gems,
31
+ - adding here was the simplest way to fix them all at once,
32
+ - but is a temporary fix; will be replaced by new gem rubocop-lts-rspec
33
+ - see gemspec for details
34
+ - standard v1.35.1
35
+ - standard-performance v1.3.1
36
+ - version_gem v1.1.4
37
+ - rspec 3.13.0 (dev dependency)
38
+ - rubocop v1.62.1 (dev dependency)
39
+ - rubocop-gradual v0.3.4 (dev dependency)
40
+ - rubocop-md v1.2.2 (dev dependency)
41
+ - rubocop-rspec 2.27.1 (dev dependency)
42
+ - rubocop-shopify 2.15.1 (dev dependency)
43
+ ### Fixed
44
+ - AllCops/TargetRubyVersion is now set according to:
45
+ - `rubocop-lts` version, or
46
+ - `rubocop-ruby*_*` version
47
+
48
+ ## [1.0.9] 2023-09-20
17
49
  ### Changed
18
50
  - standard v1.31.1
19
51
  - standard-performance v1.2
20
52
  - simplecov-rcov dev dependency back to mainline release 0.3.3
53
+ ### Fixed
54
+ - `Gemspec/DevelopmentDependencies` Cop changed to "gemspec"
55
+ - See: https://github.com/rubygems/rubygems/discussions/5065#discussioncomment-7031586
21
56
 
22
57
  ## [1.0.8] 2023-07-07
23
58
  ### Fixed
@@ -85,7 +120,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
85
120
  ### Added
86
121
  - Initial release
87
122
 
88
- [Unreleased]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.6...HEAD
123
+ [Unreleased]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.10...HEAD
124
+ [1.0.10]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.9...v1.0.10
125
+ [1.0.9]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.8...v1.0.9
126
+ [1.0.8]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.7...v1.0.8
127
+ [1.0.7]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.6...v1.0.7
89
128
  [1.0.6]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.5...v1.0.6
90
129
  [1.0.5]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.4...v1.0.5
91
130
  [1.0.4]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/compare/v1.0.3...v1.0.4
data/CONTRIBUTING.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/standard-rubocop-lts][🚎src-main]
4
4
  . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
- the [code of conduct][conduct].
5
+ the [code of conduct][🤝conduct].
6
6
 
7
7
  To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
8
8
  and post a message to the [gitter chat][🏘chat].
@@ -11,29 +11,37 @@ and post a message to the [gitter chat][🏘chat].
11
11
 
12
12
  To release a new version:
13
13
 
14
- 1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check.
15
- 2. update the version number in `version.rb`
16
- 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`.
17
- 4. run `bundle exec rake build:checksum`
18
- 5. move the built gem to project root
19
- 6. run `bin/checksum` to create the missing SHA256 checksum
20
- 7. move the built gem back to `pkg/`
21
- 8. commit the changes
22
- 9. run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org][rubygems].
14
+ 1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check
15
+ 2. Update the version number in `version.rb`
16
+ 3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`
17
+ 4. Run `git commit -am "🔖 Prepare release v<VERSION>"` to commit the changes
18
+ 5. Run `git push` to trigger the final CI pipeline before release, & merge PRs
19
+ a. NOTE: Remember to [check the build][🧪build]!
20
+ 6. Run `git checkout main` (Or whichever branch is considered `trunk`, e.g. `master`)
21
+ 7. Run `git pull origin main` to ensure you will release the latest trunk code.
22
+ 8. Set `SOURCE_DATE_EPOCH` so `rake build` and `rake release` use same timestamp, and generate same checksums
23
+ a. Run `export SOURCE_DATE_EPOCH=$EPOCHSECONDS` (you'll need the zsh/datetime module, if running zsh)
24
+ 9. Run `bundle exec rake build`
25
+ 10. Run [`bin/checksums`](https://github.com/rubygems/guides/pull/325) to create SHA-256 and SHA-512 checksums
26
+ a. Checksums will be committed automatically by the script, but not pushed
27
+ 11. Run `bundle exec rake release` which will create a git tag for the version,
28
+ push git commits and tags, and push the `.gem` file to [rubygems.org][💎rubygems]
23
29
 
24
30
  NOTE: You will need to have a public key in `certs/`, and list your cert in the
25
31
  `gemspec`, in order to sign the new release.
26
- See: [RubyGems Security Guide][rubygems-security-guide]
32
+ See: [RubyGems Security Guide][🔒️rubygems-security-guide]
27
33
 
28
34
  ## Contributors
29
35
 
30
- See: [https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/graphs/main][🖐contributors]
36
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/standard-rubocop-lts)][🖐contributors]
31
37
 
32
- [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
38
+ Contributors Parade (GitHub Only) made with [contributors-img][🖐contrib-rocks].
33
39
 
34
- [conduct]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/main/CODE_OF_CONDUCT.md
40
+ [🧪build]: https://github.com/rubocop-lts/standard-rubocop-lts/actions
41
+ [🏘chat]: https://app.gitter.im/#/room/#rubocop-lts_community:gitter.im
42
+ [🤝conduct]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/main/CODE_OF_CONDUCT.md
43
+ [🖐contrib-rocks]: https://contrib.rocks
35
44
  [🖐contributors]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/graphs/main
36
- [🚎src-main]: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/main
37
- [🏘chat]: https://gitter.im/rubocop-lts/community
38
- [rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
39
- [rubygems]: https://rubygems.org
45
+ [💎rubygems]: https://rubygems.org
46
+ [🔒️rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
47
+ [🚎src-main]: https://gitlab.com/rubocop-lts/standard-rubocop-lts
data/README.md CHANGED
@@ -16,6 +16,59 @@
16
16
  </a>
17
17
  </p>
18
18
 
19
+ # 🦾 Standard::Rubocop::Lts
20
+
21
+ Extended [standard (Standard Ruby)][standardrb] config shims for all your finely-aged rubies,
22
+ back to Ruby version 1.8. Compatible with the `rubocop-lts` [gem family](#-a-gem-family).
23
+
24
+ Use the rules standard gives you, and then add more,
25
+ to increase your code's compatibility across multiple versions of Ruby.
26
+
27
+ Only reach as far back as you need to go!
28
+
29
+ [standardrb]: https://github.com/standardrb/standard
30
+
31
+ ---
32
+
33
+ The **RuboCop LTS** family of gems is the distillation of almost 20 years
34
+ of my own Ruby expertise and source code diving,
35
+ built on the shoulders of the expertise of many others;
36
+ organizing that expertise into per-Ruby-version sets of configurations.
37
+
38
+ Although the situation has improved somewhat,
39
+ it remains [_unsafe_ to upgrade RuboCop, or Standard][Why-Build-This],
40
+ in a project that supports EOL Rubies.
41
+
42
+ I hope it helps others avoid some of the challenges I've had with library maintenance,
43
+ and supporting decade-old mission-critical applications.
44
+
45
+ Avoid bike-shedding, use `rubocop-lts` in every project, and
46
+ let it manage your linting complexity!
47
+
48
+ If the `rubocop-lts` stack of libraries has helped you, or your organization,
49
+ please support my efforts by making a donation, or becoming a sponsor.
50
+
51
+ [Why-Build-This]: https://rubocop-lts.gitlab.io/about/#why-build-this-
52
+
53
+ <div id="badges">
54
+
55
+ [![Liberapay Patrons][⛳liberapay-img]][⛳liberapay]
56
+ [![Sponsor Me on Github][🖇sponsor-img]][🖇sponsor]
57
+
58
+ <span class="badge-buymeacoffee">
59
+ <a href="https://ko-fi.com/O5O86SNP4" target='_blank' title="Donate to my FLOSS or refugee efforts at ko-fi.com"><img src="https://img.shields.io/badge/buy%20me%20coffee-donate-yellow.svg" alt="Buy me coffee donation button" /></a>
60
+ </span>
61
+ <span class="badge-patreon">
62
+ <a href="https://patreon.com/galtzo" title="Donate to my FLOSS or refugee efforts using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a>
63
+ </span>
64
+
65
+ </div>
66
+
67
+ [⛳liberapay-img]: https://img.shields.io/liberapay/patrons/pboling.svg?logo=liberapay
68
+ [⛳liberapay]: https://liberapay.com/pboling/donate
69
+ [🖇sponsor-img]: https://img.shields.io/badge/Sponsor_Me!-pboling.svg?style=social&logo=github
70
+ [🖇sponsor]: https://github.com/sponsors/pboling
71
+
19
72
  ---
20
73
 
21
74
  NOTE: You might be interested in [`rubocop-lts`][rlts] which sits as a higher level than, and depends on, this gem.
@@ -79,18 +132,6 @@ It will enable your Ruby style rules to keep pace with whatever version of Ruby
79
132
  [⛳️ini-g]: https://rubygems.org/gems/standard-rubocop-lts
80
133
  [⛳️ini-gh]: https://github.com/rubocop-lts/standard-rubocop-lts
81
134
 
82
- # 🦾 Standard::Rubocop::Lts
83
-
84
- Extended [standard (Standard Ruby)][standardrb] config shims for all your finely-aged rubies,
85
- back to Ruby version 1.8. Compatible with the `rubocop-lts` [gem family](#a-gem-family).
86
-
87
- Use the rules standard gives you, and then add more,
88
- to increase your code's compatibility across multiple versions of Ruby.
89
-
90
- Only reach as far back as you need to go!
91
-
92
- [standardrb]: https://github.com/standardrb/standard
93
-
94
135
  ### 👪 A Gem Family
95
136
 
96
137
  The `rubocop-lts` family of gems has a version supporting any version of Ruby you need.
@@ -112,9 +153,9 @@ They can be used as development dependencies for libraries or applications.
112
153
  - [`rubocop-ruby3_1`][rr31]
113
154
  - [`rubocop-ruby3_2`][rr32]
114
155
 
115
- [rlts]: https://github.com/rubocop-lts/rubocop-lts#-how-to-untie-gorgons-knot
116
- [stdrlts]: https://github.com/rubocop-lts/standard-rubocop-lts
117
- [rr18]: https://gitlab.com/rubocop-lts/standard-rubocop-lts
156
+ [rlts]: https://rubocop-lts.gitlab.io/#installation-
157
+ [stdrlts]: https://gitlab.com/rubocop-lts/standard-rubocop-lts
158
+ [rr18]: https://gitlab.com/rubocop-lts/rubocop-ruby1_8
118
159
  [rr19]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9
119
160
  [rr20]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0
120
161
  [rr21]: https://gitlab.com/rubocop-lts/rubocop-ruby2_1
@@ -139,6 +180,12 @@ When that happens releases of the `rubocop-lts` gem for that version of Ruby wil
139
180
 
140
181
  ## ✨ Installation
141
182
 
183
+ In case you missed it above - you may be better off _not_ depending on this gem _directly_.
184
+ See [`rubocop-lts`][rlts] which sits as a higher level than, and depends on, this gem.
185
+ It will enable your Ruby style rules to keep pace with whatever version of Ruby your project happens to be on!
186
+
187
+ If, OTOH, you want to use this gem directly, carry on!
188
+
142
189
  Install the gem and add to the application's Gemfile by executing:
143
190
 
144
191
  $ bundle add standard-rubocop-lts
@@ -225,7 +272,7 @@ Performance/IoReadlines:
225
272
 
226
273
  **Instead of using this gem, `standard-rubocop-lts`, use `rubocop-lts`, which depends on this gem.
227
274
  ```ruby
228
- # NOTE: Picking the right version of this rubocop-lts automatically aligns:
275
+ # NOTE: Picking the right version of rubocop-lts automatically aligns:
229
276
  # - gemspec's required_ruby_version
230
277
  # - RuboCop's TargetRubyVersion
231
278
  # e.g. v18 for Ruby >= 2.7.0
data/config/base.yml CHANGED
@@ -1,2 +1,10 @@
1
1
  AllCops:
2
- NewCops: enable
2
+ # When the Ruby community, via RuboCop, adopts a new standard
3
+ # (with additional filtering by standard.rb and rubocop-shopify) it is good enough for us!
4
+ # However, the new standard needs to be explicitly enabled by one of the filtering gems:
5
+ # - standard
6
+ # - rubocop-shopify
7
+ # NOTE: New cops can also be enabled higher up the dependency chain, such as in:
8
+ # - rubocop-lts
9
+ # - rubocop-ruby*_*
10
+ NewCops: disable
@@ -1,4 +1,4 @@
1
- # Alphabetizing lists enforces minimal churn in git history
1
+ # Alphabetizing lists enforces minimal churn in git history post-correction
2
2
  Bundler/OrderedGems:
3
3
  Enabled: true
4
4
 
@@ -42,3 +42,8 @@ Performance/Casecmp:
42
42
  # See: https://github.com/rubocop/rubocop-performance/issues/329#issuecomment-1451511402
43
43
  Performance/IoReadlines:
44
44
  Enabled: false
45
+
46
+ # This cop is 66% incorrect, and hasn't been fixed in 2+ years.
47
+ # See: https://github.com/rubocop/rubocop-rake/issues/42
48
+ Rake/MethodDefinitionInTask:
49
+ Enabled: false
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.1.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.0
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.2.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.1
@@ -1,5 +1,8 @@
1
1
  inherit_from: ./ruby-2.3.yml
2
2
 
3
+ AllCops:
4
+ TargetRubyVersion: 2.2
5
+
3
6
  # Disabled in standard's base.yml. Keeping here in case removed from base.
4
7
  # As of Ruby 3, string literals are frozen in all files.
5
8
  Style/FrozenStringLiteralComment:
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.4.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.3
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.5.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.4
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.6.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.5
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-2.7.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.6
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-3.0.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.7
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-3.1.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.0
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-3.2.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.1
@@ -1 +1,4 @@
1
1
  inherit_from: ./ruby-3.3.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.2
@@ -1 +1,5 @@
1
1
  inherit_from: ./base.yml
2
+
3
+ # TODO: December 25, 2023
4
+ #AllCops:
5
+ # TargetRubyVersion: 3.3
data/config/ruby-1.8.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-1.8.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/ruby-1.8.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-1.8.yml
data/config/ruby-1.9.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-1.9.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/ruby-1.9.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-1.9.yml
data/config/ruby-2.0.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.0.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/ruby-2.0.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.0.yml
data/config/ruby-2.1.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.1.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/ruby-2.1.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.1.yml
data/config/ruby-2.2.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.2.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/ruby-2.2.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.2.yml
data/config/ruby-2.3.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.3.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.3.yml
data/config/ruby-2.4.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.4.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.4.yml
data/config/ruby-2.5.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.5.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.5.yml
data/config/ruby-2.6.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.6.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.6.yml
data/config/ruby-2.7.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-2.7.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-2.7.yml
data/config/ruby-3.0.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-3.0.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-3.0.yml
data/config/ruby-3.1.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-3.1.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-3.1.yml
data/config/ruby-3.2.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-3.2.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -27,3 +23,7 @@ inherit_gem:
27
23
  standard-performance: config/base.yml
28
24
  standard-custom: config/base.yml
29
25
  rubocop-performance: config/default.yml
26
+
27
+ inherit_from:
28
+ - ./base.yml
29
+ - ./internal/ruby-3.2.yml
data/config/ruby-3.3.yml CHANGED
@@ -5,10 +5,6 @@ inherit_mode:
5
5
  - Exclude
6
6
  - Include
7
7
 
8
- inherit_from:
9
- - ./base.yml
10
- - ./internal/ruby-3.3.yml
11
-
12
8
  require:
13
9
  - standard-rubocop-lts
14
10
  - standard
@@ -16,10 +12,10 @@ require:
16
12
  - standard-custom
17
13
  - rubocop-performance
18
14
 
19
- # TODO: Load basic rules for this version of Ruby from standard, once Standard includes it!
20
- # See: https://github.com/standardrb/standard/pull/560
15
+ # TODO: Load basic rules for Ruby 3.3 from Standard once they exist!
21
16
  # inherit_gem:
22
17
  # standard: config/ruby-3.3.yml
18
+
23
19
  # Rules are overridden in a LIFO stack.
24
20
  # If rubocop-performance is listed first, and standard-performance after it,
25
21
  # then rubocop-performance's rules will take precedence.
@@ -30,3 +26,7 @@ inherit_gem:
30
26
  standard-performance: config/base.yml
31
27
  standard-custom: config/base.yml
32
28
  rubocop-performance: config/default.yml
29
+
30
+ inherit_from:
31
+ - ./base.yml
32
+ - ./internal/ruby-3.3.yml
@@ -7,7 +7,7 @@ module Standard
7
7
  module Version
8
8
  # Bump VERSION manually for each new release!
9
9
  # See: CONTRIBUTING.md
10
- VERSION = "1.0.9"
10
+ VERSION = "1.0.10"
11
11
  end
12
12
  end
13
13
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -36,35 +36,35 @@ cert_chain:
36
36
  KuxrfYrN+9HvMdm+nZ6TypmKftHY3Gj+/uu+g8Icm/zrvTWAEE0mcJOkfrIoNPJb
37
37
  pF8dMA==
38
38
  -----END CERTIFICATE-----
39
- date: 2023-09-20 00:00:00.000000000 Z
39
+ date: 2024-03-23 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
- name: standard
42
+ name: version_gem
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 1.31.1
47
+ version: 1.1.4
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '2'
50
+ version: '3'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 1.31.1
57
+ version: 1.1.4
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '2'
60
+ version: '3'
61
61
  - !ruby/object:Gem::Dependency
62
- name: standard-custom
62
+ name: standard
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: 1.0.1
67
+ version: 1.35.1
68
68
  - - "<"
69
69
  - !ruby/object:Gem::Version
70
70
  version: '2'
@@ -74,37 +74,37 @@ dependencies:
74
74
  requirements:
75
75
  - - ">="
76
76
  - !ruby/object:Gem::Version
77
- version: 1.0.1
77
+ version: 1.35.1
78
78
  - - "<"
79
79
  - !ruby/object:Gem::Version
80
80
  version: '2'
81
81
  - !ruby/object:Gem::Dependency
82
- name: version_gem
82
+ name: standard-custom
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: 1.1.3
87
+ version: 1.0.2
88
88
  - - "<"
89
89
  - !ruby/object:Gem::Version
90
- version: '4'
90
+ version: '2'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - ">="
96
96
  - !ruby/object:Gem::Version
97
- version: 1.1.3
97
+ version: 1.0.2
98
98
  - - "<"
99
99
  - !ruby/object:Gem::Version
100
- version: '4'
100
+ version: '2'
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: standard-performance
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: '1.2'
107
+ version: 1.3.1
108
108
  - - "<"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2'
@@ -114,10 +114,294 @@ dependencies:
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '1.2'
117
+ version: 1.3.1
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
120
  version: '2'
121
+ - !ruby/object:Gem::Dependency
122
+ name: rspec-block_is_expected
123
+ requirement: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: '1.0'
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: 1.0.5
131
+ type: :runtime
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - "~>"
136
+ - !ruby/object:Gem::Version
137
+ version: '1.0'
138
+ - - ">="
139
+ - !ruby/object:Gem::Version
140
+ version: 1.0.5
141
+ - !ruby/object:Gem::Dependency
142
+ name: rake
143
+ requirement: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - "~>"
146
+ - !ruby/object:Gem::Version
147
+ version: '13.0'
148
+ type: :development
149
+ prerelease: false
150
+ version_requirements: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - "~>"
153
+ - !ruby/object:Gem::Version
154
+ version: '13.0'
155
+ - !ruby/object:Gem::Dependency
156
+ name: kettle-soup-cover
157
+ requirement: !ruby/object:Gem::Requirement
158
+ requirements:
159
+ - - "~>"
160
+ - !ruby/object:Gem::Version
161
+ version: '1.0'
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: 1.0.2
165
+ type: :development
166
+ prerelease: false
167
+ version_requirements: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.0'
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: 1.0.2
175
+ - !ruby/object:Gem::Dependency
176
+ name: kramdown
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '2.4'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '2.4'
189
+ - !ruby/object:Gem::Dependency
190
+ name: yard
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '0.9'
196
+ - - ">="
197
+ - !ruby/object:Gem::Version
198
+ version: 0.9.36
199
+ type: :development
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - "~>"
204
+ - !ruby/object:Gem::Version
205
+ version: '0.9'
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: 0.9.36
209
+ - !ruby/object:Gem::Dependency
210
+ name: yard-junk
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "~>"
214
+ - !ruby/object:Gem::Version
215
+ version: '0.0'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '0.0'
223
+ - !ruby/object:Gem::Dependency
224
+ name: rubocop-gradual
225
+ requirement: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '0.3'
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 0.3.4
233
+ type: :development
234
+ prerelease: false
235
+ version_requirements: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - "~>"
238
+ - !ruby/object:Gem::Version
239
+ version: '0.3'
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 0.3.4
243
+ - !ruby/object:Gem::Dependency
244
+ name: rubocop-md
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - "~>"
248
+ - !ruby/object:Gem::Version
249
+ version: '1.2'
250
+ - - ">="
251
+ - !ruby/object:Gem::Version
252
+ version: 1.2.2
253
+ type: :development
254
+ prerelease: false
255
+ version_requirements: !ruby/object:Gem::Requirement
256
+ requirements:
257
+ - - "~>"
258
+ - !ruby/object:Gem::Version
259
+ version: '1.2'
260
+ - - ">="
261
+ - !ruby/object:Gem::Version
262
+ version: 1.2.2
263
+ - !ruby/object:Gem::Dependency
264
+ name: rubocop-rake
265
+ requirement: !ruby/object:Gem::Requirement
266
+ requirements:
267
+ - - "~>"
268
+ - !ruby/object:Gem::Version
269
+ version: '0.6'
270
+ type: :development
271
+ prerelease: false
272
+ version_requirements: !ruby/object:Gem::Requirement
273
+ requirements:
274
+ - - "~>"
275
+ - !ruby/object:Gem::Version
276
+ version: '0.6'
277
+ - !ruby/object:Gem::Dependency
278
+ name: rubocop-shopify
279
+ requirement: !ruby/object:Gem::Requirement
280
+ requirements:
281
+ - - "~>"
282
+ - !ruby/object:Gem::Version
283
+ version: '2.15'
284
+ - - ">="
285
+ - !ruby/object:Gem::Version
286
+ version: 2.15.1
287
+ type: :development
288
+ prerelease: false
289
+ version_requirements: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - "~>"
292
+ - !ruby/object:Gem::Version
293
+ version: '2.15'
294
+ - - ">="
295
+ - !ruby/object:Gem::Version
296
+ version: 2.15.1
297
+ - !ruby/object:Gem::Dependency
298
+ name: rubocop-thread_safety
299
+ requirement: !ruby/object:Gem::Requirement
300
+ requirements:
301
+ - - "~>"
302
+ - !ruby/object:Gem::Version
303
+ version: '0.5'
304
+ - - ">="
305
+ - !ruby/object:Gem::Version
306
+ version: 0.5.1
307
+ type: :development
308
+ prerelease: false
309
+ version_requirements: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: '0.5'
314
+ - - ">="
315
+ - !ruby/object:Gem::Version
316
+ version: 0.5.1
317
+ - !ruby/object:Gem::Dependency
318
+ name: rubocop-packaging
319
+ requirement: !ruby/object:Gem::Requirement
320
+ requirements:
321
+ - - "~>"
322
+ - !ruby/object:Gem::Version
323
+ version: '0.5'
324
+ - - ">="
325
+ - !ruby/object:Gem::Version
326
+ version: 0.5.2
327
+ type: :development
328
+ prerelease: false
329
+ version_requirements: !ruby/object:Gem::Requirement
330
+ requirements:
331
+ - - "~>"
332
+ - !ruby/object:Gem::Version
333
+ version: '0.5'
334
+ - - ">="
335
+ - !ruby/object:Gem::Version
336
+ version: 0.5.2
337
+ - !ruby/object:Gem::Dependency
338
+ name: rubocop-rspec
339
+ requirement: !ruby/object:Gem::Requirement
340
+ requirements:
341
+ - - "~>"
342
+ - !ruby/object:Gem::Version
343
+ version: '2.27'
344
+ - - ">="
345
+ - !ruby/object:Gem::Version
346
+ version: 2.27.1
347
+ type: :development
348
+ prerelease: false
349
+ version_requirements: !ruby/object:Gem::Requirement
350
+ requirements:
351
+ - - "~>"
352
+ - !ruby/object:Gem::Version
353
+ version: '2.27'
354
+ - - ">="
355
+ - !ruby/object:Gem::Version
356
+ version: 2.27.1
357
+ - !ruby/object:Gem::Dependency
358
+ name: rspec
359
+ requirement: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '3.13'
364
+ type: :development
365
+ prerelease: false
366
+ version_requirements: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - "~>"
369
+ - !ruby/object:Gem::Version
370
+ version: '3.13'
371
+ - !ruby/object:Gem::Dependency
372
+ name: rspec_junit_formatter
373
+ requirement: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - "~>"
376
+ - !ruby/object:Gem::Version
377
+ version: '0.6'
378
+ type: :development
379
+ prerelease: false
380
+ version_requirements: !ruby/object:Gem::Requirement
381
+ requirements:
382
+ - - "~>"
383
+ - !ruby/object:Gem::Version
384
+ version: '0.6'
385
+ - !ruby/object:Gem::Dependency
386
+ name: rspec-stubbed_env
387
+ requirement: !ruby/object:Gem::Requirement
388
+ requirements:
389
+ - - "~>"
390
+ - !ruby/object:Gem::Version
391
+ version: '1.0'
392
+ - - ">="
393
+ - !ruby/object:Gem::Version
394
+ version: 1.0.1
395
+ type: :development
396
+ prerelease: false
397
+ version_requirements: !ruby/object:Gem::Requirement
398
+ requirements:
399
+ - - "~>"
400
+ - !ruby/object:Gem::Version
401
+ version: '1.0'
402
+ - - ">="
403
+ - !ruby/object:Gem::Version
404
+ version: 1.0.1
121
405
  description: Extended Standard Ruby Configs for Finely Aged Rubies; Compatible with
122
406
  rubocop-lts
123
407
  email:
@@ -171,11 +455,11 @@ homepage: https://gitlab.com/rubocop-lts/standard-rubocop-lts
171
455
  licenses:
172
456
  - MIT
173
457
  metadata:
174
- homepage_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts
175
- source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.9
176
- changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.9/CHANGELOG.md
458
+ homepage_uri: https://rubocop-lts.gitlab.io/
459
+ source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.10
460
+ changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.10/CHANGELOG.md
177
461
  bug_tracker_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/issues
178
- documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.9
462
+ documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.10
179
463
  wiki_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/wikis/home
180
464
  funding_uri: https://liberapay.com/pboling
181
465
  rubygems_mfa_required: 'true'
@@ -194,7 +478,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
478
  - !ruby/object:Gem::Version
195
479
  version: '0'
196
480
  requirements: []
197
- rubygems_version: 3.4.19
481
+ rubygems_version: 3.5.7
198
482
  signing_key:
199
483
  specification_version: 4
200
484
  summary: Extended Standard Ruby Configs for Finely Aged Rubies
metadata.gz.sig CHANGED
Binary file