trocla 0.10.0 → 0.11.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: e313de9c046b1d0c40fd9ce7f0524def8c4295e7027a977679eaedcde728e999
4
- data.tar.gz: c62e654ccfbf7ae4bd9ece570b545cffea47a52352d62e17ca3efe4948a25b68
3
+ metadata.gz: 70cb5164b3b81cf2def43ded63103a4382616f1487b22f540bf60bc69929c621
4
+ data.tar.gz: 3ead9765860ff24d12343f20521c074cd7e7e89d589fedd78f47cab3fd514aa1
5
5
  SHA512:
6
- metadata.gz: 866cefa1be238bff5e260d364cf4e3cfc6a68315bf3a9c4d429194df66a659db69097dc41aa40445f8929e9488a0687824e45b81659e570270adb1ccbd26fe6e
7
- data.tar.gz: aa1ae85ffd2dc0c4228d8aaf01d23493a99030f6d894cbf8ef35ba55d61e61ef6cf855b3c22861df3341f519dc00eb3c1e85baab81f40807cedea9a02e74d3d0
6
+ metadata.gz: 269a44b07b6c9a0a28927c153c27ad38fcaf5da2bb7d1089c2a84132a955422c49cc9c21292003f2b5d9cc106a595047ddc803c6b8f1d0a87950cbc955ff8e7b
7
+ data.tar.gz: 9fc6590bc2573b371782d02434d284245c0edeb22e6b3cf432558a6ab08916ec64989f8424738f74546b37ceb354922ce5548f0cc9fb0cfa393ce59a8ac14e56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## to 0.11.0
4
+
5
+ * Drop support for EOL Ruby versions (< 3.1)
6
+ * Add automated release workflow via GitHub Actions using Trusted Publishing
7
+ * Setup Dependabot for bundler and github-actions
8
+ * Fix test suite on Ruby 3.2 and modern JRuby
9
+
3
10
  ## to 0.10.0
4
11
 
5
12
  * Switch to use Argon2id gem instead of argon2, since the former has better JRuby support
data/README.md CHANGED
@@ -412,6 +412,36 @@ However, they have Trocla itself available (through `trocla`) and you must ensur
412
412
 
413
413
  See [Changelog](CHANGELOG.md)
414
414
 
415
+ ## Releasing
416
+
417
+ Releases are fully automated via GitHub Actions (`.github/workflows/release.yml`). The workflow runs specs, builds the gem, creates a GitHub Release with the `.gem` artifact, and publishes to RubyGems using Trusted Publishing.
418
+
419
+ ### Prerequisites
420
+
421
+ Ensure GitHub Actions has write access to the repository:
422
+ 1. In repository **Settings** → **Actions** → **General**.
423
+ 2. Under **Workflow permissions**, select **Read and write permissions**.
424
+
425
+ ### Triggering a Release
426
+
427
+ #### Option A: GitHub Actions UI (Manual Trigger)
428
+
429
+ 1. Go to the **Actions** tab in the GitHub repository.
430
+ 2. Select the **Release** workflow from the left sidebar.
431
+ 3. Click **Run workflow**:
432
+ - Leave `version` blank to release the current version in `lib/trocla/version.rb`.
433
+ - Or provide an explicit version (e.g. `0.11.0`) to update `version.rb`, commit, and tag automatically.
434
+ 4. Click **Run workflow**.
435
+
436
+ #### Option B: Push a Git Tag
437
+
438
+ Pushing a version tag (`[0-9]*` or `v*`) automatically runs the workflow and publishes the release:
439
+
440
+ ```bash
441
+ git tag 0.11.0
442
+ git push origin 0.11.0
443
+ ```
444
+
415
445
  ## Contributing to trocla
416
446
 
417
447
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
@@ -3,7 +3,7 @@
3
3
  class Trocla
4
4
  module VERSION
5
5
  MAJOR = 0
6
- MINOR = 10
6
+ MINOR = 11
7
7
  PATCH = 0
8
8
  BUILD = nil
9
9
 
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trocla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - mh
8
+ autorequire:
8
9
  bindir: bin
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-11-05 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: highline
@@ -209,7 +210,9 @@ licenses:
209
210
  metadata:
210
211
  homepage_uri: https://tech.immerda.ch/2011/12/trocla-get-hashed-passwords-out-of-puppet-manifests/
211
212
  source_code_uri: https://github.com/duritong/trocla
213
+ bug_tracker_uri: https://github.com/duritong/trocla/issues
212
214
  changelog_uri: https://github.com/duritong/trocla/blob/master/CHANGELOG.md
215
+ post_install_message:
213
216
  rdoc_options: []
214
217
  require_paths:
215
218
  - lib
@@ -217,14 +220,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
220
  requirements:
218
221
  - - ">="
219
222
  - !ruby/object:Gem::Version
220
- version: 2.5.0
223
+ version: 3.1.0
221
224
  required_rubygems_version: !ruby/object:Gem::Requirement
222
225
  requirements:
223
226
  - - ">="
224
227
  - !ruby/object:Gem::Version
225
228
  version: '0'
226
229
  requirements: []
227
- rubygems_version: 3.6.9
230
+ rubygems_version: 3.5.22
231
+ signing_key:
228
232
  specification_version: 4
229
233
  summary: Trocla a simple password generator and storage
230
234
  test_files: []