omniauth-v2-ynab 0.0.1 → 2.0.0

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: e4f8a1758c2f8734a8a66884697297b4606b55db826322c6ccbd84f7d8525787
4
- data.tar.gz: d503e5f74a50911cc1df6d32304b7d3bc523924dfbcbc7165a4f335e3d2b3423
3
+ metadata.gz: f1fb19556657b65c9478a2e5476a0ed0cc212a62831d342f8ded6304c2b493da
4
+ data.tar.gz: b3239ab12605ad74a39adbf53bbbeb3493b0f3ee83b772f74f9bc20eb1c05c62
5
5
  SHA512:
6
- metadata.gz: 0f37fc7552b87440d60503431fc5849975bc8f914c5aeb02717fc6e57d6fd7533e8baac82224e3be09a75f5299a951d51c02c408ad5e958a4b06a1cc2b57c1ca
7
- data.tar.gz: d9a6f8c551016516a8bc825b1f095ebddefee1a485e595943e55cdf48c8e66c643c63c28fca881129593682249288baf3a14008f5a7bd4e564abdae345f84dfc
6
+ metadata.gz: 5ce4568d087e2507d30e14d01375fbd63fecc6713d8affbd473c75f469c03e15eb782593ad82921ad65f23c5e22f4ae44944c3940812807ff6e990f399509715
7
+ data.tar.gz: 72124ef6afd7901b96c3f56b9e5864973370aa0c3cd1836495f3413a3c1abe5eb51c1f4d234856dd66d95affb811ba86c20fba454e024e7d101d04b6fb14fc54
@@ -20,7 +20,7 @@ jobs:
20
20
  # Only run when CI passed, and not on auto-bump commits (loop prevention).
21
21
  if: |
22
22
  github.event.workflow_run.conclusion == 'success' &&
23
- !startsWith(github.event.workflow_run.head_commit.message, 'Bump version to')
23
+ !startsWith(github.event.workflow_run.head_commit.message, '[auto] Bump version to')
24
24
  runs-on: ubuntu-latest
25
25
  environment: rubygems
26
26
 
@@ -75,18 +75,9 @@ jobs:
75
75
  if: steps.version.outputs.skip != 'true'
76
76
  run: gem build omniauth-v2-ynab.gemspec
77
77
 
78
- - name: Debug OIDC claims
79
- if: steps.version.outputs.skip != 'true'
80
- run: |
81
- TOKEN=$(curl -sf -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
82
- "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=rubygems.org" | jq -r '.value')
83
- echo "$TOKEN" | cut -d. -f2 | base64 -d 2>/dev/null | jq .
84
-
85
78
  - name: Configure RubyGems credentials (OIDC)
86
79
  if: steps.version.outputs.skip != 'true'
87
- uses: rubygems/configure-rubygems-credentials@v1.0.0
88
- with:
89
- role-to-assume: rg_oidc_akr_aq2q9ba42vwb9agghxx7
80
+ uses: rubygems/configure-rubygems-credentials@main
90
81
 
91
82
  - name: Push to RubyGems
92
83
  if: steps.version.outputs.skip != 'true'
@@ -112,5 +103,5 @@ jobs:
112
103
  if: steps.version.outputs.bumped == 'true'
113
104
  run: |
114
105
  git add lib/omniauth-ynab/version.rb
115
- git commit -m "Bump version to ${{ steps.version.outputs.version }}"
106
+ git commit -m "[auto] Bump version to ${{ steps.version.outputs.version }}"
116
107
  git push origin HEAD:main
data/README.md CHANGED
@@ -7,7 +7,7 @@ OmniAuth strategy for [YNAB (You Need A Budget)](https://www.youneedabudget.com/
7
7
 
8
8
  Compatible with **omniauth 2.x**, **oauth2 2.x**, and **omniauth-rails_csrf_protection 1.x**.
9
9
 
10
- > **Note:** This is a maintained fork of the original [`omniauth-ynab`](https://rubygems.org/gems/omniauth-ynab) gem, updated for the omniauth 2.x / oauth2 2.x ecosystem.
10
+ > **Note:** This is a maintained fork of the original [`omniauth-ynab`](https://rubygems.org/gems/omniauth-ynab) gem, updated for the omniauth 2.x / oauth2 2.x ecosystem. The version starts at **2.0.0** so that projects upgrading from `omniauth-ynab` can switch gems and bump to `>= 2.0` without a version conflict.
11
11
 
12
12
  ---
13
13
 
@@ -1,5 +1,5 @@
1
1
  module OmniAuth
2
2
  module YNAB
3
- VERSION = "0.0.1".freeze
3
+ VERSION = "2.0.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-v2-ynab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tataihono
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
80
  - !ruby/object:Gem::Version
81
81
  version: '0'
82
82
  requirements: []
83
- rubygems_version: 3.4.20
83
+ rubygems_version: 3.5.22
84
84
  signing_key:
85
85
  specification_version: 4
86
86
  summary: A YNAB OAuth2 strategy for OmniAuth.