capistrano_multiconfig_parallel 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
  SHA1:
3
- metadata.gz: 4d0b7b1cfe67f16c272d09ff5d948ce2619effef
4
- data.tar.gz: 57915be5a93164df96db3d34fcb1faecf0228e27
3
+ metadata.gz: 174070f0e36a324bb314f18e1972979f8374f86c
4
+ data.tar.gz: c86a2e800e4877a6c54df3166952767ea5bdee20
5
5
  SHA512:
6
- metadata.gz: 46a25db273a76702d90dc7a121ef428ca455771b904e603dd9da8d2e18df017731d8dc780b788d7451622bd6ed608c39c6ddbb89da03005eed25fe865c765d78
7
- data.tar.gz: af1b4d8eea23d33c31bb6f18656831c957599899fe636a22c295b6cec1f0b8f544b8bcbc23dfa7929cd21ed5b187317b0c26fcfaca580f968edabaf9c3adce62
6
+ metadata.gz: 759f77792880ab77d30b8ae65bd1f7c1814a72f0996712c0154d9626e9bdca669db20eeea6a0c2f455521ea8a951cb588cd03d6db0f235df5e3ea9b549d087bf
7
+ data.tar.gz: 09e448c0f926b15f5748e480d6d9e84c9d0479c9296d82028f6ebc8026ddfd853601ec6ed845a869f4125d858207a0aebe8f3fca15e21cde277d88d0c6506877
data/README.md CHANGED
@@ -17,12 +17,12 @@ IMPORTANT! The whole reason for this gem was for using [Caphub](https://github.c
17
17
 
18
18
  CAUTION!! PLEASE READ CAREFULLY!! Capistrano is not thread-safe. However in order to work around this problem, each of the task is executing inside a thread that spawns a new process in order to run capistrano tasks The thread monitors the process. This works well, however if the tasks you are executing is working with files, you might get into deadlocks because multiple proceses try to access same resource. Instead of using files , please consider using StringIO instead.
19
19
 
20
- NEW Improvements in version 1.0.0
20
+ NEW Improvements in version 1.0.2
21
21
  ---------------------------------
22
22
 
23
- - added support for Capistrano version 2
23
+ - added support for Capistrano version 2 (Capistrano 3 was already supported)
24
24
  - a lot of refactoring and bug fixes
25
- - removed Branch variable ( this needs to be passed when asked for additional env options for each job!!!).
25
+ - removed BRANCH variable ( this needs to be passed when asked for additional env options for each job!!!) ( for Capistrano 2 should be **-S branch=<branch_name>**, for Capistrano 3 should be **BRANCH=<branch_name>**, or could be something else depending on your configuration).
26
26
 
27
27
  Requirements
28
28
  ------------
@@ -64,7 +64,6 @@ module CapistranoMulticonfigParallel
64
64
  private
65
65
 
66
66
  def run_shell_command(command)
67
- puts("\n\n\n Executing '#{command}' \n\n\n .")
68
67
  sh("#{command}")
69
68
  end
70
69
  end
@@ -18,7 +18,7 @@ module CapistranoMulticonfigParallel
18
18
  end
19
19
 
20
20
  def write(*args)
21
- @stringio.print(*args)
21
+ @stringio.write(*args)
22
22
  @real.write(*args)
23
23
  @real.flush
24
24
  end
@@ -16,7 +16,7 @@ module CapistranoMulticonfigParallel
16
16
  end
17
17
 
18
18
  def trace_flag
19
- capistrano_version_2? ? '--debug' : '--trace'
19
+ capistrano_version_2? ? '--verbose' : '--trace'
20
20
  end
21
21
  end
22
22
  end
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 1
10
10
  MINOR = 0
11
- TINY = 2
11
+ TINY = 3
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.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada