listen 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/listen/directory_record.rb +2 -3
- 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: d489e80cf9d6b15f4a42482bba84e75d4994828e
|
4
|
+
data.tar.gz: 803c713b6ce06f2a51b5c3506324f934d4d4ed69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e72f4f7c6e77871cbc17ff66b38832df74005a087197fd68ffc5bf6561bef2894fe037417d26a7ec0ca8d504eed2cbd2d518f034c64e7c47211c97d2a5059e4
|
7
|
+
data.tar.gz: 3b1d258b109e74f8addd4e657ac09c8ec359cfe9ee60070f19193f3d3d38e948b5d4cffd863c3afcc93b304bf0c1f194dc6ec2013ef189e8fa4b0936425a618e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 1.1.2 - May 14, 2013
|
2
|
+
|
3
|
+
### Bug fix
|
4
|
+
|
5
|
+
- [#115][] Fix for directory containing non-ascii chars. ([@luikore][])
|
6
|
+
|
1
7
|
## 1.1.1 - May 14, 2013
|
2
8
|
|
3
9
|
### Bug fix
|
@@ -275,6 +281,7 @@
|
|
275
281
|
[#110]: https://github.com/guard/listen/issues/110
|
276
282
|
[#112]: https://github.com/guard/listen/issues/112
|
277
283
|
[#113]: https://github.com/guard/listen/issues/113
|
284
|
+
[#115]: https://github.com/guard/listen/issues/115
|
278
285
|
[@Maher4Ever]: https://github.com/Maher4Ever
|
279
286
|
[@ahoward]: https://github.com/ahoward
|
280
287
|
[@akerbos]: https://github.com/akerbos
|
@@ -284,6 +291,7 @@
|
|
284
291
|
[@dkubb]: https://github.com/dkubb
|
285
292
|
[@ebroder]: https://github.com/ebroder
|
286
293
|
[@fny]: https://github.com/fny
|
294
|
+
[@luikore]: https://github.com/luikore
|
287
295
|
[@markiz]: https://github.com/markiz
|
288
296
|
[@martikaljuve]: https://github.com/martikaljuve
|
289
297
|
[@mat813]: https://github.com/mat813
|
@@ -190,10 +190,9 @@ module Listen
|
|
190
190
|
# @return [String] the relative path
|
191
191
|
#
|
192
192
|
def relative_to_base(path)
|
193
|
-
return nil unless path[directory]
|
194
|
-
|
195
193
|
path = path.force_encoding("BINARY") if path.respond_to?(:force_encoding)
|
196
|
-
path.
|
194
|
+
relative_path = Pathname.new(path).relative_path_from(Pathname.new directory).to_s
|
195
|
+
relative_path unless relative_path.start_with?('..')
|
197
196
|
end
|
198
197
|
|
199
198
|
private
|
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: 1.1.
|
4
|
+
version: 1.1.2
|
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-
|
12
|
+
date: 2013-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-fsevent
|