rubocop-ruby1_9 1.0.5 → 2.0.3

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.
@@ -1,10 +1,23 @@
1
- # encoding: utf-8
2
1
  # frozen_string_literal: true
3
2
 
4
- require "rubocop/ruby1_9/version"
3
+ # external libs
4
+ require "version_gem"
5
+
6
+ # this gem
7
+ require_relative "ruby1_9/version"
8
+ # :nocov:
9
+ require_relative "ruby1_9/railtie" if defined?(Rails::Railtie)
10
+ # :nocov:
5
11
 
6
12
  module Rubocop
7
13
  # Namespace of this library
8
14
  module Ruby19
15
+ module_function def install_tasks
16
+ load "rubocop/ruby1_9/tasks.rake"
17
+ end
9
18
  end
10
19
  end
20
+
21
+ Rubocop::Ruby19::Version.class_eval do
22
+ extend VersionGem::Basic
23
+ end
@@ -0,0 +1,11 @@
1
+ # Customizations/Deviations from Standard/Shopify for RuboCop-LTS Rails Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+ - strict/rails.yml
5
+
6
+ require:
7
+ - rubocop-rails
8
+ - standard-rails
9
+ - betterlint
10
+
11
+ # Rails specific customizations
@@ -0,0 +1,6 @@
1
+ # Customizations/Deviations from Standard/Shopify for RuboCop-LTS Rails w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - rails.yml
4
+ - rspec.yml
5
+
6
+ # Rails/RSpec specific customizations
@@ -0,0 +1,9 @@
1
+ require:
2
+ # I setup RSpec on every project. Do you?
3
+ - rubocop-rspec
4
+
5
+ inherit_gem:
6
+ rspec-block_is_expected: rubocop.yml
7
+
8
+ inherit_from:
9
+ - strict/rspec.yml
@@ -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-1.9.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,6 @@
1
+ # Customizations/Deviations from Standard/Shopify for RuboCop-LTS Ruby w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+ - rspec.yml
5
+
6
+ # Ruby/RSpec specific customizations
@@ -0,0 +1,6 @@
1
+ # Customizations/Deviations from Standard/Shopify for RubyGem Coding Standards
2
+ inherit_from:
3
+ - ruby.yml
4
+
5
+ require:
6
+ - rubocop-packaging
@@ -0,0 +1,4 @@
1
+ # Customizations/Deviations from Standard/Shopify for RubyGem w/ RSpec Coding Standards
2
+ inherit_from:
3
+ - rubygem.yml
4
+ - rspec.yml
@@ -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,16 +1,15 @@
1
- # Removed as of 0.80.0
2
- # braces setting is for compatibility with Ruby 2.7+
3
- # See:
4
- # * https://github.com/rubocop/rubocop/issues/7641
5
- # * https://github.com/rubocop/rubocop/pull/7643
6
- Style/BracesAroundHashParameters:
7
- Enabled: true
8
- EnforcedStyle: context_dependent
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-ruby1_9: rubocop-lts/rails_rspec.yml # or rubocop-lts/rails.yml w/o rspec
9
+ # # rubocop-ruby1_9: rubocop-lts/ruby_rspec.yml # or rubocop-lts/ruby.yml w/o rspec
10
+ # # rubocop-ruby1_9: 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-ruby1_9: rubocop.yml # for the ruby + rspec
9
13
 
10
- # The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
11
- # Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
12
- # See:
13
- # * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
14
- Style/Encoding:
15
- Enabled: true
16
- EnforcedStyle: always
14
+ inherit_from:
15
+ - rubocop-lts/ruby_rspec.yml
@@ -1,6 +1,8 @@
1
1
  module Rubocop
2
2
  module Ruby19
3
- VERSION: String
4
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
3
+ module Version
4
+ VERSION: String
5
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
+ end
5
7
  end
6
8
  end
data.tar.gz.sig ADDED
@@ -0,0 +1,4 @@
1
+ OI���;3ٽt�P�ZЕ�#;q3P#N�O;RƎ�d�
2
+ |^*6 ��>sq��K4׋�p(��VP��wM)�'gv���h%��I89�l`4s!Mل���D��5��Ӽ,Ir�Q� 9�G?�� &_g�����PI7K���;���
3
+ ���%�ƒ��}A״�O�@���2�X�O\"���Oy�N��̦ώjt�%`.��ғ,l��!Ϳ��g)^���M�\3\5#"� ����
4
+ ��8������ c�5���Ak��wm>��ܗ)v���Au1>1��pO�H�ζ��t�P��h�U�rP���@|G�Q�|�\�4�� v朤8�\ʜ��fPr��A�=�Mrw�` �3��~���~�o3���wb��sLq
metadata CHANGED
@@ -1,44 +1,210 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby1_9
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
- cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
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.41.2
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.41.2
54
+ version: '0.3'
27
55
  - !ruby/object:Gem::Dependency
28
- name: parser
56
+ name: rubocop-md
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
- - - '='
59
+ - - "~>"
32
60
  - !ruby/object:Gem::Version
33
- version: 2.4.0.2
61
+ version: '1.2'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - '='
66
+ - - "~>"
39
67
  - !ruby/object:Gem::Version
40
- version: 2.4.0.2
41
- description: Links dependency on minimum Ruby version to maximum RuboCop 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
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 1.0.1
118
+ - - "<"
119
+ - !ruby/object:Gem::Version
120
+ version: '2'
121
+ type: :runtime
122
+ prerelease: false
123
+ version_requirements: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: 1.0.1
128
+ - - "<"
129
+ - !ruby/object:Gem::Version
130
+ version: '2'
131
+ - !ruby/object:Gem::Dependency
132
+ name: version_gem
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 1.1.2
138
+ - - "<"
139
+ - !ruby/object:Gem::Version
140
+ version: '3'
141
+ type: :runtime
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
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 1.9 code
42
208
  email:
43
209
  - peter.boling@gmail.com
44
210
  executables: []
@@ -52,25 +218,35 @@ files:
52
218
  - README.md
53
219
  - SECURITY.md
54
220
  - lib/rubocop/ruby1_9.rb
221
+ - lib/rubocop/ruby1_9/railtie.rb
222
+ - lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake
223
+ - lib/rubocop/ruby1_9/tasks.rake
55
224
  - lib/rubocop/ruby1_9/version.rb
56
- - rubocop-ruby1_8.yml
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
57
235
  - rubocop.yml
58
236
  - sig/rubocop/ruby1_9.rbs
59
- - spec/config/rspec/rspec_core.rb
60
- - spec/rubocop/ruby1_9_spec.rb
61
- - spec/spec_helper.rb
62
237
  homepage: https://github.com/rubocop-lts/rubocop-ruby1_9
63
238
  licenses:
64
239
  - MIT
65
240
  metadata:
66
241
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby1_9
67
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v1.0.5
68
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v1.0.5/CHANGELOG.md
242
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v2.0.3
243
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v2.0.3/CHANGELOG.md
69
244
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
70
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/1.0.5
245
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/2.0.3
246
+ funding_uri: https://liberapay.com/pboling
71
247
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/wiki
72
248
  rubygems_mfa_required: 'true'
73
- post_install_message:
249
+ post_install_message:
74
250
  rdoc_options: []
75
251
  require_paths:
76
252
  - lib
@@ -78,18 +254,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
254
  requirements:
79
255
  - - ">="
80
256
  - !ruby/object:Gem::Version
81
- version: 1.9.0
257
+ version: '2.7'
82
258
  required_rubygems_version: !ruby/object:Gem::Requirement
83
259
  requirements:
84
260
  - - ">="
85
261
  - !ruby/object:Gem::Version
86
262
  version: '0'
87
263
  requirements: []
88
- rubygems_version: 3.3.14
89
- signing_key:
264
+ rubygems_version: 3.4.13
265
+ signing_key:
90
266
  specification_version: 4
91
- summary: Semantically Versioned RuboCop Dependency
92
- test_files:
93
- - spec/spec_helper.rb
94
- - spec/config/rspec/rspec_core.rb
95
- - spec/rubocop/ruby1_9_spec.rb
267
+ summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
268
+ test_files: []
metadata.gz.sig ADDED
Binary file
data/rubocop-ruby1_8.yml DELETED
@@ -1,34 +0,0 @@
1
- inherit_gem:
2
- rubocop-ruby1_9: rubocop.yml
3
-
4
- ###################################################################
5
- # Rules that allow preservation of ruby 1.8.7 / ree compatibility #
6
- ###################################################################
7
-
8
- Style/Documentation:
9
- Enabled: false
10
-
11
- # Ruby 1.8.7 needs the . on chain of method calls at the end of a line
12
- Style/DotPosition:
13
- EnforcedStyle: trailing
14
-
15
- Style/FrozenStringLiteralComment:
16
- Enabled: true
17
-
18
- # Ruby 1.8.7 doesn't have 1.9 style hash syntax
19
- Style/HashSyntax:
20
- EnforcedStyle: hash_rockets
21
-
22
- # Ruby 1.8.7 doesn't have the -> lambda
23
- Style/Lambda:
24
- Enabled: false
25
-
26
- Style/PercentLiteralDelimiters:
27
- Enabled: false
28
-
29
- Style/SymbolArray:
30
- EnforcedStyle: brackets
31
-
32
- Style/WordArray:
33
- EnforcedStyle: brackets
34
-
@@ -1,14 +0,0 @@
1
- # encoding: utf-8
2
- # frozen_string_literal: true
3
-
4
- RSpec.configure do |config|
5
- # Enable flags like --only-failures and --next-failure
6
- config.example_status_persistence_file_path = ".rspec_status"
7
-
8
- # Disable RSpec exposing methods globally on `Module` and `main`
9
- config.disable_monkey_patching!
10
-
11
- config.expect_with :rspec do |c|
12
- c.syntax = :expect
13
- end
14
- end
@@ -1,8 +0,0 @@
1
- # encoding: utf-8
2
- # frozen_string_literal: true
3
-
4
- RSpec.describe Rubocop::Ruby19 do
5
- it "has a version number" do
6
- expect(Rubocop::Ruby19::VERSION).not_to be nil
7
- end
8
- end
data/spec/spec_helper.rb DELETED
@@ -1,8 +0,0 @@
1
- # encoding: utf-8
2
- # frozen_string_literal: true
3
-
4
- # This gem
5
- require "rubocop/ruby1_9"
6
-
7
- # RSpec Configs
8
- require "config/rspec/rspec_core"