rubocop-lts 1.0.1 → 1.0.2
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 +8 -1
- data/README.md +4 -4
- data/lib/rubocop/lts/version.rb +1 -1
- data/rubocop-lts.yml +16 -0
- data/rubocop-lts1_8.yml +34 -0
- metadata +7 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1d0f62222c364b0f21068ca7f061549e24f88b8dc9c0569bd326efe896838491
|
|
4
|
+
data.tar.gz: 59d204a2d5c05b573c8c687c0d6c0e4a7babb32e037ee51cc1a28ef0a7a361b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8764a742217844a03e1593499e75fbe07ca317e97b8ef0ec0e54bc62136145b37defd6956221c4199db9ff60c618b5ec0785b51976238236df82214ae7fe600f
|
|
7
|
+
data.tar.gz: 639f2c75d2b6a61eb882f24660c40c42af78bbc7cb9aeb8064bea88b62c7ed29b309049b2ace3440b6399f7dc0a44e45d0af41db106a570ede009f465d50b9d5
|
data/CHANGELOG.md
CHANGED
|
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
13
13
|
|
|
14
14
|
### Removed
|
|
15
15
|
|
|
16
|
+
## [1.0.2] - 2022-05-23
|
|
17
|
+
### Fixed
|
|
18
|
+
- Ship rubocop config files in gem
|
|
19
|
+
- rubocop-lts.yml
|
|
20
|
+
- rubocop-lts1_8.yml
|
|
21
|
+
|
|
16
22
|
## [1.0.1] - 2022-05-22
|
|
17
23
|
### Fixed
|
|
18
24
|
- Documentation typos & gemspec URLs
|
|
@@ -21,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
21
27
|
### Added
|
|
22
28
|
- Initial odd release supporting Ruby ~> 1.9
|
|
23
29
|
|
|
24
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.
|
|
30
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...HEAD
|
|
31
|
+
[1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
|
|
25
32
|
[1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
|
|
26
33
|
[1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
|
data/README.md
CHANGED
|
@@ -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
|
|
|
@@ -289,7 +289,7 @@ the [MIT License][license] [</summary>
|
|
293
293
|
|
|
294
294
|
See [docs/images/logo/README.txt][project-logos]
|
|
295
295
|
</details>
|
|
@@ -302,7 +302,7 @@ Source: [Unsplash][org-logo-source]
|
|
|
302
302
|
License: [Unsplash License][org-logo-license]
|
|
303
303
|
</details>
|
|
304
304
|
|
|
305
|
-
[project-logos]: https://github.com/rubocop-lts/rubocop-
|
|
305
|
+
[project-logos]: https://github.com/rubocop-lts/rubocop-lts/blob/main/docs/images/logo/README.txt
|
|
306
306
|
[org-logo-author]: https://unsplash.com/@yusufevli
|
|
307
307
|
[org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
|
|
308
308
|
[org-logo-license]: https://unsplash.com/license
|
|
@@ -313,7 +313,7 @@ License: [Unsplash License][org-logo-license]
|
|
|
313
313
|
|
|
314
314
|
## 🤝 Code of Conduct
|
|
315
315
|
|
|
316
|
-
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).
|
|
317
317
|
|
|
318
318
|
## 📌 Versioning
|
|
319
319
|
|
data/lib/rubocop/lts/version.rb
CHANGED
data/rubocop-lts.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Removed as of 0.80.0
|
|
2
|
+
# braces setting is for compatibility with Ruby 2.7+
|
|
3
|
+
# See:
|
|
4
|
+
# * https://github.com/rubocop/rubocop/issues/7641
|
|
5
|
+
# * https://github.com/rubocop/rubocop/pull/7643
|
|
6
|
+
Style/BracesAroundHashParameters:
|
|
7
|
+
Enabled: true
|
|
8
|
+
EnforcedStyle: context_dependent
|
|
9
|
+
|
|
10
|
+
# The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
|
|
11
|
+
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
|
|
12
|
+
# See:
|
|
13
|
+
# * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
|
|
14
|
+
Style/Encoding:
|
|
15
|
+
Enabled: true
|
|
16
|
+
EnforcedStyle: always
|
data/rubocop-lts1_8.yml
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
inherit_gem:
|
|
2
|
+
rubocop-ruby1_9: rubocop.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
|
+
|
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.2
|
|
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
|
|
@@ -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.2
|
|
54
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v1.0.2/CHANGELOG.md
|
|
53
55
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
|
54
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/1.0.
|
|
56
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/1.0.2
|
|
55
57
|
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
|
56
58
|
rubygems_mfa_required: 'true'
|
|
57
59
|
post_install_message:
|