guard-coffeedripper 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -22,13 +22,13 @@ Usage
22
22
  Please read Guard usage doc
23
23
  Guardfile for Rails3.0 and barista
24
24
 
25
- guard 'coffeedripper', :output => 'app/coffscripts/' do
25
+ guard 'coffeedripper', :output => 'app/coffscripts/', :input => 'app/coffeescripts' do
26
26
  watch(%r{^app/coffeescripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
27
27
  end
28
28
 
29
29
  or Rails3.1
30
30
 
31
- guard 'coffeedripper', :output => 'app/assets/javascripts/' do
31
+ guard 'coffeedripper', :output => 'app/assets/javascripts/', :input => 'app/assets/javascripts/' do
32
32
  watch(%r{^app/assets/javascripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
33
33
  end
34
34
 
@@ -1,12 +1,12 @@
1
1
  #
2
2
  # example for coffeedripper and barista
3
3
  #
4
- guard 'coffeedripper' do
4
+ guard 'coffeedripper' do
5
5
  watch(%r{^app/coffeescripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
6
6
  end
7
7
  #
8
8
  # example for coffeedripper and rails3.1
9
9
  #
10
- guard 'coffeedripper', :output => 'app/assets/javascripts/' do
11
- watch(%r{^app/assets/javascripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
12
- end
10
+ # guard 'coffeedripper', :output => 'app/assets/javascripts/', :input => 'app/assets/javascripts/' do
11
+ # watch(%r{^app/assets/javascripts/(.+)\.bean$}) {|m| "#{m[1]}.bean"}
12
+ # end
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  module CoffeeDripperVersion
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
@@ -7,6 +7,7 @@ module Guard
7
7
 
8
8
  attr_accessor :config
9
9
  def self.init(guard_name = nil)
10
+ super(guard_name)
10
11
  if !File.exist?("config/coffeedripper.yaml")
11
12
  puts "Writing new Guardfile to #{Dir.pwd}/config/coffee-dripper.yaml"
12
13
  FileUtils.cp(File.expand_path('../coffeedripper/templates/coffee-dripper.yaml', __FILE__), 'config/coffee-dripper.yaml')
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: guard-coffeedripper
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - amacou