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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6062f55568a4d2f91e7ede91b7419827b7767033adcbf264d8d8cbd64e8533f2
4
- data.tar.gz: 47ae89751e819d81ed42bcb13dcbd967221ba45cf62c9e0d7aa77bfcbff48c03
3
+ metadata.gz: 63f5d0cc91cadfe37b62c84602420c11adb34b8e80f3f60ff51a767e75621788
4
+ data.tar.gz: 9780fc3c0145805bcb042d5c4df8018b6d8df5ab824b1fd1c5a74e5103934627
5
5
  SHA512:
6
- metadata.gz: ce373202bef4eff421528e8de4dcc56d19960834c31573f9d8d04db3f070d86f31bcdd5892c6081edbd5733fc4ee9ca4087e04aa99132201f885e5f443d89543
7
- data.tar.gz: f07477a60bced73b4a28e9d9b5e65f42043f781a92300bad8f5820d10d134bdbd6a19c390d00dc9b43f2b1ef07e289723331a648a4b6367d0036107fd27c61d3
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
+
@@ -59,8 +59,3 @@ jobs:
59
59
  bundle install --retry 3
60
60
  bundle exec rake
61
61
 
62
- - name: Push to rubygems.org
63
- if: startsWith(github.ref, 'refs/tags/v')
64
- run: |
65
- echo "DEMO: Push to rubygems.org"
66
-
data/lib/adap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ModAdap
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.10"
3
3
  end
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.5
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-07 00:00:00.000000000 Z
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