ws-style 6.14.3 → 6.14.5

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: 7c821ff6adb6c34fbfb753c778e5e05326ab8a1e737812a18b3947ae7c72a5cc
4
- data.tar.gz: bf270bd6102378cfc04f24e15fe9319a24e9800631c56b6e1e9815f3d7f9170c
3
+ metadata.gz: 0a652b1f6e7ca41edd00f40118b4dbda22f1fe660bc65286f40b09d8565c1094
4
+ data.tar.gz: ced1f06d034dfa0847b8a857619a4243cb3bfe483307def9b25dd10eca1d68b8
5
5
  SHA512:
6
- metadata.gz: f1ceb57c43f6ac6119310eb2315dc41d4f50fa36b26d3cf1de80f8c651e172d8152199e1e0d8ed8448af75564f299995654aec98ab0ed1e2495462307c9a71a1
7
- data.tar.gz: b42141f9ae31180138709be82cc21d1727f0758b210eb1cd6380408205b1a122ea3095569f867478bb141ba41b7ed4fd8023dfde1aa576ef5849ec3931a39e62
6
+ metadata.gz: 511425d7162fc57a35126066655cacdea5cf13c1a2fc3e1b7c3c7db647ce9d0121720c42fb4378983d93d31c863a3d6edee52381c89e76eceeef34ccdafc364f
7
+ data.tar.gz: adb717479cecba29d748617ce375525c7b7df226ba248fac4c16f8d7e1c32b27533009c7edc876d2c3f48bcd8c2b8d2f084c7aa2f28bf5e01b805305aaf0e63e
@@ -20,10 +20,11 @@ jobs:
20
20
  - name: Fetch main branch
21
21
  run: git fetch origin main
22
22
  - uses: r7kamura/rubocop-problem-matchers-action@v1
23
- - uses: wealthsimple/toolbox-script@main
24
- name: RuboCop
25
- with:
26
- script: toolbox.ruby.lint.run()
23
+ - name: Lint
24
+ run: |
25
+ bundle exec rubocop
26
+ bundle exec bundle-audit update
27
+ bundle exec bundle-audit check
27
28
  - name: Run rspec
28
29
  run: bundle exec rspec
29
30
  - name: Release the gem
data/.rubocop.yml CHANGED
@@ -1,2 +1,3 @@
1
1
  inherit_from:
2
+ - .rubocop_todo.yml
2
3
  - core.yml
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,7 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2023-02-01 15:43:17 UTC using RuboCop version 1.44.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.6
1
+ 2.7.7
data/CHANGELOG.md CHANGED
@@ -1,8 +1,18 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [Unreleased]
8
+
9
+ ## 6.14.5 - 2023-02-23
10
+ ### Changed
11
+ - Remove use of toolbox-script in Github workflows
12
+
13
+ ## 6.14.4 - 2023-01-31
14
+ ### Changed
15
+ - Upgraded to ruby 3
6
16
 
7
17
  ## 6.14.3 - 2023-01-03
8
18
  ### Changed
@@ -16,7 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
26
  ### Changed
17
27
  - NewCops rule can only be defined once.
18
28
 
19
- ## 6.14.0 - 2022-09-6
29
+ ## 6.14.0 - 2022-09-06
20
30
  ### Changed
21
31
  - Support new rules introduced between rubocop 1.26 -> 1.36
22
32
 
@@ -143,6 +153,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
143
153
  - Disable new Gemspec/RequireMFA cop
144
154
 
145
155
  ## 6.12.0 - 2021-12-06
156
+ ### Changed
146
157
  - Update `rubocop-vendor`, which disallows `recursive-open-struct`
147
158
 
148
159
  ## 6.11.3 - 2021-11-19
@@ -188,37 +199,47 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
188
199
  - Upgraded rubocop to 1.19.1
189
200
 
190
201
  ## 6.9.5 - 2021-07-28
202
+ ### Changed
191
203
  - Upgraded rubocop to 1.18.4
192
204
 
193
205
  ## 6.9.4 - 2021-07-20
206
+ ### Changed
194
207
  - Upgraded dependencies
195
208
 
196
209
  ## 6.9.3 - 2021-07-20
210
+ ### Changed
197
211
  - Upgraded rubocop to 1.18.2
198
212
  - Upgraded rubocop-rais to 2.11.2
199
213
 
200
214
  ## 6.9.2 - 2021-06-28
215
+ ### Changed
201
216
  - Update dependencies
202
217
 
203
218
  ## 6.9.1 - 2021-05-06
219
+ ### Changed
204
220
  - Migrate CI from CircleCI to GitHub Actions
205
221
  - Change default GitHub branch to `main`
206
222
 
207
223
  ## 6.9.0 - 2021-04-06
224
+ ### Changed
208
225
  - Upgraded rubocop to 1.12.1
209
226
  - Upgraded rubocop-performance to 1.10.2
210
227
  - Upgraded rubocop-vendor to 0.6.0
211
228
 
212
229
  ## 6.8.9 - 2021-04-02
230
+ ### Changed
213
231
  - Set minimum required ruby version to 2.7.2
214
232
 
215
233
  ## 6.7.2 - 2021-03-15
234
+ ### Changed
216
235
  - Increase Metrics/MethodLength to 25 (1/6 of class length).
217
236
 
218
237
  ## 6.7.1 - 2021-03-09
238
+ ### Changed
219
239
  - Disable Lint/EmptyBlock
220
240
 
221
241
  ## 6.7.0 - 2021-03-05
242
+ ### Changed
222
243
  - Upgraded rubocop to 1.11.0
223
244
  - Upgraded rubocop-performance to 1.10.1
224
245
  - Upgraded rubocop-rails to 2.9.1
@@ -226,42 +247,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
226
247
  - Upgraded rubocop-vendor to 0.5.0
227
248
 
228
249
  ## 6.6.3 - 2021-03-01
250
+ ### Changed
229
251
  - One more version bump to get it published
230
252
 
231
253
  ## 6.6.2 - 2021-03-01
254
+ ### Changed
232
255
  - Use GitHub Actions to publish gem
233
256
 
234
257
  ## 6.6.1 - 2021-03-01
258
+ ### Changed
235
259
  - Mostly just trying to get the version number bumped
236
260
 
237
261
  ## 6.6.0 - 2021-01-16
262
+ ### Changed
238
263
  - Rubocop FilePath should respect ActiveSupport::Inflector config if included
239
264
 
240
265
  ## 6.5.3 - 2020-12-17
266
+ ### Changed
241
267
  - Disable extension suggestions
242
268
 
243
269
  ## 6.5.2 - 2020-12-17
270
+ ### Changed
244
271
  - Add backstage catalog file + sonarqube project settings
245
272
 
246
273
  ## 6.5.1 - 2020-11-30
274
+ ### Changed
247
275
  - Disable EmptyLineBetweenClassDefs added in rubocop 1.4
248
276
 
249
277
  ## 6.5.0 - 2020-10-26
278
+ ### Changed
250
279
  - Upgrade RuboCop and RuboCop RSpec
251
280
 
252
281
  ## 6.4.0 - 2020-10-07
282
+ ### Changed
253
283
  - Upgrade RuboCop
254
284
 
255
285
  ## 6.3.0 - 2020-10-06
286
+ ### Changed
256
287
  - Upgrade RuboCop and enable cops that were voted in
257
288
 
258
289
  ## 6.2.0 - 2020-09-04
290
+ ### Changed
259
291
  - Disable Cops enabled in 6.1.0 until we can confirm we want them
260
292
 
261
293
  ## 6.1.1 - 2020-09-04
294
+ ### Changed
262
295
  - Disable RSpec/MultipleMemoizedHelpers cop
263
296
 
264
297
  ## 6.1.0 - 2020-08-27
298
+ ### Changed
265
299
  - Upgraded rubocop to 0.89
266
300
  - Upgraded rubocop-performance to 1.7
267
301
  - Upgraded rubocop-rails to 2.7
@@ -283,9 +317,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
283
317
  ## 5.1.0 - 2019-06-06
284
318
  ### Changed
285
319
  - Added indentation cop, enforcing 2 space indentation.
286
-
287
320
  This allows Rubocop to automatically format code like this:
288
-
289
321
  ```ruby
290
322
  class Wizard
291
323
  def cast_spell
@@ -293,9 +325,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
293
325
  end
294
326
  end
295
327
  ```
296
-
297
328
  into this:
298
-
299
329
  ```ruby
300
330
  class Wizard
301
331
  def cast_spell
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (6.14.3)
4
+ ws-style (6.14.5)
5
5
  rubocop (>= 1.36)
6
6
  rubocop-performance (>= 1.10.2)
7
7
  rubocop-rails (>= 2.9.1)
@@ -11,7 +11,7 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.0.4)
14
+ activesupport (7.0.4.2)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 1.6, < 2)
17
17
  minitest (>= 5.1)
@@ -19,72 +19,77 @@ GEM
19
19
  addressable (2.8.1)
20
20
  public_suffix (>= 2.0.2, < 6.0)
21
21
  ast (2.4.2)
22
- bundler-audit (0.7.0.1)
22
+ bundler-audit (0.9.1)
23
23
  bundler (>= 1.2.0, < 3)
24
- thor (>= 0.18, < 2)
25
- concurrent-ruby (1.1.10)
24
+ thor (~> 1.0)
25
+ concurrent-ruby (1.2.0)
26
26
  diff-lcs (1.5.0)
27
- git (1.13.0)
27
+ git (1.13.2)
28
28
  addressable (~> 2.8)
29
29
  rchardet (~> 1.8)
30
30
  i18n (1.12.0)
31
31
  concurrent-ruby (~> 1.0)
32
32
  json (2.6.3)
33
- keepachangelog (0.6.1)
34
- json (~> 2.1)
35
- thor (~> 0.20)
36
33
  minitest (5.17.0)
37
34
  parallel (1.22.1)
38
- parser (3.2.0.0)
35
+ parse_a_changelog (1.2.0)
36
+ treetop (~> 1.6)
37
+ parser (3.2.1.0)
39
38
  ast (~> 2.4.1)
39
+ polyglot (0.3.5)
40
40
  public_suffix (5.0.1)
41
- rack (3.0.3)
41
+ rack (3.0.4.1)
42
42
  rainbow (3.1.1)
43
43
  rake (13.0.6)
44
44
  rchardet (1.8.0)
45
- regexp_parser (2.6.1)
45
+ regexp_parser (2.7.0)
46
46
  rexml (3.2.5)
47
47
  rspec (3.12.0)
48
48
  rspec-core (~> 3.12.0)
49
49
  rspec-expectations (~> 3.12.0)
50
50
  rspec-mocks (~> 3.12.0)
51
- rspec-core (3.12.0)
51
+ rspec-core (3.12.1)
52
52
  rspec-support (~> 3.12.0)
53
- rspec-expectations (3.12.1)
53
+ rspec-expectations (3.12.2)
54
54
  diff-lcs (>= 1.2.0, < 2.0)
55
55
  rspec-support (~> 3.12.0)
56
- rspec-mocks (3.12.1)
56
+ rspec-mocks (3.12.3)
57
57
  diff-lcs (>= 1.2.0, < 2.0)
58
58
  rspec-support (~> 3.12.0)
59
59
  rspec-support (3.12.0)
60
- rubocop (1.42.0)
60
+ rubocop (1.45.1)
61
61
  json (~> 2.3)
62
62
  parallel (~> 1.10)
63
- parser (>= 3.1.2.1)
63
+ parser (>= 3.2.0.0)
64
64
  rainbow (>= 2.2.2, < 4.0)
65
65
  regexp_parser (>= 1.8, < 3.0)
66
66
  rexml (>= 3.2.5, < 4.0)
67
67
  rubocop-ast (>= 1.24.1, < 2.0)
68
68
  ruby-progressbar (~> 1.7)
69
- unicode-display_width (>= 1.4.0, < 3.0)
70
- rubocop-ast (1.24.1)
71
- parser (>= 3.1.1.0)
72
- rubocop-performance (1.15.2)
69
+ unicode-display_width (>= 2.4.0, < 3.0)
70
+ rubocop-ast (1.26.0)
71
+ parser (>= 3.2.1.0)
72
+ rubocop-capybara (2.17.1)
73
+ rubocop (~> 1.41)
74
+ rubocop-performance (1.16.0)
73
75
  rubocop (>= 1.7.0, < 2.0)
74
76
  rubocop-ast (>= 0.4.0)
75
77
  rubocop-rails (2.17.4)
76
78
  activesupport (>= 4.2.0)
77
79
  rack (>= 1.1)
78
80
  rubocop (>= 1.33.0, < 2.0)
79
- rubocop-rspec (2.16.0)
81
+ rubocop-rspec (2.18.1)
80
82
  rubocop (~> 1.33)
81
- rubocop-vendor (0.8.10)
83
+ rubocop-capybara (~> 2.17)
84
+ rubocop-vendor (0.8.11)
82
85
  rubocop (>= 0.53.0)
83
86
  ruby-progressbar (1.11.0)
84
- thor (0.20.3)
85
- tzinfo (2.0.5)
87
+ thor (1.2.1)
88
+ treetop (1.6.12)
89
+ polyglot (~> 0.3)
90
+ tzinfo (2.0.6)
86
91
  concurrent-ruby (~> 1.0)
87
- unicode-display_width (2.4.0)
92
+ unicode-display_width (2.4.2)
88
93
 
89
94
  PLATFORMS
90
95
  ruby
@@ -93,10 +98,10 @@ DEPENDENCIES
93
98
  bundler
94
99
  bundler-audit
95
100
  git
96
- keepachangelog
101
+ parse_a_changelog
97
102
  rake
98
103
  rspec (~> 3.12.0)
99
104
  ws-style!
100
105
 
101
106
  BUNDLED WITH
102
- 2.3.26
107
+ 2.4.6
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '6.14.3'.freeze
3
+ VERSION = '6.14.5'.freeze
4
4
  end
5
5
  end
data/ws-style.gemspec CHANGED
@@ -20,7 +20,7 @@ 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.7.2'
23
+ s.required_ruby_version = '>= 2.7.3'
24
24
 
25
25
  s.add_dependency 'rubocop', '>= 1.36'
26
26
  s.add_dependency 'rubocop-performance', '>= 1.10.2'
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
31
31
  s.add_development_dependency 'bundler'
32
32
  s.add_development_dependency 'bundler-audit'
33
33
  s.add_development_dependency 'git'
34
- s.add_development_dependency 'keepachangelog'
34
+ s.add_development_dependency 'parse_a_changelog'
35
35
  s.add_development_dependency 'rake'
36
36
  s.add_development_dependency 'rspec', '~> 3.12.0'
37
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.14.3
4
+ version: 6.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-03 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -123,7 +123,7 @@ dependencies:
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: keepachangelog
126
+ name: parse_a_changelog
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ">="
@@ -179,6 +179,7 @@ files:
179
179
  - ".gitignore"
180
180
  - ".rspec"
181
181
  - ".rubocop.yml"
182
+ - ".rubocop_todo.yml"
182
183
  - ".ruby-version"
183
184
  - CHANGELOG.md
184
185
  - Gemfile
@@ -210,7 +211,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
211
  requirements:
211
212
  - - ">="
212
213
  - !ruby/object:Gem::Version
213
- version: 2.7.2
214
+ version: 2.7.3
214
215
  required_rubygems_version: !ruby/object:Gem::Requirement
215
216
  requirements:
216
217
  - - ">="