rubocop-lts 1.0.0 → 1.0.3
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 +20 -0
- data/README.md +24 -5
- data/lib/rubocop/lts/version.rb +1 -1
- data/rubocop-lts.yml +19 -0
- data/rubocop-lts1_8.yml +34 -0
- data/spec/spec_helper.rb +1 -1
- metadata +9 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 901f667086eb2c8df10089f14904f83ced780deea22634256f564103403f55b8
|
4
|
+
data.tar.gz: f183626be863e03760f7b09db1f900b26d3920549d8922bea43648389a349c56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6022ff24daceb5eb05a6f5cc15fac34bef36fa866398237484e35711e1f149a768795f7aee83872f3762be34c52072732ef6b6c35c2154544a02000c0d45c71c
|
7
|
+
data.tar.gz: 20216a0493e7aa02588e90a80fc74540a5c6562dc3743eec44b4563029930d98d9d2fa3057cbc82ad212263dd97648e9ea444f4914f39473c43e8520a19acb77
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
+
## [1.0.3] - 2022-05-23
|
17
|
+
### Fixed
|
18
|
+
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
19
|
+
|
20
|
+
## [1.0.2] - 2022-05-23
|
21
|
+
### Fixed
|
22
|
+
- Ship rubocop config files in gem
|
23
|
+
- rubocop-lts.yml
|
24
|
+
- rubocop-lts1_8.yml
|
25
|
+
|
26
|
+
## [1.0.1] - 2022-05-22
|
27
|
+
### Fixed
|
28
|
+
- Documentation typos & gemspec URLs
|
29
|
+
|
16
30
|
## [1.0.0] - 2022-05-22
|
17
31
|
### Added
|
18
32
|
- Initial odd release supporting Ruby ~> 1.9
|
33
|
+
|
34
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...HEAD
|
35
|
+
[1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
|
36
|
+
[1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
|
37
|
+
[1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
|
38
|
+
[1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ Projects that support multiple versions of Ruby simultaneously (like many open-s
|
|
40
40
|
[odd-release]: https://github.com/rubocop-lts/rubocop-lts#odd-major-release
|
41
41
|
[even-release]: https://github.com/rubocop-lts/rubocop-lts#even-major-release
|
42
42
|
|
43
|
-
##
|
43
|
+
## Version Conventions
|
44
44
|
|
45
45
|
### Odd Major Release
|
46
46
|
|
@@ -118,7 +118,7 @@ Each major version will have a tracking branch named accordingly, [for developme
|
|
118
118
|
|
119
119
|
### 🪢 How To Untie Gorgon's Knot
|
120
120
|
|
121
|
-
> NOTE:
|
121
|
+
> NOTE: The ruby specific versions, e.g. `rubocop-ruby2_7`, can be used if you won't be upgrading ruby. Keep scrolling down for links to each of them.
|
122
122
|
|
123
123
|
How to upgrade a project from yesterday, to today.
|
124
124
|
|
@@ -288,13 +288,32 @@ The gem is available as open source under the terms of
|
|
288
288
|
the [MIT License][license] [][license-ref].
|
289
289
|
See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
|
290
290
|
|
291
|
-
|
291
|
+
<details>
|
292
|
+
<summary>Project Logos (rubocop-lts)</summary>
|
292
293
|
|
293
|
-
[
|
294
|
+
See [docs/images/logo/README.txt][project-logos]
|
295
|
+
</details>
|
296
|
+
|
297
|
+
<details>
|
298
|
+
<summary>Organization Logo (rubocop-semver)</summary>
|
299
|
+
|
300
|
+
Author: [Yusuf Evli][org-logo-author]
|
301
|
+
Source: [Unsplash][org-logo-source]
|
302
|
+
License: [Unsplash License][org-logo-license]
|
303
|
+
</details>
|
304
|
+
|
305
|
+
[project-logos]: https://github.com/rubocop-lts/rubocop-lts/blob/main/docs/images/logo/README.txt
|
306
|
+
[org-logo-author]: https://unsplash.com/@yusufevli
|
307
|
+
[org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
|
308
|
+
[org-logo-license]: https://unsplash.com/license
|
309
|
+
|
310
|
+
### © Copyright
|
311
|
+
|
312
|
+
* Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
294
313
|
|
295
314
|
## 🤝 Code of Conduct
|
296
315
|
|
297
|
-
Everyone interacting in
|
316
|
+
Everyone interacting in Rubocop LTS codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-lts/blob/main/CODE_OF_CONDUCT.md).
|
298
317
|
|
299
318
|
## 📌 Versioning
|
300
319
|
|
data/lib/rubocop/lts/version.rb
CHANGED
data/rubocop-lts.yml
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
inherit_gem:
|
2
|
+
rubocop-ruby1_9: rubocop.yml
|
3
|
+
|
4
|
+
# Removed as of 0.80.0
|
5
|
+
# braces setting is for compatibility with Ruby 2.7+
|
6
|
+
# See:
|
7
|
+
# * https://github.com/rubocop/rubocop/issues/7641
|
8
|
+
# * https://github.com/rubocop/rubocop/pull/7643
|
9
|
+
Style/BracesAroundHashParameters:
|
10
|
+
Enabled: true
|
11
|
+
EnforcedStyle: context_dependent
|
12
|
+
|
13
|
+
# The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
|
14
|
+
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
|
15
|
+
# See:
|
16
|
+
# * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
|
17
|
+
Style/Encoding:
|
18
|
+
Enabled: true
|
19
|
+
EnforcedStyle: always
|
data/rubocop-lts1_8.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
inherit_gem:
|
2
|
+
rubocop-ruby1_9: rubocop-ruby1_8.yml
|
3
|
+
|
4
|
+
###################################################################
|
5
|
+
# Rules that allow preservation of ruby 1.8.7 / ree compatibility #
|
6
|
+
###################################################################
|
7
|
+
|
8
|
+
Style/Documentation:
|
9
|
+
Enabled: false
|
10
|
+
|
11
|
+
# Ruby 1.8.7 needs the . on chain of method calls at the end of a line
|
12
|
+
Style/DotPosition:
|
13
|
+
EnforcedStyle: trailing
|
14
|
+
|
15
|
+
Style/FrozenStringLiteralComment:
|
16
|
+
Enabled: true
|
17
|
+
|
18
|
+
# Ruby 1.8.7 doesn't have 1.9 style hash syntax
|
19
|
+
Style/HashSyntax:
|
20
|
+
EnforcedStyle: hash_rockets
|
21
|
+
|
22
|
+
# Ruby 1.8.7 doesn't have the -> lambda
|
23
|
+
Style/Lambda:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
Style/PercentLiteralDelimiters:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
Style/SymbolArray:
|
30
|
+
EnforcedStyle: brackets
|
31
|
+
|
32
|
+
Style/WordArray:
|
33
|
+
EnforcedStyle: brackets
|
34
|
+
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop-ruby1_9
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.
|
19
|
+
version: 1.0.5
|
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.0.
|
26
|
+
version: 1.0.5
|
27
27
|
description: Rubocop LTS - Chaos Reduction In a Bottle
|
28
28
|
email:
|
29
29
|
- peter.boling@gmail.com
|
@@ -39,6 +39,8 @@ files:
|
|
39
39
|
- SECURITY.md
|
40
40
|
- lib/rubocop/lts.rb
|
41
41
|
- lib/rubocop/lts/version.rb
|
42
|
+
- rubocop-lts.yml
|
43
|
+
- rubocop-lts1_8.yml
|
42
44
|
- sig/rubocop/lts.rbs
|
43
45
|
- spec/config/rspec/rspec_core.rb
|
44
46
|
- spec/rubocop/lts_spec.rb
|
@@ -48,10 +50,10 @@ licenses:
|
|
48
50
|
- MIT
|
49
51
|
metadata:
|
50
52
|
homepage_uri: https://github.com/rubocop-lts/rubocop-lts
|
51
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v1.0.
|
52
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v1.0.
|
53
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v1.0.3
|
54
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v1.0.3/CHANGELOG.md
|
53
55
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
54
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-
|
56
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/1.0.3
|
55
57
|
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
56
58
|
rubygems_mfa_required: 'true'
|
57
59
|
post_install_message:
|