listen 1.0.3 → 1.1.0

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: fe9b35d39c31dd0f12c28fe53cce187e455ad13a
4
- data.tar.gz: 5bc97f0ae143ce0fc3dc330cdf7a1838b2c139a4
3
+ metadata.gz: e27d80cfe9f1b26c49118959840561d2691f97dc
4
+ data.tar.gz: 2a460c4b586332c0f7c0774a44c3295d609b6930
5
5
  SHA512:
6
- metadata.gz: a626870744c05d39d6f30b5b7dd0926c66629773da8493e154151b8372fca3ccb124c5f0a25915318caaea0a4b6dc927010c52e4fee83be6fe9297a99d717f51
7
- data.tar.gz: 9a85e312fe3c0a0104362b941964520570038dca4c967af20c8315fc30ac4f36c627be64d56f4a8b325a483c70e8b32a8a85c2c49ee927fd1ce891596b9100bc
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
@@ -1,6 +1,5 @@
1
1
  require 'listen/turnstile'
2
2
  require 'listen/listener'
3
- require 'listen/multi_listener'
4
3
  require 'listen/directory_record'
5
4
  require 'listen/adapter'
6
5
 
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '1.0.3'
2
+ VERSION = '1.1.0'
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.0.3
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-04-29 00:00:00.000000000 Z
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