capistrano_multiconfig_parallel 1.1.0 → 1.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dafe27846f6911d18a31061c6c9fb6d154f6cce
|
4
|
+
data.tar.gz: 9563a3b3a072b90488c1cde2e8376966a7440e26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8d225858435b5446562fc06704c2a6b6a815c5dc550338741576110e1093f4591d1dadecc2325f6846e73498ea04fae228126bcb55ba81b27442f4bd4d0747c
|
7
|
+
data.tar.gz: da120f7ab0d913c26634bcbce0fb87a7d756b10c9299ab9b050b8901f01a6e6ea329baf27ed19f41fd4892683725d00e439844d928c6beb52b2ff4c88b3b477b
|
data/README.md
CHANGED
@@ -129,6 +129,14 @@ Available command line options when executing a command
|
|
129
129
|
|
130
130
|
- Enables the clear screen to happen before the table status is displayed on screen
|
131
131
|
|
132
|
+
- --config_dir
|
133
|
+
|
134
|
+
- The directory where the config file (multi_cap.yml) is located. The gem will try to detect if file exist in current directory from where the script is runnning
|
135
|
+
|
136
|
+
- --log_dir
|
137
|
+
|
138
|
+
- The path where the log files will be created. By default it depends on the **config_dir**. It will create a **log** directory in the same directory as the configuration directory
|
139
|
+
|
132
140
|
- --development_stages
|
133
141
|
|
134
142
|
- if option is present and has value an ARRAY of STRINGS, each of them will be used as a development stage
|
@@ -37,6 +37,7 @@ module CapistranoMulticonfigParallel
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def read_config_file
|
40
|
+
return if CapistranoMulticonfigParallel.original_args.present? && CapistranoMulticonfigParallel.original_args.include?('--help')
|
40
41
|
@fetched_config.config_dir = @fetched_config.config_dir.present? ? File.expand_path(@fetched_config.config_dir) : try_detect_file('multi_cap.yml')
|
41
42
|
config_file_path = @fetched_config.config_dir.present? ? File.join(@fetched_config.config_dir, 'multi_cap.yml') : nil
|
42
43
|
config_file = File.expand_path(config_file_path || File.join(detect_root.to_s, 'config', 'multi_cap.yml'))
|