capistrano-docker_cluster 1.0.2 → 1.0.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
  SHA256:
3
- metadata.gz: b8968081d032261ad943dd8c0a356c9b9862ebd6b000b54e5489fe4f934c401f
4
- data.tar.gz: 727e4cef7ef2ab53e3ca6c6a19f820b938135f5a024193a83d30bdc217b1826a
3
+ metadata.gz: 55390e4e8d1ee57c4a14db69dda8e51d6f721ee154a5b735cd1e1a87f86cc78c
4
+ data.tar.gz: 540e564423aab6558323368d9ed08402b0f3cde3aa5fae7f2ec5613edff15302
5
5
  SHA512:
6
- metadata.gz: 66820769e19bea0782c7e5c0f966593f8a4a3472bead40666ea0167f2ad91c9e51760fa15b9477a8c8b0d191ef637a6961c44fab42a0c7cdfd0284030a1dc9f8
7
- data.tar.gz: 3cbb64c824c58e5512cf5481981692e0d9363c3e38e14fe55e836a51bafc86f2f4fe9c55803f6ef59fd796411438b166f0583784f704601f5a353d48f6eb8256
6
+ metadata.gz: a96ffed60b967b1194e320098d6b6b49a4db068f311c43b7dcc67a4e1e6eaa10d5df662f5f6af0be03e433bfb7512f138be5282c54058620e600682cf2a1f1eb
7
+ data.tar.gz: 49195b18770271a0b0f1d6764ecac14d22d2ad28c0204488ceab7c226b8351f60891dbb6cee163d0348e38317dce45105d4ec71802eacc047f497059debce9ba
data/CHANGE_LOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.0.3
2
+
3
+ * Fix use of `--` to send command arguments.
4
+
1
5
  # 1.0.2
2
6
 
3
7
  * Allow specifying app specific settings as capistrano variables `docker_app_configs_<app>` and `docker_app_args_<app>`.
data/bin/docker-cluster CHANGED
@@ -72,7 +72,8 @@ usage() {
72
72
  }
73
73
 
74
74
  read_arguments() {
75
- while [ "$1" != "" ]; do
75
+ typeset finished=false
76
+ while [ "$1" != "" -a "$finished" != "true" ]; do
76
77
  typeset arg=$1
77
78
  typeset val=
78
79
  if [[ $arg =~ ^--?[^-]+ ]]; then
@@ -144,7 +145,7 @@ read_arguments() {
144
145
  -- )
145
146
  shift
146
147
  DOCKER_RUN_COMMAND="$DOCKER_RUN_COMMAND $@"
147
- shift ${#@}
148
+ finished=true
148
149
  ;;
149
150
  * )
150
151
  DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS $1"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module DockerCluster
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.3"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-docker_cluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand