rubocop-ruby2_2 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: 41760145a13e44738f19a8aefbfd4a88126bb2d8f894987a679ddc1816aa9371
4
- data.tar.gz: aa157007ca8ce29006da93a27de1b48bcf5f3a45f9458549bc196a40bb39b87b
3
+ metadata.gz: a11385788af8e0a4044322c80d18bdf7f04acefe9a5d28a980791e6259d9b7ec
4
+ data.tar.gz: 7413b5d5d5c44d8d59746f76fde510236ff03a380fbecc1c4bcde490c4cdeab1
5
5
  SHA512:
6
- metadata.gz: b4316de525b1bde92fcf4112f887a6b64e09032cd510057fb773e61e9061ba657078b3a6b66f46b7a7c97c99258d3f63267503506110c70bf236d2eea73a18e4
7
- data.tar.gz: aed964debaddb6f7a029a8a8ef585c145c1c4f809e5d8dae9fc0034fac3dde8fc13139392ff93fd27dc830644a6607c6cc11b55803a7bdea7331305010eb0603
6
+ metadata.gz: 935d8bbce8c8b6882e3769ef60ec038ec3906453a21e1674c1c5a0e93211d6cf610f7e7171cf6643b3e992de5c05aa68586199dc62e25733647a380a85db8773
7
+ data.tar.gz: 74a049496a31e720b96d64a6c037c0e4d56c64656d5b3d059a4f2b6194931fd0d4c5bea21e4288581e15ca518757286e5d44490d39e2474b562d5d4de67fa7eb
data/CHANGELOG.md CHANGED
@@ -13,7 +13,18 @@ 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
+ * Rubocop lock 0.68.0 => 0.68.1
22
+
23
+ ### Fixed
24
+
25
+ ### Removed
26
+
27
+ ## [1.0.0] 2022-05-01
17
28
  ### Added
18
29
  * Initial release
19
30
 
@@ -23,5 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
34
 
24
35
  ### Removed
25
36
 
26
- [Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_2/compare/.v1.0.0...HEAD
37
+ [Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_2/compare/v1.0.1...HEAD
38
+ [1.0.1]: https://github.com/rubocop-semver/rubocop-ruby2_2/compare/v1.0.0...v1.0.1
27
39
  [1.0.0]: https://github.com/rubocop-semver/rubocop-ruby2_2/compare/b86f10e2f7a0ad4081b07782b3b924ef67acdeab...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
@@ -49,11 +49,21 @@ All releases of this gem are stable releases. The first version is `1.0.0`.
49
49
 
50
50
  ## Installation
51
51
 
52
- Install the gem and add to the application's Gemfile by executing:
52
+ Without bundler execute:
53
53
 
54
- $ bundle add rubocop-ruby2_2 -r false
54
+ $ gem install
55
55
 
56
- If bundler is not being used to manage dependencies, install the gem by executing:
56
+ Add this line to your application's Gemfile:
57
+
58
+ ```ruby
59
+ gem 'rubocop-ruby2_2', '~> 1.0', require: false
60
+ ```
61
+
62
+ And then execute:
63
+
64
+ $ bundle
65
+
66
+ Or install it yourself as:
57
67
 
58
68
  $ gem install rubocop-ruby2_2
59
69
 
@@ -61,7 +71,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
61
71
 
62
72
  The following is optional. We'll discuss why you might want to do this after you see what it does.
63
73
 
64
- Add to the top of your project's RuboCop configuration file:
74
+ Add to the top of your project's `.rubocop.yml` configuration file:
65
75
 
66
76
  ```yaml
67
77
  inherit_gem:
@@ -74,7 +84,8 @@ This has the same effect as you declaring the following in your `.rubocop.yml`:
74
84
  AllCops:
75
85
  # remove if already present in your `.rubocop.yml` to gain the full benefit of this gem!
76
86
  TargetRubyVersion: 2.2
77
- NewCops: enable
87
+ # The sibling gems for newer versions of Ruby support the NewCops directive as soon as Rubocop adds it.
88
+ # NewCops: enable
78
89
  ```
79
90
 
80
91
  Let's talk about these settings.
@@ -85,9 +96,9 @@ Allowing this gem to manage the target ruby version means you can switch to a di
85
96
 
86
97
  ## NewCops: enable
87
98
 
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.
99
+ 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
100
 
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!
101
+ [2-4]: https://github.com/rubocop-semver/rubocop-ruby2_4
91
102
 
92
103
  ## Development
93
104
 
@@ -111,6 +122,27 @@ The gem is available as open source under the terms of
111
122
  the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
112
123
  See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
113
124
 
125
+ <details>
126
+ <summary>Project Logos (rubocop-ruby3_1)</summary>
127
+
128
+ See [docs/images/logo/README.txt][project-logos]
129
+ </details>
130
+
131
+ <details>
132
+ <summary>Organization Logo (rubocop-semver)</summary>
133
+
134
+ Author: [Yusuf Evli][org-logo-author]
135
+ Source: [Unsplash][org-logo-source]
136
+ License: [Unsplash License][org-logo-license]
137
+ </details>
138
+
139
+ [project-logos]: https://github.com/rubocop-semver/rubocop-ruby3_1/blob/main/docs/images/logo/README.txt
140
+ [org-logo-author]: https://unsplash.com/@yusufevli
141
+ [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
142
+ [org-logo-license]: https://unsplash.com/license
143
+
144
+ ### Copyright
145
+
114
146
  * Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
115
147
 
116
148
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -132,7 +164,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
132
164
  For example:
133
165
 
134
166
  ```ruby
135
- spec.add_dependency "rubocop-ruby2_2", "~> 0.1"
167
+ spec.add_dependency "rubocop-ruby2_2", "~> 1.0"
136
168
  ```
137
169
 
138
170
  [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 Ruby22
5
- VERSION = "1.0.0".freeze
5
+ VERSION = "1.0.1".freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_2
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
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.68.0
19
+ version: 0.68.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.68.0
26
+ version: 0.68.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -75,10 +75,10 @@ licenses:
75
75
  - MIT
76
76
  metadata:
77
77
  homepage_uri: https://github.com/rubocop-semver/rubocop-ruby2_2
78
- source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/tree/v1.0.0
79
- changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/blob/v1.0.0/CHANGELOG.md
78
+ source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/tree/v1.0.1
79
+ changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/blob/v1.0.1/CHANGELOG.md
80
80
  bug_tracker_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/issues
81
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/1.0.0
81
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/1.0.1
82
82
  wiki_uri: https://github.com/rubocop-semver/rubocop-ruby2_2/wiki
83
83
  rubygems_mfa_required: 'true'
84
84
  post_install_message: