guard-coffeescript 1.2.0 → 1.2.1
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/lib/guard/coffeescript/version.rb +1 -1
- data/lib/guard/coffeescript.rb +0 -15
- metadata +3 -3
data/lib/guard/coffeescript.rb
CHANGED
|
@@ -69,7 +69,6 @@ module Guard
|
|
|
69
69
|
#
|
|
70
70
|
def run_on_changes(paths)
|
|
71
71
|
changed_files, success = Runner.run(Inspector.clean(paths), watchers, options)
|
|
72
|
-
notify changed_files
|
|
73
72
|
|
|
74
73
|
throw :task_has_failed unless success
|
|
75
74
|
end
|
|
@@ -83,19 +82,5 @@ module Guard
|
|
|
83
82
|
Runner.remove(Inspector.clean(paths, :missing_ok => true), watchers, options)
|
|
84
83
|
end
|
|
85
84
|
|
|
86
|
-
private
|
|
87
|
-
|
|
88
|
-
# Notify changed files back to Guard, so that other Guards can continue
|
|
89
|
-
# to work with the generated files.
|
|
90
|
-
#
|
|
91
|
-
# @param [Array<String>] changed_files the files that have been changed
|
|
92
|
-
#
|
|
93
|
-
def notify(changed_files)
|
|
94
|
-
::Guard.guards.each do |guard|
|
|
95
|
-
paths = Watcher.match_files(guard, changed_files)
|
|
96
|
-
guard.run_on_change paths unless paths.empty?
|
|
97
|
-
end
|
|
98
|
-
end
|
|
99
|
-
|
|
100
85
|
end
|
|
101
86
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: guard-coffeescript
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-11-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: guard
|
|
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
157
157
|
version: '0'
|
|
158
158
|
segments:
|
|
159
159
|
- 0
|
|
160
|
-
hash: -
|
|
160
|
+
hash: -1070839901487914149
|
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
162
|
none: false
|
|
163
163
|
requirements:
|