listen 1.2.3 → 1.3.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: d8bd786e042b9b5bab047d1a7d05d0540422cb0b
4
- data.tar.gz: e199fe61e80821cc30c3a53740581c4ef99e0ca4
3
+ metadata.gz: 84bd31518df205caa017b29e37e2cd7d5162b545
4
+ data.tar.gz: 3870a893adc99e1584c9105526728791e6a65db5
5
5
  SHA512:
6
- metadata.gz: 0a468455498226943753828bc225e848cb5bab16218a814344472b4697d9afdb133e8d360d0ed41f131f719d69dc2a4f964fcca32774be7b4c03f71560958c66
7
- data.tar.gz: 46517ec6ba1d7e5a1d8684fc4c51d417b39efc595b5a354e7e29922e9f251b82dd8033c263e5bfcaaec57e8c06cf14d4f83abea606af411edc76c38a3d2645fd
6
+ metadata.gz: fb152269d4348278b1d3fb25cf0d10f0c53ee745ec476a57e960f2018137c9a0bda3a20bcaf0ce21ce0659b7368968c741d71cefd2e3f49d6396ab94a52043f1
7
+ data.tar.gz: f8eebb983bbdbd4630e8d69b10ae814d980c874cc2c391a6b8fdcc2939ba37bf15dbe3c92866b065ba74905e634984b3068330a574e4ec981a673f338ecdf736
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.3.0 - Aug 14, 2013
2
+
3
+ ### Change
4
+
5
+ - Defaults `Listener#relative_paths` to `false` when listening to a single directory (see [#131][]). ([@rehevkor5][])
6
+
1
7
  ## 1.2.3 - Aug 9, 2013
2
8
 
3
9
  ### Improvement
@@ -102,7 +108,7 @@
102
108
 
103
109
  - [#98][] New method: `Listen.to!` which blocks the current thread. ([@rymai][])
104
110
  - [#98][] New method: `Listen::Listener#start!` to start the listener and block the current thread. ([@martikaljuve][] & [@rymai][])
105
- - [#95][] Make `Listen::Listener` capable of listening to multiple directories, deprecates `Listen::MultiListener`. ([@rymai][])
111
+ - [#95][] Make `Listen::Listener` capable of listening to multiple directories, deprecates `Listen::MultiListener`, defaults `Listener#relative_paths` to `true` when listening to a single directory (see [#131][]). ([@rymai][])
106
112
  - [#85][] Compute the SHA1 sum only for regular files. ([@antifuchs][])
107
113
  - New methods: `Listen::Adapter#pause`, `Listen::Adapter#unpause` and `Listen::Adapter#paused?`. ([@rymai][])
108
114
  - Refactor `Listen::DirectoryRecord` internals. ([@rymai][])
@@ -335,6 +341,7 @@
335
341
  [#120]: https://github.com/guard/listen/issues/120
336
342
  [#122]: https://github.com/guard/listen/issues/122
337
343
  [#124]: https://github.com/guard/listen/issues/124
344
+ [#131]: https://github.com/guard/listen/issues/131
338
345
  [@21croissants]: https://github.com/21croissants
339
346
  [@Maher4Ever]: https://github.com/Maher4Ever
340
347
  [@ahoward]: https://github.com/ahoward
@@ -359,6 +366,7 @@
359
366
  [@nilbus]: https://github.com/nilbus
360
367
  [@nysalor]: https://github.com/nysalor
361
368
  [@piotr-sokolowski]: https://github.com/piotr-sokolowski
369
+ [@rehevkor5]: https://github.com/rehevkor5
362
370
  [@rymai]: https://github.com/rymai
363
371
  [@scottdavis]: https://github.com/scottdavis
364
372
  [@sunaku]: https://github.com/sunaku
@@ -272,7 +272,7 @@ module Listen
272
272
  if directories.size > 1 && options[:relative_paths]
273
273
  Kernel.warn "[Listen warning]: #{RELATIVE_PATHS_WITH_MULTIPLE_DIRECTORIES_WARNING_MESSAGE}"
274
274
  end
275
- @use_relative_paths = directories.one? && options.delete(:relative_paths) { true }
275
+ @use_relative_paths = directories.one? && options.delete(:relative_paths) { false }
276
276
  end
277
277
 
278
278
  # Build the directory record concurrently and initialize the adapter.
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '1.2.3'
2
+ VERSION = '1.3.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.2.3
4
+ version: 1.3.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-08-09 00:00:00.000000000 Z
12
+ date: 2013-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-fsevent