ws-style 7.5.1 → 7.6.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/default.yml +7 -55
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +14 -14
- data/lib/ws/style/version.rb +1 -1
- data/rails.yml +3 -0
- data/rspec.yml +6 -3
- 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: f16592b9664851bb6c17487b424eade00bc12598650d344d2659c9fac9678caa
|
4
|
+
data.tar.gz: 6d10d0f3f9a2d641ea149dbf9bfe2e29698da62993934f1fec3288dff4bd69e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3950155c7f1ef5590b6c600b430eed4afbfdb3f3038eda1087a8479ea8bcb2007818ae890a852c618dcb42734b9f7bc49505fa73e9c145a8d6da2c0f684a1cf
|
7
|
+
data.tar.gz: dab89cbb93458e7b96aff41e846c2571a54676423f993fa25f0e2553eb35fe087e5a0f7a4119f6efebc54284adbcdb7142013ce01c32c86ac41933975c2ac301
|
@@ -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
@@ -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.6.1 - 2024-07-15
|
10
|
+
### Changed
|
11
|
+
- Removed the rubocop factorybot stuff, since we aren't using factorybot anymore
|
12
|
+
|
13
|
+
## 7.6.0 - 2024-07-09
|
14
|
+
### Changed
|
15
|
+
- Disable some newer cops
|
16
|
+
|
9
17
|
## 7.5.1 - 2024-06-19
|
10
18
|
### Changed
|
11
19
|
- Updated dependencies
|
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.1)
|
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
@@ -5,9 +5,6 @@ require:
|
|
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
|
@@ -21,6 +18,9 @@ RSpec/EmptyExampleGroup:
|
|
21
18
|
RSpec/ExampleLength:
|
22
19
|
Max: 30
|
23
20
|
|
21
|
+
RSpec/IndexedLet:
|
22
|
+
Enabled: false
|
23
|
+
|
24
24
|
RSpec/LetSetup:
|
25
25
|
Enabled: false
|
26
26
|
|
@@ -42,5 +42,8 @@ RSpec/NamedSubject:
|
|
42
42
|
RSpec/NestedGroups:
|
43
43
|
Max: 6
|
44
44
|
|
45
|
+
RSpec/SpecFilePathFormat:
|
46
|
+
Enabled: false
|
47
|
+
|
45
48
|
RSpec/StubbedMock:
|
46
49
|
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.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: 2024-
|
11
|
+
date: 2024-07-15 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
|