listen 0.4.4 → 0.4.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.4.5 - June 13, 2012
2
+
3
+ ### Bug fixes
4
+
5
+ - [#39](https://github.com/guard/listen/issues/39). Rescue Errno::ENOENT when path inserted doesn't exist. (reported by [@textgoeshere][], fixed by [@thibaudgg][])
6
+
1
7
  ## 0.4.4 - June 8, 2012
2
8
 
3
9
  ### Bug fixes
@@ -294,6 +294,7 @@ module Listen
294
294
  meta_data.type = File.directory?(path) ? 'Dir' : 'File'
295
295
  meta_data.mtime = mtime_of(path) unless meta_data.type == 'Dir' # mtimes of dirs are not used yet
296
296
  @paths[File.dirname(path)][File.basename(path)] = meta_data
297
+ rescue Errno::ENOENT
297
298
  end
298
299
 
299
300
  # Returns whether or not a path exists in the paths hash.
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '0.4.4'
2
+ VERSION = '0.4.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-06-08 00:00:00.000000000 Z
13
+ date: 2012-06-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rb-fsevent
@@ -111,9 +111,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
111
111
  - - ! '>='
112
112
  - !ruby/object:Gem::Version
113
113
  version: '0'
114
- segments:
115
- - 0
116
- hash: 2089958766278719923
117
114
  required_rubygems_version: !ruby/object:Gem::Requirement
118
115
  none: false
119
116
  requirements:
@@ -127,4 +124,3 @@ signing_key:
127
124
  specification_version: 3
128
125
  summary: Listen to file modifications
129
126
  test_files: []
130
- has_rdoc: