cpflow 5.0.3 → 5.0.4

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: 4ae89eb9d37d93ce9d6e22fa42d4210cce3183505a00ee91cee172e47cb9750b
4
- data.tar.gz: ba697c7e72c80ae792feb52b47f42db38180c63af42ab7959650ce1b757d0201
3
+ metadata.gz: 51e0566b72525c5e975b384c12930f95ad5f13faaf1691ccbcca27b0c50a13b4
4
+ data.tar.gz: 91560ebafb43692488b8996ef5e05799a5621bc6066329a71636b3677d1c63e5
5
5
  SHA512:
6
- metadata.gz: d8e9ed791d7c2401b598b2ca8aefd33b363d609baca9193b678c828eaf4ba286ce3b1177a9cbe4dee5d3c6bdaf03648d77d1d8ecc2c86b384bd123625cf38038
7
- data.tar.gz: 972e3a9a8db47d3875363ab969efd14038181147b2e31ab3ad80de6d062b00d0674d4be76d53f7f470763f663b4a762568c174399c0d482c787fe4e8a1b6f79e
6
+ metadata.gz: 89ec31dcc8d5b6b53ee62246ec8b514513101466c2f3751297583a540fad6ac99b4579ff6d13dbd332080313e3c8fb25df527b55d69a3e1037ce35a0625f98a4
7
+ data.tar.gz: 2f3c85b15e050142703328aa6ef5b24bfd5c6ca32d386c6c2918dee0d1ee4b1a34092980781195f65ca59bacc095d57df24a85a26a5be5e719fd79d6cb205748
data/CHANGELOG.md CHANGED
@@ -12,6 +12,12 @@ In addition to the standard keepachangelog.com categories, this project uses a l
12
12
 
13
13
  ## [Unreleased]
14
14
 
15
+ ## [5.0.4] - 2026-05-27
16
+
17
+ ### Fixed
18
+
19
+ - **Fixed `cpflow` CLI boot order so packaged gems load `cpflow/version` before command modules, preventing a load-time `NameError` on `Cpflow::VERSION` from constants like `Command::UpdateGithubActions::LONG_DESCRIPTION`.** [PR 338](https://github.com/shakacode/control-plane-flow/pull/338) by [Justin Gordon](https://github.com/justin808). Fixes [issue 335](https://github.com/shakacode/control-plane-flow/issues/335).
20
+
15
21
  ## [5.0.3] - 2026-05-26
16
22
 
17
23
  ### Changed
@@ -392,7 +398,8 @@ Deprecated `cpl` gem. New gem is `cpflow`.
392
398
 
393
399
  First release.
394
400
 
395
- [Unreleased]: https://github.com/shakacode/control-plane-flow/compare/v5.0.3...HEAD
401
+ [Unreleased]: https://github.com/shakacode/control-plane-flow/compare/v5.0.4...HEAD
402
+ [5.0.4]: https://github.com/shakacode/control-plane-flow/compare/v5.0.3...v5.0.4
396
403
  [5.0.3]: https://github.com/shakacode/control-plane-flow/compare/v5.0.2...v5.0.3
397
404
  [5.0.2]: https://github.com/shakacode/control-plane-flow/compare/v5.0.1...v5.0.2
398
405
  [5.0.1]: https://github.com/shakacode/control-plane-flow/compare/v5.0.0...v5.0.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cpflow (5.0.3)
4
+ cpflow (5.0.4)
5
5
  dotenv (~> 3.1)
6
6
  jwt (~> 3.1)
7
7
  psych (~> 5.2)
data/docs/commands.md CHANGED
@@ -544,7 +544,7 @@ cpflow terraform import
544
544
  Regenerates the generated cpflow GitHub Actions wrappers and helper files
545
545
  from the currently installed cpflow gem. Use this after updating the
546
546
  cpflow gem so checked-in workflow wrappers move to the matching upstream
547
- release tag, for example `v5.0.2`.
547
+ release tag, for example `v5.0.3`.
548
548
 
549
549
  If the existing generated staging workflow uses a custom single staging
550
550
  branch, the command preserves it. Pass `--staging-branch BRANCH` to set or
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cpflow
4
- VERSION = "5.0.3"
4
+ VERSION = "5.0.4"
5
5
  MIN_CPLN_VERSION = "3.1.0"
6
6
  end
data/lib/cpflow.rb CHANGED
@@ -13,6 +13,8 @@ require "tempfile"
13
13
  require "thor"
14
14
  require "yaml"
15
15
 
16
+ # Load version before command files because command constants interpolate Cpflow::VERSION at load time.
17
+ require_relative "cpflow/version"
16
18
  require_relative "constants/exit_code"
17
19
 
18
20
  # We need to require base before all commands, since the commands inherit from it
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.3
4
+ version: 5.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
@@ -271,7 +271,7 @@ licenses:
271
271
  metadata:
272
272
  rubygems_mfa_required: 'true'
273
273
  post_install_message: |
274
- cpflow 5.0.3 installed.
274
+ cpflow 5.0.4 installed.
275
275
 
276
276
  If this repository already uses generated cpflow GitHub Actions, update the
277
277
  checked-in wrappers so GitHub loads the matching control-plane-flow release tag: