listen 0.7.0 → 0.7.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.
- data/CHANGELOG.md +9 -0
- data/LICENSE +1 -1
- data/lib/listen/directory_record.rb +5 -1
- data/lib/listen/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 0.7.1 - January 6, 2013
|
2
|
+
|
3
|
+
### Bug fix
|
4
|
+
|
5
|
+
- [#75] Default high precision off if the mtime call fails. (fixed by [@zanker][])
|
6
|
+
|
1
7
|
## 0.7.0 - December 29, 2012
|
2
8
|
|
3
9
|
### Bug fixes
|
@@ -182,6 +188,8 @@
|
|
182
188
|
[#62]: https://github.com/guard/listen/issues/62
|
183
189
|
[#64]: https://github.com/guard/listen/issues/64
|
184
190
|
[#65]: https://github.com/guard/listen/issues/65
|
191
|
+
[#73]: https://github.com/guard/listen/issues/73
|
192
|
+
[#75]: https://github.com/guard/listen/issues/75
|
185
193
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
186
194
|
[@dkubb]: https://github.com/dkubb
|
187
195
|
[@ebroder]: https://github.com/ebroder
|
@@ -201,4 +209,5 @@
|
|
201
209
|
[@thibaudgg]: https://github.com/thibaudgg
|
202
210
|
[@tarsolya]: https://github.com/tarsolya
|
203
211
|
[@vongruenigen]: https://github.com/vongruenigen
|
212
|
+
[@zanker]: https://github.com/zanker
|
204
213
|
[WDM]: https://github.com/Maher4Ever/wdm
|
data/LICENSE
CHANGED
@@ -18,7 +18,11 @@ module Listen
|
|
18
18
|
# Defines the used precision based on the type of mtime returned by the
|
19
19
|
# system (whether its in milliseconds or just seconds)
|
20
20
|
#
|
21
|
-
|
21
|
+
begin
|
22
|
+
HIGH_PRECISION_SUPPORTED = File.mtime(__FILE__).to_f.to_s[-2..-1] != '.0'
|
23
|
+
rescue
|
24
|
+
HIGH_PRECISION_SUPPORTED = false
|
25
|
+
end
|
22
26
|
|
23
27
|
# Data structure used to save meta data about a path
|
24
28
|
#
|
data/lib/listen/version.rb
CHANGED
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: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-01-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|