ws-style 7.5.1 → 7.6.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 +4 -4
- data/.github/workflows/default.yml +7 -55
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +14 -14
- data/lib/ws/style/version.rb +1 -1
- data/rails.yml +3 -0
- data/rspec.yml +6 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d509b863d0929f70dae35d95ece95acb067a97dd269a8b38c98409b51aa7bbb8
|
|
4
|
+
data.tar.gz: fa8f2f30a5e89367dab9fb016c5a6a6d1dee9e16a57939e8805d059a36b40d70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3680ef0fd49ec294bc48a3d82ac90e8216e6917b790d0592e05b1895e55a5d6d0c23d05552a3fc9fb872152c1a2d79fabe5033f71dc76eeaec2f424ea770450
|
|
7
|
+
data.tar.gz: '084cb8506f76a3996ef32805a691b2d4525a0509ea4e160d0267883e776c457a670113733c7bfe88fed8007e8edb6f92fa8e2ab57f7dcb97d9b1c0cdd7356750'
|
|
@@ -1,63 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Default
|
|
3
|
+
|
|
3
4
|
on:
|
|
4
|
-
|
|
5
|
+
push:
|
|
6
|
+
|
|
5
7
|
concurrency:
|
|
6
8
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
7
9
|
cancel-in-progress: true
|
|
8
10
|
|
|
9
11
|
jobs:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- '3.0'
|
|
15
|
-
- '3.1'
|
|
16
|
-
- '3.2'
|
|
17
|
-
name: Build
|
|
18
|
-
runs-on: ubuntu-22.04
|
|
19
|
-
steps:
|
|
20
|
-
- uses: actions/checkout@v3
|
|
21
|
-
with:
|
|
22
|
-
ref: ${{ github.event.pull_request.head.sha }}
|
|
23
|
-
fetch-depth: 0
|
|
24
|
-
- uses: ruby/setup-ruby@v1
|
|
25
|
-
with:
|
|
26
|
-
bundler-cache: true
|
|
27
|
-
ruby-version: ${{ matrix.ruby_version }}
|
|
28
|
-
- name: Fetch main branch
|
|
29
|
-
run: git fetch origin main
|
|
30
|
-
- uses: r7kamura/rubocop-problem-matchers-action@v1
|
|
31
|
-
- name: Lint
|
|
32
|
-
run: |
|
|
33
|
-
bundle exec rubocop
|
|
34
|
-
bundle exec bundle-audit update
|
|
35
|
-
bundle exec bundle-audit check
|
|
36
|
-
- name: Run rspec
|
|
37
|
-
run: bundle exec rspec
|
|
38
|
-
- name: Check if version has changed
|
|
39
|
-
if: ${{ github.ref_name == 'main' }}
|
|
40
|
-
id: version-check
|
|
41
|
-
run: |
|
|
42
|
-
if [ "$(git diff --name-only HEAD^ HEAD | grep 'lib/ws/style/version.rb')" ]; then
|
|
43
|
-
echo "Version did change"
|
|
44
|
-
echo "version_changed=true" >> $GITHUB_OUTPUT
|
|
45
|
-
else
|
|
46
|
-
echo "Version did not change"
|
|
47
|
-
echo "version_changed=false" >> $GITHUB_OUTPUT
|
|
48
|
-
fi
|
|
49
|
-
- name: Release the gem
|
|
50
|
-
if: ${{ github.ref_name == 'main' && steps.version-check.outputs.version_changed == 'true' && matrix.ruby_version == '3.0' }}
|
|
51
|
-
run: |
|
|
52
|
-
mkdir -p ~/.gem
|
|
53
|
-
cat << EOF > ~/.gem/credentials
|
|
54
|
-
---
|
|
55
|
-
:github: Bearer ${GITHUB_TOKEN}
|
|
56
|
-
:rubygems_api_key: ${RUBYGEMS_API_KEY}
|
|
57
|
-
EOF
|
|
58
|
-
chmod 0600 ~/.gem/credentials
|
|
59
|
-
git config user.email "noreply@wealthsimple.com"
|
|
60
|
-
git config user.name "Wolfbot"
|
|
61
|
-
bundle exec rake release
|
|
62
|
-
env:
|
|
63
|
-
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
|
12
|
+
build_and_publish:
|
|
13
|
+
name: Build and Publish
|
|
14
|
+
uses: wealthsimple/public-github-workflows/.github/workflows/ruby-gem-build.yaml@main
|
|
15
|
+
secrets: inherit
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
ws-style (7.
|
|
4
|
+
ws-style (7.6.0)
|
|
5
5
|
rubocop-factory_bot (>= 2.26.0)
|
|
6
6
|
rubocop-rspec (>= 3.0.0)
|
|
7
7
|
rubocop-vendor (>= 0.11)
|
|
@@ -22,8 +22,8 @@ GEM
|
|
|
22
22
|
minitest (>= 5.1)
|
|
23
23
|
mutex_m
|
|
24
24
|
tzinfo (~> 2.0)
|
|
25
|
-
addressable (2.8.
|
|
26
|
-
public_suffix (>= 2.0.2, <
|
|
25
|
+
addressable (2.8.7)
|
|
26
|
+
public_suffix (>= 2.0.2, < 7.0)
|
|
27
27
|
ast (2.4.2)
|
|
28
28
|
base64 (0.2.0)
|
|
29
29
|
bigdecimal (3.1.8)
|
|
@@ -44,7 +44,7 @@ GEM
|
|
|
44
44
|
json (2.7.2)
|
|
45
45
|
language_server-protocol (3.17.0.3)
|
|
46
46
|
lint_roller (1.1.0)
|
|
47
|
-
minitest (5.
|
|
47
|
+
minitest (5.24.1)
|
|
48
48
|
mutex_m (0.2.0)
|
|
49
49
|
parallel (1.25.1)
|
|
50
50
|
parse_a_changelog (1.3.0)
|
|
@@ -54,14 +54,14 @@ GEM
|
|
|
54
54
|
racc
|
|
55
55
|
polyglot (0.3.5)
|
|
56
56
|
process_executer (1.1.0)
|
|
57
|
-
public_suffix (
|
|
57
|
+
public_suffix (6.0.0)
|
|
58
58
|
racc (1.8.0)
|
|
59
|
-
rack (3.1.
|
|
59
|
+
rack (3.1.6)
|
|
60
60
|
rainbow (3.1.1)
|
|
61
61
|
rake (13.2.1)
|
|
62
62
|
rchardet (1.8.0)
|
|
63
63
|
regexp_parser (2.9.2)
|
|
64
|
-
rexml (3.3.
|
|
64
|
+
rexml (3.3.1)
|
|
65
65
|
strscan
|
|
66
66
|
rspec (3.13.0)
|
|
67
67
|
rspec-core (~> 3.13.0)
|
|
@@ -94,17 +94,17 @@ GEM
|
|
|
94
94
|
rubocop-performance (1.21.1)
|
|
95
95
|
rubocop (>= 1.48.1, < 2.0)
|
|
96
96
|
rubocop-ast (>= 1.31.1, < 2.0)
|
|
97
|
-
rubocop-rails (2.
|
|
97
|
+
rubocop-rails (2.25.1)
|
|
98
98
|
activesupport (>= 4.2.0)
|
|
99
99
|
rack (>= 1.1)
|
|
100
100
|
rubocop (>= 1.33.0, < 2.0)
|
|
101
|
-
rubocop-ast (>= 1.
|
|
102
|
-
rubocop-rspec (3.0.
|
|
101
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
|
102
|
+
rubocop-rspec (3.0.2)
|
|
103
103
|
rubocop (~> 1.61)
|
|
104
104
|
rubocop-vendor (0.13.0)
|
|
105
105
|
rubocop
|
|
106
106
|
ruby-progressbar (1.13.0)
|
|
107
|
-
standard (1.
|
|
107
|
+
standard (1.39.1)
|
|
108
108
|
language_server-protocol (~> 3.17.0.2)
|
|
109
109
|
lint_roller (~> 1.0)
|
|
110
110
|
rubocop (~> 1.64.0)
|
|
@@ -116,9 +116,9 @@ GEM
|
|
|
116
116
|
standard-performance (1.4.0)
|
|
117
117
|
lint_roller (~> 1.1)
|
|
118
118
|
rubocop-performance (~> 1.21.0)
|
|
119
|
-
standard-rails (1.0
|
|
119
|
+
standard-rails (1.1.0)
|
|
120
120
|
lint_roller (~> 1.0)
|
|
121
|
-
rubocop-rails (~> 2.
|
|
121
|
+
rubocop-rails (~> 2.25.0)
|
|
122
122
|
strscan (3.1.0)
|
|
123
123
|
thor (1.3.1)
|
|
124
124
|
treetop (1.6.12)
|
|
@@ -141,4 +141,4 @@ DEPENDENCIES
|
|
|
141
141
|
ws-style!
|
|
142
142
|
|
|
143
143
|
BUNDLED WITH
|
|
144
|
-
2.
|
|
144
|
+
2.5.9
|
data/lib/ws/style/version.rb
CHANGED
data/rails.yml
CHANGED
data/rspec.yml
CHANGED
|
@@ -21,6 +21,9 @@ RSpec/EmptyExampleGroup:
|
|
|
21
21
|
RSpec/ExampleLength:
|
|
22
22
|
Max: 30
|
|
23
23
|
|
|
24
|
+
RSpec/IndexedLet:
|
|
25
|
+
Enabled: false
|
|
26
|
+
|
|
24
27
|
RSpec/LetSetup:
|
|
25
28
|
Enabled: false
|
|
26
29
|
|
|
@@ -42,5 +45,8 @@ RSpec/NamedSubject:
|
|
|
42
45
|
RSpec/NestedGroups:
|
|
43
46
|
Max: 6
|
|
44
47
|
|
|
48
|
+
RSpec/SpecFilePathFormat:
|
|
49
|
+
Enabled: false
|
|
50
|
+
|
|
45
51
|
RSpec/StubbedMock:
|
|
46
52
|
Enabled: false
|
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.
|
|
4
|
+
version: 7.6.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-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: standard
|
|
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
234
234
|
- !ruby/object:Gem::Version
|
|
235
235
|
version: '0'
|
|
236
236
|
requirements: []
|
|
237
|
-
rubygems_version: 3.
|
|
237
|
+
rubygems_version: 3.4.10
|
|
238
238
|
signing_key:
|
|
239
239
|
specification_version: 4
|
|
240
240
|
summary: Shared rubocop config
|