capistrano-nomad 0.8.4 → 0.8.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: d72090f2b054d4e263ca57df89aa4d5ae5c85dccfc9200313520cec17eeaef57
4
- data.tar.gz: 854f1b1cde505d12cdd12f9acb2c31da2b9d60b24121a3e85d7277dd81bdc397
3
+ metadata.gz: b641a6e0ac6d6778ee9fdf8a853064af0ee786a030d22f423d3dc8074631353a
4
+ data.tar.gz: b0d9915430395e20e39c42911c9c4932c5ec7b7def2375241d7504cdc9186666
5
5
  SHA512:
6
- metadata.gz: d9d109aea1b53f1f383f40ed95136d56857f61ad4fe3c15097e7c40d6babb07e2c8d2bb76a7971f4a0ae0293738ab33f4b55b72b5fda85a174bff341a26ac1fc
7
- data.tar.gz: 9c3671c5c5b4cfe2c29d81ba4b5b7ec7a96fd50648f062ad03aa8547214d3e69a7fe8ec0d641679e49d99e130e8587e78a1d8d7c5759c9118da1bccd02d65aec
6
+ metadata.gz: 3dedf6b7a506bae167292287bc837cdadf510fcd94ff7eec752ca42c8c0a0f0a48ccc8e606fed1923e5c20d2a0223a9fef7c7852ebee229fc40e4fc4593d2d8a
7
+ data.tar.gz: '0208bde44339dfa1847e8f98eb059d48aea510e3eb4fb9e749eded6fa761478976d5bd07974af1550d396c90bdf233390168a948e47476cc7b5c076a287d1e37'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-nomad (0.8.4)
4
+ capistrano-nomad (0.8.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.8.4"
5
+ spec.version = "0.8.5"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "Capistrano plugin for deploying and managing Nomad jobs"
@@ -88,9 +88,9 @@ def capistrano_nomad_build_docker_image_for_type(image_type)
88
88
 
89
89
  (build_args || []).each do |key, value|
90
90
  # Escape single quotes so that we can properly pass in build arg values that have spaces and special characters
91
- # e.g. Don't escape strings (#123) => $'Don\'t escape strings (#123)'
92
- value_escaped = value.gsub("'", "\\\\'")
93
- options << "--build-arg #{key}=$'#{value_escaped}'"
91
+ # e.g. Don't escape strings (#123) => 'Don'\''t escape strings (#123)'
92
+ value_escaped = value.gsub("'", "\'\\\\'\'")
93
+ options << "--build-arg #{key}='#{value_escaped}'"
94
94
  end
95
95
 
96
96
  docker_build_command = lambda do |path|
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.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Hu