rubocop_plus 2.6.0 → 2.9.0

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: 9c9a1c6966b574e5c3a72c6b74bd80834ead7de48fa82f66c6aa35f2fce35685
4
- data.tar.gz: b4df45db1891c418608fe6dda375f8aa039d62dc759245e1349927970e5b6578
3
+ metadata.gz: 4046ff983aed7f61df829526e3cd33d774c44a28dc29f249284ca3fd96749de7
4
+ data.tar.gz: a2fadb2a74d46421e513cce1be2f2008fd85fb5899ac27a75738c567657e5c93
5
5
  SHA512:
6
- metadata.gz: 25a6375aca381ac1da296c546d2142134ac00930263d83ceeb69f992ec4bda80beb234b8e2263a468e1da80c73f2f189b913ec5aaa91ca5e30929e5fbb909243
7
- data.tar.gz: 06da6d5e5e7a5535cec1f4017c5d8bf78bde2d00e9a2d33bca915087e7aa23bd5650eb09df23e0d03ea2ac9ce78f3429e4afc156f9fbc3089f3aa6f620f954f4
6
+ metadata.gz: 749cf98a1463e7d7b0759c53d43655287a83448b7c2550e11009e3ee0f9d9de5be240bcb45b4ef72d50641a93cfaa2bef2ba7250ae10dcd2130f25ee108e9fa2
7
+ data.tar.gz: 7557413f7a9e4e92af381c8934d494593c294858414512935f68786e74766a356f9998f4554af5f2d437eacb698e410a3e92dd9ccc7e25973ca8f81359672b50
@@ -13,7 +13,7 @@ jobs:
13
13
  runs-on: ubuntu-latest
14
14
  strategy:
15
15
  matrix:
16
- ruby-version: ['2.6', '2.7', '3.0', '3.1']
16
+ ruby-version: ['2.7', '3.0', '3.1']
17
17
  steps:
18
18
  - uses: actions/checkout@v2
19
19
  - name: Set up Ruby
@@ -30,7 +30,7 @@ jobs:
30
30
  runs-on: ubuntu-latest
31
31
  strategy:
32
32
  matrix:
33
- ruby-version: ['2.6']
33
+ ruby-version: ['2.7']
34
34
  steps:
35
35
  - uses: actions/checkout@v2
36
36
  - name: Set up Ruby
data/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  Issues are tracked at https://github.com/roberts1000/rubocop_plus/issues. Issues marked as **(Internal)** only affect development.
4
4
 
5
+ ## 2.9.0 (Aug 28, 2022)
6
+
7
+ 1. [#210](../../issues/210): Use `rubocop-rspec` `2.12.1`.
8
+ 1. [#211](../../issues/211): Use `rubocop` `1.35.1`.
9
+ 1. [#214](../../issues/214): Disable `Layout/LineContinuationLeadingSpace`.
10
+ 1. [#216](../../issues/216): Use `rubocop-performance 1.14.3`.
11
+ 1. [#218](../../issues/218): Use `rubocop-rails 2.15.2`.
12
+
13
+ ## 2.8.0 (May 31, 2022)
14
+
15
+ 1. [#194](../../issues/194): Use `rubocop-rspec` `2.11.1`.
16
+ 1. [#196](../../issues/196): Use `rubocop-rails` `2.14.2`.
17
+ 1. [#198](../../issues/198): Use `rubocop` `1.30.0`.
18
+ 1. [#200](../../issues/200): Remove `RSpec/Capybara` `EnabledMethods` config.
19
+ 1. [#203](../../issues/203): End support for Ruby 2.6.
20
+ 1. [#205](../../issues/205): Use `rubocop-performance` `1.14.0`.
21
+
22
+ ## 2.7.0 (Mar 09, 2022)
23
+
24
+ 1. [#182](../../issues/182): Use `rubocop-performance` `1.13.3`.
25
+ 1. [#184](../../issues/184): Use `rubocop-rails` `2.13.2`.
26
+ 1. [#186](../../issues/186): Use `rubocop-rspec` `2.9.0`.
27
+ 1. [#188](../../issues/188): Use `rspec` `~> 3.11.0`. **(Internal)**
28
+ 1. [#190](../../issues/190): Use `rubocop` `1.26.0`.
29
+
5
30
  ## 2.6.0 (Jan 09, 2022)
6
31
 
7
32
  1. [#170](../../issues/170): Use `rubocop-rspec` `2.7.0`.
data/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
 
12
12
  ## Supported Ruby Versions
13
13
 
14
- Ruby 2.6.0+ is supported.
14
+ Ruby 2.7.0+ is supported.
15
15
 
16
16
  ## Installation
17
17
 
@@ -11,6 +11,14 @@
11
11
  Layout/ArgumentAlignment:
12
12
  EnforcedStyle: with_fixed_indentation # with_first_parameter is the default
13
13
 
14
+ # Layout/LineContinuationLeadingSpace
15
+ # From the RuboCop docs (https://docs.rubocop.org/rubocop/cops_layout.html#layoutlinecontinuationleadingspace):
16
+ # Checks that strings broken over multiple lines (by a backslash) contain trailing spaces
17
+ # instead of leading spaces (default) or leading spaces instead of trailing spaces."
18
+ # Disable the cop since there are many situations where it's useful to maintain the leading spaces.
19
+ Layout/LineContinuationLeadingSpace:
20
+ Enabled: false
21
+
14
22
  # Layout/AlignParameters checks alignment of parameters in multi-line method calls. rubocop defaults to `with_first_parameter`
15
23
  # which expects:
16
24
  #
@@ -1,10 +1,3 @@
1
- # Blocks the use of Capybara style methods like `feature`, `scenario, `given`, etc... Allow the use of some of these methods.
2
- # https://github.com/rubocop-hq/rubocop-rspec/blob/v1.37.1/lib/rubocop/cop/rspec/capybara/feature_methods.rb
3
- RSpec/Capybara:
4
- EnabledMethods:
5
- - feature
6
- - scenario
7
-
8
1
  # Checks if the first element of a describe block is a class and if described_class is used in examples. Prefer the flexibility
9
2
  # of using strings with `describe` and putting the described class directly in an example.
10
3
  # https://github.com/rubocop-hq/rubocop-rspec/blob/v1.37.1/lib/rubocop/cop/rspec/described_class.rb
@@ -1,4 +1,4 @@
1
1
  module RubocopPlus
2
- VERSION = "2.6.0".freeze
3
- RUBOCOP_VERSION = '1.24.1'.freeze
2
+ VERSION = "2.9.0".freeze
3
+ RUBOCOP_VERSION = '1.35.1'.freeze
4
4
  end
data/rubocop_plus.gemspec CHANGED
@@ -20,17 +20,17 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.required_ruby_version = ">= 2.6.0"
23
+ spec.required_ruby_version = ">= 2.7.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
26
  spec.add_development_dependency "pry", "~> 0.14.1"
27
27
  spec.add_development_dependency "rake", "~> 13.0"
28
- spec.add_development_dependency "rspec", "~> 3.10.0"
28
+ spec.add_development_dependency "rspec", "~> 3.11.0"
29
29
 
30
30
  spec.add_dependency "cri", "~> 2.0"
31
31
  spec.add_dependency "rubocop", RubocopPlus::RUBOCOP_VERSION.to_s
32
- spec.add_dependency "rubocop-performance", "1.13.1"
33
- spec.add_dependency "rubocop-rails", "2.13.0"
32
+ spec.add_dependency "rubocop-performance", "1.14.3"
33
+ spec.add_dependency "rubocop-rails", "2.15.2"
34
34
  spec.add_dependency "rubocop-rake", "0.6.0"
35
- spec.add_dependency "rubocop-rspec", "2.7.0"
35
+ spec.add_dependency "rubocop-rspec", "2.12.1"
36
36
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_plus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - roberts1000
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-09 00:00:00.000000000 Z
11
+ date: 2022-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 3.10.0
61
+ version: 3.11.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 3.10.0
68
+ version: 3.11.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: cri
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,42 +86,42 @@ dependencies:
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 1.24.1
89
+ version: 1.35.1
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 1.24.1
96
+ version: 1.35.1
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop-performance
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 1.13.1
103
+ version: 1.14.3
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 1.13.1
110
+ version: 1.14.3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 2.13.0
117
+ version: 2.15.2
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 2.13.0
124
+ version: 2.15.2
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop-rake
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 2.7.0
145
+ version: 2.12.1
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 2.7.0
152
+ version: 2.12.1
153
153
  description: Enhancements to the standard rubocop gem.
154
154
  email:
155
155
  - roberts@corlewsolutions.com
@@ -207,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  requirements:
208
208
  - - ">="
209
209
  - !ruby/object:Gem::Version
210
- version: 2.6.0
210
+ version: 2.7.0
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  requirements: []
217
- rubygems_version: 3.3.4
217
+ rubygems_version: 3.3.20
218
218
  signing_key:
219
219
  specification_version: 4
220
220
  summary: Enhancements to the standard rubocop gem.