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: 50bc1ddfa761688a5fd56d8eaf83da2e9a632056
4
- data.tar.gz: f3a60a12be7b53b63947b199154c6fc20c40c729
3
+ metadata.gz: 2dafe27846f6911d18a31061c6c9fb6d154f6cce
4
+ data.tar.gz: 9563a3b3a072b90488c1cde2e8376966a7440e26
5
5
  SHA512:
6
- metadata.gz: a253a2b2d5e22482b69b9ff2aa7f4a8051cddaacffe45a60e580e16e5d6a25460557d00dee87fbebbcc4af261264102d4e83771afab11949a4281802d161339b
7
- data.tar.gz: 95db1686f2850e55b7650e4caec8757aabdc3b79834de84220909ec2b92897eff153a26aedbb4c6d2597dfb538380d0be0f792874bbedde4b67cfda961e56b45
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'))
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 1
10
10
  MINOR = 1
11
- TINY = 0
11
+ TINY = 1
12
12
  PRE = nil
13
13
 
14
14
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_multiconfig_parallel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada