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
@@ -0,0 +1,43 @@
|
|
1
|
+
# Customizations/Deviations from Standard/Shopify for Ruby Coding Standards
|
2
|
+
|
3
|
+
# We want Exclude directives from different
|
4
|
+
# config files to get merged, not overwritten
|
5
|
+
inherit_mode:
|
6
|
+
merge:
|
7
|
+
- Exclude
|
8
|
+
|
9
|
+
require:
|
10
|
+
# Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
|
11
|
+
- standard-rubocop-lts
|
12
|
+
# The goal here is convention over configuration...
|
13
|
+
# In light of that, we are well past having convened on Markdown for README docs and such.
|
14
|
+
- rubocop-md
|
15
|
+
# Rubygems have Rakefile as a convention, and if they don't, why not?
|
16
|
+
- rubocop-rake
|
17
|
+
# In the vast majority of cases, we will want to be warned about thread unsafe code.
|
18
|
+
# In those cases where we intentionally have thread unsafe code,
|
19
|
+
# a rubocop:disable is the least of our concerns. :D
|
20
|
+
- rubocop-thread_safety
|
21
|
+
# RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
|
22
|
+
- rubocop/gradual/patch
|
23
|
+
|
24
|
+
inherit_gem:
|
25
|
+
standard-rubocop-lts: config/ruby-2.0.yml
|
26
|
+
# shopify rules will override standard's rules.
|
27
|
+
rubocop-shopify: rubocop.yml
|
28
|
+
|
29
|
+
inherit_from:
|
30
|
+
- strict/ruby.yml
|
31
|
+
|
32
|
+
AllCops:
|
33
|
+
# When the Ruby community, via RuboCop, adopts a new standard
|
34
|
+
# (with additional filtering by standard.rb and rubocop-shopify) it is good enough for us!
|
35
|
+
NewCops: enable
|
36
|
+
|
37
|
+
# Metrics cops are disabled in Standard by default
|
38
|
+
Metrics:
|
39
|
+
Enabled: true
|
40
|
+
|
41
|
+
# Ruby specific customizations
|
42
|
+
Layout/LineLength:
|
43
|
+
Max: 120
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# These Cops Must Always Be Enabled!
|
2
|
+
# These Cops check for things that are *literally* bugs,
|
3
|
+
# and no code should ever be released that fails these cops.
|
4
|
+
#
|
5
|
+
# The Exclude: [] is crucial here:
|
6
|
+
# even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
|
7
|
+
# thus, re-activating these cops for all the files.
|
8
|
+
#
|
9
|
+
# These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
|
10
|
+
# Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
|
11
|
+
#
|
12
|
+
Rails/Output: # Don't leave puts-debugging
|
13
|
+
Enabled: true
|
14
|
+
Exclude: []
|
15
|
+
|
16
|
+
Rails/FindEach: # each could severely affect the performance, use find_each
|
17
|
+
Enabled: true
|
18
|
+
Exclude: []
|
19
|
+
|
20
|
+
Rails/UniqBeforePluck: # uniq.pluck and not pluck.uniq
|
21
|
+
Enabled: true
|
22
|
+
Exclude: []
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# These Cops Must Always Be Enabled!
|
2
|
+
# These Cops check for things that are *literally* bugs,
|
3
|
+
# and no code should ever be released that fails these cops.
|
4
|
+
#
|
5
|
+
# The Exclude: [] is crucial here:
|
6
|
+
# even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
|
7
|
+
# thus, re-activating these cops for all the files.
|
8
|
+
#
|
9
|
+
# These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
|
10
|
+
# Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
|
11
|
+
#
|
12
|
+
RSpec/Focus: # run ALL tests on CI
|
13
|
+
Enabled: true
|
14
|
+
Exclude: []
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# These Cops Must Always Be Enabled!
|
2
|
+
# These Cops check for things that are *literally* bugs,
|
3
|
+
# and no code should ever be released that fails these cops.
|
4
|
+
#
|
5
|
+
# The Exclude: [] is crucial here:
|
6
|
+
# even if our .rubocop_todo.yml contained exclusions for strict cops, we nullify them here,
|
7
|
+
# thus, re-activating these cops for all the files.
|
8
|
+
#
|
9
|
+
# These settings must be loaded after any files of "TODOs" that instruct RuboCop to ignore errors.
|
10
|
+
# Fortunately this project doesn't rely on TODOs, instead relying on a rubocop_gradual lockfile.
|
11
|
+
#
|
12
|
+
Lint/Debugger: # don't leave binding.pry
|
13
|
+
Enabled: true
|
14
|
+
Exclude: []
|
data/rubocop.yml
CHANGED
@@ -1,11 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Change the file you inherit if you:
|
2
|
+
# * use Rails,
|
3
|
+
# * are creating a RubyGem, or
|
4
|
+
# * don't use RSpec
|
5
|
+
# As follows:
|
6
|
+
# inherit_gem:
|
7
|
+
# # Pick one:
|
8
|
+
# # rubocop-ruby2_0: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
|
9
|
+
# # rubocop-ruby2_0: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
|
10
|
+
# # rubocop-ruby2_0: rubocop-lts/rubygem_rspec.yml # or rubocop-lts/rubygem.yml w/o rspec
|
11
|
+
# # Convention over configuration, hence loading this file just only Ruby and RSpec defaults:
|
12
|
+
# rubocop-ruby2_0: rubocop.yml # for the ruby + rspec
|
3
13
|
|
4
|
-
|
5
|
-
|
6
|
-
# See:
|
7
|
-
# * https://github.com/rubocop/rubocop/issues/7641
|
8
|
-
# * https://github.com/rubocop/rubocop/pull/7643
|
9
|
-
Style/BracesAroundHashParameters:
|
10
|
-
Enabled: true
|
11
|
-
EnforcedStyle: context_dependent
|
14
|
+
inherit_from:
|
15
|
+
- rubocop-lts/ruby_rspec.yml
|
data/sig/rubocop/ruby2_0.rbs
CHANGED
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,58 +1,210 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-ruby2_0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
|
16
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
|
18
|
+
8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
|
19
|
+
0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
|
20
|
+
LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
|
21
|
+
O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
|
22
|
+
3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
|
23
|
+
emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
|
24
|
+
CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
|
25
|
+
srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
|
27
|
+
lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
28
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
29
|
+
ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
+
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
+
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
+
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
+
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
+
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
+
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
+
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
+
4/bR9A==
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2023-05-21 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
|
-
name: rubocop
|
42
|
+
name: rubocop-gradual
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
|
-
- -
|
45
|
+
- - "~>"
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
47
|
+
version: '0.3'
|
20
48
|
type: :runtime
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
|
-
- -
|
52
|
+
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
54
|
+
version: '0.3'
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
56
|
+
name: rubocop-md
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.2'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.2'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.6'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.6'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rubocop-shopify
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.13'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '2.13'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop-thread_safety
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.5'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.5'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: standard-rubocop-lts
|
29
113
|
requirement: !ruby/object:Gem::Requirement
|
30
114
|
requirements:
|
31
115
|
- - ">="
|
32
116
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
|
117
|
+
version: 1.0.1
|
118
|
+
- - "<"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '2'
|
121
|
+
type: :runtime
|
35
122
|
prerelease: false
|
36
123
|
version_requirements: !ruby/object:Gem::Requirement
|
37
124
|
requirements:
|
38
125
|
- - ">="
|
39
126
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
127
|
+
version: 1.0.1
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '2'
|
41
131
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
132
|
+
name: version_gem
|
43
133
|
requirement: !ruby/object:Gem::Requirement
|
44
134
|
requirements:
|
45
135
|
- - ">="
|
46
136
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
48
|
-
|
137
|
+
version: 1.1.2
|
138
|
+
- - "<"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '3'
|
141
|
+
type: :runtime
|
49
142
|
prerelease: false
|
50
143
|
version_requirements: !ruby/object:Gem::Requirement
|
51
144
|
requirements:
|
52
145
|
- - ">="
|
53
146
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
147
|
+
version: 1.1.2
|
148
|
+
- - "<"
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: '3'
|
151
|
+
- !ruby/object:Gem::Dependency
|
152
|
+
name: rubocop-packaging
|
153
|
+
requirement: !ruby/object:Gem::Requirement
|
154
|
+
requirements:
|
155
|
+
- - "~>"
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0.5'
|
158
|
+
type: :development
|
159
|
+
prerelease: false
|
160
|
+
version_requirements: !ruby/object:Gem::Requirement
|
161
|
+
requirements:
|
162
|
+
- - "~>"
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '0.5'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: rubocop-rspec
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '2.22'
|
172
|
+
type: :development
|
173
|
+
prerelease: false
|
174
|
+
version_requirements: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - "~>"
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '2.22'
|
179
|
+
- !ruby/object:Gem::Dependency
|
180
|
+
name: standard-rails
|
181
|
+
requirement: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '0.1'
|
186
|
+
type: :development
|
187
|
+
prerelease: false
|
188
|
+
version_requirements: !ruby/object:Gem::Requirement
|
189
|
+
requirements:
|
190
|
+
- - "~>"
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0.1'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: betterlint
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '1.4'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '1.4'
|
207
|
+
description: Configure RuboCop + a bevy of friends to gradually lint Ruby 2.0 code
|
56
208
|
email:
|
57
209
|
- peter.boling@gmail.com
|
58
210
|
executables: []
|
@@ -66,24 +218,35 @@ files:
|
|
66
218
|
- README.md
|
67
219
|
- SECURITY.md
|
68
220
|
- lib/rubocop/ruby2_0.rb
|
221
|
+
- lib/rubocop/ruby2_0/railtie.rb
|
222
|
+
- lib/rubocop/ruby2_0/rakelib/rubocop_gradual.rake
|
223
|
+
- lib/rubocop/ruby2_0/tasks.rake
|
69
224
|
- lib/rubocop/ruby2_0/version.rb
|
225
|
+
- rubocop-lts/rails.yml
|
226
|
+
- rubocop-lts/rails_rspec.yml
|
227
|
+
- rubocop-lts/rspec.yml
|
228
|
+
- rubocop-lts/ruby.yml
|
229
|
+
- rubocop-lts/ruby_rspec.yml
|
230
|
+
- rubocop-lts/rubygem.yml
|
231
|
+
- rubocop-lts/rubygem_rspec.yml
|
232
|
+
- rubocop-lts/strict/rails.yml
|
233
|
+
- rubocop-lts/strict/rspec.yml
|
234
|
+
- rubocop-lts/strict/ruby.yml
|
70
235
|
- rubocop.yml
|
71
236
|
- sig/rubocop/ruby2_0.rbs
|
72
|
-
- spec/config/rspec/rspec_core.rb
|
73
|
-
- spec/rubocop/ruby2_0_spec.rb
|
74
|
-
- spec/spec_helper.rb
|
75
237
|
homepage: https://github.com/rubocop-lts/rubocop-ruby2_0
|
76
238
|
licenses:
|
77
239
|
- MIT
|
78
240
|
metadata:
|
79
241
|
homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_0
|
80
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/tree/
|
81
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/
|
242
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/tree/v2.0.2
|
243
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/v2.0.2/CHANGELOG.md
|
82
244
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
|
83
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_0/
|
245
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_0/2.0.2
|
246
|
+
funding_uri: https://liberapay.com/pboling
|
84
247
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_0/wiki
|
85
248
|
rubygems_mfa_required: 'true'
|
86
|
-
post_install_message:
|
249
|
+
post_install_message:
|
87
250
|
rdoc_options: []
|
88
251
|
require_paths:
|
89
252
|
- lib
|
@@ -91,18 +254,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
254
|
requirements:
|
92
255
|
- - ">="
|
93
256
|
- !ruby/object:Gem::Version
|
94
|
-
version: 2.
|
257
|
+
version: '2.7'
|
95
258
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
259
|
requirements:
|
97
260
|
- - ">="
|
98
261
|
- !ruby/object:Gem::Version
|
99
262
|
version: '0'
|
100
263
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
102
|
-
signing_key:
|
264
|
+
rubygems_version: 3.4.13
|
265
|
+
signing_key:
|
103
266
|
specification_version: 4
|
104
|
-
summary:
|
105
|
-
test_files:
|
106
|
-
- spec/spec_helper.rb
|
107
|
-
- spec/config/rspec/rspec_core.rb
|
108
|
-
- spec/rubocop/ruby2_0_spec.rb
|
267
|
+
summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
|
268
|
+
test_files: []
|
metadata.gz.sig
ADDED
@@ -1,13 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
RSpec.configure do |config|
|
4
|
-
# Enable flags like --only-failures and --next-failure
|
5
|
-
config.example_status_persistence_file_path = ".rspec_status"
|
6
|
-
|
7
|
-
# Disable RSpec exposing methods globally on `Module` and `main`
|
8
|
-
config.disable_monkey_patching!
|
9
|
-
|
10
|
-
config.expect_with :rspec do |c|
|
11
|
-
c.syntax = :expect
|
12
|
-
end
|
13
|
-
end
|