capistrano_multiconfig_parallel 2.3.0 → 2.3.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: 3e4e281f62d3965250a0fad971db85075dffbbaf
4
- data.tar.gz: d82ae614107778723f6f46641e9fb89259f619ca
3
+ metadata.gz: 703d94246489b685ffa635a9cbaf8665331a64bb
4
+ data.tar.gz: e13302664549ce10db60c5ec69df45c3b97c1882
5
5
  SHA512:
6
- metadata.gz: a05340433f5514d4f03fe8ca127b605e4db51b9ae87d39342d8a78232c7df88ee23648b6ea62656a052f5c24d1674e493483ddfdcc2cdadaca65018b2d17bd3e
7
- data.tar.gz: 1671007d8457df58e1b12ea834b9fff175c872c0704296dbddceaae0101c0fa01b5e55fde6af7e388a74306db7b0b242002a11b24805c7ebeac698cde83f963e
6
+ metadata.gz: cf24978cfa5f9fa57373d8ab587aacda2d08c5227ebcae07eef598144c5310e7b7e582a47c6933ea1f749b1008ec88b222a5b934ee4ff0c469a385f2ba651c74
7
+ data.tar.gz: 0ec0a645bfa0230c4f5f3f12e6bb863d5ec7e13e0280b1f60637883ff9d6c937c201f08223be25320f55eceae7ce4ae8a9fbb160924b51bade00201e3cfe151c
data/README.md CHANGED
@@ -17,6 +17,9 @@ 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 2.3.0
21
+ -------------------------------------------------------------------------------------
22
+ - added more validations and refactored the stages helper in order to properly detect independent deploys
20
23
 
21
24
  NEW Improvements in version 2.2.0
22
25
  -------------------------------------------------------------------------------------
@@ -28,7 +28,10 @@ module CapistranoMulticonfigParallel
28
28
  end
29
29
 
30
30
  def app_names_from_stages
31
- independent_deploy? ? fetch_apps_from_file : stages.map { |stage| stage.split(':').reverse[1] }.uniq
31
+ app_names = fetch_apps_from_file
32
+ new_apps = stages.map { |stage| stage.split(':').reverse[1] }.compact
33
+ app_names.concat(new_apps).uniq
34
+ app_names
32
35
  end
33
36
 
34
37
  def configuration_has_valid_path?(hash)
@@ -9,7 +9,7 @@ module CapistranoMulticonfigParallel
9
9
 
10
10
  MAJOR = 2
11
11
  MINOR = 3
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  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: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada