capistrano_multiconfig_parallel 0.20.4 → 0.20.5

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: 49611c576c20ec72572b9813cb775292a667e844
4
- data.tar.gz: 03728485649e376943f1ac2ae8b7a7cb8d10e7ce
3
+ metadata.gz: f7ca0f7dd4b449079312dd545ac0b6f964cc8a49
4
+ data.tar.gz: 8a68ccb1c3591adacebd17d95cc93d446bac5a10
5
5
  SHA512:
6
- metadata.gz: 56a72d2dc56dd13a72037655eacc5fa3c10644754f889b82f8f81fae546a23d6f91be12ab11e10e5d81e405618e52c7decbf1bd556d65c96c28151989827f3ed
7
- data.tar.gz: f57a485bbdd9880dd9a8455a0c4b4b9ffdc7b3e2f8c25e0c35e116396f65a7f19d198ad4fb24f45c7f4457b93a9c0e5f9f344c0d46c2064f1227de4f0e350724
6
+ metadata.gz: 8ebbe15d5673e9d9bfaea5963413c4daf803678c4e734ea0741b25589cadf1ec81a0be58d9d7b9a9215b93bddec4593f8084c2c004cf0e317f8658bad56d7ca0
7
+ data.tar.gz: 0f08b92516a698704317f274ae152854cfd17103a12cd1219c65fb2bc060118ecd077ba92f7f3afc361a4fc259f30d75b53f3f3776f464b9f875eac1551ab7dd
@@ -8,10 +8,10 @@ module CapistranoMulticonfigParallel
8
8
 
9
9
  # method used to start
10
10
  def start
11
- verify_validation
12
11
  arguments = multi_fetch_argv(ARGV.dup)
13
12
  if arguments[CapistranoMulticonfigParallel::ENV_KEY_JOB_ID].blank?
14
13
  execute_with_rescue('stderr') do
14
+ verify_validation
15
15
  CapistranoMulticonfigParallel::Application.new.start
16
16
  end
17
17
  else
@@ -4,18 +4,21 @@ default_config:
4
4
  description: >-
5
5
  Enable debugging of workers
6
6
  default: TRUE
7
+ required: false
7
8
 
8
9
  - name: 'multi_secvential'
9
10
  type: 'boolean'
10
11
  description: >-
11
12
  Forces execution of jobs in sequence
12
- default: false
13
+ default: 'false'
14
+ required: false
13
15
 
14
16
  - name: 'websocket_server.enable_debug'
15
17
  type: 'boolean'
16
18
  description: >-
17
19
  Enables debugging of websocket communication between the workers
18
- default: false
20
+ default: 'false'
21
+ required: false
19
22
 
20
23
  - name: 'development_stages'
21
24
  type: 'Array'
@@ -24,6 +27,7 @@ default_config:
24
27
  default:
25
28
  - development
26
29
  - webdev
30
+ required: false
27
31
 
28
32
  - name: 'task_confirmations'
29
33
  type: 'Array'
@@ -31,6 +35,7 @@ default_config:
31
35
  Enable user confirmation dialogs before executing each task from this list
32
36
  default:
33
37
  - deploy:symlink:release
38
+ required: false
34
39
 
35
40
 
36
41
  - name: 'apply_stage_confirmation'
@@ -39,6 +44,7 @@ default_config:
39
44
  Defines the stages for which option **--task_confirmations** applies.
40
45
  default:
41
46
  - production
47
+ required: false
42
48
 
43
49
 
44
50
  - name: 'application_dependencies'
@@ -48,3 +54,4 @@ default_config:
48
54
  'app' ( app name), 'priority' and 'dependencies'
49
55
  ( an 'Array' of app names that this app is dependent to)
50
56
  default: []
57
+ required: false
@@ -38,7 +38,7 @@ module CapistranoMulticonfigParallel
38
38
  end
39
39
 
40
40
  def sliced_default_config(hash)
41
- hash.slice('type', 'description', 'default')
41
+ hash.slice('type', 'description', 'default', 'required')
42
42
  end
43
43
 
44
44
  def setup_default_configuration_types(hash)
@@ -8,7 +8,7 @@ module CapistranoMulticonfigParallel
8
8
  module VERSION
9
9
  MAJOR = 0
10
10
  MINOR = 20
11
- TINY = 4
11
+ TINY = 5
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.4
4
+ version: 0.20.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bogdanRada