rubocop-ruby2_0 1.0.5 → 2.0.2
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 +43 -10
- data/CONTRIBUTING.md +25 -11
- data/LICENSE.txt +1 -1
- data/README.md +269 -148
- data/SECURITY.md +5 -4
- data/lib/rubocop/ruby2_0/railtie.rb +14 -0
- data/lib/rubocop/ruby2_0/rakelib/rubocop_gradual.rake +11 -0
- data/lib/rubocop/ruby2_0/tasks.rake +4 -0
- data/lib/rubocop/ruby2_0/version.rb +3 -1
- data/lib/rubocop/ruby2_0.rb +15 -1
- 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_0.rbs +4 -2
- data.tar.gz.sig +0 -0
- metadata +193 -33
- metadata.gz.sig +4 -0
- data/spec/config/rspec/rspec_core.rb +0 -13
- data/spec/rubocop/ruby2_0_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: f6ad262cc12c7acc8014281804508c99dfac1e6e96b7e082231770fe57f139cb
|
4
|
+
data.tar.gz: 335df629c083db514ec2048a9d987455a62d3493f9080b64b797990659226bac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 714009d17a1ee35f7dd811a76439dabe029220df7748d3628a750a590db3407abed5d4b1771fa300bfc1c8dbf5bbb17eab445e100c74f5c167fa0bfe0adb44fa
|
7
|
+
data.tar.gz: d15b6890bfd41edeabd3a289f7500a1c368340e09d0bc2bd3d1011720baf6d82f33228413a6fb57333dff8764e8bcc1be526510fa84536dbfebbcc8c9c985dd3
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,40 +6,73 @@ 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-21
|
12
14
|
### Fixed
|
15
|
+
- Ship rakelib/**/*.rake tasks
|
13
16
|
|
17
|
+
## [2.0.1] 2023-05-18
|
18
|
+
### Fixed
|
19
|
+
- Fix rake_tasks hook on Railtie
|
20
|
+
|
21
|
+
## [2.0.0] 2023-05-17 [YANKED]
|
22
|
+
### Added
|
23
|
+
- Configs for:
|
24
|
+
- rubocop
|
25
|
+
- rubocop-gradual
|
26
|
+
- rubocop-md
|
27
|
+
- rubocop-rake
|
28
|
+
- rubocop-shopify
|
29
|
+
- rubocop-thread_safety
|
30
|
+
- standard
|
31
|
+
- standard-performance
|
32
|
+
- standard-custom
|
33
|
+
- standard-rubocop-lts
|
34
|
+
- And optionally, if you are using RSpec:
|
35
|
+
- rubocop-rspec
|
36
|
+
- And optionally, if you are building a RubyGem:
|
37
|
+
- rubocop-packaging
|
38
|
+
- And optionally, if you are building a Rails app:
|
39
|
+
- betterlint
|
40
|
+
- standard-rails
|
41
|
+
- version_gem
|
14
42
|
### Removed
|
43
|
+
- rubocop-ruby1_8.yml (replaced with a wholly separate gem [rubocop-ruby1_8](https://gitlab.com/rubocop-lts/rubocop-ruby1_8)
|
44
|
+
- Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
|
15
45
|
|
16
46
|
## [1.0.5] 2022-05-22
|
17
47
|
### Added
|
18
|
-
|
48
|
+
- Better documentation
|
19
49
|
|
20
50
|
## [1.0.4] 2022-05-22
|
21
51
|
### Added
|
22
|
-
|
23
|
-
|
24
|
-
|
52
|
+
- Better documentation
|
53
|
+
- Rubocop => RuboCop typo repair
|
54
|
+
- Ruby Version Support Matrix
|
25
55
|
|
26
56
|
## [1.0.3] 2022-05-03
|
27
57
|
### Added
|
28
|
-
|
58
|
+
- Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
|
29
59
|
|
30
60
|
## [1.0.2] 2022-05-03
|
31
61
|
### Fixed
|
32
|
-
|
62
|
+
- Added missing rubocop.yml for inherit_gem directive
|
33
63
|
|
34
64
|
## [1.0.1] 2022-05-02
|
35
65
|
### Added
|
36
|
-
|
66
|
+
- Documentation
|
37
67
|
|
38
68
|
## [1.0.0] 2022-05-01
|
39
69
|
### Added
|
40
|
-
|
70
|
+
- Initial release
|
41
71
|
|
42
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/
|
72
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.2...HEAD
|
73
|
+
[2.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.1...v2.0.2
|
74
|
+
[2.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.0...v2.0.1
|
75
|
+
[2.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.5...v2.0.0
|
43
76
|
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.4...v1.0.5
|
44
77
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.3...v1.0.4
|
45
78
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.2...v1.0.3
|
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_0][🚎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_0)][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_0/-/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_0/-/blob/main/CODE_OF_CONDUCT.md
|
35
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/graphs/main
|
36
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/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
|