listen 2.0.0.pre.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/README.md +2 -13
- 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: a3a85ae5a130d5ccf3d6ebf7174614610af93ba7
|
4
|
+
data.tar.gz: bd6f7c8f0dc70130c98de3e74d44bcc4fb98bb36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27c880e3c70f58400ebe481a82a342438692c968611813a69032ce99a69ad7499531bccd839cb77d0d3e47e8f92ae63ea17a23a0e73155689339a6afca2c3ef4
|
7
|
+
data.tar.gz: 68ad5e3365d230048c343ea0e096a4a400833177f0ca18c86e5a89a3b3297f14b3c313b967d55ea0e67e153bc687b4770d0503e34012ec914b0cfbde451df1db
|
data/CHANGELOG.md
CHANGED
@@ -1 +1 @@
|
|
1
|
-
# Moved to [
|
1
|
+
# Moved to [GitHub releases](https://github.com/guard/listen/releases) page.
|
data/README.md
CHANGED
@@ -2,12 +2,6 @@
|
|
2
2
|
|
3
3
|
The Listen gem listens to file modifications and notifies you about the changes.
|
4
4
|
|
5
|
-
## WARNING
|
6
|
-
|
7
|
-
Master branch is `v2.0.0.beta` version, use the [v1.3 branch](https://github.com/guard/listen/tree/v1.3) for the stable release.
|
8
|
-
|
9
|
-
*BSD and Windows adapter are still a work in progress, any help is very welcome. Thanks!
|
10
|
-
|
11
5
|
## Features
|
12
6
|
|
13
7
|
* Supports watching multiple directories from a single listener.
|
@@ -26,10 +20,6 @@ Please note that Windows and *BSD adapter aren't continuously and automaticaly t
|
|
26
20
|
|
27
21
|
Pull request or help is very welcome for these.
|
28
22
|
|
29
|
-
## Changelog
|
30
|
-
|
31
|
-
The Changelog is on now on the [Github releases](https://github.com/guard/listen/releases) section.
|
32
|
-
|
33
23
|
## Install
|
34
24
|
|
35
25
|
The simplest way to install Listen is to use [Bundler](http://bundler.io).
|
@@ -177,7 +167,7 @@ Here are some things you could try to avoid forcing polling.
|
|
177
167
|
|
178
168
|
If your application keeps using the polling-adapter and you can't figure out why, feel free to [open an issue](https://github.com/guard/listen/issues/new) (and be sure to [give all the details](https://github.com/guard/listen/blob/master/CONTRIBUTING.md)).
|
179
169
|
|
180
|
-
## Development
|
170
|
+
## Development
|
181
171
|
|
182
172
|
* Documentation hosted at [RubyDoc](http://rubydoc.info/github/guard/listen/master/frames).
|
183
173
|
* Source hosted at [GitHub](https://github.com/guard/listen).
|
@@ -188,7 +178,6 @@ Pull requests are very welcome! Please try to follow these simple rules if appli
|
|
188
178
|
* Make sure your patches are well tested. All specs must pass on [Travis CI](https://travis-ci.org/guard/listen).
|
189
179
|
* Update the [Yard](http://yardoc.org/) documentation.
|
190
180
|
* Update the [README](https://github.com/guard/listen/blob/master/README.md).
|
191
|
-
* Update the [CHANGELOG](https://github.com/guard/listen/blob/master/CHANGELOG.md) for noteworthy changes (don't forget to run `bundle exec pimpmychangelog` and watch the magic happen)!
|
192
181
|
* Please **do not change** the version number.
|
193
182
|
|
194
183
|
For questions please join us in our [Google group](http://groups.google.com/group/guard-dev) or on
|
@@ -209,7 +198,7 @@ For questions please join us in our [Google group](http://groups.google.com/grou
|
|
209
198
|
|
210
199
|
## Contributors
|
211
200
|
|
212
|
-
[https://github.com/guard/listen/contributors](https://github.com/guard/listen/contributors)
|
201
|
+
[https://github.com/guard/listen/graphs/contributors](https://github.com/guard/listen/graphs/contributors)
|
213
202
|
|
214
203
|
[Thibaud Guillaume-Gentil (thibaudgg)]: https://github.com/thibaudgg
|
215
204
|
[Maher Sallam]: https://github.com/Maher4Ever
|
data/lib/listen/listener.rb
CHANGED
@@ -22,7 +22,7 @@ module Listen
|
|
22
22
|
#
|
23
23
|
def initialize(*args, &block)
|
24
24
|
@options = _init_options(args.last.is_a?(Hash) ? args.pop : {})
|
25
|
-
@directories = args.flatten.map { |path| Pathname.new(path) }
|
25
|
+
@directories = args.flatten.map { |path| Pathname.new(path).realpath }
|
26
26
|
@changes = []
|
27
27
|
@block = block
|
28
28
|
_init_debug
|
data/lib/listen/version.rb
CHANGED
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: 2.0.0
|
4
|
+
version: 2.0.0
|
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: 2013-
|
11
|
+
date: 2013-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: celluloid
|