listen 3.0.0 → 3.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4dbb678714e27c96553c3eeb428437dec7fdd06
4
- data.tar.gz: 852d550603e6e96e47266c54d60a14cf2d680f01
3
+ metadata.gz: 9b01f92b58b78fc851762b384fca59a9f6cb8661
4
+ data.tar.gz: 048182c644295015b04c67dce724f21fb6255b43
5
5
  SHA512:
6
- metadata.gz: 080e123c08eb97243cf24d3dbb8f989c89fe797c5be172253d393b814550c50c66f765981125a825d47b61153c69715d6501b59d4f0bbabc36883d03c65623c1
7
- data.tar.gz: a601fa4b17c2fcb5345fe4cb3fa8f10aaa28f6e31b22c5d456ede3dcf8ac8b641ee3c6b31fe53f411c5f69c3bcca8cd0a51b354e7ec778f08e5486d9081327e0
6
+ metadata.gz: 658e31ac8f501109bcfb63dce4af2199b9e022f5e506e3deac58771ca519e3a687ba0871e5365a9c0d67ed5aca03ee6806ca110019ac43e8b26799ca6f979a62
7
+ data.tar.gz: 66dff8ec7b1b24afe2ba6802ff2d0c9cd251dfb1dd850a54b031cca7f6bd557af40caea10cac4529248548271b581cf3a0ca143bd4dade344f94b306be3bb6ed
data/README.md CHANGED
@@ -11,6 +11,8 @@ The Listen gem listens to file modifications and notifies you about the changes.
11
11
  *NOTE: TCP functionality has been removed from Listen 3.x - please use Listen
12
12
  2.x until alternative server and client gems are created/released for 3.x.*
13
13
 
14
+ *NOTE: Ruby 1.9.3 is no longer maintained (and may not work with Listen) - it's best to upgrade to Ruby 2.2.2*
15
+
14
16
  For other issues, just head over here: https://github.com/guard/listen/wiki/Quickfixes,-known-issues-and-workarounds
15
17
 
16
18
  ## Tips and Techniques
@@ -24,7 +26,7 @@ Make sure you know these few basic tricks: https://github.com/guard/listen/wiki/
24
26
  * You can watch multiple directories.
25
27
  * Regexp-patterns for ignoring paths for more accuracy and speed
26
28
  * Increased change detection accuracy on OS X HFS and VFAT volumes.
27
- * Tested on MRI Ruby environments (1.9+ only) via [Travis CI](https://travis-ci.org/guard/listen),
29
+ * Tested on MRI Ruby environments (2.0+ only) via [Travis CI](https://travis-ci.org/guard/listen),
28
30
 
29
31
  NOTE: TCP functionality has been moved to a separate gem (listen-server and listen-client)
30
32
 
@@ -1,3 +1,5 @@
1
+ require 'pathname'
2
+
1
3
  module Listen
2
4
  module Adapter
3
5
  class Config
@@ -1,3 +1,4 @@
1
+ require 'timeout'
1
2
  require 'listen/event/processor'
2
3
 
3
4
  module Listen
@@ -50,7 +51,8 @@ module Listen
50
51
  end
51
52
 
52
53
  def pause
53
- fail NotImplementedError
54
+ # TODO: works?
55
+ # fail NotImplementedError
54
56
  end
55
57
 
56
58
  def teardown
data/lib/listen/logger.rb CHANGED
@@ -23,7 +23,7 @@ module Listen
23
23
  end
24
24
 
25
25
  class Logger
26
- %i(fatal error warn info debug).each do |meth|
26
+ [:fatal, :error, :warn, :info, :debug].each do |meth|
27
27
  define_singleton_method(meth) do |*args, &block|
28
28
  Listen.logger.public_send(meth, *args, &block) if Listen.logger
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '3.0.0'
2
+ VERSION = '3.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: listen
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thibaud Guillaume-Gentil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-27 00:00:00.000000000 Z
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb-fsevent