guard-lessc 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module Lessc
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
data/lib/guard/lessc.rb CHANGED
@@ -8,6 +8,7 @@ module Guard
8
8
  def initialize(watchers = [], options = {})
9
9
  super
10
10
  @options = {
11
+ :bin_path => 'lessc',
11
12
  :yui_compress => false,
12
13
  :compress => false,
13
14
  :paths => [],
@@ -27,7 +28,7 @@ module Guard
27
28
  end
28
29
 
29
30
  def lessc
30
- command = "lessc #{generate_cl_arguments}"
31
+ command = "#{@options[:bin_path]} #{generate_cl_arguments}"
31
32
  puts command
32
33
  puts `#{command}`
33
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-lessc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: