listen 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -2
- data/lib/listen/listener.rb +2 -0
- data/lib/listen/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8bd786e042b9b5bab047d1a7d05d0540422cb0b
|
4
|
+
data.tar.gz: e199fe61e80821cc30c3a53740581c4ef99e0ca4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a468455498226943753828bc225e848cb5bab16218a814344472b4697d9afdb133e8d360d0ed41f131f719d69dc2a4f964fcca32774be7b4c03f71560958c66
|
7
|
+
data.tar.gz: 46517ec6ba1d7e5a1d8684fc4c51d417b39efc595b5a354e7e29922e9f251b82dd8033c263e5bfcaaec57e8c06cf14d4f83abea606af411edc76c38a3d2645fd
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 1.2.3 - Aug 9, 2013
|
2
|
+
|
3
|
+
### Improvement
|
4
|
+
|
5
|
+
- Rescue changes callback and warms if something bad happens. (reported by [@21croissants][], added by [@thibaudgg][])
|
6
|
+
|
1
7
|
## 1.2.2 - Jun 17, 2013
|
2
8
|
|
3
9
|
### Bug fix
|
@@ -329,6 +335,7 @@
|
|
329
335
|
[#120]: https://github.com/guard/listen/issues/120
|
330
336
|
[#122]: https://github.com/guard/listen/issues/122
|
331
337
|
[#124]: https://github.com/guard/listen/issues/124
|
338
|
+
[@21croissants]: https://github.com/21croissants
|
332
339
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
333
340
|
[@ahoward]: https://github.com/ahoward
|
334
341
|
[@akerbos]: https://github.com/akerbos
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ The Listen gem listens to file modifications and notifies you about the changes.
|
|
9
9
|
* OS-specific adapters for Mac OS X 10.6+, Linux, *BSD and Windows.
|
10
10
|
* Automatic fallback to polling if OS-specific adapter doesn't work.
|
11
11
|
* Detects file modification, addition and removal.
|
12
|
-
*
|
12
|
+
* File content checksum comparison for modifications made under the same second.
|
13
13
|
* Allows supplying regexp-patterns to ignore and filter paths for better results.
|
14
14
|
* Tested on all Ruby environments via [Travis CI](https://travis-ci.org/guard/listen).
|
15
15
|
|
@@ -19,7 +19,7 @@ Still not implemented, pull requests are welcome.
|
|
19
19
|
|
20
20
|
* Symlinks support. [#25](https://github.com/guard/listen/issues/25)
|
21
21
|
* Signal handling. [#105](https://github.com/guard/listen/issues/105)
|
22
|
-
* Non-recursive directory
|
22
|
+
* Non-recursive directory scanning. [#111](https://github.com/guard/listen/issues/111)
|
23
23
|
|
24
24
|
## Install
|
25
25
|
|
data/lib/listen/listener.rb
CHANGED
@@ -251,6 +251,8 @@ module Listen
|
|
251
251
|
unless changes.values.all? { |paths| paths.empty? }
|
252
252
|
block.call(changes[:modified], changes[:added], changes[:removed])
|
253
253
|
end
|
254
|
+
rescue => ex
|
255
|
+
Kernel.warn "[Listen warning]: Change block raise an execption: #{ex.inspect}"
|
254
256
|
end
|
255
257
|
|
256
258
|
private
|
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.2.
|
4
|
+
version: 1.2.3
|
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-08-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-fsevent
|
@@ -128,3 +128,4 @@ signing_key:
|
|
128
128
|
specification_version: 4
|
129
129
|
summary: Listen to file modifications
|
130
130
|
test_files: []
|
131
|
+
has_rdoc:
|