ws-style 6.6.3 → 6.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/pipeline.yml +7 -4
- data/.gitignore +0 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +25 -0
- data/Gemfile.lock +100 -0
- data/README.md +3 -2
- data/Rakefile +27 -1
- data/bin/rake +29 -0
- data/bin/rspec +29 -0
- data/bin/rubocop +29 -0
- data/core.yml +121 -1
- data/lib/ws/style/version.rb +1 -1
- data/rails.yml +7 -0
- data/ws-style.gemspec +9 -7
- metadata +50 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1534b8c72fed6c2716b540649f4545d259d2303d0a2856b627164a987d41c689
|
4
|
+
data.tar.gz: 1322e12769f39ef63f623dbf27034562a4b066862dca6e1425dbdf74eeb2e76e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f99397106605ef6dff276d0fe650b9fb3bd5a9edd32dd5823919033a847c975b6df5500f6dca9ee9b339e660ae78f926e696f684d7e3e07d789f9265937b95f6
|
7
|
+
data.tar.gz: 176c0bcca798e5944a109b1b2b1597933cf4d1dc6ee930be52c8c4fc7945f705590f079078e2417c7b869e507375c745ad9415087e572dfc30080578901acd5c
|
@@ -12,15 +12,18 @@ jobs:
|
|
12
12
|
ref: ${{ github.event.pull_request.head.sha }}
|
13
13
|
- uses: ruby/setup-ruby@v1
|
14
14
|
with:
|
15
|
-
ruby-version: 2.5.8
|
16
15
|
bundler-cache: true
|
16
|
+
- name: Fetch main branch
|
17
|
+
run: git fetch origin main
|
17
18
|
- uses: r7kamura/rubocop-problem-matchers-action@v1
|
18
|
-
-
|
19
|
-
|
19
|
+
- uses: wealthsimple/toolbox-script@main
|
20
|
+
name: RuboCop
|
21
|
+
with:
|
22
|
+
script: toolbox.ruby.lint.run()
|
20
23
|
- name: Run rspec
|
21
24
|
run: bundle exec rspec
|
22
25
|
- name: Release the gem
|
23
|
-
if: ${{ github.ref == 'refs/heads/main'
|
26
|
+
if: ${{ github.ref == 'refs/heads/main' }}
|
24
27
|
run: |
|
25
28
|
mkdir -p ~/.gem
|
26
29
|
cat << EOF > ~/.gem/credentials
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.2
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,31 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## 6.9.1 - 2021-05-06
|
8
|
+
- Migrate CI from CircleCI to GitHub Actions
|
9
|
+
- Change default GitHub branch to `main`
|
10
|
+
|
11
|
+
## 6.9.0 - 2021-04-06
|
12
|
+
- Upgraded rubocop to 1.12.1
|
13
|
+
- Upgraded rubocop-performance to 1.10.2
|
14
|
+
- Upgraded rubocop-vendor to 0.6.0
|
15
|
+
|
16
|
+
## 6.8.9 - 2021-04-02
|
17
|
+
- Set minimum required ruby version to 2.7.2
|
18
|
+
|
19
|
+
## 6.7.2 - 2021-03-15
|
20
|
+
- Increase Metrics/MethodLength to 25 (1/6 of class length).
|
21
|
+
|
22
|
+
## 6.7.1 - 2021-03-09
|
23
|
+
- Disable Lint/EmptyBlock
|
24
|
+
|
25
|
+
## 6.7.0 - 2021-03-05
|
26
|
+
- Upgraded rubocop to 1.11.0
|
27
|
+
- Upgraded rubocop-performance to 1.10.1
|
28
|
+
- Upgraded rubocop-rails to 2.9.1
|
29
|
+
- Upgraded rubocop-rspec to 2.2.0
|
30
|
+
- Upgraded rubocop-vendor to 0.5.0
|
31
|
+
|
7
32
|
## 6.6.3 - 2021-03-01
|
8
33
|
- One more version bump to get it published
|
9
34
|
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
ws-style (6.9.1)
|
5
|
+
rubocop (>= 1.12.1)
|
6
|
+
rubocop-performance (>= 1.10.2)
|
7
|
+
rubocop-rails (>= 2.9.1)
|
8
|
+
rubocop-rspec (>= 2.2.0)
|
9
|
+
rubocop-vendor (>= 0.6.0)
|
10
|
+
|
11
|
+
GEM
|
12
|
+
remote: https://rubygems.org/
|
13
|
+
specs:
|
14
|
+
activesupport (6.1.3.2)
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
|
+
i18n (>= 1.6, < 2)
|
17
|
+
minitest (>= 5.1)
|
18
|
+
tzinfo (~> 2.0)
|
19
|
+
zeitwerk (~> 2.3)
|
20
|
+
ast (2.4.2)
|
21
|
+
bundler-audit (0.7.0.1)
|
22
|
+
bundler (>= 1.2.0, < 3)
|
23
|
+
thor (>= 0.18, < 2)
|
24
|
+
concurrent-ruby (1.1.8)
|
25
|
+
diff-lcs (1.4.4)
|
26
|
+
git (1.8.1)
|
27
|
+
rchardet (~> 1.8)
|
28
|
+
i18n (1.8.10)
|
29
|
+
concurrent-ruby (~> 1.0)
|
30
|
+
json (2.5.1)
|
31
|
+
keepachangelog (0.6.1)
|
32
|
+
json (~> 2.1)
|
33
|
+
thor (~> 0.20)
|
34
|
+
minitest (5.14.4)
|
35
|
+
parallel (1.20.1)
|
36
|
+
parser (3.0.1.1)
|
37
|
+
ast (~> 2.4.1)
|
38
|
+
rack (2.2.3)
|
39
|
+
rainbow (3.0.0)
|
40
|
+
rake (13.0.3)
|
41
|
+
rchardet (1.8.0)
|
42
|
+
regexp_parser (2.1.1)
|
43
|
+
rexml (3.2.5)
|
44
|
+
rspec (3.10.0)
|
45
|
+
rspec-core (~> 3.10.0)
|
46
|
+
rspec-expectations (~> 3.10.0)
|
47
|
+
rspec-mocks (~> 3.10.0)
|
48
|
+
rspec-core (3.10.1)
|
49
|
+
rspec-support (~> 3.10.0)
|
50
|
+
rspec-expectations (3.10.1)
|
51
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
+
rspec-support (~> 3.10.0)
|
53
|
+
rspec-mocks (3.10.2)
|
54
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
+
rspec-support (~> 3.10.0)
|
56
|
+
rspec-support (3.10.2)
|
57
|
+
rubocop (1.14.0)
|
58
|
+
parallel (~> 1.10)
|
59
|
+
parser (>= 3.0.0.0)
|
60
|
+
rainbow (>= 2.2.2, < 4.0)
|
61
|
+
regexp_parser (>= 1.8, < 3.0)
|
62
|
+
rexml
|
63
|
+
rubocop-ast (>= 1.5.0, < 2.0)
|
64
|
+
ruby-progressbar (~> 1.7)
|
65
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
66
|
+
rubocop-ast (1.5.0)
|
67
|
+
parser (>= 3.0.1.1)
|
68
|
+
rubocop-performance (1.11.3)
|
69
|
+
rubocop (>= 1.7.0, < 2.0)
|
70
|
+
rubocop-ast (>= 0.4.0)
|
71
|
+
rubocop-rails (2.10.1)
|
72
|
+
activesupport (>= 4.2.0)
|
73
|
+
rack (>= 1.1)
|
74
|
+
rubocop (>= 1.7.0, < 2.0)
|
75
|
+
rubocop-rspec (2.3.0)
|
76
|
+
rubocop (~> 1.0)
|
77
|
+
rubocop-ast (>= 1.1.0)
|
78
|
+
rubocop-vendor (0.6.0)
|
79
|
+
rubocop (>= 0.53.0)
|
80
|
+
ruby-progressbar (1.11.0)
|
81
|
+
thor (0.20.3)
|
82
|
+
tzinfo (2.0.4)
|
83
|
+
concurrent-ruby (~> 1.0)
|
84
|
+
unicode-display_width (2.0.0)
|
85
|
+
zeitwerk (2.4.2)
|
86
|
+
|
87
|
+
PLATFORMS
|
88
|
+
ruby
|
89
|
+
|
90
|
+
DEPENDENCIES
|
91
|
+
bundler
|
92
|
+
bundler-audit
|
93
|
+
git
|
94
|
+
keepachangelog
|
95
|
+
rake
|
96
|
+
rspec (~> 3.10.0)
|
97
|
+
ws-style!
|
98
|
+
|
99
|
+
BUNDLED WITH
|
100
|
+
2.2.16
|
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# ws-style
|
1
|
+
# ws-style
|
2
|
+
[![Github Actions Badge](https://github.com/wealthsimple/ws-style/actions/workflows/pipeline.yml/badge.svg)](https://github.com/wealthsimple/ws-style/actions)
|
2
3
|
|
3
4
|
Shared [rubocop](https://github.com/bbatsov/rubocop) config to enforce Ruby style consistently across Wealthsimple libraries and services.
|
4
5
|
|
@@ -73,4 +74,4 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
|
73
74
|
|
74
75
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
75
76
|
|
76
|
-
New versions are automatically released by CI when merged to `
|
77
|
+
New versions are automatically released by CI when merged to `main`.
|
data/Rakefile
CHANGED
@@ -12,15 +12,19 @@ task default: :spec
|
|
12
12
|
desc 'Print out comments that can be used for a GitHub cop election'
|
13
13
|
task :election do
|
14
14
|
configuration_path = File.expand_path('default.yml', File.dirname(__FILE__))
|
15
|
-
RuboCop::ConfigLoader.load_file(configuration_path)
|
15
|
+
configuration = RuboCop::ConfigLoader.load_file(configuration_path)
|
16
|
+
RuboCop::ConfigLoader.default_configuration.pending_cops.each do |pending_cop|
|
16
17
|
base_urls = {
|
17
18
|
'layout' => 'https://docs.rubocop.org/rubocop/cops_layout.html#layout',
|
19
|
+
'gemspec' => 'https://docs.rubocop.org/rubocop/cops_gemspec.html#gemspec',
|
18
20
|
'lint' => 'https://docs.rubocop.org/rubocop/cops_lint.html#lint',
|
19
21
|
'style' => 'https://docs.rubocop.org/rubocop/cops_style.html#style',
|
20
22
|
'performance' => 'https://docs.rubocop.org/rubocop-performance/cops_performance.html#performance',
|
21
23
|
'rails' => 'https://docs.rubocop.org/rubocop-rails/cops_rails.html#rails',
|
22
24
|
'rspec' => 'https://docs.rubocop.org/rubocop-rspec/cops_rspec.html#rspec',
|
23
25
|
}
|
26
|
+
next if configuration.key?(pending_cop.name)
|
27
|
+
|
24
28
|
department, anchor = pending_cop.name.downcase.split('/')
|
25
29
|
puts <<~COMMENT
|
26
30
|
[**#{pending_cop.name}**](#{base_urls.fetch(department)}#{anchor})
|
@@ -29,3 +33,25 @@ task :election do
|
|
29
33
|
COMMENT
|
30
34
|
end
|
31
35
|
end
|
36
|
+
|
37
|
+
desc 'Print out comments that can be used for a GitHub cop election'
|
38
|
+
task "election:config" do
|
39
|
+
configuration_path = File.expand_path('default.yml', File.dirname(__FILE__))
|
40
|
+
configuration = RuboCop::ConfigLoader.load_file(configuration_path)
|
41
|
+
pending_cops = RuboCop::ConfigLoader.default_configuration.pending_cops.reject { |cop|
|
42
|
+
configuration.key?(cop.name)
|
43
|
+
}
|
44
|
+
ascending_by_version = pending_cops.group_by { |cop|
|
45
|
+
cop.metadata.fetch('VersionAdded')
|
46
|
+
}.sort_by(&:first)
|
47
|
+
ascending_by_version.each do |(version, cops)|
|
48
|
+
puts "# #{version}"
|
49
|
+
cops.each do |cop|
|
50
|
+
puts <<~CONFIGURATION
|
51
|
+
#{cop.name}:
|
52
|
+
Enabled: True
|
53
|
+
|
54
|
+
CONFIGURATION
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
data/bin/rake
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rake' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rake", "rake")
|
data/bin/rspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rspec' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rspec-core", "rspec")
|
data/bin/rubocop
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'rubocop' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require "pathname"
|
12
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path("../bundle", __FILE__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require "rubygems"
|
27
|
+
require "bundler/setup"
|
28
|
+
|
29
|
+
load Gem.bin_path("rubocop", "rubocop")
|
data/core.yml
CHANGED
@@ -86,7 +86,7 @@ Metrics/CyclomaticComplexity:
|
|
86
86
|
|
87
87
|
Metrics/MethodLength:
|
88
88
|
IgnoredMethods: ["extended"]
|
89
|
-
Max:
|
89
|
+
Max: 25
|
90
90
|
|
91
91
|
Metrics/ModuleLength:
|
92
92
|
Exclude:
|
@@ -347,3 +347,123 @@ Style/SoleNestedConditional:
|
|
347
347
|
# rubocop-performance 1.7
|
348
348
|
Performance/Sum:
|
349
349
|
Enabled: True
|
350
|
+
|
351
|
+
# rubocop 1.1
|
352
|
+
Lint/DuplicateRegexpCharacterClassElement:
|
353
|
+
Enabled: True
|
354
|
+
|
355
|
+
Lint/EmptyBlock:
|
356
|
+
Enabled: False
|
357
|
+
|
358
|
+
Lint/ToEnumArguments:
|
359
|
+
Enabled: True
|
360
|
+
|
361
|
+
Lint/UnmodifiedReduceAccumulator:
|
362
|
+
Enabled: True
|
363
|
+
|
364
|
+
Style/ArgumentsForwarding:
|
365
|
+
Enabled: True
|
366
|
+
|
367
|
+
Style/DocumentDynamicEvalDefinition:
|
368
|
+
Enabled: True
|
369
|
+
|
370
|
+
Style/SwapValues:
|
371
|
+
Enabled: True
|
372
|
+
|
373
|
+
# rubocop 1.2
|
374
|
+
Lint/NoReturnInBeginEndBlocks:
|
375
|
+
Enabled: True
|
376
|
+
|
377
|
+
Style/CollectionCompact:
|
378
|
+
Enabled: True
|
379
|
+
|
380
|
+
Style/NegatedIfElseCondition:
|
381
|
+
Enabled: True
|
382
|
+
|
383
|
+
# rubocop 1.3
|
384
|
+
Lint/DuplicateBranch:
|
385
|
+
Enabled: True
|
386
|
+
|
387
|
+
Lint/EmptyClass:
|
388
|
+
Enabled: False
|
389
|
+
|
390
|
+
Style/NilLambda:
|
391
|
+
Enabled: False
|
392
|
+
|
393
|
+
# rubocop 1.4
|
394
|
+
Style/RedundantArgument:
|
395
|
+
Enabled: True
|
396
|
+
|
397
|
+
# rubocop 1.5
|
398
|
+
Lint/UnexpectedBlockArity:
|
399
|
+
Enabled: True
|
400
|
+
|
401
|
+
# rubocop 1.7
|
402
|
+
Layout/SpaceBeforeBrackets:
|
403
|
+
Enabled: True
|
404
|
+
|
405
|
+
Lint/AmbiguousAssignment:
|
406
|
+
Enabled: True
|
407
|
+
|
408
|
+
Style/HashExcept:
|
409
|
+
Enabled: True
|
410
|
+
|
411
|
+
# rubocop 1.8
|
412
|
+
Lint/DeprecatedConstants:
|
413
|
+
Enabled: True
|
414
|
+
|
415
|
+
Lint/LambdaWithoutLiteralBlock:
|
416
|
+
Enabled: True
|
417
|
+
|
418
|
+
Lint/RedundantDirGlobSort:
|
419
|
+
Enabled: True
|
420
|
+
|
421
|
+
Style/EndlessMethod:
|
422
|
+
Enabled: True
|
423
|
+
|
424
|
+
Performance/CollectionLiteralInLoop:
|
425
|
+
Enabled: True
|
426
|
+
|
427
|
+
# rubocop 1.9
|
428
|
+
Lint/NumberedParameterAssignment:
|
429
|
+
Enabled: False
|
430
|
+
|
431
|
+
Lint/OrAssignmentToConstant:
|
432
|
+
Enabled: True
|
433
|
+
|
434
|
+
Lint/SymbolConversion:
|
435
|
+
Enabled: True
|
436
|
+
|
437
|
+
Lint/TripleQuotes:
|
438
|
+
Enabled: True
|
439
|
+
|
440
|
+
Style/IfWithBooleanLiteralBranches:
|
441
|
+
Enabled: False
|
442
|
+
|
443
|
+
# rubocop 1.10
|
444
|
+
Gemspec/DateAssignment:
|
445
|
+
Enabled: True
|
446
|
+
|
447
|
+
Style/HashConversion:
|
448
|
+
Enabled: True
|
449
|
+
|
450
|
+
# rubocop-performance 1.9
|
451
|
+
Performance/BlockGivenWithExplicitBlock:
|
452
|
+
Enabled: True
|
453
|
+
|
454
|
+
Performance/ConstantRegexp:
|
455
|
+
Enabled: True
|
456
|
+
|
457
|
+
Performance/MethodObjectAsBlock:
|
458
|
+
Enabled: True
|
459
|
+
|
460
|
+
# rubocop-performance 1.10
|
461
|
+
Performance/RedundantEqualityComparisonBlock:
|
462
|
+
Enabled: False
|
463
|
+
|
464
|
+
Performance/RedundantSplitRegexpArgument:
|
465
|
+
Enabled: True
|
466
|
+
|
467
|
+
# rubocop 1.12.0
|
468
|
+
Style/StringChars:
|
469
|
+
Enabled: True
|
data/lib/ws/style/version.rb
CHANGED
data/rails.yml
CHANGED
data/ws-style.gemspec
CHANGED
@@ -20,16 +20,18 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.bindir = 'exe'
|
21
21
|
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
s.require_paths = ['lib']
|
23
|
-
s.required_ruby_version = '>= 2.
|
23
|
+
s.required_ruby_version = '>= 2.7.2'
|
24
24
|
|
25
|
-
s.add_dependency 'rubocop', '>= 1.
|
26
|
-
s.add_dependency 'rubocop-performance', '>= 1.
|
27
|
-
s.add_dependency 'rubocop-rails', '>= 2.
|
28
|
-
s.add_dependency 'rubocop-rspec', '>=
|
29
|
-
s.add_dependency 'rubocop-vendor', '
|
25
|
+
s.add_dependency 'rubocop', '>= 1.12.1'
|
26
|
+
s.add_dependency 'rubocop-performance', '>= 1.10.2'
|
27
|
+
s.add_dependency 'rubocop-rails', '>= 2.9.1'
|
28
|
+
s.add_dependency 'rubocop-rspec', '>= 2.2.0'
|
29
|
+
s.add_dependency 'rubocop-vendor', '>= 0.6.0'
|
30
30
|
|
31
31
|
s.add_development_dependency 'bundler'
|
32
32
|
s.add_development_dependency 'bundler-audit'
|
33
|
+
s.add_development_dependency 'git'
|
34
|
+
s.add_development_dependency 'keepachangelog'
|
33
35
|
s.add_development_dependency 'rake'
|
34
|
-
s.add_development_dependency 'rspec', '~> 3.
|
36
|
+
s.add_development_dependency 'rspec', '~> 3.10.0'
|
35
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ws-style
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Graham
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.12.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: 1.
|
26
|
+
version: 1.12.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.10.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.10.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.
|
47
|
+
version: 2.9.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: 2.9.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.2.0
|
62
62
|
type: :runtime
|
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:
|
68
|
+
version: 2.2.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-vendor
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 0.6.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.6.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,34 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: git
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: keepachangelog
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
111
139
|
- !ruby/object:Gem::Dependency
|
112
140
|
name: rake
|
113
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +156,14 @@ dependencies:
|
|
128
156
|
requirements:
|
129
157
|
- - "~>"
|
130
158
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
159
|
+
version: 3.10.0
|
132
160
|
type: :development
|
133
161
|
prerelease: false
|
134
162
|
version_requirements: !ruby/object:Gem::Requirement
|
135
163
|
requirements:
|
136
164
|
- - "~>"
|
137
165
|
- !ruby/object:Gem::Version
|
138
|
-
version: 3.
|
166
|
+
version: 3.10.0
|
139
167
|
description: Shared config to enforce Ruby style consistently across Wealthsimple
|
140
168
|
services.
|
141
169
|
email:
|
@@ -153,9 +181,13 @@ files:
|
|
153
181
|
- ".ruby-version"
|
154
182
|
- CHANGELOG.md
|
155
183
|
- Gemfile
|
184
|
+
- Gemfile.lock
|
156
185
|
- README.md
|
157
186
|
- Rakefile
|
158
187
|
- bin/console
|
188
|
+
- bin/rake
|
189
|
+
- bin/rspec
|
190
|
+
- bin/rubocop
|
159
191
|
- bin/setup
|
160
192
|
- catalog-info.yaml
|
161
193
|
- core.yml
|
@@ -177,15 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
177
209
|
requirements:
|
178
210
|
- - ">="
|
179
211
|
- !ruby/object:Gem::Version
|
180
|
-
version: 2.
|
212
|
+
version: 2.7.2
|
181
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
182
214
|
requirements:
|
183
215
|
- - ">="
|
184
216
|
- !ruby/object:Gem::Version
|
185
217
|
version: '0'
|
186
218
|
requirements: []
|
187
|
-
|
188
|
-
rubygems_version: 2.7.6.2
|
219
|
+
rubygems_version: 3.1.4
|
189
220
|
signing_key:
|
190
221
|
specification_version: 4
|
191
222
|
summary: Shared rubocop config
|