capistrano_multiconfig_parallel 2.0.0.rc4 → 2.0.0.rc5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/V1_README.md +7 -4
- data/lib/capistrano_multiconfig_parallel/application.rb +2 -0
- data/lib/capistrano_multiconfig_parallel/configuration/default.yml +7 -0
- data/lib/capistrano_multiconfig_parallel/helpers/configuration.rb +1 -1
- data/lib/capistrano_multiconfig_parallel/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 821ddf342d3b2ec47cda6979404552e953079474
|
4
|
+
data.tar.gz: 3a2742f8a175f1d99a22694c9b20bdee8c3e0233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f4665fbc7662ebd2904f2789e6730dc93515a4107cbcb6c684bf42b54858ae8880337a5e97be9a0954a04a9ecf56214742591ac804078c11676c939a3d8e1b7
|
7
|
+
data.tar.gz: d35cbf3a283b6dcf1ab1ec0f68d7af6dc0e7137b382215c0718f113efaf431abd741b20b8b2b8b1acf012f2e1dd7067690c05fcbc3437960693a120f3412febc
|
data/V1_README.md
CHANGED
@@ -3,10 +3,8 @@ capistrano_multiconfig_parallel
|
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/capistrano_multiconfig_parallel.svg)](http://badge.fury.io/rb/capistrano_multiconfig_parallel) [![Repo Size](https://reposs.herokuapp.com/?path=bogdanRada/capistrano_multiconfig_parallel)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Gem Downloads](https://ruby-gem-downloads-badge.herokuapp.com/capistrano_multiconfig_parallel?type=total&style=dynamic)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Analytics](https://ga-beacon.appspot.com/UA-72570203-1/bogdanRada/capistrano_multiconfig_parallel)](https://github.com/bogdanRada/capistrano_multiconfig_parallel) [![Join the chat at https://gitter.im/bogdanRada/capistrano_multiconfig_parallel](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/bogdanRada/capistrano_multiconfig_parallel?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
-------------------------------------------------------------------------------------------------------------------
|
9
|
-
|
6
|
+
This README is for version 1.7.2 or lower. Please consider upgrading to latest version. Or at least try it out :)
|
7
|
+
-----------------------------------------------------------------------------------------------------------------
|
10
8
|
|
11
9
|
DEMO
|
12
10
|
----
|
@@ -96,6 +94,7 @@ Default Configuration:
|
|
96
94
|
---
|
97
95
|
multi_debug: true
|
98
96
|
multi_secvential: false
|
97
|
+
check_app_bundler_dependencies: false
|
99
98
|
websocket_server:
|
100
99
|
enable_debug: false
|
101
100
|
adapter: ''
|
@@ -127,6 +126,10 @@ Available command line options when executing a command
|
|
127
126
|
|
128
127
|
- If parallel executing does not work for you, you can use this option so that each process is executed normally and ouputted to the screen. However this means that all other tasks will have to wait for each other to finish before starting
|
129
128
|
|
129
|
+
- --check_app_bundler_dependencies
|
130
|
+
|
131
|
+
- if option is present and has value TRUE , will check the application bundler dependecies are satisfied before delegating the job to the actor that executes the capistrano action -
|
132
|
+
|
130
133
|
- --websocket_server.enable_debug
|
131
134
|
|
132
135
|
- if option is present and has value TRUE, will enable debugging of websocket communication between the workers
|
@@ -225,6 +225,7 @@ module CapistranoMulticonfigParallel
|
|
225
225
|
path: job_path(options)
|
226
226
|
|
227
227
|
))
|
228
|
+
if configuration.check_app_bundler_dependencies.to_s.downcase == 'true'
|
228
229
|
if job.job_gemfile.present?
|
229
230
|
if !@checked_job_paths.include?(job.job_path)
|
230
231
|
@checked_job_paths << job.job_path
|
@@ -234,6 +235,7 @@ module CapistranoMulticonfigParallel
|
|
234
235
|
else
|
235
236
|
raise "Please make sure you have a Gemfile in the project root directory #{job.job_path}"
|
236
237
|
end
|
238
|
+
end
|
237
239
|
if job.find_capfile.blank?
|
238
240
|
raise "Please make sure you have a Capfile in the project root directory #{job.job_path}"
|
239
241
|
end
|
@@ -6,6 +6,13 @@ default_config:
|
|
6
6
|
default: TRUE
|
7
7
|
required: false
|
8
8
|
|
9
|
+
- name: 'check_app_bundler_dependencies'
|
10
|
+
type: 'boolean'
|
11
|
+
description: >-
|
12
|
+
Forces execution of jobs in sequence
|
13
|
+
default: 'false'
|
14
|
+
required: false
|
15
|
+
|
9
16
|
- name: 'multi_secvential'
|
10
17
|
type: 'boolean'
|
11
18
|
description: >-
|
@@ -114,7 +114,7 @@ module CapistranoMulticonfigParallel
|
|
114
114
|
|
115
115
|
def check_configuration(config)
|
116
116
|
@check_config = config.stringify_keys
|
117
|
-
check_boolean_props(%w(multi_debug multi_secvential websocket_server.enable_debug terminal.clear_screen))
|
117
|
+
check_boolean_props(%w(multi_debug multi_secvential websocket_server.enable_debug terminal.clear_screen check_app_bundler_dependencies))
|
118
118
|
check_string_props(%w(websocket_server.adapter))
|
119
119
|
check_array_props(%w(task_confirmations development_stages apply_stage_confirmation))
|
120
120
|
check_directories(%w(log_dir config_dir))
|