capistrano-nomad 0.13.3 → 0.14.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: 0ffa8354891c995cfc4b2a143d06bc36288f3ede167922dc2bdf3b5e1246281d
4
- data.tar.gz: 579819253b4ff921c1db9d15edaeaa27b6b1083966ace79aa27e75ec05e85993
3
+ metadata.gz: 077546bb337f4b20a5558aedd518010f9958ce8b59a8caf67b2dc602ea046c0c
4
+ data.tar.gz: c45ffbfc217ef342abf933f4883ebb06fbb8f4adb6f5fe1b93883048a3fe1e2a
5
5
  SHA512:
6
- metadata.gz: cf1229c6a719bfcd7d18b969a96689207ad871c9300b8b33365c72c706e9ffeca679d600a46dcd8eae7dc941d147d04d7167a93faa55e89cf3ff34de4c617cef
7
- data.tar.gz: 681e068ea81c408975cecc04ec59be55d187d8836e4ae399e01f38bfe1a3584acfc57b1d3dd3fd01a40793f67263ea516a24e755d70c408b448cac7072abde4d
6
+ metadata.gz: 0bdceb473ffecfa4e8dc10564214eea210016749d470cbb6fd11a59df0fdd5dca72a623c76f99b25f4163ab934d0796cec547d546581486a155ff487856ae001
7
+ data.tar.gz: 572627c25f188ef9788d2b23c2fa4bfcc66850af933c63ed6210347aa5f94ab3662f2df3d5f789a4c3c490fdc115c8d9c5d180dbb621239f2ddf448cc35142f3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.14.0]
4
+
5
+ - `nomad:deploy` properly deploys all jobs across all namespaces now
6
+
3
7
  ## [0.13.3]
4
8
 
5
9
  - Support for namespace-level `erb_vars` that are passed to all jobs within that namespace
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-nomad (0.13.3)
4
+ capistrano-nomad (0.14.0)
5
5
  activesupport (<= 7.0.8)
6
6
  byebug
7
7
  capistrano (~> 3.0)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "capistrano-nomad"
5
- spec.version = "0.13.3"
5
+ spec.version = "0.14.0"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
@@ -261,7 +261,7 @@ def capistrano_nomad_upload(local_path:, remote_path:, erb_vars: {})
261
261
  end
262
262
 
263
263
  def capistrano_nomad_ensure_options!(options)
264
- options[:namespace] ||= :default
264
+ options[:namespace] = :default unless options.key?(:namespace)
265
265
  end
266
266
 
267
267
  def capistrano_nomad_fetch_namespace_options(**options)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nomad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.3
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu