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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00d1655c889b58a9d33f30fceffedd3b83e4a45e
4
- data.tar.gz: e83a3d4e491ad4db10616a67915161f18f6293fa
3
+ metadata.gz: d8bd786e042b9b5bab047d1a7d05d0540422cb0b
4
+ data.tar.gz: e199fe61e80821cc30c3a53740581c4ef99e0ca4
5
5
  SHA512:
6
- metadata.gz: 93437aa86e427986188a6af8c8b9789a51d6b748a740371b30a910a37b1be337f77af4d7004c65ba530089c215b62845f06ccb70a919e42ef4728184583098fa
7
- data.tar.gz: 7ddf4c1a7614944c9092540373f1a0412e86c2b419aee0abeefeb5c7fdaf45d94c36fb3ee45b23767e48624f994ffb2305365a3519c64884e02b85741212529c
6
+ metadata.gz: 0a468455498226943753828bc225e848cb5bab16218a814344472b4697d9afdb133e8d360d0ed41f131f719d69dc2a4f964fcca32774be7b4c03f71560958c66
7
+ data.tar.gz: 46517ec6ba1d7e5a1d8684fc4c51d417b39efc595b5a354e7e29922e9f251b82dd8033c263e5bfcaaec57e8c06cf14d4f83abea606af411edc76c38a3d2645fd
@@ -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
- * Checksum comparison for modifications made under the same second.
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 scaning. [#111](https://github.com/guard/listen/issues/111)
22
+ * Non-recursive directory scanning. [#111](https://github.com/guard/listen/issues/111)
23
23
 
24
24
  ## Install
25
25
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '1.2.2'
2
+ VERSION = '1.2.3'
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: 1.2.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-06-17 00:00:00.000000000 Z
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: