guard-coffeedripper 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/guard/coffeedripper.rb +3 -0
- data/lib/guard/coffeedripper/version.rb +1 -1
- metadata +1 -1
data/lib/guard/coffeedripper.rb
CHANGED
@@ -31,12 +31,14 @@ module Guard
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def drip_all
|
34
|
+
puts "Drip Start for All"
|
34
35
|
@config.each do |coffee, beans|
|
35
36
|
drip(coffee)
|
36
37
|
end
|
37
38
|
end
|
38
39
|
|
39
40
|
def drip(coffee_script)
|
41
|
+
puts "Drip Start for #{coffee_script}"
|
40
42
|
beans = @config[coffee_script]
|
41
43
|
output = File.join Dir.pwd, @options[:output], coffee_script
|
42
44
|
str = ""
|
@@ -44,6 +46,7 @@ module Guard
|
|
44
46
|
str += load_bean(bean)
|
45
47
|
end
|
46
48
|
write(output, str)
|
49
|
+
puts "Dripped End #{output}"
|
47
50
|
end
|
48
51
|
|
49
52
|
def load_bean(bean)
|