win32-dir 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES +3 -0
- data/README +7 -1
- data/lib/win32/dir.rb +2 -1
- data/test/test_win32_dir.rb +1 -1
- data/win32-dir.gemspec +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: 0abef2cc454787626bc32d89de4bc1d1dc1e20ce
|
4
|
+
data.tar.gz: b042f768bc130b2b5eb6eaa7699b8804c3218d4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3a6e1540dcecf539acc55d0de4dc465f9c811d0ab427a7fdd12e3f458718f19ba5ea9bea5121ed8b0a34b5fb200390d59e4a861c3cff68cfadce90da01c072b
|
7
|
+
data.tar.gz: 3e3c8f2ef6369233dcdba2fcbc8048c5ae18db79da9d24417ba6265bf13b43d64fae0d73ac6d067b6fad5a6edf4fa241e210f91c260541780762fdd45fc11f21
|
data/CHANGES
CHANGED
data/README
CHANGED
@@ -251,9 +251,15 @@ Dir::TEMPLATES
|
|
251
251
|
|
252
252
|
== License
|
253
253
|
Artistic 2.0
|
254
|
+
|
255
|
+
== Contributions
|
256
|
+
Although this library is free, please consider having your company
|
257
|
+
setup a gittip if used by your company professionally.
|
258
|
+
|
259
|
+
http://www.gittip.com/djberg96/
|
254
260
|
|
255
261
|
== Copyright
|
256
|
-
(C) 2003-
|
262
|
+
(C) 2003-2013 Daniel J. Berger, All Rights Reserved
|
257
263
|
|
258
264
|
== Warranty
|
259
265
|
This package is provided "as is" and without any express or
|
data/lib/win32/dir.rb
CHANGED
@@ -8,7 +8,7 @@ class Dir
|
|
8
8
|
extend Dir::Functions
|
9
9
|
|
10
10
|
# The version of the win32-dir library.
|
11
|
-
VERSION = '0.4.
|
11
|
+
VERSION = '0.4.4'
|
12
12
|
|
13
13
|
# CSIDL constants
|
14
14
|
csidl = Hash[
|
@@ -88,6 +88,7 @@ class Dir
|
|
88
88
|
if SHGetFolderLocation(0, value, 0, 0, ptr) == 0
|
89
89
|
if SHGetFileInfo(ptr.read_long, 0, info, info.size, flags) != 0
|
90
90
|
path = info[:szDisplayName].to_s
|
91
|
+
path.force_encoding(Encoding.default_external)
|
91
92
|
end
|
92
93
|
end
|
93
94
|
end
|
data/test/test_win32_dir.rb
CHANGED
data/win32-dir.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-dir
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|