rubocop-lts 2.0.3 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -1
- data/README.md +3 -3
- data/lib/rubocop/lts/version.rb +1 -2
- data/lib/rubocop/lts.rb +0 -1
- data/rubocop-lts.yml +1 -9
- data/spec/config/rspec/rspec_core.rb +0 -1
- data/spec/rubocop/lts_spec.rb +0 -1
- data/spec/spec_helper.rb +0 -1
- metadata +7 -8
- data/rubocop-lts1_8.yml +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9ac14b352fda4248d76af945ac2c3ca5397514252e4b6ea577330d1dc13d74a
|
4
|
+
data.tar.gz: 8df16bd10307c79afd0c9a8b977c3482eacd05ba4127b6ddef4ed7895a00d632
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779c6b1cd3bde1c8fa8e241a8f72508187cd3c61b773b253ff3e64fb4197da133dfc78838e6dc4a0bf478e36f3e30bd0ed434106fe10b02ac48cdf686ce2db95
|
7
|
+
data.tar.gz: dbbdf7d02c73c39708dc9c6400ade80adcafc803cb273f69f003f8106656998296b1d12dcb2b1cde1a8468db48024dd5f3b73885d66235d4964ff7e23d875fe2
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
+
## [3.0.2] - 2022-05-23
|
17
|
+
### Fixed
|
18
|
+
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
19
|
+
|
20
|
+
## [3.0.1] - 2022-05-23
|
21
|
+
### Fixed
|
22
|
+
- Ship rubocop config files in gem
|
23
|
+
- rubocop-lts.yml
|
24
|
+
|
25
|
+
## [3.0.0] - 2022-05-22
|
26
|
+
### Added
|
27
|
+
- Initial odd release supporting Ruby ~> 2.0
|
28
|
+
|
16
29
|
## [2.0.3] - 2022-05-23
|
17
30
|
### Fixed
|
18
31
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -49,7 +62,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
49
62
|
### Added
|
50
63
|
- Initial odd release supporting Ruby ~> 1.9
|
51
64
|
|
52
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/
|
65
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.1...HEAD
|
66
|
+
[3.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.0...v3.0.1
|
67
|
+
[3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v3.0.0
|
53
68
|
[2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
|
54
69
|
[2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
|
55
70
|
[2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ Projects that support a single version of Ruby (like many closed-source applicat
|
|
35
35
|
Projects that support multiple versions of Ruby simultaneously (like many open-source applications and libraries) will use the [Even releases][even-release].
|
36
36
|
|
37
37
|
<!-- FIND VERSION -->
|
38
|
-
**This README is for the
|
38
|
+
**This README is for the odd release of `rubocop-lts` supporting Ruby ~> 2.0.0.**
|
39
39
|
|
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
|
@@ -202,7 +202,7 @@ Add this line to your application's Gemfile:
|
|
202
202
|
|
203
203
|
<!-- FIND VERSION -->
|
204
204
|
```ruby
|
205
|
-
gem 'rubocop-lts', '~>
|
205
|
+
gem 'rubocop-lts', '~> 3.0', require: false
|
206
206
|
```
|
207
207
|
|
208
208
|
And then execute:
|
@@ -329,7 +329,7 @@ For example:
|
|
329
329
|
|
330
330
|
<!-- FIND VERSION -->
|
331
331
|
```ruby
|
332
|
-
spec.add_dependency "rubocop-lts", "~>
|
332
|
+
spec.add_dependency "rubocop-lts", "~> 3.0"
|
333
333
|
```
|
334
334
|
|
335
335
|
|
data/lib/rubocop/lts/version.rb
CHANGED
data/lib/rubocop/lts.rb
CHANGED
data/rubocop-lts.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
inherit_gem:
|
2
|
-
rubocop-
|
2
|
+
rubocop-ruby2_0: rubocop.yml
|
3
3
|
|
4
4
|
# Removed as of 0.80.0
|
5
5
|
# braces setting is for compatibility with Ruby 2.7+
|
@@ -9,11 +9,3 @@ inherit_gem:
|
|
9
9
|
Style/BracesAroundHashParameters:
|
10
10
|
Enabled: true
|
11
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/spec/rubocop/lts_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -11,7 +11,7 @@ cert_chain: []
|
|
11
11
|
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rubocop-
|
14
|
+
name: rubocop-ruby2_0
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
@@ -40,7 +40,6 @@ files:
|
|
40
40
|
- lib/rubocop/lts.rb
|
41
41
|
- lib/rubocop/lts/version.rb
|
42
42
|
- rubocop-lts.yml
|
43
|
-
- rubocop-lts1_8.yml
|
44
43
|
- sig/rubocop/lts.rbs
|
45
44
|
- spec/config/rspec/rspec_core.rb
|
46
45
|
- spec/rubocop/lts_spec.rb
|
@@ -50,10 +49,10 @@ licenses:
|
|
50
49
|
- MIT
|
51
50
|
metadata:
|
52
51
|
homepage_uri: https://github.com/rubocop-lts/rubocop-lts
|
53
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/
|
54
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/
|
52
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v3.0.2
|
53
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v3.0.2/CHANGELOG.md
|
55
54
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
56
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/
|
55
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/3.0.2
|
57
56
|
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
58
57
|
rubygems_mfa_required: 'true'
|
59
58
|
post_install_message:
|
@@ -64,10 +63,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
64
63
|
requirements:
|
65
64
|
- - ">="
|
66
65
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
66
|
+
version: 2.0.0
|
68
67
|
- - "<"
|
69
68
|
- !ruby/object:Gem::Version
|
70
|
-
version: '
|
69
|
+
version: '2.1'
|
71
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
72
|
- - ">="
|
data/rubocop-lts1_8.yml
DELETED
@@ -1,34 +0,0 @@
|
|
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
|
-
|