ffilewatch 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/filewatch/watch.rb +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f676a022d59f3b2eaff4b98f1009235c30415b76
|
4
|
+
data.tar.gz: 4eb6b4ae97db37102500968a429365b25ad6523e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37db768459c9fdeca113bd204688b1d19fbe22e92aa573cc3750def2724db7ff849db9809e62de53d80faf367ad92ae664a98d34a5338d9f3af0755030818bd2
|
7
|
+
data.tar.gz: 795ab6d6a1c79d55f71dc3cb104357caebf81bd038c29bce2bafff8b6cc410e316e0c456dac8ee5b04c1b88166160899ee87bbfc7cea1db3639c2bac0870c125
|
data/lib/filewatch/watch.rb
CHANGED
@@ -129,7 +129,11 @@ module FileWatch
|
|
129
129
|
|
130
130
|
private
|
131
131
|
def real path
|
132
|
-
|
132
|
+
if defined? JRUBY_VERSION
|
133
|
+
java.io.File.new(path).canonical_path rescue path
|
134
|
+
else
|
135
|
+
File.realpath(path) rescue path
|
136
|
+
end
|
133
137
|
end
|
134
138
|
|
135
139
|
private
|