guard-haml 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8017800793c202ed869ac99c7e58bfbf1c080f31
4
- data.tar.gz: 5b951c276d1d7a9422df7450cfc9b72db8aa6c10
3
+ metadata.gz: 2c43cc778630569e67b8f6dc21c266043512285d
4
+ data.tar.gz: d9ae02ba710e2059273069b3254b7199c5ba483d
5
5
  SHA512:
6
- metadata.gz: 10fb1c48f36f9af34aaee0f3e814418e30bc7f27f2aae4fca3f5e2557ae2c4d6804b7467882267ea4217f530a2d03d5df8605527bd0f03742d6e2d8a39e7e828
7
- data.tar.gz: cb1c82ea9631f28b7f8d5cdc7097556540c456b31aecaa4ef9e66fb87ccd76d6cfd04882c9350f22a428ad5188a000f2b7b199fbf62cf3eb94365d1a9d568d95
6
+ metadata.gz: bbca6d09168f6f44061a980b34017c242421287410e804275c1b2216497693a01e81fd6635c0f5cbc8b4f292bc5eca89a2694847861b71faaa4c052327246b46
7
+ data.tar.gz: 6d4c99db7db7294d62230522567249c60b64029eea71f65f0917b39ee9abbb91484245b1092f71d0a010d67bb0b5d41390415daef05c7cb66ebd660e5b1d335d
@@ -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]}/(.+(\.html)?\.haml)$})
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
@@ -1,5 +1,5 @@
1
1
  module Guard
2
2
  class HamlVersion
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
5
5
  end
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.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-02-25 00:00:00.000000000 Z
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.0
104
+ rubygems_version: 2.2.2
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Guard plugin for Haml