capistrano3_featureset 1.2.0 → 1.2.1

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: b9c28c4f6a96943889536320db94a8633e6860f2ffa8eeda0e800bd58f3b3c11
4
- data.tar.gz: 72d4cbf505f475f3aba3028fe564b68aea177c0a619332b5dd39084067e2feac
3
+ metadata.gz: 1bdd639b717389ed7c32e5331efc773f4827a99f4d1fa4b0dbdfefbf7c53f9f4
4
+ data.tar.gz: 88e82a2f84f7f0a7e76205828e1c4691cd2a0170d954158a2e3a8fc25498e807
5
5
  SHA512:
6
- metadata.gz: ce82806866e53860e08e7845c6b0c4428c11ee7250ee0d9be7f74be756c4e683439e466ae543ca7f5cefc17b0230a012cbed4d755913f877198ce3ba464afe89
7
- data.tar.gz: 1c2e3c06d71eefd74ee195ae653f2a944b39d126082a74729c6bbe874c7eea29239ce2eee7f176f8ca6bdc2999af558f0d9983f02919dedd77d8dc453324f6a8
6
+ metadata.gz: 03c98c5c66a52beb473231e17620fb4f0d5c6e20aa193854835e39afa969d590d996ae1930e6b3b99366936f50016e63f9b8757511e7a3168cf7b33b14f6b774
7
+ data.tar.gz: 4edcd23b6b326e99c3d36ca59520dfb00abd43c9f6ec78585d4403315273d95646bfc7089d74bacd61b8a63c8f26374210c6f14d802cc2c1d0e2c2c8c595d01c
data/README.md CHANGED
@@ -50,6 +50,13 @@ set :ruby_version, '4.0.1'
50
50
 
51
51
  # Changelog
52
52
 
53
+ ## [1.2.1] - 2026-11-19
54
+
55
+ ### Fixed
56
+
57
+ * `version_manager:check` raised a `NameError` (`uninitialized constant Capistrano::Error`) instead of
58
+ the intended error message. It now raises `Capistrano3Featureset::Error`.
59
+
53
60
  ## [1.2.0] - 2026-10-05
54
61
 
55
62
  ### Changed
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'capistrano3_featureset'
6
- spec.version = '1.2.0'
6
+ spec.version = '1.2.1'
7
7
  spec.authors = ['Georg Limbach', 'Tom Armitage', 'Stefan Daschek']
8
8
  spec.email = ['georg.limbach@lichtbit.com']
9
9
 
@@ -1,5 +1,6 @@
1
1
  # Load DSL and set up stages
2
2
  require 'capistrano/setup'
3
+ require 'capistrano3_featureset'
3
4
 
4
5
  # Include default deployment tasks
5
6
  require 'capistrano/deploy'
@@ -15,7 +15,7 @@ namespace :version_manager do
15
15
  error "Installed Rubies:"
16
16
  error installed_rubies
17
17
  error "Install with: mise install ruby@#{ruby_version}"
18
- raise Capistrano::Error, "Required Ruby #{ruby_version} is not installed"
18
+ raise Capistrano3Featureset::Error, "Required Ruby #{ruby_version} is not installed"
19
19
  end
20
20
 
21
21
  # check env file
@@ -33,11 +33,11 @@ namespace :version_manager do
33
33
  error "Environment file contains variables using 'export':"
34
34
  error exported_vars
35
35
  error "Please use plain assignments like: FOO=bar"
36
- raise Capistrano::Error, "Environment variables must not use 'export'"
36
+ raise Capistrano3Featureset::Error, "Environment variables must not use 'export'"
37
37
  end
38
38
  else
39
39
  error "Environment file not found: #{env_file}"
40
- raise Capistrano::Error, "Required environment file is missing"
40
+ raise Capistrano3Featureset::Error, "Required environment file is missing"
41
41
  end
42
42
  end
43
43
 
@@ -0,0 +1,3 @@
1
+ module Capistrano3Featureset
2
+ class Error < StandardError; end
3
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3_featureset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georg Limbach
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2026-10-05 00:00:00.000000000 Z
13
+ date: 2026-11-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano