capistrano_multiconfig_parallel 0.20.6 → 0.20.7

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: 19f74161b46e3500cd77d702012961ce2d4a45e1
4
- data.tar.gz: f5927ff088ea7471efcc9c3b180d19f3e8780a44
3
+ metadata.gz: 1e5998865a618f48611e5f55d210f0ee90d98f53
4
+ data.tar.gz: 2ddff8229556e05d2b411a054ce427ecf4c9de2c
5
5
  SHA512:
6
- metadata.gz: 7a523700dc697e06400639084d8abfd70e7ced90192da5d9822e1330f27a1330861dcda679de725ae43a465441d660dc32ea8330a4140a893e40cfda97d7ef81
7
- data.tar.gz: e981bbf535560749a699d537cf7e04921b8223f86f2542553d4975799a4023074b54f023db7dfc28dcd4835b24a6e10cac4873890fb2eb185d3acdba23250414
6
+ metadata.gz: 403aceb49472e6bd0ab07c407f9f758cc7816c5576a2b7a5dabd236fb9e49fc449349186a3620fbaf27b126544acc9eed335e3de2830e60db46ed3dbac3a391d
7
+ data.tar.gz: 505dac4bec1de50634874a7678fb0303759ff01791bf6b13674c120699bf4cfa352aab1727e2321fed4067fe8fdc96dd2fb1c22824852c7e21e82bf55b378e1e
@@ -11,18 +11,17 @@ module CapistranoMulticonfigParallel
11
11
  check_terminal_tty
12
12
  arguments = multi_fetch_argv(ARGV.dup)
13
13
  if arguments[CapistranoMulticonfigParallel::ENV_KEY_JOB_ID].blank?
14
- execute_with_rescue('stderr') do
15
- verify_validation
16
- CapistranoMulticonfigParallel::Application.new.start
17
- end
14
+ run_the_application
18
15
  else
19
16
  Capistrano::Application.new.run
20
17
  end
21
18
  end
22
19
 
23
- def verify_validation
24
- CapistranoMulticonfigParallel.original_args = ARGV.dup
25
- CapistranoMulticonfigParallel.configuration_valid?
20
+ def run_the_application
21
+ execute_with_rescue('stderr') do
22
+ verify_validation
23
+ CapistranoMulticonfigParallel::Application.new.start
24
+ end
26
25
  end
27
26
  end
28
27
  end
@@ -19,6 +19,11 @@ module CapistranoMulticonfigParallel
19
19
  CapistranoMulticonfigParallel.logger
20
20
  end
21
21
 
22
+ def verify_validation
23
+ CapistranoMulticonfigParallel.original_args = ARGV.dup
24
+ CapistranoMulticonfigParallel.configuration_valid?
25
+ end
26
+
22
27
  def check_terminal_tty
23
28
  $stdin.sync = true if $stdin.isatty
24
29
  $stdout.sync = true if $stdout.isatty
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 20
11
- TINY = 6
11
+ TINY = 7
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: 0.20.6
4
+ version: 0.20.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada