vagrant-powder 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/vagrant-powder/action.rb +8 -2
- data/lib/vagrant-powder/plugin.rb +9 -10
- data/lib/vagrant-powder/version.rb +1 -1
- data/vagrant-powder.gemspec +2 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a206769c05b583e52c1b4b03e7114602d98e7856
|
4
|
+
data.tar.gz: 7f591ac7559863de7c66e0f7f164ef610f99b104
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57c58d6f2df542d7961d9a90039ce791983f59214688e3b78a4459d72efaaeecba021366809a2c0d5ca70c97681f3c36fae91852ab764cb2faf491e573bed7b2
|
7
|
+
data.tar.gz: 3837cf907c27463b49b47a33d2a95584ff0ddb1027dba6854ff1701736f02ac667531eaac76ee04bfca9a0bd5c085af4c0b16ba7e38380064a147c714a176443
|
data/README.md
CHANGED
@@ -24,8 +24,14 @@ module VagrantPlugins
|
|
24
24
|
|
25
25
|
case action
|
26
26
|
when :up
|
27
|
-
puts "Powder
|
28
|
-
`powder
|
27
|
+
puts "Powder unlink"
|
28
|
+
`powder unlink`
|
29
|
+
when :halt
|
30
|
+
puts "Powder link"
|
31
|
+
`powder link`
|
32
|
+
when :destroy
|
33
|
+
puts "powder link"
|
34
|
+
`powder link`
|
29
35
|
end
|
30
36
|
end
|
31
37
|
|
@@ -23,16 +23,15 @@ module VagrantPlugins
|
|
23
23
|
hook.prepend(Action)
|
24
24
|
end
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
# end
|
26
|
+
action_hook("Powder_hook", :machine_action_halt) do |hook|
|
27
|
+
require_relative "action"
|
28
|
+
hook.prepend(Action)
|
29
|
+
end
|
30
|
+
|
31
|
+
action_hook("Powder_hook", :machine_action_destroy) do |hook|
|
32
|
+
require_relative "action"
|
33
|
+
hook.prepend(Action)
|
34
|
+
end
|
36
35
|
|
37
36
|
end
|
38
37
|
|
data/vagrant-powder.gemspec
CHANGED
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Joe Kratzat"]
|
10
10
|
spec.email = ["joe.kratzat@gmail.com"]
|
11
11
|
spec.summary = %q{Allows vagrant to handle the powder gem}
|
12
|
-
spec.description = %q{
|
12
|
+
spec.description = %q{Unlinks the current project in pow when you vagrant up.
|
13
|
+
Then relinks on vagrant halt or destroy.}
|
13
14
|
spec.homepage = "https://github.com/joekr/vagrant-powder"
|
14
15
|
spec.license = "MIT"
|
15
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-powder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Kratzat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,7 +64,9 @@ dependencies:
|
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 0.2.1
|
67
|
-
description:
|
67
|
+
description: |-
|
68
|
+
Unlinks the current project in pow when you vagrant up.
|
69
|
+
Then relinks on vagrant halt or destroy.
|
68
70
|
email:
|
69
71
|
- joe.kratzat@gmail.com
|
70
72
|
executables: []
|