win32-file-stat 1.3.6 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGES +126 -103
- data/MANIFEST +10 -7
- data/README +85 -84
- data/Rakefile +31 -26
- data/lib/win32/file/stat.rb +934 -755
- data/lib/win32/file/windows/constants.rb +92 -0
- data/lib/win32/file/windows/functions.rb +57 -0
- data/lib/win32/file/windows/helper.rb +13 -0
- data/lib/win32/file/windows/structs.rb +165 -0
- data/test/test_file_stat.rb +647 -354
- data/win32-file-stat.gemspec +28 -26
- metadata +63 -26
data/win32-file-stat.gemspec
CHANGED
@@ -1,26 +1,28 @@
|
|
1
|
-
Gem::Specification.new do |spec|
|
2
|
-
spec.name = 'win32-file-stat'
|
3
|
-
spec.version = '1.
|
4
|
-
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
5
|
-
spec.license = 'Artistic 2.0'
|
6
|
-
spec.email = 'djberg96@gmail.com'
|
7
|
-
spec.homepage = 'http://www.
|
8
|
-
spec.summary = 'A File::Stat class tailored to MS Windows'
|
9
|
-
spec.test_file = 'test/test_file_stat.rb'
|
10
|
-
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
11
|
-
|
12
|
-
spec.rubyforge_project = 'Win32Utils'
|
13
|
-
spec.extra_rdoc_files
|
14
|
-
|
15
|
-
|
16
|
-
spec.
|
17
|
-
|
18
|
-
spec.
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
1
|
+
Gem::Specification.new do |spec|
|
2
|
+
spec.name = 'win32-file-stat'
|
3
|
+
spec.version = '1.4.0'
|
4
|
+
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
5
|
+
spec.license = 'Artistic 2.0'
|
6
|
+
spec.email = 'djberg96@gmail.com'
|
7
|
+
spec.homepage = 'http://www.github.com/djberg96/win32-file-stat'
|
8
|
+
spec.summary = 'A File::Stat class tailored to MS Windows'
|
9
|
+
spec.test_file = 'test/test_file_stat.rb'
|
10
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
11
|
+
|
12
|
+
spec.rubyforge_project = 'Win32Utils'
|
13
|
+
spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST']
|
14
|
+
spec.required_ruby_version = ">= 1.9.0"
|
15
|
+
|
16
|
+
spec.add_dependency('ffi')
|
17
|
+
spec.add_development_dependency('test-unit')
|
18
|
+
spec.add_development_dependency('win32-security')
|
19
|
+
spec.add_development_dependency('rake')
|
20
|
+
|
21
|
+
spec.description = <<-EOF
|
22
|
+
The win32-file-stat library provides a custom File::Stat class
|
23
|
+
specifically tailored for MS Windows. Examples include the ability
|
24
|
+
to retrieve file attributes (hidden, archive, etc) as well as the
|
25
|
+
redefinition of certain core methods that aren't implemented at all,
|
26
|
+
such as File.blksize.
|
27
|
+
EOF
|
28
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-file-stat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Daniel J. Berger
|
@@ -10,35 +9,70 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
17
|
-
requirement:
|
18
|
-
none: false
|
15
|
+
name: ffi
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
20
|
+
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
|
-
version_requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
26
28
|
- !ruby/object:Gem::Dependency
|
27
29
|
name: test-unit
|
28
|
-
requirement:
|
29
|
-
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: win32-security
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
30
45
|
requirements:
|
31
|
-
- -
|
46
|
+
- - '>='
|
32
47
|
- !ruby/object:Gem::Version
|
33
48
|
version: '0'
|
34
49
|
type: :development
|
35
50
|
prerelease: false
|
36
|
-
version_requirements:
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
description: |2
|
71
|
+
The win32-file-stat library provides a custom File::Stat class
|
72
|
+
specifically tailored for MS Windows. Examples include the ability
|
73
|
+
to retrieve file attributes (hidden, archive, etc) as well as the
|
74
|
+
redefinition of certain core methods that aren't implemented at all,
|
75
|
+
such as File.blksize.
|
42
76
|
email: djberg96@gmail.com
|
43
77
|
executables: []
|
44
78
|
extensions: []
|
@@ -49,35 +83,38 @@ extra_rdoc_files:
|
|
49
83
|
files:
|
50
84
|
- CHANGES
|
51
85
|
- lib/win32/file/stat.rb
|
86
|
+
- lib/win32/file/windows/constants.rb
|
87
|
+
- lib/win32/file/windows/functions.rb
|
88
|
+
- lib/win32/file/windows/helper.rb
|
89
|
+
- lib/win32/file/windows/structs.rb
|
52
90
|
- MANIFEST
|
53
91
|
- Rakefile
|
54
92
|
- README
|
55
93
|
- test/test_file_stat.rb
|
56
94
|
- win32-file-stat.gemspec
|
57
|
-
homepage: http://www.
|
95
|
+
homepage: http://www.github.com/djberg96/win32-file-stat
|
58
96
|
licenses:
|
59
97
|
- Artistic 2.0
|
98
|
+
metadata: {}
|
60
99
|
post_install_message:
|
61
100
|
rdoc_options: []
|
62
101
|
require_paths:
|
63
102
|
- lib
|
64
103
|
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
104
|
requirements:
|
67
|
-
- -
|
105
|
+
- - '>='
|
68
106
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
107
|
+
version: 1.9.0
|
70
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
109
|
requirements:
|
73
|
-
- -
|
110
|
+
- - '>='
|
74
111
|
- !ruby/object:Gem::Version
|
75
112
|
version: '0'
|
76
113
|
requirements: []
|
77
114
|
rubyforge_project: Win32Utils
|
78
|
-
rubygems_version:
|
115
|
+
rubygems_version: 2.0.3
|
79
116
|
signing_key:
|
80
|
-
specification_version:
|
117
|
+
specification_version: 4
|
81
118
|
summary: A File::Stat class tailored to MS Windows
|
82
119
|
test_files:
|
83
120
|
- test/test_file_stat.rb
|