vagrant-grunt 0.0.25 → 0.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,13 +1,23 @@
1
1
  require 'vagrant'
2
2
 
3
+
3
4
  module VagrantGrunt
4
5
  class Grunt < Vagrant.plugin("2")
5
6
  name "Grunt"
6
7
 
7
8
  command "grunt" do
8
9
  require_relative "vagrant-grunt/command.rb"
10
+ require_relative "vagrant-grunt/middleware.rb"
11
+
12
+ grunt_middleware = Vagrant::Action::Builder.new do
13
+ use VagrantGrunt::Middleware
14
+ end
15
+
16
+ Vagrant::Action.register(:action_grunt, grunt_middleware)
17
+
9
18
  GruntCommand
10
19
  end
11
20
 
21
+
12
22
  end
13
23
  end
@@ -1,4 +1,4 @@
1
- require_relative "middleware.rb"
1
+ require_relative "middleware"
2
2
 
3
3
  module VagrantGrunt
4
4
  class GruntCommand < Vagrant.plugin(2, :command)
@@ -15,7 +15,7 @@ module VagrantGrunt
15
15
 
16
16
  with_target_vms(nil, :reverse => true) do |machine|
17
17
  @env.ui.info "Running machine detected executing system call"
18
- machine.action(:Middleware)
18
+ machine.action(:action_grunt)
19
19
  end
20
20
 
21
21
 
@@ -1,3 +1,3 @@
1
1
  module VagrantGrunt
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-grunt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.25
4
+ version: 0.0.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  segments:
79
79
  - 0
80
- hash: -2286948015124481713
80
+ hash: 213981204615021419
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  none: false
83
83
  requirements: