gitlab_mr_release 2.0.0 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e97e096f63105635f3373ee5d7e2cde12cc6ec1d094421d8c34a7bddebb4b8d
4
- data.tar.gz: 71efeaeff03b3616924a5a40ee15965857632a79c1da1c7cfe3f9acfb16f472e
3
+ metadata.gz: c2f4a0396800f251c595125267b28509027006d975da9698a030b1c5354d4c08
4
+ data.tar.gz: 5429ca601e5a9f2f531ef79d41d4d7754aa34a76caa154fdea74ca33811396e9
5
5
  SHA512:
6
- metadata.gz: 17f9410d3ef01763ef7feba7502852bda8b38ade33f64fcfc55e9a34b75c6246f14e9814dc5f7e516f8a2bd7e1521e81e478ae4e5e4139e9164ef21849c237fb
7
- data.tar.gz: e6d05c1e7139d0e9285d0528de71e65394466aa645d3f3ba06e05aabcf2b3d8bb1a3c954e01328e5b07d8bce757105a0cb288cf4c7b8931985e1a4e8dd968a74
6
+ metadata.gz: c239c2b79072f418fda4a22c5ade4c3cd12499278a59a5fb46291efa6dcd6098fc24230b3518405405a358f91bc29bee4ac0de822126c66bf331a808cd2b975c
7
+ data.tar.gz: 43bf4dca0a6fdef7f790bdaf2e2c6e691cb6b5516fd2e5a875a270ca9c6876fd252c5fef56f804695781e1ec6ed2e783722fa1bc54feda15a7ff5eac13bae0a6
@@ -6,5 +6,7 @@ updates:
6
6
  directory: /
7
7
  schedule:
8
8
  interval: weekly
9
+ cooldown:
10
+ default-days: 7
9
11
  assignees:
10
12
  - sue445
@@ -30,9 +30,9 @@ jobs:
30
30
  runs-on: ubuntu-latest
31
31
  steps:
32
32
  - name: Checkout
33
- uses: actions/checkout@v4
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@v3
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@main
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/gitlab_mr_release'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/gitlab_mr_release
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 }}
@@ -30,9 +30,9 @@ jobs:
30
30
  - "3.4"
31
31
 
32
32
  steps:
33
- - uses: actions/checkout@v4
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: ${{ matrix.ruby }}
38
38
  bundler-cache: true
@@ -40,7 +40,7 @@ jobs:
40
40
  - run: bundle update --jobs $(nproc) --retry 3
41
41
 
42
42
  - name: Setup Code Climate Test Reporter
43
- uses: aktions/codeclimate-test-reporter@v1
43
+ uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
44
44
  with:
45
45
  codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
46
46
  command: before-build
@@ -50,7 +50,7 @@ jobs:
50
50
  timeout-minutes: 1
51
51
 
52
52
  - name: Teardown Code Climate Test Reporter
53
- uses: aktions/codeclimate-test-reporter@v1
53
+ uses: aktions/codeclimate-test-reporter@7634aa9ac7883182f583f15ff7b6ff519939dd0a # v1.2.0
54
54
  with:
55
55
  codeclimate-test-reporter-id: ${{ secrets.CC_TEST_REPORTER_ID }}
56
56
  command: after-build
@@ -58,7 +58,7 @@ jobs:
58
58
  continue-on-error: true
59
59
 
60
60
  - name: Slack Notification (not success)
61
- uses: act10ns/slack@v2
61
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
62
62
  if: "! success()"
63
63
  continue-on-error: true
64
64
  with:
@@ -74,7 +74,7 @@ jobs:
74
74
 
75
75
  steps:
76
76
  - name: Slack Notification (success)
77
- uses: act10ns/slack@v2
77
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
78
78
  if: always()
79
79
  continue-on-error: true
80
80
  with:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
- [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v2.0.0...master)
2
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v2.0.1...master)
3
+
4
+ ## [v2.0.1](https://github.com/sue445/gitlab_mr_release/releases/tag/v2.0.1)
5
+ [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v2.0.0...v2.0.1)
6
+
7
+ * Release gem from GitHub Actions
8
+ * https://github.com/sue445/gitlab_mr_release/pull/92
3
9
 
4
10
  ## v2.0.0
5
11
  [full changelog](http://github.com/sue445/gitlab_mr_release/compare/v1.1.2...v2.0.0)
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Release MergeRequest generator for [GitLab](https://about.gitlab.com/)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/gitlab_mr_release.svg)](https://badge.fury.io/rb/gitlab_mr_release)
6
- [![Build Status](https://github.com/sue445/gitlab_mr_release/workflows/test/badge.svg?branch=master)](https://github.com/sue445/gitlab_mr_release/actions?query=workflow%3Atest)
6
+ [![test](https://github.com/sue445/gitlab_mr_release/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/gitlab_mr_release/actions/workflows/test.yml)
7
7
  [![Code Climate](https://codeclimate.com/github/sue445/gitlab_mr_release/badges/gpa.svg)](https://codeclimate.com/github/sue445/gitlab_mr_release)
8
8
  [![Coverage Status](https://coveralls.io/repos/sue445/gitlab_mr_release/badge.svg?branch=master&service=github)](https://coveralls.io/github/sue445/gitlab_mr_release?branch=master)
9
9
 
@@ -33,12 +33,10 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  spec.add_development_dependency "activesupport"
35
35
  spec.add_development_dependency "bundler", ">= 1.10"
36
- spec.add_development_dependency "coveralls_reborn"
37
36
  spec.add_development_dependency "ostruct"
38
37
  spec.add_development_dependency "rake"
39
38
  spec.add_development_dependency "rspec"
40
39
  spec.add_development_dependency "rspec-parameterized"
41
- spec.add_development_dependency "simplecov"
42
40
  spec.add_development_dependency "term-ansicolor", "!= 1.11.1" # ref. https://github.com/flori/term-ansicolor/issues/41
43
41
  spec.add_development_dependency "unparser", ">= 0.4.5"
44
42
  spec.add_development_dependency "webmock", ">= 3.0.0"
@@ -1,3 +1,3 @@
1
1
  module GitlabMrRelease
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_mr_release
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2024-12-28 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: dotenv
@@ -79,20 +79,6 @@ dependencies:
79
79
  - - ">="
80
80
  - !ruby/object:Gem::Version
81
81
  version: '1.10'
82
- - !ruby/object:Gem::Dependency
83
- name: coveralls_reborn
84
- requirement: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: '0'
89
- type: :development
90
- prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- version: '0'
96
82
  - !ruby/object:Gem::Dependency
97
83
  name: ostruct
98
84
  requirement: !ruby/object:Gem::Requirement
@@ -149,20 +135,6 @@ dependencies:
149
135
  - - ">="
150
136
  - !ruby/object:Gem::Version
151
137
  version: '0'
152
- - !ruby/object:Gem::Dependency
153
- name: simplecov
154
- requirement: !ruby/object:Gem::Requirement
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- version: '0'
159
- type: :development
160
- prerelease: false
161
- version_requirements: !ruby/object:Gem::Requirement
162
- requirements:
163
- - - ">="
164
- - !ruby/object:Gem::Version
165
- version: '0'
166
138
  - !ruby/object:Gem::Dependency
167
139
  name: term-ansicolor
168
140
  requirement: !ruby/object:Gem::Requirement
@@ -227,10 +199,10 @@ executables:
227
199
  extensions: []
228
200
  extra_rdoc_files: []
229
201
  files:
230
- - ".coveralls.yml"
231
202
  - ".env.gitlab.example"
232
203
  - ".github/dependabot.yml"
233
204
  - ".github/workflows/pages.yml"
205
+ - ".github/workflows/release_gem.yml"
234
206
  - ".github/workflows/test.yml"
235
207
  - ".gitignore"
236
208
  - ".rspec"
@@ -274,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
246
  - !ruby/object:Gem::Version
275
247
  version: '0'
276
248
  requirements: []
277
- rubygems_version: 3.6.2
249
+ rubygems_version: 3.6.7
278
250
  specification_version: 4
279
251
  summary: Release MergeRequest generator for GitLab
280
252
  test_files: []
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- repo_token: pA8VrMwrNTyChkaDFsIF08GmfC4a0jIz2