rubocop-ruby1_9 1.0.5 → 2.0.3
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 +51 -12
- data/CONTRIBUTING.md +25 -11
- data/LICENSE.txt +1 -1
- data/README.md +263 -195
- data/SECURITY.md +5 -4
- data/lib/rubocop/ruby1_9/railtie.rb +14 -0
- data/lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake +11 -0
- data/lib/rubocop/ruby1_9/tasks.rake +4 -0
- data/lib/rubocop/ruby1_9/version.rb +3 -2
- data/lib/rubocop/ruby1_9.rb +15 -2
- 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 -15
- data/sig/rubocop/ruby1_9.rbs +4 -2
- data.tar.gz.sig +4 -0
- metadata +204 -31
- metadata.gz.sig +0 -0
- data/rubocop-ruby1_8.yml +0 -34
- data/spec/config/rspec/rspec_core.rb +0 -14
- data/spec/rubocop/ruby1_9_spec.rb +0 -8
- data/spec/spec_helper.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6052a5eb485136b65d875f5aee0762c56aa19a39e91d9b2e3d961faaa3065c27
|
4
|
+
data.tar.gz: 59fe323de76fc6646ab10462bd3810310412023912ead14064447f45783475f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc42c928dfc6b02f646611e27e7c8a0182caef954e972ad951527cf4a2f0aa7b6d453438ea8485dff286f1529ec9a91716f4b20dbf1e52522c232868d2eec64
|
7
|
+
data.tar.gz: 1218d80afc0d09499be71062a5c3603fb0c63af0fc2a14076cff109283ad2a2774ac015baeca162df414579dfc619728c6475fd5f0f48173f8151f0aab788774
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,12 +6,46 @@ 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
|
12
|
+
|
13
|
+
## [2.0.3] 2023-05-21
|
14
|
+
### Fixed
|
15
|
+
- Ship rake tasks in gem package
|
16
|
+
|
17
|
+
## [2.0.2] 2023-05-18
|
18
|
+
### Removed
|
19
|
+
- stray puts debugging
|
11
20
|
|
21
|
+
## [2.0.1] 2023-05-18
|
12
22
|
### Fixed
|
23
|
+
- Fix rake_tasks hook on Railtie
|
13
24
|
|
25
|
+
## [2.0.0] 2023-05-17 [YANKED]
|
26
|
+
### Added
|
27
|
+
- Configs for:
|
28
|
+
- rubocop
|
29
|
+
- rubocop-gradual
|
30
|
+
- rubocop-md
|
31
|
+
- rubocop-rake
|
32
|
+
- rubocop-shopify
|
33
|
+
- rubocop-thread_safety
|
34
|
+
- standard
|
35
|
+
- standard-performance
|
36
|
+
- standard-custom
|
37
|
+
- standard-rubocop-lts
|
38
|
+
- And optionally, if you are using RSpec:
|
39
|
+
- rubocop-rspec
|
40
|
+
- And optionally, if you are building a RubyGem:
|
41
|
+
- rubocop-packaging
|
42
|
+
- And optionally, if you are building a Rails app:
|
43
|
+
- betterlint
|
44
|
+
- standard-rails
|
45
|
+
- version_gem
|
14
46
|
### Removed
|
47
|
+
- rubocop-ruby1_8.yml (replaced with a wholly separate gem [rubocop-ruby1_8](https://gitlab.com/rubocop-lts/rubocop-ruby1_8)
|
48
|
+
- Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
|
15
49
|
|
16
50
|
## [1.0.5] 2022-05-23
|
17
51
|
### Fixed
|
@@ -23,29 +57,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
23
57
|
|
24
58
|
## [1.0.3] 2022-05-22
|
25
59
|
### Added
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
60
|
+
- Better documentation
|
61
|
+
- Default cop enabled for inherited rubocop.yml: Style/Encoding
|
62
|
+
- Rubocop => RuboCop typo repair
|
63
|
+
- New rubocop-ruby1_8.yml to assist with continuing support for Ruby 1.8
|
64
|
+
- Ruby Version Support Matrix
|
65
|
+
- Support installing via rubygems, without bundler
|
32
66
|
|
33
67
|
### Fixed
|
34
|
-
|
68
|
+
- Ability to install via `gem install` command (i.e. without bundler)
|
35
69
|
|
36
70
|
## [1.0.2] 2022-05-03
|
37
71
|
### Added
|
38
|
-
|
72
|
+
- Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
|
39
73
|
|
40
74
|
## [1.0.1] 2022-05-03
|
41
75
|
### Fixed
|
42
|
-
|
76
|
+
- Added missing rubocop.yml for inherit_gem directive
|
43
77
|
|
44
78
|
## [1.0.0] 2022-05-01
|
45
79
|
### Added
|
46
|
-
|
80
|
+
- Initial release
|
47
81
|
|
48
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/
|
82
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.3...HEAD
|
83
|
+
[2.0.3]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.2...v2.0.3
|
84
|
+
[2.0.2]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.1...v2.0.2
|
85
|
+
[2.0.1]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.0...v2.0.1
|
86
|
+
[2.0.0]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v1.0.5...v2.0.0
|
87
|
+
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v1.0.4...v1.0.5
|
49
88
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v1.0.3...v1.0.4
|
50
89
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v1.0.2...v1.0.3
|
51
90
|
[1.0.2]: https://github.com/rubocop-lts/rubocop-ruby1_9/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-ruby1_9][🚎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-ruby1_9)][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-ruby1_9/-/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-ruby1_9/-/blob/main/CODE_OF_CONDUCT.md
|
35
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9/-/graphs/main
|
36
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9/-/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
|