vagrant-grunt 0.0.7 → 0.0.8

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
  SHA512:
3
- data.tar.gz: 06d74a06761a75c6d55a54aac4a91f633d2e46cf6d4eaed288e2b9751b73500d15d6ec0dc0e04e1f66600c982ca148b48e2a8552c8c360211a54804f92e4f667
4
- metadata.gz: 7f5a62c4a9f10f37f3539d8904e861c9865548d28fd4edc479e1db9b836cf99de46a430abfed7ab777685a0e64e2b2ef5300b9364ae4d328d3677b144e64b56d
3
+ data.tar.gz: c0ffaf0772bd0c1c810cd6c4b4d267d0c3121909fb4ad43e8c243a10173dd7dd589d4f69602d7b481912f47f96eda400cf0b3b19a696dd559a39b0abea4f5de0
4
+ metadata.gz: b0c55bacd8d807142fbbab83ccc9d03cd1de19356060331bc59ce1c0d882d792ebc2e2aab9d311b2b6f75f13943e1aa3fe4dbdd6b065d2b6e35d4a288d46791a
5
5
  SHA1:
6
- data.tar.gz: 75cf2a789a4e2d5a2edabdfa02330d6cf88f5cd8
7
- metadata.gz: 2c4a5a5f889032b4ca1743a445394e1ae2aaa566
6
+ data.tar.gz: 30a7bf35489d7a32400187272626fa6c11fed05e
7
+ metadata.gz: f88c563ff9a402e3dc16e7c374530ea2766f567f
@@ -1,28 +1,18 @@
1
1
  module VagrantGrunt
2
2
  class GruntCommand < Vagrant.plugin(2, :command)
3
- #register "grunt", "Run grunt command inside of the VM environment"
4
- #argument :grunt_command, :type => :string, :required => true, :desc => "The grunt command to run on the VM"
5
- #class_option :cwd, :type => :string, :default => nil
6
-
3
+
7
4
  def execute
8
5
  cmd = ""
9
6
  ARGV.each do |a|
10
7
  cmd << " #{a}"
11
8
  end
12
9
 
13
- #exec("grunt ")
14
- puts cmd
10
+ puts "Executing command #{cmd}"
11
+
12
+ exec(cmd)
13
+
15
14
  0
16
15
  end
17
- #def execute
18
- # target_vms.each { |vm| execute_on_vm(vm, grunt_command) }
19
- #end
20
-
21
- #protected
22
16
 
23
- # Executes a command on a specific VM.
24
- #def execute_on_vm(vm, command)
25
- # vm.env.actions.run(:grunt, "grunt.command" => command)
26
- #end
27
17
  end
28
18
  end
@@ -1,3 +1,3 @@
1
1
  module VagrantGrunt
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis McHattie