win32-dir 0.3.7 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +6 -0
- data/MANIFEST +8 -8
- data/README +4 -9
- data/Rakefile +6 -1
- data/examples/dir_example.rb +22 -22
- data/lib/win32/dir.rb +264 -176
- data/lib/win32/dir/constants.rb +18 -0
- data/lib/win32/dir/functions.rb +35 -0
- data/lib/win32/dir/structs.rb +29 -0
- data/test/test_win32_dir.rb +143 -137
- data/win32-dir.gemspec +4 -4
- metadata +62 -64
data/win32-dir.gemspec
CHANGED
@@ -2,21 +2,21 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'win32-dir'
|
5
|
-
spec.version = '0.
|
5
|
+
spec.version = '0.4.0'
|
6
6
|
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
7
|
spec.license = 'Artistic 2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
9
9
|
spec.homepage = 'http://www.rubyforge.org/projects/win32utils'
|
10
|
-
spec.platform = Gem::Platform::RUBY
|
11
10
|
spec.summary = 'Extra constants and methods for the Dir class on Windows.'
|
12
11
|
spec.test_file = 'test/test_win32_dir.rb'
|
13
12
|
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
14
13
|
|
15
14
|
spec.rubyforge_project = 'win32utils'
|
16
15
|
spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
|
16
|
+
spec.required_ruby_version = '>= 1.9.2'
|
17
17
|
|
18
|
-
spec.add_dependency('
|
19
|
-
spec.add_development_dependency('test-unit', '>= 2.0
|
18
|
+
spec.add_dependency('ffi', '>= 1.0.0')
|
19
|
+
spec.add_development_dependency('test-unit', '>= 2.4.0')
|
20
20
|
|
21
21
|
spec.description = <<-EOF
|
22
22
|
The win32-dir library provides extra methods and constants for the
|
metadata
CHANGED
@@ -1,99 +1,97 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-dir
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 3
|
8
|
-
- 7
|
9
|
-
version: 0.3.7
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Daniel J. Berger
|
13
9
|
- Park Heesob
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 1
|
30
|
-
- 0
|
31
|
-
- 9
|
32
|
-
version: 1.0.9
|
13
|
+
date: 2012-06-29 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: ffi
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
33
23
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: test-unit
|
37
24
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 1.0.0
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: test-unit
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: 2.4.0
|
47
39
|
type: :development
|
48
|
-
|
49
|
-
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 2.4.0
|
47
|
+
description: ! " The win32-dir library provides extra methods and constants for
|
48
|
+
the\n builtin Dir class. The constants provide a convenient way to identify\n
|
49
|
+
\ certain directories across all versions of Windows. Some methods have\n been
|
50
|
+
added, such as the ability to create junctions. Others have been\n modified to
|
51
|
+
provide a more consistent result for MS Windows.\n"
|
50
52
|
email: djberg96@gmail.com
|
51
53
|
executables: []
|
52
|
-
|
53
54
|
extensions: []
|
54
|
-
|
55
|
-
extra_rdoc_files:
|
55
|
+
extra_rdoc_files:
|
56
56
|
- README
|
57
57
|
- CHANGES
|
58
58
|
- MANIFEST
|
59
|
-
files:
|
59
|
+
files:
|
60
60
|
- CHANGES
|
61
61
|
- examples/dir_example.rb
|
62
|
+
- lib/win32/dir/constants.rb
|
63
|
+
- lib/win32/dir/functions.rb
|
64
|
+
- lib/win32/dir/structs.rb
|
62
65
|
- lib/win32/dir.rb
|
63
66
|
- MANIFEST
|
64
67
|
- Rakefile
|
65
68
|
- README
|
66
69
|
- test/test_win32_dir.rb
|
67
70
|
- win32-dir.gemspec
|
68
|
-
has_rdoc: true
|
69
71
|
homepage: http://www.rubyforge.org/projects/win32utils
|
70
|
-
licenses:
|
72
|
+
licenses:
|
71
73
|
- Artistic 2.0
|
72
74
|
post_install_message:
|
73
75
|
rdoc_options: []
|
74
|
-
|
75
|
-
require_paths:
|
76
|
+
require_paths:
|
76
77
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
- 0
|
90
|
-
version: "0"
|
78
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
+
none: false
|
80
|
+
requirements:
|
81
|
+
- - ! '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.9.2
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
91
90
|
requirements: []
|
92
|
-
|
93
91
|
rubyforge_project: win32utils
|
94
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.24
|
95
93
|
signing_key:
|
96
94
|
specification_version: 3
|
97
95
|
summary: Extra constants and methods for the Dir class on Windows.
|
98
|
-
test_files:
|
96
|
+
test_files:
|
99
97
|
- test/test_win32_dir.rb
|