ws-style 7.6.0 → 7.7.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d509b863d0929f70dae35d95ece95acb067a97dd269a8b38c98409b51aa7bbb8
4
- data.tar.gz: fa8f2f30a5e89367dab9fb016c5a6a6d1dee9e16a57939e8805d059a36b40d70
3
+ metadata.gz: 547a3973b24212dbf6f1815c506d5cdda4471903e03fa8da173ac40a53603b24
4
+ data.tar.gz: 38861e6a0bb22d06b571fc80c0cb90c116ba043b3571d1ad0906189eb7030f5f
5
5
  SHA512:
6
- metadata.gz: b3680ef0fd49ec294bc48a3d82ac90e8216e6917b790d0592e05b1895e55a5d6d0c23d05552a3fc9fb872152c1a2d79fabe5033f71dc76eeaec2f424ea770450
7
- data.tar.gz: '084cb8506f76a3996ef32805a691b2d4525a0509ea4e160d0267883e776c457a670113733c7bfe88fed8007e8edb6f92fa8e2ab57f7dcb97d9b1c0cdd7356750'
6
+ metadata.gz: c90d7b6c13670aecd9c9e3e9d3de3f76af8882abefdb2f3fd760f5a16352ffff9d491e9e791a7ac3f36f9cc5e91242c154378c2048860fb26db9fedf97e42ff2
7
+ data.tar.gz: f92956df68ee9769d15c052e177ff00c6840ef83ac777f73bffd95c9b46ee04b09175cdf4116b8d36a346bda334b546e0cffa811328c4a83d1ea38f407f14346
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: 'Guardrails'
3
+
4
+ on:
5
+ pull_request:
6
+ types:
7
+ - opened
8
+ - edited
9
+ - synchronize
10
+
11
+ jobs:
12
+ stale:
13
+ name: Check Guardrails
14
+ uses: wealthsimple/github-workflows/.github/workflows/guardrails.yml@v1
15
+ secrets: inherit
@@ -5,7 +5,7 @@ on:
5
5
 
6
6
  jobs:
7
7
  stale:
8
- runs-on: ubuntu-22.04
8
+ runs-on: ${{ vars.DEFAULT_RUNS_ON }}
9
9
  steps:
10
10
  - uses: actions/stale@v8
11
11
  with:
data/CHANGELOG.md CHANGED
@@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## 7.7.0 - 2024-03-12
10
+ ### Changed
11
+ - Use new plugins API, also supported by rubcop-vendor >= 0.14.2
12
+
13
+ ## 7.6.1 - 2024-07-15
14
+ ### Changed
15
+ - Removed the rubocop factorybot stuff, since we aren't using factorybot anymore
16
+
9
17
  ## 7.6.0 - 2024-07-09
10
18
  ### Changed
11
19
  - Disable some newer cops
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ws-style (7.6.0)
4
+ ws-style (7.7.0)
5
5
  rubocop-factory_bot (>= 2.26.0)
6
6
  rubocop-rspec (>= 3.0.0)
7
- rubocop-vendor (>= 0.11)
7
+ rubocop-vendor (>= 0.14.2)
8
8
  standard (>= 1.30.1)
9
9
  standard-custom (>= 1.0.2)
10
10
  standard-rails (>= 0.1.0)
@@ -12,120 +12,129 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.1.3.4)
15
+ activesupport (8.0.2)
16
16
  base64
17
+ benchmark (>= 0.3)
17
18
  bigdecimal
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ concurrent-ruby (~> 1.0, >= 1.3.1)
19
20
  connection_pool (>= 2.2.5)
20
21
  drb
21
22
  i18n (>= 1.6, < 2)
23
+ logger (>= 1.4.2)
22
24
  minitest (>= 5.1)
23
- mutex_m
24
- tzinfo (~> 2.0)
25
+ securerandom (>= 0.3)
26
+ tzinfo (~> 2.0, >= 2.0.5)
27
+ uri (>= 0.13.1)
25
28
  addressable (2.8.7)
26
29
  public_suffix (>= 2.0.2, < 7.0)
27
30
  ast (2.4.2)
28
31
  base64 (0.2.0)
29
- bigdecimal (3.1.8)
30
- bundler-audit (0.9.1)
32
+ benchmark (0.4.0)
33
+ bigdecimal (3.1.9)
34
+ bundler-audit (0.9.2)
31
35
  bundler (>= 1.2.0, < 3)
32
36
  thor (~> 1.0)
33
- concurrent-ruby (1.3.3)
34
- connection_pool (2.4.1)
35
- diff-lcs (1.5.1)
37
+ concurrent-ruby (1.3.5)
38
+ connection_pool (2.5.0)
39
+ diff-lcs (1.6.0)
36
40
  drb (2.2.1)
37
- git (2.1.1)
41
+ git (3.0.0)
38
42
  activesupport (>= 5.0)
39
43
  addressable (~> 2.8)
40
- process_executer (~> 1.1)
41
- rchardet (~> 1.8)
42
- i18n (1.14.5)
44
+ process_executer (~> 1.3)
45
+ rchardet (~> 1.9)
46
+ i18n (1.14.7)
43
47
  concurrent-ruby (~> 1.0)
44
- json (2.7.2)
45
- language_server-protocol (3.17.0.3)
48
+ json (2.10.2)
49
+ language_server-protocol (3.17.0.4)
46
50
  lint_roller (1.1.0)
47
- minitest (5.24.1)
48
- mutex_m (0.2.0)
49
- parallel (1.25.1)
50
- parse_a_changelog (1.3.0)
51
+ logger (1.6.6)
52
+ minitest (5.25.5)
53
+ parallel (1.26.3)
54
+ parse_a_changelog (1.3.3)
51
55
  treetop (~> 1.6)
52
- parser (3.3.3.0)
56
+ parser (3.3.7.1)
53
57
  ast (~> 2.4.1)
54
58
  racc
55
59
  polyglot (0.3.5)
56
- process_executer (1.1.0)
57
- public_suffix (6.0.0)
58
- racc (1.8.0)
59
- rack (3.1.6)
60
+ process_executer (1.3.0)
61
+ public_suffix (6.0.1)
62
+ racc (1.8.1)
63
+ rack (3.1.12)
60
64
  rainbow (3.1.1)
61
65
  rake (13.2.1)
62
- rchardet (1.8.0)
63
- regexp_parser (2.9.2)
64
- rexml (3.3.1)
65
- strscan
66
+ rchardet (1.9.0)
67
+ regexp_parser (2.10.0)
66
68
  rspec (3.13.0)
67
69
  rspec-core (~> 3.13.0)
68
70
  rspec-expectations (~> 3.13.0)
69
71
  rspec-mocks (~> 3.13.0)
70
- rspec-core (3.13.0)
72
+ rspec-core (3.13.3)
71
73
  rspec-support (~> 3.13.0)
72
- rspec-expectations (3.13.1)
74
+ rspec-expectations (3.13.3)
73
75
  diff-lcs (>= 1.2.0, < 2.0)
74
76
  rspec-support (~> 3.13.0)
75
- rspec-mocks (3.13.1)
77
+ rspec-mocks (3.13.2)
76
78
  diff-lcs (>= 1.2.0, < 2.0)
77
79
  rspec-support (~> 3.13.0)
78
- rspec-support (3.13.1)
79
- rubocop (1.64.1)
80
+ rspec-support (3.13.2)
81
+ rubocop (1.73.2)
80
82
  json (~> 2.3)
81
- language_server-protocol (>= 3.17.0)
83
+ language_server-protocol (~> 3.17.0.2)
84
+ lint_roller (~> 1.1.0)
82
85
  parallel (~> 1.10)
83
86
  parser (>= 3.3.0.2)
84
87
  rainbow (>= 2.2.2, < 4.0)
85
- regexp_parser (>= 1.8, < 3.0)
86
- rexml (>= 3.2.5, < 4.0)
87
- rubocop-ast (>= 1.31.1, < 2.0)
88
+ regexp_parser (>= 2.9.3, < 3.0)
89
+ rubocop-ast (>= 1.38.0, < 2.0)
88
90
  ruby-progressbar (~> 1.7)
89
- unicode-display_width (>= 2.4.0, < 3.0)
90
- rubocop-ast (1.31.3)
91
+ unicode-display_width (>= 2.4.0, < 4.0)
92
+ rubocop-ast (1.38.1)
91
93
  parser (>= 3.3.1.0)
92
- rubocop-factory_bot (2.26.1)
93
- rubocop (~> 1.61)
94
- rubocop-performance (1.21.1)
95
- rubocop (>= 1.48.1, < 2.0)
96
- rubocop-ast (>= 1.31.1, < 2.0)
97
- rubocop-rails (2.25.1)
94
+ rubocop-factory_bot (2.27.0)
95
+ lint_roller (~> 1.1)
96
+ rubocop (~> 1.72, >= 1.72.1)
97
+ rubocop-performance (1.24.0)
98
+ lint_roller (~> 1.1)
99
+ rubocop (>= 1.72.1, < 2.0)
100
+ rubocop-ast (>= 1.38.0, < 2.0)
101
+ rubocop-rails (2.26.2)
98
102
  activesupport (>= 4.2.0)
99
103
  rack (>= 1.1)
100
- rubocop (>= 1.33.0, < 2.0)
104
+ rubocop (>= 1.52.0, < 2.0)
101
105
  rubocop-ast (>= 1.31.1, < 2.0)
102
- rubocop-rspec (3.0.2)
103
- rubocop (~> 1.61)
104
- rubocop-vendor (0.13.0)
106
+ rubocop-rspec (3.5.0)
107
+ lint_roller (~> 1.1)
108
+ rubocop (~> 1.72, >= 1.72.1)
109
+ rubocop-vendor (0.14.2)
110
+ lint_roller
105
111
  rubocop
106
112
  ruby-progressbar (1.13.0)
107
- standard (1.39.1)
113
+ securerandom (0.4.1)
114
+ standard (1.47.0)
108
115
  language_server-protocol (~> 3.17.0.2)
109
116
  lint_roller (~> 1.0)
110
- rubocop (~> 1.64.0)
117
+ rubocop (~> 1.73.0)
111
118
  standard-custom (~> 1.0.0)
112
- standard-performance (~> 1.4)
119
+ standard-performance (~> 1.7)
113
120
  standard-custom (1.0.2)
114
121
  lint_roller (~> 1.0)
115
122
  rubocop (~> 1.50)
116
- standard-performance (1.4.0)
123
+ standard-performance (1.7.0)
117
124
  lint_roller (~> 1.1)
118
- rubocop-performance (~> 1.21.0)
119
- standard-rails (1.1.0)
125
+ rubocop-performance (~> 1.24.0)
126
+ standard-rails (1.2.0)
120
127
  lint_roller (~> 1.0)
121
- rubocop-rails (~> 2.25.0)
122
- strscan (3.1.0)
123
- thor (1.3.1)
124
- treetop (1.6.12)
128
+ rubocop-rails (~> 2.26.0)
129
+ thor (1.3.2)
130
+ treetop (1.6.14)
125
131
  polyglot (~> 0.3)
126
132
  tzinfo (2.0.6)
127
133
  concurrent-ruby (~> 1.0)
128
- unicode-display_width (2.5.0)
134
+ unicode-display_width (3.1.4)
135
+ unicode-emoji (~> 4.0, >= 4.0.4)
136
+ unicode-emoji (4.0.4)
137
+ uri (1.0.3)
129
138
 
130
139
  PLATFORMS
131
140
  arm64-darwin-22
data/README.md CHANGED
@@ -46,7 +46,6 @@ inherit_gem:
46
46
  - default.yml
47
47
 
48
48
  AllCops:
49
- TargetRubyVersion: 3.2
50
49
  Include:
51
50
  - 'db/**/*'
52
51
 
data/core.yml CHANGED
@@ -8,6 +8,8 @@ inherit_mode:
8
8
 
9
9
  require:
10
10
  - standard
11
+
12
+ plugins:
11
13
  - standard-custom
12
14
  - rubocop-performance
13
15
  - rubocop-vendor
@@ -21,7 +23,6 @@ AllCops:
21
23
  NewCops: disable
22
24
  DisabledByDefault: true
23
25
  SuggestExtensions: false
24
- TargetRubyVersion: 3.2
25
26
  Exclude:
26
27
  - "bin/**/*"
27
28
  - "data/**/*"
@@ -1,5 +1,5 @@
1
1
  module Ws
2
2
  module Style
3
- VERSION = '7.6.0'.freeze
3
+ VERSION = '7.7.0'.freeze
4
4
  end
5
5
  end
data/rspec.yml CHANGED
@@ -1,13 +1,10 @@
1
- require:
1
+ plugins:
2
2
  - rubocop-rspec
3
3
  - rubocop-factory_bot
4
4
 
5
5
  RSpec:
6
6
  Enabled: true
7
7
 
8
- FactoryBot:
9
- Enabled: true
10
-
11
8
  # rubocop-rspec overrides
12
9
  RSpec/AnyInstance:
13
10
  Enabled: false
data/ws-style.gemspec CHANGED
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  s.add_dependency 'standard-rails', '>= 0.1.0'
28
28
  s.add_dependency 'rubocop-rspec', '>= 3.0.0'
29
29
  s.add_dependency 'rubocop-factory_bot', '>= 2.26.0'
30
- s.add_dependency 'rubocop-vendor', '>= 0.11'
30
+ s.add_dependency 'rubocop-vendor', '>= 0.14.2'
31
31
 
32
32
  s.add_development_dependency 'bundler'
33
33
  s.add_development_dependency 'bundler-audit'
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: 7.6.0
4
+ version: 7.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Graham
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-10 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '0.11'
89
+ version: 0.14.2
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '0.11'
96
+ version: 0.14.2
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -189,6 +189,7 @@ files:
189
189
  - ".github/CODEOWNERS"
190
190
  - ".github/PULL_REQUEST_TEMPLATE.md"
191
191
  - ".github/workflows/default.yml"
192
+ - ".github/workflows/guardrails.yaml"
192
193
  - ".github/workflows/stale.yml"
193
194
  - ".gitignore"
194
195
  - ".rspec"