guard-haml 1.1.1 → 1.1.2
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.
- checksums.yaml +4 -4
- data/lib/guard/haml.rb +1 -10
- data/lib/guard/haml/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c43cc778630569e67b8f6dc21c266043512285d
|
4
|
+
data.tar.gz: d9ae02ba710e2059273069b3254b7199c5ba483d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbca6d09168f6f44061a980b34017c242421287410e804275c1b2216497693a01e81fd6635c0f5cbc8b4f292bc5eca89a2694847861b71faaa4c052327246b46
|
7
|
+
data.tar.gz: 6d4c99db7db7294d62230522567249c60b64029eea71f65f0917b39ee9abbb91484245b1092f71d0a010d67bb0b5d41390415daef05c7cb66ebd660e5b1d335d
|
data/lib/guard/haml.rb
CHANGED
@@ -17,7 +17,7 @@ module Guard
|
|
17
17
|
super(opts)
|
18
18
|
|
19
19
|
if options[:input]
|
20
|
-
watchers << ::Guard::Watcher.new(%r{^#{options[:input]}/(
|
20
|
+
watchers << ::Guard::Watcher.new(%r{^#{options[:input]}/([\w\-_]+(\.html)?\.haml)$})
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -52,8 +52,6 @@ module Guard
|
|
52
52
|
::Guard::UI.info message
|
53
53
|
Notifier.notify(true, message) if options[:notifications]
|
54
54
|
end
|
55
|
-
|
56
|
-
_notify_other_guard_plugins(paths)
|
57
55
|
end
|
58
56
|
|
59
57
|
private
|
@@ -129,12 +127,5 @@ module Guard
|
|
129
127
|
|
130
128
|
filename.match("\.html?").nil?
|
131
129
|
end
|
132
|
-
|
133
|
-
def _notify_other_guard_plugins(changed_files)
|
134
|
-
::Guard.guards.reject { |guard| guard == self }.each do |guard|
|
135
|
-
paths = Watcher.match_files(guard, changed_files)
|
136
|
-
guard.run_on_changes(paths) unless paths.empty?
|
137
|
-
end
|
138
|
-
end
|
139
130
|
end
|
140
131
|
end
|
data/lib/guard/haml/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-haml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Immanuel Häussermann
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.2.
|
104
|
+
rubygems_version: 2.2.2
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Guard plugin for Haml
|