capistrano-itamae 1.0.2 → 1.0.4

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: 58bc7344d8a43b8b0c4a3926aea17561f97192b392d81fbaccb7332f238d85f1
4
- data.tar.gz: 6b7760a666ee196e7329e11f7d77e1d3a09b4eedcfe23ecdf64d5782901d998e
3
+ metadata.gz: 99ff85a736b8fbd4c6d2cfae398614cae52920eb63a4bc2b68154138f4dd766e
4
+ data.tar.gz: 8717fec2d4cb5694d759398bc6e2f0435c9576b569f2106fc1755122252090b8
5
5
  SHA512:
6
- metadata.gz: fd3d6827f15030277b0d5f46ed6a7739c8603428e155ba2a12c74f1ea04a3a86f889dcb80b2b30caa66ab5e3c9a05db4d2ed6216170a40ecdbfa847827d1ab5b
7
- data.tar.gz: ddd1e8d5a873244945a4cf0cb376a7c46c06a03b172bc591d8b4dd498344dc9769d3a905fc57234ee056dde2aced35300cae0a0227120256618b728fbc3e725d
6
+ metadata.gz: bef806a5450a811edcdc801801177109474b20dd4d6b1411da81c373e91fdb84f00db0b7d7fc96639fb916d9191020c7f9b6e2d90fedf254826303f35fad1c6c
7
+ data.tar.gz: 0f27b92747791854c90ac1a733258a390d67a1de89870d02e1391d9a7686c23e18b3759df69f24f6d5bb2a6f3ac92305603210c6f3b90c25180331ac67c55e27
@@ -0,0 +1,20 @@
1
+ # c.f. https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
2
+ version: 2
3
+
4
+ updates:
5
+ ###########################################################
6
+ # NOTE: following sections are auto generated. DO NOT EDIT!
7
+ ###########################################################
8
+ - package-ecosystem: github-actions
9
+ directory: /
10
+ schedule:
11
+ interval: monthly
12
+ time: "05:00"
13
+ timezone: Asia/Tokyo
14
+ assignees:
15
+ - sue445
16
+ cooldown:
17
+ default-days: 7
18
+ exclude:
19
+ - ruby/setup-ruby
20
+ ###########################################################
@@ -0,0 +1,31 @@
1
+ # ref. https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
2
+
3
+ changelog:
4
+ exclude:
5
+ labels:
6
+ - chore
7
+
8
+ categories:
9
+ - title: ":bomb: Breaking Changes"
10
+ labels:
11
+ - breaking change
12
+
13
+ - title: ":lock: Security Fix"
14
+ labels:
15
+ - security
16
+
17
+ - title: ":rocket: Features"
18
+ labels:
19
+ - enhancement
20
+
21
+ - title: ":bug: Bug Fixes"
22
+ labels:
23
+ - bug
24
+
25
+ - title: ":dependabot: Dependency updates"
26
+ labels:
27
+ - dependencies
28
+
29
+ - title: ":pencil: Other Changes"
30
+ labels:
31
+ - "*"
@@ -0,0 +1,28 @@
1
+ name: dependabot-manager
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize # PR branch is rebased
8
+
9
+ jobs:
10
+ dependabot-auto-merge:
11
+ uses: sue445/workflows/.github/workflows/dependabot-auto-merge.yml@main
12
+ with:
13
+ repo-name: sue445/capistrano-itamae
14
+ secrets:
15
+ # TODO: Set secrets to Dependabot secrets
16
+ app-id: ${{ secrets.GH_APP_ID }}
17
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
18
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
19
+
20
+ dependabot-security-alert:
21
+ uses: sue445/workflows/.github/workflows/dependabot-security-alert.yml@main
22
+ with:
23
+ repo-name: sue445/capistrano-itamae
24
+ secrets:
25
+ # TODO: Set secrets to Dependabot secrets
26
+ app-id: ${{ secrets.GH_APP_ID }}
27
+ private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
28
+ slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
@@ -0,0 +1,14 @@
1
+ name: Publish gem to rubygems.org
2
+
3
+ on:
4
+ workflow_dispatch:
5
+
6
+ jobs:
7
+ release:
8
+ uses: sue445/workflows/.github/workflows/release_gem.yml@main
9
+ with:
10
+ repo-name: sue445/capistrano-itamae
11
+ gem-name: capistrano-itamae
12
+ permissions:
13
+ contents: write
14
+ id-token: write
@@ -12,9 +12,6 @@ on:
12
12
  schedule:
13
13
  - cron: "0 10 * * 5" # JST 19:00 (Fri)
14
14
 
15
- env:
16
- CI: "true"
17
-
18
15
  jobs:
19
16
  test:
20
17
  runs-on: ubuntu-latest
@@ -30,28 +27,22 @@ jobs:
30
27
  - "2.6"
31
28
  - "2.7"
32
29
  - "3.0"
30
+ - "3.1"
31
+ - "3.2"
32
+ - "3.3"
33
+ - "3.4"
34
+ - "4.0"
33
35
 
34
36
  steps:
35
- - uses: actions/checkout@v2
37
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
36
38
 
37
- - uses: ruby/setup-ruby@v1
39
+ - uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
38
40
  with:
39
41
  ruby-version: ${{ matrix.ruby }}
42
+ bundler-cache: true
43
+ cache-version: ${{ matrix.gemfile }}
40
44
 
41
- - name: Cache vendor/bundle
42
- uses: actions/cache@v1
43
- id: cache_gem
44
- with:
45
- path: vendor/bundle
46
- key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
47
- restore-keys: |
48
- v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
49
-
50
- - name: bundle update
51
- run: |
52
- set -xe
53
- bundle config path vendor/bundle
54
- bundle update --jobs $(nproc) --retry 3
45
+ - run: bundle update --jobs $(nproc) --retry 3
55
46
 
56
47
  - name: Setup sandbox server
57
48
  working-directory: spec/integration
@@ -67,30 +58,24 @@ jobs:
67
58
  bundle exec rake spec
68
59
 
69
60
  - name: Slack Notification (not success)
70
- uses: lazy-actions/slatify@master
61
+ uses: act10ns/slack@d96404edccc6d6467fc7f8134a420c851b1e9054 # v2.2.0
71
62
  if: "! success()"
72
63
  continue-on-error: true
73
64
  with:
74
- job_name: ${{ format('*build* ({0})', matrix.ruby) }}
75
- type: ${{ job.status }}
76
- icon_emoji: ":octocat:"
77
- url: ${{ secrets.SLACK_WEBHOOK }}
78
- token: ${{ secrets.GITHUB_TOKEN }}
65
+ status: ${{ job.status }}
66
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
67
+ matrix: ${{ toJson(matrix) }}
68
+
69
+ all-pass:
70
+ if: always()
79
71
 
80
- notify:
81
72
  needs:
82
73
  - test
83
74
 
84
- runs-on: ubuntu-latest
75
+ runs-on: ubuntu-slim
85
76
 
86
77
  steps:
87
- - name: Slack Notification (success)
88
- uses: lazy-actions/slatify@master
89
- if: always()
90
- continue-on-error: true
78
+ - name: check dependent jobs
79
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
91
80
  with:
92
- job_name: '*build*'
93
- type: ${{ job.status }}
94
- icon_emoji: ":octocat:"
95
- url: ${{ secrets.SLACK_WEBHOOK }}
96
- token: ${{ secrets.GITHUB_TOKEN }}
81
+ jobs: ${{ toJSON(needs) }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## master
2
- [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.2...master)
2
+ [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.4...master)
3
+
4
+ ## [v1.0.4](https://github.com/sue445/capistrano-itamae/releases/tag/v1.0.4)
5
+ [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.3...v1.0.4)
6
+
7
+ * Migrate release_gem workflow to sue445/workflows (Also testing the gem release)
8
+ * https://github.com/sue445/capistrano-itamae/pull/88
9
+
10
+ ## [v1.0.3](https://github.com/sue445/capistrano-itamae/releases/tag/v1.0.3)
11
+ [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.2...v1.0.3)
12
+
13
+ * Release gem from GitHub Actions
14
+ * https://github.com/sue445/capistrano-itamae/pull/50
3
15
 
4
16
  ## v1.0.2
5
17
  [full changelog](http://github.com/sue445/capistrano-itamae/compare/v1.0.1...v1.0.2)
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in capistrano-itamae.gemspec
4
4
  gemspec
5
+
6
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.2.0")
7
+ # NOTE: i18n 1.15.0+ requires Ruby 3.2+
8
+ gem "i18n", "< 1.15.0"
9
+ end
data/README.md CHANGED
@@ -3,8 +3,8 @@
3
3
  Run [itamae](https://github.com/itamae-kitchen/itamae) in capistrano task
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/capistrano-itamae.svg)](https://badge.fury.io/rb/capistrano-itamae)
6
- [![Build Status](https://github.com/sue445/capistrano-itamae/workflows/test/badge.svg?branch=master)](https://github.com/sue445/capistrano-itamae/actions?query=workflow%3Atest)
7
- [![Code Climate](https://codeclimate.com/github/sue445/capistrano-itamae/badges/gpa.svg)](https://codeclimate.com/github/sue445/capistrano-itamae)
6
+ [![test](https://github.com/sue445/capistrano-itamae/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/capistrano-itamae/actions/workflows/test.yml)
7
+ [![Maintainability](https://qlty.sh/gh/sue445/projects/capistrano-itamae/maintainability.svg)](https://qlty.sh/gh/sue445/projects/capistrano-itamae)
8
8
 
9
9
  ## Installation
10
10
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Itamae
3
- VERSION = "1.0.2"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sue445
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: bundler
@@ -141,6 +140,10 @@ executables: []
141
140
  extensions: []
142
141
  extra_rdoc_files: []
143
142
  files:
143
+ - ".github/dependabot.yml"
144
+ - ".github/release.yml"
145
+ - ".github/workflows/dependabot-manager.yml"
146
+ - ".github/workflows/release_gem.yml"
144
147
  - ".github/workflows/test.yml"
145
148
  - ".gitignore"
146
149
  - CHANGELOG.md
@@ -164,7 +167,6 @@ metadata:
164
167
  source_code_uri: https://github.com/sue445/capistrano-itamae
165
168
  changelog_uri: https://github.com/sue445/capistrano-itamae/blob/master/CHANGELOG.md
166
169
  rubygems_mfa_required: 'true'
167
- post_install_message:
168
170
  rdoc_options: []
169
171
  require_paths:
170
172
  - lib
@@ -179,8 +181,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
181
  - !ruby/object:Gem::Version
180
182
  version: '0'
181
183
  requirements: []
182
- rubygems_version: 3.2.22
183
- signing_key:
184
+ rubygems_version: 4.0.16
184
185
  specification_version: 4
185
186
  summary: Run itamae in capistrano task
186
187
  test_files: []