listen 1.0.3 → 1.1.0
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/CHANGELOG.md +12 -0
- data/lib/listen.rb +0 -1
- data/lib/listen/directory_record.rb +1 -1
- data/lib/listen/version.rb +1 -1
- metadata +2 -4
- data/lib/listen/multi_listener.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e27d80cfe9f1b26c49118959840561d2691f97dc
|
4
|
+
data.tar.gz: 2a460c4b586332c0f7c0774a44c3295d609b6930
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c2be76e693930c8c035530ca7377dc60f6c7a9dd285eedcae1d903c14d2fc619c80877efff0b6ee86732d6713d99293bad7c4201ee738eac9c153c955fc633b
|
7
|
+
data.tar.gz: b2a0338bd2a2ce52728f69a633af62e0eeb341211465efec23b1bfd3332ba4864d16f60888a5de27eddbdd9160d247c57bbaf96578e7b849878ca567519de256
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 1.1.0 - May 11, 2013
|
2
|
+
|
3
|
+
### Bug fix
|
4
|
+
|
5
|
+
- [#112][] Expand path for the given directories. (reported by [@nex3][], fixed by [@thibaudgg][])
|
6
|
+
|
7
|
+
### Change
|
8
|
+
|
9
|
+
- [#110][] Remove MultiListener deprecation warning message. (reported by [@nex3][], fixed by [@thibaudgg][])
|
10
|
+
|
1
11
|
## 1.0.3 - April 29, 2013
|
2
12
|
|
3
13
|
### Bug fix
|
@@ -256,6 +266,8 @@
|
|
256
266
|
[#98]: https://github.com/guard/listen/issues/98
|
257
267
|
[#103]: https://github.com/guard/listen/issues/103
|
258
268
|
[#104]: https://github.com/guard/listen/issues/104
|
269
|
+
[#110]: https://github.com/guard/listen/issues/110
|
270
|
+
[#112]: https://github.com/guard/listen/issues/112
|
259
271
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
260
272
|
[@ahoward]: https://github.com/ahoward
|
261
273
|
[@akerbos]: https://github.com/akerbos
|
data/lib/listen.rb
CHANGED
@@ -58,7 +58,7 @@ module Listen
|
|
58
58
|
def initialize(directory)
|
59
59
|
raise ArgumentError, "The path '#{directory}' is not a directory!" unless File.directory?(directory)
|
60
60
|
|
61
|
-
@directory, @sha1_checksums = directory, Hash.new
|
61
|
+
@directory, @sha1_checksums = File.expand_path(directory), Hash.new
|
62
62
|
@ignoring_patterns, @filtering_patterns = Set.new, Set.new
|
63
63
|
|
64
64
|
@ignoring_patterns.merge(DirectoryRecord.generate_default_ignoring_patterns)
|
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: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-fsevent
|
@@ -98,7 +98,6 @@ files:
|
|
98
98
|
- lib/listen/adapters/windows.rb
|
99
99
|
- lib/listen/directory_record.rb
|
100
100
|
- lib/listen/listener.rb
|
101
|
-
- lib/listen/multi_listener.rb
|
102
101
|
- lib/listen/turnstile.rb
|
103
102
|
- lib/listen/version.rb
|
104
103
|
- lib/listen.rb
|
@@ -129,4 +128,3 @@ signing_key:
|
|
129
128
|
specification_version: 4
|
130
129
|
summary: Listen to file modifications
|
131
130
|
test_files: []
|
132
|
-
has_rdoc:
|
@@ -1,15 +0,0 @@
|
|
1
|
-
module Listen
|
2
|
-
class MultiListener < Listener
|
3
|
-
|
4
|
-
# This class is deprecated, please use Listen::Listener instead.
|
5
|
-
#
|
6
|
-
# @see Listen::Listener
|
7
|
-
# @deprecated
|
8
|
-
#
|
9
|
-
def initialize(*args, &block)
|
10
|
-
Kernel.warn "[Listen warning]:\nListen::MultiListener is deprecated, please use Listen::Listener instead."
|
11
|
-
super
|
12
|
-
end
|
13
|
-
|
14
|
-
end
|
15
|
-
end
|