ws-style 6.7.2 → 6.9.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.
- checksums.yaml +4 -4
- data/.github/workflows/pipeline.yml +7 -4
- data/.gitignore +0 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +19 -0
- data/Gemfile.lock +100 -0
- data/README.md +3 -2
- data/core.yml +4 -0
- data/lib/ws/style/version.rb +1 -1
- data/ws-style.gemspec +6 -4
- metadata +39 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 534ce982d9399acb8944328a9053e07448f6cad3ae37683ae7ff1df26b7b2b10
|
|
4
|
+
data.tar.gz: d9f5709d8397ff88d850af66dc684bf69161f4b3149b0b08bb8802c360b8e1af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 949017d19e71256ac9b018d262f88cf50493756910292e5d5aca9aa41b7e77cfd58d2e326aba2a78486d05d5b432838d4a2fad23e28282cb3def6d55556a415b
|
|
7
|
+
data.tar.gz: f55b79b2358a801cde0dea56e23621d48d6f07086e3b58f5cb774790fad2d8377804212c312fa34f6a10c9f5f7c64d63fea16b81ac8940e463657861287cadf5
|
|
@@ -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,25 @@ 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.3 - 2021-07-20
|
|
8
|
+
- Upgraded rubocop to 1.18.2
|
|
9
|
+
- Upgraded rubocop-rais to 2.11.2
|
|
10
|
+
|
|
11
|
+
## 6.9.2 - 2021-06-28
|
|
12
|
+
- Update dependencies
|
|
13
|
+
|
|
14
|
+
## 6.9.1 - 2021-05-06
|
|
15
|
+
- Migrate CI from CircleCI to GitHub Actions
|
|
16
|
+
- Change default GitHub branch to `main`
|
|
17
|
+
|
|
18
|
+
## 6.9.0 - 2021-04-06
|
|
19
|
+
- Upgraded rubocop to 1.12.1
|
|
20
|
+
- Upgraded rubocop-performance to 1.10.2
|
|
21
|
+
- Upgraded rubocop-vendor to 0.6.0
|
|
22
|
+
|
|
23
|
+
## 6.8.9 - 2021-04-02
|
|
24
|
+
- Set minimum required ruby version to 2.7.2
|
|
25
|
+
|
|
7
26
|
## 6.7.2 - 2021-03-15
|
|
8
27
|
- Increase Metrics/MethodLength to 25 (1/6 of class length).
|
|
9
28
|
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
ws-style (6.9.3)
|
|
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.4)
|
|
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.9)
|
|
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.18.2)
|
|
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.7.0, < 2.0)
|
|
64
|
+
ruby-progressbar (~> 1.7)
|
|
65
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
|
66
|
+
rubocop-ast (1.7.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.11.2)
|
|
72
|
+
activesupport (>= 4.2.0)
|
|
73
|
+
rack (>= 1.1)
|
|
74
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
75
|
+
rubocop-rspec (2.4.0)
|
|
76
|
+
rubocop (~> 1.0)
|
|
77
|
+
rubocop-ast (>= 1.1.0)
|
|
78
|
+
rubocop-vendor (0.6.1)
|
|
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
|
+
[](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/core.yml
CHANGED
data/lib/ws/style/version.rb
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.10.
|
|
25
|
+
s.add_dependency 'rubocop', '>= 1.12.1'
|
|
26
|
+
s.add_dependency 'rubocop-performance', '>= 1.10.2'
|
|
27
27
|
s.add_dependency 'rubocop-rails', '>= 2.9.1'
|
|
28
28
|
s.add_dependency 'rubocop-rspec', '>= 2.2.0'
|
|
29
|
-
s.add_dependency 'rubocop-vendor', '>= 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
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.3
|
|
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-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
@@ -16,28 +16,28 @@ 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.10.
|
|
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.10.
|
|
40
|
+
version: 1.10.2
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rubocop-rails
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -72,14 +72,14 @@ dependencies:
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0.
|
|
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: 0.
|
|
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
|
|
@@ -153,6 +181,7 @@ 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
|
|
@@ -180,15 +209,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
180
209
|
requirements:
|
|
181
210
|
- - ">="
|
|
182
211
|
- !ruby/object:Gem::Version
|
|
183
|
-
version: 2.
|
|
212
|
+
version: 2.7.2
|
|
184
213
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
214
|
requirements:
|
|
186
215
|
- - ">="
|
|
187
216
|
- !ruby/object:Gem::Version
|
|
188
217
|
version: '0'
|
|
189
218
|
requirements: []
|
|
190
|
-
|
|
191
|
-
rubygems_version: 2.7.6.2
|
|
219
|
+
rubygems_version: 3.1.4
|
|
192
220
|
signing_key:
|
|
193
221
|
specification_version: 4
|
|
194
222
|
summary: Shared rubocop config
|