capistrano_multiconfig_parallel 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano_multiconfig_parallel/celluloid/rake_worker.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/classes/rake_task_hooks.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/cli.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/helpers/internal_helper.rb +6 -2
- data/lib/capistrano_multiconfig_parallel/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d0b7b1cfe67f16c272d09ff5d948ce2619effef
|
4
|
+
data.tar.gz: 57915be5a93164df96db3d34fcb1faecf0228e27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46a25db273a76702d90dc7a121ef428ca455771b904e603dd9da8d2e18df017731d8dc780b788d7451622bd6ed608c39c6ddbb89da03005eed25fe865c765d78
|
7
|
+
data.tar.gz: af1b4d8eea23d33c31bb6f18656831c957599899fe636a22c295b6cec1f0b8f544b8bcbc23dfa7929cd21ed5b187317b0c26fcfaca580f968edabaf9c3adce62
|
@@ -17,7 +17,7 @@ module CapistranoMulticonfigParallel
|
|
17
17
|
if arguments[CapistranoMulticonfigParallel::ENV_KEY_JOB_ID].blank?
|
18
18
|
run_the_application
|
19
19
|
else
|
20
|
-
ARGV.reject! { |arg|
|
20
|
+
ARGV.reject! { |arg| arg_is_in_default_config?(arg) }
|
21
21
|
run_capistrano
|
22
22
|
end
|
23
23
|
end
|
@@ -30,8 +30,12 @@ module CapistranoMulticonfigParallel
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def default_config_keys
|
33
|
-
|
34
|
-
|
33
|
+
default_internal_config.map { |array| array[0].to_s }
|
34
|
+
end
|
35
|
+
|
36
|
+
def arg_is_in_default_config?(arg)
|
37
|
+
default_config_keys.find { |key| key == arg.split('=')[0].tr('--', '') }.present?
|
38
|
+
end
|
35
39
|
|
36
40
|
def default_internal_configuration_params(new_config)
|
37
41
|
array = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_multiconfig_parallel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bogdanRada
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid-pmap
|