capistrano-nomad 0.10.4 → 0.10.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44bb762da0b1f230e620bf5dded1c46fb791af7b3fa10bd55b8625bb378acf46
4
- data.tar.gz: 3a9d575d16aeacd9cc6ffbd1b7c228eac10e8b158b8606da91afa8d10fe796ce
3
+ metadata.gz: 044045d89fd983a7ecbc98532843a5fbaf28e18b48661338a41bc91279454341
4
+ data.tar.gz: 4895faeb0b7e75aeb6d2e9cddd17e4509c6d60d76af97c604fd39327c06b00f8
5
5
  SHA512:
6
- metadata.gz: fb3ec9b2cb4977a3b0834f8ce7d856efaf74325d5079f086f29b06bb9a4658dfba067e137f32cf362d34884cce1d781ea688e40cb8a58d341c51dba477e23862
7
- data.tar.gz: 1e4beb478de4f084f058b295aaeb08bf92cce4a03397ee1cdae2eb447a25c90804ac79baa758199c696a4479da928cfddc24680978854662d9d795315e32e3b3
6
+ metadata.gz: 1813cdeab5785b355c78b316ec8f36ad69b8ab0485c3ff190f318bb4058a54bb4d224b1a030cb0af6322cf600bfe54cd13fa6d4138383fb8dd76084e5ead6ec8
7
+ data.tar.gz: e8d606d27e30fe7e095214d1a7eb22fef82a98aac64dc7aefb63c62a0fcfa14e0c9e7cef3809952d9cd1033960cb377b2e249ffd954220b58793ec468c017701
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-nomad (0.10.4)
4
+ capistrano-nomad (0.10.5)
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.10.4"
5
+ spec.version = "0.10.5"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
@@ -495,7 +495,9 @@ end
495
495
 
496
496
  def capistrano_nomad_restart_jobs(names, **options)
497
497
  names.each do |name|
498
- capistrano_nomad_execute_nomad_command(:job, :restart, options, name)
498
+ # Automatic yes to prompts. If set, the command automatically restarts multi-region jobs only in the region targeted
499
+ # by the command, ignores batch errors, and automatically proceeds with the remaining batches without waiting
500
+ capistrano_nomad_execute_nomad_command(:job, :restart, options.reverse_merge(yes: true), name)
499
501
  end
500
502
  end
501
503
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nomad
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.4
4
+ version: 0.10.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-04 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport