docker-compose 0.4.2 → 0.4.3

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
  SHA1:
3
- metadata.gz: 2661557619be327afdd6ff7e6f06bb7b1aaa7fcf
4
- data.tar.gz: 6e812b5f2477ddb711a65840a7b380c66d6d6c31
3
+ metadata.gz: 99edfb00478cb048c267ac7b78a19a14a7e40811
4
+ data.tar.gz: e5666bf343572c23ba8ed610cc982c92743d6bda
5
5
  SHA512:
6
- metadata.gz: 00265671c515da7a93e67d9e08244be39d77d891cf028d6e6fd7cd813f3884f329b5ed327dba7bc33c72026ea0531aa79858089037af6f791b94e88fda7150cd
7
- data.tar.gz: c98170a11fdb49069d3e2b51dbd021153516d65ab357f3e1d670f0df612feb145cc76cdc21828b4cc0360cce473d9920105e1adaf716251672c1911b35d475ec
6
+ metadata.gz: aa7ba466a9ceead72f37a175b91622a3a666f7fc0334255c3036c63a2d58ee9ef96fe7e6b81ed268ffc106d6e2c6459b7b5fb395681c1928c0ed2821ebe749de
7
+ data.tar.gz: 0634a093ad16d9203f95959bd338befefc8dabe6a23f90e64c25ccb1b2dabf2b0326c91e99ac19d404d7b24091ae18b70eaff4aadd2b1f4d55d51d726c216fb8
@@ -138,11 +138,11 @@ module Docker::Compose
138
138
  private def serialize_for_env(v)
139
139
  case v
140
140
  when String
141
- Shellwords.escape v
141
+ v
142
142
  when NilClass
143
143
  nil
144
144
  when Array
145
- Shellwords.escape JSON.dump(v)
145
+ JSON.dump(v)
146
146
  else
147
147
  raise ArgumentError, "Can't represent a #{v.class} in the environment"
148
148
  end
@@ -151,7 +151,7 @@ module Docker::Compose
151
151
  # Print a bash export or unset statement
152
152
  private def print_env(k, v)
153
153
  if v
154
- puts format('export %s=%s', k, v)
154
+ puts format('export %s=%s', k, Shellwords.escape(v))
155
155
  else
156
156
  puts format('unset %s # service not running', k)
157
157
  end
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Compose
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro