rubocop-itamae 0.2.0 → 0.2.1
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/dependabot.yml +2 -0
- data/.github/workflows/pages.yml +6 -6
- data/.github/workflows/release_gem.yml +41 -0
- data/.github/workflows/test.yml +6 -6
- data/CHANGELOG.md +6 -1
- data/lib/rubocop/itamae/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e297c30885106b9c728f3aa445652fa5cf974ee2821ff351fd42b7e830b77ec
|
|
4
|
+
data.tar.gz: a17193efe2ab8549e5eef4211bdd46d8dd25e3ecf548a965f718399259c657fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b082b025b1d7dbecb31755108a4dfed5a507e2ea3192b4fcf71d90347b45d6610604170fb67722a2fe5846a53521842a5dff2689d45d6cdc32d8de131bf32f0b
|
|
7
|
+
data.tar.gz: 249a88599d8931f34e429987f622f04570450c86b2d94c1b15e54e48e751004dda4cccb736d02ac9d565929a6687853f77c3a0fa970bf39a863243f47c07c677
|
data/.github/dependabot.yml
CHANGED
data/.github/workflows/pages.yml
CHANGED
|
@@ -30,9 +30,9 @@ jobs:
|
|
|
30
30
|
runs-on: ubuntu-latest
|
|
31
31
|
steps:
|
|
32
32
|
- name: Checkout
|
|
33
|
-
uses: actions/checkout@
|
|
33
|
+
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
34
34
|
|
|
35
|
-
- uses: ruby/setup-ruby@v1
|
|
35
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
36
36
|
with:
|
|
37
37
|
ruby-version: ruby
|
|
38
38
|
bundler-cache: true
|
|
@@ -40,18 +40,18 @@ jobs:
|
|
|
40
40
|
- run: bundle exec yard
|
|
41
41
|
|
|
42
42
|
- name: Setup Pages
|
|
43
|
-
uses: actions/configure-pages@v5
|
|
43
|
+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
|
|
44
44
|
- name: Upload artifact
|
|
45
|
-
uses: actions/upload-pages-artifact@
|
|
45
|
+
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
|
|
46
46
|
with:
|
|
47
47
|
# Upload entire repository
|
|
48
48
|
path: './doc'
|
|
49
49
|
- name: Deploy to GitHub Pages
|
|
50
50
|
id: deployment
|
|
51
|
-
uses: actions/deploy-pages@
|
|
51
|
+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
|
|
52
52
|
|
|
53
53
|
- name: Slack Notification (not success)
|
|
54
|
-
uses: act10ns/slack@v2
|
|
54
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
55
55
|
if: "! success()"
|
|
56
56
|
continue-on-error: true
|
|
57
57
|
with:
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
name: Publish gem to rubygems.org
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
release:
|
|
8
|
+
if: github.repository == 'sue445/rubocop-itamae'
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
|
|
11
|
+
environment:
|
|
12
|
+
name: rubygems.org
|
|
13
|
+
url: https://rubygems.org/gems/rubocop-itamae
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
id-token: write
|
|
18
|
+
|
|
19
|
+
steps:
|
|
20
|
+
- name: Harden Runner
|
|
21
|
+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
|
|
22
|
+
with:
|
|
23
|
+
egress-policy: audit
|
|
24
|
+
|
|
25
|
+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
26
|
+
|
|
27
|
+
- name: Set up Ruby
|
|
28
|
+
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c # v1.237.0
|
|
29
|
+
with:
|
|
30
|
+
bundler-cache: true
|
|
31
|
+
ruby-version: ruby
|
|
32
|
+
|
|
33
|
+
- name: Publish to RubyGems
|
|
34
|
+
uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
|
|
35
|
+
|
|
36
|
+
- name: Create GitHub release
|
|
37
|
+
run: |
|
|
38
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
|
39
|
+
gh release create "${tag_name}" --verify-tag --generate-notes
|
|
40
|
+
env:
|
|
41
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
|
@@ -29,9 +29,9 @@ jobs:
|
|
|
29
29
|
- "3.4"
|
|
30
30
|
|
|
31
31
|
steps:
|
|
32
|
-
- uses: actions/checkout@
|
|
32
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
33
33
|
|
|
34
|
-
- uses: ruby/setup-ruby@v1
|
|
34
|
+
- uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
35
35
|
with:
|
|
36
36
|
ruby-version: ${{ matrix.ruby }}
|
|
37
37
|
bundler-cache: true
|
|
@@ -39,7 +39,7 @@ jobs:
|
|
|
39
39
|
- run: bundle update --jobs $(nproc) --retry 3
|
|
40
40
|
|
|
41
41
|
- name: Setup Code Climate Test Reporter
|
|
42
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
42
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
43
43
|
with:
|
|
44
44
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
45
45
|
command: before-build
|
|
@@ -49,7 +49,7 @@ jobs:
|
|
|
49
49
|
- run: bundle exec rubocop -P
|
|
50
50
|
|
|
51
51
|
- name: Teardown Code Climate Test Reporter
|
|
52
|
-
uses: aktions/codeclimate-test-reporter@v1
|
|
52
|
+
uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
|
|
53
53
|
with:
|
|
54
54
|
codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
|
|
55
55
|
command: after-build
|
|
@@ -57,7 +57,7 @@ jobs:
|
|
|
57
57
|
continue-on-error: true
|
|
58
58
|
|
|
59
59
|
- name: Slack Notification (not success)
|
|
60
|
-
uses: act10ns/slack@v2
|
|
60
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
61
61
|
if: "! success()"
|
|
62
62
|
continue-on-error: true
|
|
63
63
|
with:
|
|
@@ -73,7 +73,7 @@ jobs:
|
|
|
73
73
|
|
|
74
74
|
steps:
|
|
75
75
|
- name: Slack Notification (success)
|
|
76
|
-
uses: act10ns/slack@v2
|
|
76
|
+
uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
|
|
77
77
|
if: always()
|
|
78
78
|
continue-on-error: true
|
|
79
79
|
with:
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## master
|
|
2
|
-
[full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.2.
|
|
2
|
+
[full changelog](http://github.com/sue445/rubocop-itamae/compare/v0.2.1...master)
|
|
3
|
+
|
|
4
|
+
## [v0.2.1](https://github.com/sue445/rubocop-itamae/releases/tag/v0.2.1)
|
|
5
|
+
|
|
6
|
+
* Release gem from GitHub Actions
|
|
7
|
+
* https://github.com/sue445/rubocop-itamae/pull/86
|
|
3
8
|
|
|
4
9
|
## [v0.2.0](https://github.com/sue445/rubocop-itamae/releases/tag/v0.2.0)
|
|
5
10
|
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-itamae
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sue445
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: lint_roller
|
|
@@ -159,6 +159,7 @@ files:
|
|
|
159
159
|
- ".coveralls.yml"
|
|
160
160
|
- ".github/dependabot.yml"
|
|
161
161
|
- ".github/workflows/pages.yml"
|
|
162
|
+
- ".github/workflows/release_gem.yml"
|
|
162
163
|
- ".github/workflows/test.yml"
|
|
163
164
|
- ".gitignore"
|
|
164
165
|
- ".rspec"
|
|
@@ -207,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
207
208
|
- !ruby/object:Gem::Version
|
|
208
209
|
version: '0'
|
|
209
210
|
requirements: []
|
|
210
|
-
rubygems_version: 3.6.
|
|
211
|
+
rubygems_version: 3.6.7
|
|
211
212
|
specification_version: 4
|
|
212
213
|
summary: Code style checking for itamae recipes
|
|
213
214
|
test_files: []
|