rubocop-ruby2_3 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b858a84f2c8cd26105b5e828542031c6ecca738cfd208d51a28f434fdd085ed7
4
- data.tar.gz: 6dd0e2e934530921eae8f37cc8e675152a0718855953227f62d2b93f757094b0
3
+ metadata.gz: 495664879a6f85d759c0dea2e49c30c7bc7e9cbdfec6c57dde1a53ab65de796e
4
+ data.tar.gz: 544ab01fce60e32d3e2358870a85d632ca10bfdd67c33948f11fad1e78f56bbd
5
5
  SHA512:
6
- metadata.gz: fadbfe1987f6eec1005c47b42759c3de7d8c30acbefe62f80abfe9961c672c7d6773ef8dcddbdfc219b527e8c3fb482c893c6897c26caf00dc4562526e69d1aa
7
- data.tar.gz: 00ca00002d87f387ff1543c2682bc3b8c5d43b1a4b7a6bfd39aa444c38b4a38871cff39096da2aee7aeab1555c457f44f10c26d2f41169d4c304a6ac0ccbbf58
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.0] 2022-04-30
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/.v1.0.0...HEAD
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
- minimiszing the risk of a rubocop minor / patch upgrade breaking the build. See the
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 RuboCop configuration file:
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: enable
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
- You may not use this setting in your project yet. Upgrades to the latest Rubocop can include all kinds of changes, including removing support for the version of Ruby your project uses, or adding a cop that may not work with some of your syntax (e.g. [some use cases of 'module_function`](https://github.com/rubocop/rubocop/issues/5953#issuecomment-805921993)). Accepting new cops arriving in a new version of Rubocop can feel risky, especially when it doesn't follow SemVer.
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
- But this gem shoehorns rubocop into SemVer... so `NewCops` is now safe(r)! If you use a dependency greening tool like GitHub's `dependabot`, or the excellent alternatives [depfu](https://depfu.com/), and [`renovate`](https://www.whitesourcesoftware.com/free-developer-tools/renovate/), then you can see the effect of a minor / major version bumpin your CI Build!
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: MIT](https://img.shields.io/badge/License-MIT-green.svg)][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.1"
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby23
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
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.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-01 00:00:00.000000000 Z
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.0
79
- changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_3/blob/v1.0.0/CHANGELOG.md
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.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: