itamae-plugin-recipe-git_now 0.1.2 → 1.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: 62e4be8027da812ffa70068387403cea36b8b45877fd06f0d758c85fd571b18e
4
- data.tar.gz: 33416784317db9f4407a09f2b8984c053a0ca9f1b057a4121e9dd2d138c349b5
3
+ metadata.gz: 49bc851ee2ed550d3f9e7a440d1679c876940ed99766b476c36fd0eec03efeda
4
+ data.tar.gz: '059113346f09828cae3659bd6a1784d83e231d63e8190c44c3e1509f3ad816d0'
5
5
  SHA512:
6
- metadata.gz: 0aa5a104dc5521d80b2b574e23862b04d61c79762867ecca2e29f11804917276171d45410dd4148527759b75ea97569ba3dacb81423f50f28423f4ffe6016d5a
7
- data.tar.gz: b677815efee9b4682ffd385ecc8606e33019d435d2decde767b0e0f63b728e780bb20deea9f0052447bdb2eaac58b89b445c3bee2959361e7ff942481f76ab63
6
+ metadata.gz: d3110fa691c073c10bc556a09a255be88bf47c9de1f380e935c925ee0cdc1e514367f26b9aee5a4f0f9e699cda04287092c80b7d4c3aaac4af64ab0aada31ea1
7
+ data.tar.gz: 5fd75f3c5bb89d162b44cafab7c19f7962f7bcc7ca8ad5348c3351ba58df8452a02c050fc46dec22851649330b4c6632946e7966609f7d6178c9254d87bab4a8
@@ -0,0 +1,12 @@
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
+ - package-ecosystem: github-actions
6
+ directory: /
7
+ schedule:
8
+ interval: weekly
9
+ cooldown:
10
+ default-days: 7
11
+ assignees:
12
+ - sue445
@@ -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/itamae-plugin-recipe-git_now'
9
+ runs-on: ubuntu-latest
10
+
11
+ environment:
12
+ name: rubygems.org
13
+ url: https://rubygems.org/gems/itamae-plugin-recipe-git_now
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 }}
@@ -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
@@ -24,35 +21,23 @@ jobs:
24
21
 
25
22
  matrix:
26
23
  ruby:
27
- - 2.3
24
+ - "2.3"
28
25
  image:
29
- - centos:7
30
26
  - centos:8
31
- - debian:jessie
32
- - debian:stretch
33
- - debian:buster
27
+ - debian:bullseye
28
+ - debian:bookworm
29
+ - debian:trixie
34
30
 
35
31
  steps:
36
- - uses: actions/checkout@v2
32
+ - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
37
33
 
38
- - uses: eregon/use-ruby-action@v1
34
+ - uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
39
35
  with:
40
36
  ruby-version: ${{ matrix.ruby }}
37
+ bundler-cache: true
38
+ cache-version: ${{ matrix.gemfile }}
41
39
 
42
- - name: Cache vendor/bundle
43
- uses: actions/cache@v1
44
- id: cache_gem
45
- with:
46
- path: vendor/bundle
47
- key: v1-gem-${{ runner.os }}-${{ matrix.ruby }}-${{ github.sha }}
48
- restore-keys: |
49
- v1-gem-${{ runner.os }}-${{ matrix.ruby }}-
50
-
51
- - name: bundle update
52
- run: |
53
- set -xe
54
- bundle config path vendor/bundle
55
- bundle update --jobs $(nproc) --retry 3
40
+ - run: bundle update --jobs $(nproc) --retry 3
56
41
 
57
42
  - name: Run Itamae
58
43
  run: |
@@ -69,15 +54,13 @@ jobs:
69
54
  DOCKER_IMAGE: itamae-plugin:latest
70
55
 
71
56
  - name: Slack Notification (not success)
72
- uses: lazy-actions/slatify@master
57
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
73
58
  if: "! success()"
74
59
  continue-on-error: true
75
60
  with:
76
- job_name: ${{ format('*build* ({0}, {1})', matrix.ruby, matrix.image) }}
77
- type: ${{ job.status }}
78
- icon_emoji: ":octocat:"
79
- url: ${{ secrets.SLACK_WEBHOOK }}
80
- token: ${{ secrets.GITHUB_TOKEN }}
61
+ status: ${{ job.status }}
62
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
63
+ matrix: ${{ toJson(matrix) }}
81
64
 
82
65
  notify:
83
66
  needs:
@@ -87,12 +70,9 @@ jobs:
87
70
 
88
71
  steps:
89
72
  - name: Slack Notification (success)
90
- uses: lazy-actions/slatify@master
73
+ uses: act10ns/slack@cfcc30955fe9377f4f55e1079e5419ee1014269f # v2
91
74
  if: always()
92
75
  continue-on-error: true
93
76
  with:
94
- job_name: '*build*'
95
- type: ${{ job.status }}
96
- icon_emoji: ":octocat:"
97
- url: ${{ secrets.SLACK_WEBHOOK }}
98
- token: ${{ secrets.GITHUB_TOKEN }}
77
+ status: ${{ job.status }}
78
+ webhook-url: ${{ secrets.SLACK_WEBHOOK }}
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Change Log
2
2
 
3
+ ## Unreleased
4
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-git_now/compare/v1.0.1...master)
5
+
6
+ ## [v1.0.1](https://github.com/sue445/itamae-plugin-recipe-git_now/releases/tag/v1.0.1) (2025/11/29)
7
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-git_now/compare/v1.0.0...v1.0.1)
8
+
9
+ * Release gem from GitHub Actions
10
+ * https://github.com/sue445/itamae-plugin-recipe-git_now/pull/38
11
+
12
+ ## [v1.0.0](https://github.com/sue445/itamae-plugin-recipe-git_now/tree/v1.0.0) (2022/11/05)
13
+ [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-git_now/compare/v0.1.2...v1.0.0)
14
+
15
+ * Change default schema to https
16
+ * https://github.com/sue445/itamae-plugin-recipe-git_now/pull/26
17
+
3
18
  ## [v0.1.2](https://github.com/sue445/itamae-plugin-recipe-git_now/tree/v0.1.2) (2021/11/20)
4
19
  [Full Changelog](https://github.com/sue445/itamae-plugin-recipe-git_now/compare/v0.1.1...v0.1.2)
5
20
 
@@ -16,4 +31,4 @@
16
31
  ## [v0.1.0](https://github.com/sue445/itamae-plugin-recipe-git_now/tree/v0.1.0) (2015/12/17)
17
32
 
18
33
 
19
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
34
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [Itamae](https://github.com/itamae-kitchen/itamae) plugin to install [git-now](https://github.com/iwata/git-now)
4
4
 
5
5
  [![Gem Version](https://badge.fury.io/rb/itamae-plugin-recipe-git_now.svg)](https://badge.fury.io/rb/itamae-plugin-recipe-git_now)
6
- [![Build Status](https://github.com/sue445/itamae-plugin-recipe-git_now/workflows/test/badge.svg?branch=master)](https://github.com/sue445/itamae-plugin-recipe-git_now/actions?query=workflow%3Atest)
6
+ [![test](https://github.com/sue445/itamae-plugin-recipe-git_now/actions/workflows/test.yml/badge.svg)](https://github.com/sue445/itamae-plugin-recipe-git_now/actions/workflows/test.yml)
7
7
 
8
8
  ## Installation
9
9
 
@@ -44,8 +44,8 @@ git_now:
44
44
  # source dir (default: #{node[:git_now][:prefix]}/src)
45
45
  src: /usr/local/src
46
46
 
47
- # specify scheme to use in git clone (default: git)
48
- scheme: git
47
+ # specify scheme to use in git clone (default: https)
48
+ scheme: https
49
49
 
50
50
  # install revision (default: HEAD)
51
51
  revision: v0.1.1.0
@@ -1,7 +1,7 @@
1
1
  node.reverse_merge!(
2
2
  git_now: {
3
3
  prefix: "/usr/local",
4
- scheme: "git",
4
+ scheme: "https",
5
5
  },
6
6
  )
7
7
 
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module GitNow
5
- VERSION = "0.1.2"
5
+ VERSION = "1.0.1"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-git_now
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.1
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: itamae
@@ -87,6 +86,8 @@ executables: []
87
86
  extensions: []
88
87
  extra_rdoc_files: []
89
88
  files:
89
+ - ".github/dependabot.yml"
90
+ - ".github/workflows/release_gem.yml"
90
91
  - ".github/workflows/test.yml"
91
92
  - ".github_changelog_generator"
92
93
  - ".gitignore"
@@ -110,7 +111,6 @@ metadata:
110
111
  source_code_uri: https://github.com/sue445/itamae-plugin-recipe-git_now
111
112
  changelog_uri: https://github.com/sue445/itamae-plugin-recipe-git_now/blob/master/CHANGELOG.md
112
113
  rubygems_mfa_required: 'true'
113
- post_install_message:
114
114
  rdoc_options: []
115
115
  require_paths:
116
116
  - lib
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.2.22
129
- signing_key:
128
+ rubygems_version: 3.6.7
130
129
  specification_version: 4
131
130
  summary: Itamae plugin to install git-now
132
131
  test_files: []