rubocop-ruby2_3 1.0.0 → 1.0.1
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 +13 -2
- data/README.md +28 -6
- data/lib/rubocop/ruby2_3/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 495664879a6f85d759c0dea2e49c30c7bc7e9cbdfec6c57dde1a53ab65de796e
|
|
4
|
+
data.tar.gz: 544ab01fce60e32d3e2358870a85d632ca10bfdd67c33948f11fad1e78f56bbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: df817c8a638451267fefc1c47440f5ab74d72dbb01d937022ce5997cbaa08e73833ce353da5d8b4a63b045f993fa26a2dafcae8d6cf81810dd4afa94aef50c57
|
|
7
|
+
data.tar.gz: a3656fa28199139cd2fb419f95cb278edd30b7319469ea7e41e932c7c986ea316f74d8b02e5c607d5e9320d0d0e7c19354909f61a204d6a142cb98e8d863638d
|
data/CHANGELOG.md
CHANGED
|
@@ -13,7 +13,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
13
13
|
|
|
14
14
|
### Removed
|
|
15
15
|
|
|
16
|
-
## [1.0.
|
|
16
|
+
## [1.0.1] 2022-05-02
|
|
17
|
+
### Added
|
|
18
|
+
* Documentation
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
### Removed
|
|
25
|
+
|
|
26
|
+
## [1.0.0] 2022-05-01
|
|
17
27
|
### Added
|
|
18
28
|
* Initial release
|
|
19
29
|
|
|
@@ -23,5 +33,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
33
|
|
|
24
34
|
### Removed
|
|
25
35
|
|
|
26
|
-
[Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_3/compare
|
|
36
|
+
[Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_3/compare/v1.0.1...HEAD
|
|
37
|
+
[1.0.1]: https://github.com/rubocop-semver/rubocop-ruby2_3/compare/v1.0.0...v1.0.1
|
|
27
38
|
[1.0.0]: https://github.com/rubocop-semver/rubocop-ruby2_3/compare/496ae0431f229da4ce2ca472954773af32f27078...v1.0.0
|
data/README.md
CHANGED
|
@@ -40,7 +40,7 @@ a [SemVer compliant](https://semver.org/) (Semantic Versioning) way that aligns
|
|
|
40
40
|
compatible/supported Ruby version.
|
|
41
41
|
|
|
42
42
|
Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
|
|
43
|
-
|
|
43
|
+
minimizing the risk of a rubocop minor / patch upgrade breaking the build. See the
|
|
44
44
|
official [compatibility matrix](https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix) (Rubocop documentation)
|
|
45
45
|
|
|
46
46
|
## Stable
|
|
@@ -61,7 +61,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
|
61
61
|
|
|
62
62
|
The following is optional. We'll discuss why you might want to do this after you see what it does.
|
|
63
63
|
|
|
64
|
-
Add to the top of your project's
|
|
64
|
+
Add to the top of your project's `.rubocop.yml` configuration file:
|
|
65
65
|
|
|
66
66
|
```yaml
|
|
67
67
|
inherit_gem:
|
|
@@ -74,7 +74,8 @@ This has the same effect as you declaring the following in your `.rubocop.yml`:
|
|
|
74
74
|
AllCops:
|
|
75
75
|
# remove if already present in your `.rubocop.yml` to gain the full benefit of this gem!
|
|
76
76
|
TargetRubyVersion: 2.3
|
|
77
|
-
NewCops
|
|
77
|
+
# The sibling gems for newer versions of Ruby support the NewCops directive as soon as Rubocop adds it.
|
|
78
|
+
# NewCops: enable
|
|
78
79
|
```
|
|
79
80
|
|
|
80
81
|
Let's talk about these settings.
|
|
@@ -85,9 +86,9 @@ Allowing this gem to manage the target ruby version means you can switch to a di
|
|
|
85
86
|
|
|
86
87
|
## NewCops: enable
|
|
87
88
|
|
|
88
|
-
|
|
89
|
+
If you want to use this you'll have to upgrade to Ruby >= 2.4 and use the appropriate sibling gem, e.g. [`rubocop-ruby2_4`][2-4].
|
|
89
90
|
|
|
90
|
-
|
|
91
|
+
[2-4]: https://github.com/rubocop-semver/rubocop-ruby2_4
|
|
91
92
|
|
|
92
93
|
## Development
|
|
93
94
|
|
|
@@ -111,6 +112,27 @@ The gem is available as open source under the terms of
|
|
|
111
112
|
the [MIT License][license] [][license-ref].
|
|
112
113
|
See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
|
|
113
114
|
|
|
115
|
+
<details>
|
|
116
|
+
<summary>Project Logos (rubocop-ruby2_3)</summary>
|
|
117
|
+
|
|
118
|
+
See [docs/images/logo/README.txt][project-logos]
|
|
119
|
+
</details>
|
|
120
|
+
|
|
121
|
+
<details>
|
|
122
|
+
<summary>Organization Logo (rubocop-semver)</summary>
|
|
123
|
+
|
|
124
|
+
Author: [Yusuf Evli][org-logo-author]
|
|
125
|
+
Source: [Unsplash][org-logo-source]
|
|
126
|
+
License: [Unsplash License][org-logo-license]
|
|
127
|
+
</details>
|
|
128
|
+
|
|
129
|
+
[project-logos]: https://github.com/rubocop-semver/rubocop-ruby2_3/blob/main/docs/images/logo/README.txt
|
|
130
|
+
[org-logo-author]: https://unsplash.com/@yusufevli
|
|
131
|
+
[org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
|
|
132
|
+
[org-logo-license]: https://unsplash.com/license
|
|
133
|
+
|
|
134
|
+
### Copyright
|
|
135
|
+
|
|
114
136
|
* Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
|
115
137
|
|
|
116
138
|
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
@@ -132,7 +154,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
|
|
132
154
|
For example:
|
|
133
155
|
|
|
134
156
|
```ruby
|
|
135
|
-
spec.add_dependency "rubocop-ruby2_3", "~> 0
|
|
157
|
+
spec.add_dependency "rubocop-ruby2_3", "~> 1.0"
|
|
136
158
|
```
|
|
137
159
|
|
|
138
160
|
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-ruby2_3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
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-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -75,10 +75,10 @@ licenses:
|
|
|
75
75
|
- MIT
|
|
76
76
|
metadata:
|
|
77
77
|
homepage_uri: https://github.com/rubocop-semver/rubocop-ruby2_3
|
|
78
|
-
source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/tree/v1.0.
|
|
79
|
-
changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/blob/v1.0.
|
|
78
|
+
source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/tree/v1.0.1
|
|
79
|
+
changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/blob/v1.0.1/CHANGELOG.md
|
|
80
80
|
bug_tracker_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/issues
|
|
81
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/1.0.
|
|
81
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_3/1.0.1
|
|
82
82
|
wiki_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/wiki
|
|
83
83
|
rubygems_mfa_required: 'true'
|
|
84
84
|
post_install_message:
|