listen 1.1.3 → 1.1.4

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: b77b3524696878ca9c7e797552c9830e0173408c
4
- data.tar.gz: f8d88a5651b054f14feff8f810c2182c057c6d80
3
+ metadata.gz: b02b90ac47c98e5b5db1ede6486e0713dfe16ac6
4
+ data.tar.gz: 8da0f6ac6f806dca07a83fdbfad83f52bd21f221
5
5
  SHA512:
6
- metadata.gz: 5356a5660f3dafacf6c7f7c229339835923615c237a922368302bfe8546261ba987f8b6157994549a6e629f5cdd42564e282f6dbc13a8f0c65573d19c29f9acf
7
- data.tar.gz: 153897ff1f97a4c5bb92863f8c26d90d24071ba4300f0dd8864230898d26ca5d11c2e57e1698d5c665b2fcde1967017e8b8c6f49699d4fd76ec68f179552b2da
6
+ metadata.gz: e60815f79dc1958cc7eb94939483c1efcb96a961233c04025417b1c544a5f4c8bed3718afbac7d5f11479a008c097b5503f01b6c26c7cc90cc6a724bbc1484c8
7
+ data.tar.gz: 6e1a8b1052b9dae4ce5c258df82f0eb622bfcb9b52098df9634902f7d416a073563516b4250f97243ee536e7017ccbbb8e8cbb4d879accf15eeaf666a5628cf5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.1.4 - May 28, 2013
2
+
3
+ ### Bug fix
4
+
5
+ - [#118][] Prevent polling just because the adapter gem was already required. ([@nilbus][])
6
+
1
7
  ## 1.1.3 - May 21, 2013
2
8
 
3
9
  ### Bug fix
@@ -289,6 +295,7 @@
289
295
  [#113]: https://github.com/guard/listen/issues/113
290
296
  [#115]: https://github.com/guard/listen/issues/115
291
297
  [#117]: https://github.com/guard/listen/issues/117
298
+ [#118]: https://github.com/guard/listen/issues/118
292
299
  [@Maher4Ever]: https://github.com/Maher4Ever
293
300
  [@ahoward]: https://github.com/ahoward
294
301
  [@akerbos]: https://github.com/akerbos
@@ -307,6 +314,7 @@
307
314
  [@napcs]: https://github.com/napcs
308
315
  [@netzpirat]: https://github.com/netzpirat
309
316
  [@nex3]: https://github.com/nex3
317
+ [@nilbus]: https://github.com/nilbus
310
318
  [@nysalor]: https://github.com/nysalor
311
319
  [@piotr-sokolowski]: https://github.com/piotr-sokolowski
312
320
  [@rymai]: https://github.com/rymai
@@ -192,10 +192,12 @@ module Listen
192
192
 
193
193
  # Load the adapter gem
194
194
  #
195
- # @return [Boolean] whether required or not
195
+ # @return [Boolean] whether loaded or not
196
196
  #
197
197
  def self.load_dependent_adapter
198
- @loaded ||= require adapter_gem
198
+ return true if @loaded
199
+ require adapter_gem
200
+ return @loaded = true
199
201
  end
200
202
 
201
203
  # Runs a tests to determine if the adapter can actually pick up
@@ -1,3 +1,3 @@
1
1
  module Listen
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
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.1.3
4
+ version: 1.1.4
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-05-21 00:00:00.000000000 Z
12
+ date: 2013-05-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-fsevent