adap 0.1.8 → 0.1.10

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: 15cf0c457f1119adc8d5393c23791bf7033be7bc9c1afd8f1b157989cd1786b7
4
- data.tar.gz: e39ccd38e93cb38d63a17368b9e481cb56977996a3cf401d100175b093fa667b
3
+ metadata.gz: 63f5d0cc91cadfe37b62c84602420c11adb34b8e80f3f60ff51a767e75621788
4
+ data.tar.gz: 9780fc3c0145805bcb042d5c4df8018b6d8df5ab824b1fd1c5a74e5103934627
5
5
  SHA512:
6
- metadata.gz: 7fc03fd6077f6f0b4961c5f5ca6e4b5ce97259463859c8f4d71ee5e087cf403f74c290677f2f5138a47395b533ed3fede89f1976b5010e0149f4ccabe9824174
7
- data.tar.gz: 8a9195e6f81ae28dc7aa70b2d8ce51635f36fc89e087fc4cfdbd1e2b37e7f6e823cee40ee5dffd6e9277f4cf2881b38bb687bf88e37a9033c4df287401745a3b
6
+ metadata.gz: c0fa71f2e0ba6edc95c710ee05e242f4eb1af904dcfa5a5157bd58afa57c0f4ce3afe7a76a408afbd0e0b33f2d559204f7b1215015f7e26517e92b089cd2610a
7
+ data.tar.gz: dd285ad4b31c0c4d730d200ac98e0b419ba65ace520218f99945e70df50a2841c498a5074a28537d11e5ae034eaf33a4b728c25629be562a06396c76efab3634
@@ -1,6 +1,4 @@
1
-
2
-
3
- name: Ruby
1
+ name: Release
4
2
 
5
3
  on:
6
4
  workflow_dispatch: # Allows you to run this workflow manually from the Actions tab or GitHub CLI(gh workflow run)
@@ -10,7 +8,7 @@ on:
10
8
  required: true
11
9
 
12
10
  permissions:
13
- contents: read
11
+ contents: write
14
12
 
15
13
  jobs:
16
14
  release:
@@ -22,7 +20,7 @@ jobs:
22
20
  runs-on: ${{ matrix.os }}
23
21
  env:
24
22
  GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
25
- GEM_HOST_OTP_CODE: ${{ github.event.inputs.rubygems-otp-code }}
23
+ GEM_HOST_OTP_CODE: ${{ inputs.otp }}
26
24
  steps:
27
25
  - name: Check out ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}
28
26
  uses: actions/checkout@v4
@@ -35,6 +33,11 @@ jobs:
35
33
  ruby-version: ${{ matrix.ruby }}
36
34
  bundler-cache: true # runs 'bundle install' and caches installed gems automatically
37
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
+
38
41
  - name: Run tests
39
42
  run: |
40
43
  cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
@@ -42,7 +45,6 @@ jobs:
42
45
  bundle exec rake
43
46
 
44
47
  - name: Push to rubygems.org
45
- if: startsWith(github.ref, 'refs/tags/v')
46
48
  run: |
47
49
  echo "Pushing to rubygems.org. You need update the version in lib/adap/version.rb before pushing it."
48
50
  echo "Detected version is \"$(grep VERSION lib/adap/version.rb)\""
@@ -59,11 +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 "Pushing to rubygems.org. You need update the version in lib/adap/version.rb before pushing it."
66
- echo "Detected version is \"$(grep VERSION lib/adap/version.rb)\""
67
- cd ${GITHUB_WORKSPACE}/${{ github.event.repository.name }}
68
- bundle exec rake release
69
-
data/lib/adap/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ModAdap
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tsutomu Nakamura