listen 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/lib/listen/directory_record.rb +3 -0
- data/lib/listen/version.rb +1 -1
- metadata +18 -18
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.4.1 - April 15, 2012
|
2
|
+
|
3
|
+
### Bug fixes
|
4
|
+
|
5
|
+
- [#18](https://github.com/guard/listen/issues/18): Listener crashes when removing directories with nested paths (reported by [@daemonza][], fixed by [@Maher4Ever][])
|
6
|
+
|
1
7
|
## 0.4.0 - April 9, 2012
|
2
8
|
|
3
9
|
### New features
|
@@ -63,3 +69,4 @@
|
|
63
69
|
[@markiz]: https://github.com/markiz
|
64
70
|
[@thibaudgg]: https://github.com/thibaudgg
|
65
71
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
72
|
+
[@daemonza]: https://github.com/daemonza
|
@@ -169,6 +169,9 @@ module Listen
|
|
169
169
|
# @option options [Boolean] relative_paths whether or not to use relative paths for changes
|
170
170
|
#
|
171
171
|
def detect_additions(directory, options = {})
|
172
|
+
# Don't process removed directories
|
173
|
+
return unless File.exist?(directory)
|
174
|
+
|
172
175
|
Find.find(directory) do |path|
|
173
176
|
next if path == @directory
|
174
177
|
|
data/lib/listen/version.rb
CHANGED
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
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-04-
|
13
|
+
date: 2012-04-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rb-fsevent
|
17
|
-
requirement: &
|
17
|
+
requirement: &22009780 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.9.1
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *22009780
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: rb-inotify
|
28
|
-
requirement: &
|
28
|
+
requirement: &22008640 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: 0.8.8
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *22008640
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rb-fchange
|
39
|
-
requirement: &
|
39
|
+
requirement: &22006880 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ~>
|
@@ -44,10 +44,10 @@ dependencies:
|
|
44
44
|
version: 0.0.5
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *22006880
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: bundler
|
50
|
-
requirement: &
|
50
|
+
requirement: &22005160 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
52
|
requirements:
|
53
53
|
- - ! '>='
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
version: '0'
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
58
|
+
version_requirements: *22005160
|
59
59
|
description: The Listen gem listens to file modifications and notifies you about the
|
60
60
|
changes. Works everywhere!
|
61
61
|
email:
|
@@ -65,17 +65,17 @@ executables: []
|
|
65
65
|
extensions: []
|
66
66
|
extra_rdoc_files: []
|
67
67
|
files:
|
68
|
-
- lib/listen
|
69
|
-
- lib/listen/
|
68
|
+
- lib/listen.rb
|
69
|
+
- lib/listen/multi_listener.rb
|
70
|
+
- lib/listen/directory_record.rb
|
71
|
+
- lib/listen/listener.rb
|
72
|
+
- lib/listen/version.rb
|
70
73
|
- lib/listen/adapters/linux.rb
|
71
74
|
- lib/listen/adapters/polling.rb
|
75
|
+
- lib/listen/adapters/darwin.rb
|
72
76
|
- lib/listen/adapters/windows.rb
|
73
|
-
- lib/listen/
|
74
|
-
- lib/listen/listener.rb
|
75
|
-
- lib/listen/multi_listener.rb
|
77
|
+
- lib/listen/adapter.rb
|
76
78
|
- lib/listen/turnstile.rb
|
77
|
-
- lib/listen/version.rb
|
78
|
-
- lib/listen.rb
|
79
79
|
- CHANGELOG.md
|
80
80
|
- LICENSE
|
81
81
|
- README.md
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: 1.3.6
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project: listen
|
102
|
-
rubygems_version: 1.8.
|
102
|
+
rubygems_version: 1.8.17
|
103
103
|
signing_key:
|
104
104
|
specification_version: 3
|
105
105
|
summary: Listen to file modifications
|