guard-coffeescript 0.3.2 → 0.3.3
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 +2 -1
- data/lib/guard/coffeescript/runner.rb +1 -1
- data/lib/guard/coffeescript/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -107,6 +107,7 @@ There following options can be passed to Guard::CoffeeScript:
|
|
107
107
|
|
108
108
|
```ruby
|
109
109
|
:input => 'coffeescripts' # Relative path to the input directory.
|
110
|
+
# A suffix `/(.+\.coffee)` will be added to this option.
|
110
111
|
# default: nil
|
111
112
|
|
112
113
|
:output => 'javascripts' # Relative path to the output directory.
|
@@ -183,7 +184,7 @@ The Guard short notation
|
|
183
184
|
guard 'coffeescript', :input => 'app/coffeescripts', :output => 'public/javascripts/compiled'
|
184
185
|
```
|
185
186
|
|
186
|
-
will be internally converted into the standard notation by adding
|
187
|
+
will be internally converted into the standard notation by adding `/(.+\.coffee)` to the `input` option string and create a Watcher
|
187
188
|
that is equivalent to:
|
188
189
|
|
189
190
|
```ruby
|
@@ -87,7 +87,7 @@ module Guard
|
|
87
87
|
|
88
88
|
def notify_result(changed_files, errors, options = {})
|
89
89
|
if !errors.empty?
|
90
|
-
Formatter.notify(errors.join("\n"), :title => 'CoffeeScript results', :image => :failed)
|
90
|
+
Formatter.notify(errors.join("\n"), :title => 'CoffeeScript results', :image => :failed, :priority => 2)
|
91
91
|
elsif !options[:hide_success]
|
92
92
|
message = "Successfully generated #{ changed_files.join(', ') }"
|
93
93
|
Formatter.success(message)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-coffeescript
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 3
|
10
|
+
version: 0.3.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Kessler
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-17 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|