guard 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/guard.rb +2 -2
  2. data/lib/guard/version.rb +1 -1
  3. metadata +3 -3
data/lib/guard.rb CHANGED
@@ -51,8 +51,8 @@ module Guard
51
51
  # Reparse the whole directory to catch new files modified during the guards run
52
52
  new_modified_files = listener.modified_files([Dir.pwd + '/'], :all => true)
53
53
  listener.update_last_event
54
- unless new_modified_files.empty?
55
- run { run_on_change_for_all_guards(new_modified_files) } if Watcher.match_files?(guards, files)
54
+ if !new_modified_files.empty? && Watcher.match_files?(guards, new_modified_files)
55
+ run { run_on_change_for_all_guards(new_modified_files) }
56
56
  end
57
57
  end
58
58
 
data/lib/guard/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Guard
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: guard
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.2
5
+ version: 0.3.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Thibaud Guillaume-Gentil
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-17 00:00:00 +02:00
13
+ date: 2011-04-19 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  requirements: []
112
112
 
113
113
  rubyforge_project: guard
114
- rubygems_version: 1.6.2
114
+ rubygems_version: 1.5.3
115
115
  signing_key:
116
116
  specification_version: 3
117
117
  summary: Guard keep an eye on your files modifications.