listen 1.2.3 → 1.3.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 +9 -1
- data/lib/listen/listener.rb +1 -1
- data/lib/listen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 84bd31518df205caa017b29e37e2cd7d5162b545
|
|
4
|
+
data.tar.gz: 3870a893adc99e1584c9105526728791e6a65db5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb152269d4348278b1d3fb25cf0d10f0c53ee745ec476a57e960f2018137c9a0bda3a20bcaf0ce21ce0659b7368968c741d71cefd2e3f49d6396ab94a52043f1
|
|
7
|
+
data.tar.gz: f8eebb983bbdbd4630e8d69b10ae814d980c874cc2c391a6b8fdcc2939ba37bf15dbe3c92866b065ba74905e634984b3068330a574e4ec981a673f338ecdf736
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 1.3.0 - Aug 14, 2013
|
|
2
|
+
|
|
3
|
+
### Change
|
|
4
|
+
|
|
5
|
+
- Defaults `Listener#relative_paths` to `false` when listening to a single directory (see [#131][]). ([@rehevkor5][])
|
|
6
|
+
|
|
1
7
|
## 1.2.3 - Aug 9, 2013
|
|
2
8
|
|
|
3
9
|
### Improvement
|
|
@@ -102,7 +108,7 @@
|
|
|
102
108
|
|
|
103
109
|
- [#98][] New method: `Listen.to!` which blocks the current thread. ([@rymai][])
|
|
104
110
|
- [#98][] New method: `Listen::Listener#start!` to start the listener and block the current thread. ([@martikaljuve][] & [@rymai][])
|
|
105
|
-
- [#95][] Make `Listen::Listener` capable of listening to multiple directories, deprecates `Listen::MultiListener
|
|
111
|
+
- [#95][] Make `Listen::Listener` capable of listening to multiple directories, deprecates `Listen::MultiListener`, defaults `Listener#relative_paths` to `true` when listening to a single directory (see [#131][]). ([@rymai][])
|
|
106
112
|
- [#85][] Compute the SHA1 sum only for regular files. ([@antifuchs][])
|
|
107
113
|
- New methods: `Listen::Adapter#pause`, `Listen::Adapter#unpause` and `Listen::Adapter#paused?`. ([@rymai][])
|
|
108
114
|
- Refactor `Listen::DirectoryRecord` internals. ([@rymai][])
|
|
@@ -335,6 +341,7 @@
|
|
|
335
341
|
[#120]: https://github.com/guard/listen/issues/120
|
|
336
342
|
[#122]: https://github.com/guard/listen/issues/122
|
|
337
343
|
[#124]: https://github.com/guard/listen/issues/124
|
|
344
|
+
[#131]: https://github.com/guard/listen/issues/131
|
|
338
345
|
[@21croissants]: https://github.com/21croissants
|
|
339
346
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
|
340
347
|
[@ahoward]: https://github.com/ahoward
|
|
@@ -359,6 +366,7 @@
|
|
|
359
366
|
[@nilbus]: https://github.com/nilbus
|
|
360
367
|
[@nysalor]: https://github.com/nysalor
|
|
361
368
|
[@piotr-sokolowski]: https://github.com/piotr-sokolowski
|
|
369
|
+
[@rehevkor5]: https://github.com/rehevkor5
|
|
362
370
|
[@rymai]: https://github.com/rymai
|
|
363
371
|
[@scottdavis]: https://github.com/scottdavis
|
|
364
372
|
[@sunaku]: https://github.com/sunaku
|
data/lib/listen/listener.rb
CHANGED
|
@@ -272,7 +272,7 @@ module Listen
|
|
|
272
272
|
if directories.size > 1 && options[:relative_paths]
|
|
273
273
|
Kernel.warn "[Listen warning]: #{RELATIVE_PATHS_WITH_MULTIPLE_DIRECTORIES_WARNING_MESSAGE}"
|
|
274
274
|
end
|
|
275
|
-
@use_relative_paths = directories.one? && options.delete(:relative_paths) {
|
|
275
|
+
@use_relative_paths = directories.one? && options.delete(:relative_paths) { false }
|
|
276
276
|
end
|
|
277
277
|
|
|
278
278
|
# Build the directory record concurrently and initialize the adapter.
|
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.
|
|
4
|
+
version: 1.3.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-08-
|
|
12
|
+
date: 2013-08-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rb-fsevent
|