vagrant-delphix 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/vagrant-delphix/action/destroy_environment.rb +3 -3
- data/lib/vagrant-delphix/action/disable_environment.rb +2 -2
- data/lib/vagrant-delphix/action/enable_environment.rb +2 -2
- data/lib/vagrant-delphix/plugin.rb +0 -4
- data/lib/vagrant-delphix/provisioner.rb +4 -3
- data/lib/vagrant-delphix/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9045bcce53bb29434dae1f6d6d187dbda846e832
|
4
|
+
data.tar.gz: bc20988049ca2e63023e57b362b71048cc3b8012
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d54f5da24dc423a3150a7be3eac23d5160361739452f27f588c2413bbf1cae08db908b54437a1979bfacc805021980d548827ec5945c89ce312e45b8abfd27a
|
7
|
+
data.tar.gz: bdcd6eae4951d46c7da4f6d5846150ebfadaeeacd5bf1c0c2e2ad3de1d88fbe8261d8ce25436a8cafdd92f2a89e204f5daef0fa8d3cc1c6b9f11d4ff97af406b
|
data/Gemfile.lock
CHANGED
@@ -17,12 +17,12 @@ module VagrantPlugins
|
|
17
17
|
@logger = Log4r::Logger.new('vagrant::delphix_engine::create_environment')
|
18
18
|
|
19
19
|
@config = get_config(@machine)
|
20
|
-
|
20
|
+
|
21
21
|
end
|
22
22
|
|
23
23
|
def call(env)
|
24
|
-
# skip if
|
25
|
-
|
24
|
+
# skip if plugin is not active on destroy action
|
25
|
+
return @app.call(env) if !@config.enabled
|
26
26
|
|
27
27
|
# set the DE url
|
28
28
|
Delphix.url = @config.engine_url
|
@@ -20,8 +20,8 @@ module VagrantPlugins
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def call(env)
|
23
|
-
# skip if
|
24
|
-
|
23
|
+
# skip if plugin is not active on destroy action
|
24
|
+
return @app.call(env) if !@config.enabled
|
25
25
|
|
26
26
|
# set the DE url
|
27
27
|
Delphix.url = @config.engine_url
|
@@ -20,8 +20,8 @@ module VagrantPlugins
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def call(env)
|
23
|
-
# skip if
|
24
|
-
|
23
|
+
# skip if plugin is not active on destroy action
|
24
|
+
return @app.call(env) if !@config.enabled
|
25
25
|
|
26
26
|
# set the DE url
|
27
27
|
Delphix.url = @config.engine_url
|
@@ -15,10 +15,6 @@ module VagrantPlugins
|
|
15
15
|
require_relative 'config'
|
16
16
|
Config
|
17
17
|
end
|
18
|
-
|
19
|
-
#action_hook(:delphix, :machine_action_up) do |hook|
|
20
|
-
#hook.after(Vagrant::Action::Builtin::Provision, Action.enable_environment)
|
21
|
-
#end
|
22
18
|
|
23
19
|
action_hook(:delphix, :machine_action_resume) do |hook|
|
24
20
|
hook.after(Vagrant::Action::Builtin::Provision, Action.enable_environment)
|
@@ -10,13 +10,14 @@ module VagrantPlugins
|
|
10
10
|
|
11
11
|
def initialize(machine, config)
|
12
12
|
super(machine, config)
|
13
|
-
|
14
13
|
@config = get_config(machine)
|
15
|
-
|
16
14
|
end
|
17
15
|
|
18
16
|
def provision
|
19
|
-
|
17
|
+
|
18
|
+
# skip if plugin is not active on destroy action
|
19
|
+
return if !@config.enabled
|
20
|
+
|
20
21
|
# set the DE url
|
21
22
|
Delphix.url = @config.engine_url
|
22
23
|
Delphix.debug = @config.trace
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-delphix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|