dlinked 0.1.4 → 0.1.7

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: ef940eb0029b6e467c94081f4bff4bf1b62bed8d8f3311c85e023002a766701d
4
- data.tar.gz: d628d0fe0af53206b2178f2cbd21f3d272d23189e291ade9784e3c45c7b33eb9
3
+ metadata.gz: 91b4fd6c724736c40143c48dcc7c10a0335926cf8cbafc4e36020d7fd0ca97ed
4
+ data.tar.gz: db2963f5328e509eead6dd403ad4cde8cf820115db33861e8ec019c1bc56d1f5
5
5
  SHA512:
6
- metadata.gz: 1bc4186e90de01260385e224bc12ebe71550f18f973c897c69b545007eecda94cbef52019e720db70dd4adf5c280e020b1f2382c8250a1ac9937643fc4cd49cf
7
- data.tar.gz: a37e7d7ff0355fbd1a2ce94c1f0e4668c729eb77185b9b53d9cc3e14527b2f7d46210afe71a234a6c7cb9773a3becb145ee76bea967b38be0ac90556dfd512ee
6
+ metadata.gz: 5674461e19a17fa60a0d3f3022899be02824bade1390f2b5dc7506c787b6cd4c6abee66269e3af34f0c1cbe7949874ebc56c8101e14d3b32bd3ed0e7bbb931a5
7
+ data.tar.gz: 38a9b833f855d57ab85a8ec3a1f74a56a090dab041a00d3618ea789b5b834ecff1a84e2eb6a30facc8d7eee5256f33c88a70df6dbc169ddaf9590d65ee30385b
@@ -88,38 +88,43 @@ jobs:
88
88
  # The directory to publish (generated by yard doc)
89
89
  publish_dir: ./doc
90
90
  publish:
91
- name: Publish to RubyGems
91
+ name: Publish to RubyGems (OIDC)
92
92
  runs-on: ubuntu-latest
93
- needs: test
93
+ needs: test # Ensure tests and build pass
94
94
 
95
- # This step only executes when a release is published (a tag is pushed)
95
+ # This job ONLY runs when a release is published
96
96
  if: github.event_name == 'release' && github.event.action == 'published'
97
97
 
98
+ # --- CRITICAL PERMISSIONS FOR OIDC ---
99
+ permissions:
100
+ contents: read # Read repo contents
101
+ id-token: write # REQUIRED for OIDC authentication
102
+ # ------------------------------------
103
+
98
104
  steps:
99
- - name: Checkout Code (Needed to access config)
100
- uses: actions/checkout@v4
105
+ - name: Checkout Code
106
+ uses: actions/checkout@v4
107
+ with:
108
+ # This setting is required for some CI/CD flows, include it to be safe
109
+ persist-credentials: false
110
+
111
+ - name: Set up Ruby
112
+ uses: ruby/setup-ruby@v1
113
+ with:
114
+ ruby-version: 3.3
115
+ bundler-cache: true
101
116
 
102
- - name: Set up Ruby
103
- uses: ruby/setup-ruby@v1
104
- with:
105
- ruby-version: 3.3 # Use the latest version for publishing
106
- bundler-cache: false # We only need the runtime
107
- - name: Setup RubyGems Authentication
108
- uses: rubygems/configure-rubygems-credentials@v1
109
- with:
110
- api_key: ${{ secrets.RUBYGEMS_API_KEY }}
111
- - name: Download Gem Artifact
112
- uses: actions/download-artifact@v4
113
- with:
114
- name: dlinked-gem
115
- path: pkg/
116
-
117
- # - name: Set up RubyGems credentials
118
- # run: |
119
- # mkdir -p ~/.gem
120
- # echo ":rubygems_api_key: ${{ secrets.RUBYGEMS_API_KEY }}" > ~/.gem/credentials
121
- # chmod 0600 ~/.gem/credentials
117
+ # We no longer need to download the artifact because we will rebuild it.
118
+ # The release-gem action often handles the build itself, but let's
119
+ # stick to the flow of building it explicitly just before.
120
+
121
+ - name: Install Dependencies for Build
122
+ run: bundle install
123
+
124
+ - name: Build Gem (Ensure latest version)
125
+ run: bundle exec rake build
122
126
 
123
- - name: Push Gem to RubyGems.org
124
- # The gem file is expected to be in the 'pkg/' directory
125
- run: gem push pkg/*.gem
127
+ # --- USE THE OFFICIAL OIDC RELEASE ACTION ---
128
+ - name: Publish Gem to RubyGems.org via OIDC
129
+ uses: rubygems/release-gem@v1
130
+ # The gem push command is handled internally by this action
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DLinked
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlinked
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniele Frisanco
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-12-12 00:00:00.000000000 Z
11
+ date: 2025-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -140,7 +140,7 @@ metadata:
140
140
  bug_tracker_uri: https://github.com/danielefrisanco/dlinked/issues
141
141
  documentation_uri: https://danielefrisanco.github.io/dlinked/
142
142
  changelog_uri: https://github.com/danielefrisanco/dlinked/blob/main/CHANGELOG.md
143
- post_install_message:
143
+ post_install_message:
144
144
  rdoc_options: []
145
145
  require_paths:
146
146
  - lib
@@ -155,8 +155,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  - !ruby/object:Gem::Version
156
156
  version: '0'
157
157
  requirements: []
158
- rubygems_version: 3.3.26
159
- signing_key:
158
+ rubygems_version: 3.5.22
159
+ signing_key:
160
160
  specification_version: 4
161
161
  summary: A highly performant Doubly Linked List implementation for Ruby.
162
162
  test_files: []