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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 703d94246489b685ffa635a9cbaf8665331a64bb
|
4
|
+
data.tar.gz: e13302664549ce10db60c5ec69df45c3b97c1882
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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)
|