adap 0.1.5 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +53 -0
- data/.github/workflows/ruby.yml +0 -5
- data/lib/adap/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63f5d0cc91cadfe37b62c84602420c11adb34b8e80f3f60ff51a767e75621788
|
4
|
+
data.tar.gz: 9780fc3c0145805bcb042d5c4df8018b6d8df5ab824b1fd1c5a74e5103934627
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0fa71f2e0ba6edc95c710ee05e242f4eb1af904dcfa5a5157bd58afa57c0f4ce3afe7a76a408afbd0e0b33f2d559204f7b1215015f7e26517e92b089cd2610a
|
7
|
+
data.tar.gz: dd285ad4b31c0c4d730d200ac98e0b419ba65ace520218f99945e70df50a2841c498a5074a28537d11e5ae034eaf33a4b728c25629be562a06396c76efab3634
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab or GitHub CLI(gh workflow run)
|
5
|
+
inputs:
|
6
|
+
otp:
|
7
|
+
description: "One-time password for RubyGems.org"
|
8
|
+
required: true
|
9
|
+
|
10
|
+
permissions:
|
11
|
+
contents: write
|
12
|
+
|
13
|
+
jobs:
|
14
|
+
release:
|
15
|
+
strategy:
|
16
|
+
matrix:
|
17
|
+
os: [ubuntu-24.04]
|
18
|
+
ruby: ['3.3']
|
19
|
+
|
20
|
+
runs-on: ${{ matrix.os }}
|
21
|
+
env:
|
22
|
+
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
23
|
+
GEM_HOST_OTP_CODE: ${{ inputs.otp }}
|
24
|
+
steps:
|
25
|
+
- name: Check out ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}
|
26
|
+
uses: actions/checkout@v4
|
27
|
+
with:
|
28
|
+
path: ${{ github.event.repository.name }}
|
29
|
+
|
30
|
+
- name: Set up Ruby
|
31
|
+
uses: ruby/setup-ruby@v1
|
32
|
+
with:
|
33
|
+
ruby-version: ${{ matrix.ruby }}
|
34
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
35
|
+
|
36
|
+
- name: Configure Git to be able to push git tag to GitHub
|
37
|
+
run: |
|
38
|
+
git config --global user.name "${GITHUB_ACTOR}"
|
39
|
+
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
|
40
|
+
|
41
|
+
- name: Run tests
|
42
|
+
run: |
|
43
|
+
cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
|
44
|
+
bundle install --retry 3
|
45
|
+
bundle exec rake
|
46
|
+
|
47
|
+
- name: Push to rubygems.org
|
48
|
+
run: |
|
49
|
+
echo "Pushing to rubygems.org. You need update the version in lib/adap/version.rb before pushing it."
|
50
|
+
echo "Detected version is \"$(grep VERSION lib/adap/version.rb)\""
|
51
|
+
cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
|
52
|
+
bundle exec rake release
|
53
|
+
|
data/.github/workflows/ruby.yml
CHANGED
data/lib/adap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tsutomu Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -59,6 +59,7 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
+
- ".github/workflows/release.yml"
|
62
63
|
- ".github/workflows/ruby.yml"
|
63
64
|
- ".gitignore"
|
64
65
|
- Gemfile
|