rubocop-ruby2_2 1.0.4 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +38 -10
- data/CONTRIBUTING.md +25 -11
- data/LICENSE.txt +1 -1
- data/README.md +271 -155
- data/SECURITY.md +5 -4
- data/lib/rubocop/ruby2_2/railtie.rb +14 -0
- data/lib/rubocop/ruby2_2/version.rb +3 -1
- data/lib/rubocop/ruby2_2.rb +14 -0
- data/rubocop-lts/rails.yml +11 -0
- data/rubocop-lts/rails_rspec.yml +6 -0
- data/rubocop-lts/rspec.yml +9 -0
- data/rubocop-lts/ruby.yml +43 -0
- data/rubocop-lts/ruby_rspec.yml +6 -0
- data/rubocop-lts/rubygem.yml +6 -0
- data/rubocop-lts/rubygem_rspec.yml +4 -0
- data/rubocop-lts/strict/rails.yml +22 -0
- data/rubocop-lts/strict/rspec.yml +14 -0
- data/rubocop-lts/strict/ruby.yml +14 -0
- data/rubocop.yml +14 -10
- data/sig/rubocop/ruby2_2.rbs +4 -2
- data.tar.gz.sig +1 -0
- metadata +191 -33
- metadata.gz.sig +0 -0
- data/spec/config/rspec/rspec_core.rb +0 -13
- data/spec/rubocop/ruby2_2_spec.rb +0 -7
- data/spec/spec_helper.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d1e28fae94cf67863835fe16ac1066ccb0636213bb16de05cbb39486bcb0ee8
|
4
|
+
data.tar.gz: ea5e85f71f9f3df2675152ac19ced4bde8bfdddf2a6c228c76124266e6f1aec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d83a1945db9837191dd86ea708de6e361ea346e861194c75381c33d46c860783913ad3d80c96d0322dab095716d74511ab7a179597ff24f1e933b7a9a3c34ec
|
7
|
+
data.tar.gz: 24169d26566b8fdf07487e692654b1c2565de276d5c9a469c7b0feeaa82599efd93226e0d679df65e7d475e1cf60744ba69b46a65a59a9e51a9123b5062cd3db
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,39 +6,67 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
### Added
|
9
|
-
|
10
9
|
### Changed
|
10
|
+
### Fixed
|
11
|
+
### Removed
|
11
12
|
|
13
|
+
## [2.0.1] 2023-05-18
|
12
14
|
### Fixed
|
15
|
+
- Ship lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake
|
16
|
+
- Fix rake_tasks hook on Railtie
|
13
17
|
|
18
|
+
## [2.0.0] 2023-05-17 [YANKED]
|
19
|
+
### Added
|
20
|
+
- Configs for:
|
21
|
+
- rubocop
|
22
|
+
- rubocop-gradual
|
23
|
+
- rubocop-md
|
24
|
+
- rubocop-rake
|
25
|
+
- rubocop-shopify
|
26
|
+
- rubocop-thread_safety
|
27
|
+
- standard
|
28
|
+
- standard-performance
|
29
|
+
- standard-custom
|
30
|
+
- standard-rubocop-lts
|
31
|
+
- And optionally, if you are using RSpec:
|
32
|
+
- rubocop-rspec
|
33
|
+
- And optionally, if you are building a RubyGem:
|
34
|
+
- rubocop-packaging
|
35
|
+
- And optionally, if you are building a Rails app:
|
36
|
+
- betterlint
|
37
|
+
- standard-rails
|
38
|
+
- version_gem
|
14
39
|
### Removed
|
40
|
+
- Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
|
15
41
|
|
16
42
|
## [1.0.4] 2022-05-23
|
17
43
|
### Added
|
18
|
-
|
19
|
-
|
20
|
-
|
44
|
+
- Rubocop => RuboCop typo repair
|
45
|
+
- Ruby Version Support Matrix
|
46
|
+
- Improved documentation
|
21
47
|
|
22
48
|
## [1.0.3] 2022-05-03
|
23
49
|
### Added
|
24
|
-
|
50
|
+
- Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
|
25
51
|
|
26
52
|
## [1.0.2] 2022-05-03
|
27
53
|
### Fixed
|
28
|
-
|
54
|
+
- Added missing rubocop.yml for inherit_gem directive
|
29
55
|
|
30
56
|
## [1.0.1] 2022-05-02
|
31
57
|
### Added
|
32
|
-
|
58
|
+
- Documentation
|
33
59
|
|
34
60
|
### Changed
|
35
|
-
|
61
|
+
- RuboCop lock 0.68.0 => 0.68.1
|
36
62
|
|
37
63
|
## [1.0.0] 2022-05-01
|
38
64
|
### Added
|
39
|
-
|
65
|
+
- Initial release
|
40
66
|
|
41
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/
|
67
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.1...HEAD
|
68
|
+
[2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.0...v2.0.1
|
69
|
+
[2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v1.0.4...v2.0.0
|
42
70
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v1.0.3...v1.0.4
|
43
71
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v1.0.2...v1.0.3
|
44
72
|
[1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v1.0.1...v1.0.2
|
data/CONTRIBUTING.md
CHANGED
@@ -1,25 +1,39 @@
|
|
1
1
|
## Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on
|
3
|
+
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby2_2][🚎src-main]
|
4
4
|
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
5
|
the [code of conduct][conduct].
|
6
6
|
|
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
|
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
|
+
and post a message to the [gitter chat][🏘chat].
|
8
9
|
|
9
|
-
##
|
10
|
-
|
11
|
-
[![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_2)][contributors]
|
10
|
+
## Release
|
12
11
|
|
13
|
-
|
12
|
+
To release a new version:
|
14
13
|
|
15
|
-
|
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].
|
16
23
|
|
17
|
-
|
24
|
+
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
25
|
+
`gemspec`, in order to sign the new release.
|
26
|
+
See: [RubyGems Security Guide][rubygems-security-guide]
|
18
27
|
|
19
|
-
|
28
|
+
## Contributors
|
20
29
|
|
21
|
-
|
30
|
+
See: [https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/graphs/main][🖐contributors]
|
22
31
|
|
23
32
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
24
33
|
|
25
|
-
[
|
34
|
+
[🤝conduct]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/blob/main/CODE_OF_CONDUCT.md
|
35
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/graphs/main
|
36
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/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
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2022 Peter Boling
|
3
|
+
Copyright (c) 2022 - 2023 Peter H. Boling of https://railsbling.com
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|