vagrant-hostel 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module VagrantHostel
2
- class MyPlugin < Vagrant.plugin("2")
2
+ class Plugin < Vagrant.plugin("2")
3
3
  name "Hostel"
4
4
 
5
5
  command "hostel" do
@@ -11,5 +11,9 @@ module VagrantHostel
11
11
  require_relative "vagrant-hostel/config"
12
12
  HostelVMConfig
13
13
  end
14
+
15
+ action_hook "hostelize", :hook_name => 'config_validate' do
16
+ puts "HOOK! Arrgh!"
17
+ end
14
18
  end
15
19
  end
@@ -1,3 +1,3 @@
1
1
  module VagrantHostel
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -7,7 +7,7 @@ rescue LoadError
7
7
  raise "The Vagrant Hostel plugin must be run within Vagrant."
8
8
  end
9
9
 
10
- require 'vagrant-hostel/plugin'
10
+ require 'vagrant-hostel'
11
11
 
12
12
  # v1 syntax:
13
13
  #Vagrant.commands.register(:hostel) { VagrantHostel::Command }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hostel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -59,7 +59,6 @@ files:
59
59
  - lib/vagrant-hostel.rb
60
60
  - lib/vagrant-hostel/command.rb
61
61
  - lib/vagrant-hostel/config.rb
62
- - lib/vagrant-hostel/plugin.rb
63
62
  - lib/vagrant-hostel/version.rb
64
63
  - lib/vagrant_init.rb
65
64
  - vagrant-hostel.gemspec
@@ -78,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
77
  version: '0'
79
78
  segments:
80
79
  - 0
81
- hash: -774334909307811235
80
+ hash: 1724520651031710387
82
81
  required_rubygems_version: !ruby/object:Gem::Requirement
83
82
  none: false
84
83
  requirements:
@@ -87,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
86
  version: '0'
88
87
  segments:
89
88
  - 0
90
- hash: -774334909307811235
89
+ hash: 1724520651031710387
91
90
  requirements: []
92
91
  rubyforge_project:
93
92
  rubygems_version: 1.8.25
@@ -1,15 +0,0 @@
1
- module VagrantHostel
2
- class MyPlugin < Vagrant.plugin("2")
3
- name "Hostel"
4
-
5
- command "hostel" do
6
- require_relative "command"
7
- Command
8
- end
9
-
10
- config "hostel" do
11
- require_relative "config"
12
- HostelVMConfig
13
- end
14
- end
15
- end