windows-pr 0.9.9 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES +3 -0
- data/README +1 -1
- data/lib/windows/handle.rb +1 -1
- data/lib/windows/system_info.rb +6 -6
- data/windows-pr.gemspec +1 -1
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
= 1.0.0 - 5-Feb-2009
|
2
|
+
* Fixed the prototype for DuplicateHandle() in the Windows::Handle module.
|
3
|
+
|
1
4
|
= 0.9.9 - 1-Feb-2009
|
2
5
|
* Now explicitly checks for Win32::API::LoadLibraryError in the method
|
3
6
|
declarations instead of Windows::API::Error. The latter no longer exists,
|
data/README
CHANGED
data/lib/windows/handle.rb
CHANGED
@@ -12,7 +12,7 @@ module Windows
|
|
12
12
|
HANDLE_FLAG_PROTECT_FROM_CLOSE = 0x00000002
|
13
13
|
|
14
14
|
API.new('CloseHandle', 'L', 'B')
|
15
|
-
API.new('DuplicateHandle', '
|
15
|
+
API.new('DuplicateHandle', 'LLLPLIL', 'B')
|
16
16
|
API.new('GetHandleInformation', 'LL', 'B')
|
17
17
|
API.new('SetHandleInformation', 'LLL', 'B')
|
18
18
|
API.new('_get_osfhandle', 'I', 'L', MSVCRT_DLL)
|
data/lib/windows/system_info.rb
CHANGED
@@ -129,9 +129,9 @@ module Windows
|
|
129
129
|
# 64-bit Windows XP Pro).
|
130
130
|
#--
|
131
131
|
# Because of the exception for a 64-bit Windows XP Pro, we have to
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
132
|
+
# do things the hard way. For version 2 we look for any of the suite
|
133
|
+
# masks that might be associated with Windows 2003. If we don't find
|
134
|
+
# any of them, assume it's Windows XP.
|
135
135
|
#
|
136
136
|
def windows_xp?
|
137
137
|
bool = false
|
@@ -170,9 +170,9 @@ module Windows
|
|
170
170
|
# i.e. major version 5, minor version 2.
|
171
171
|
#--
|
172
172
|
# Because of the exception for a 64-bit Windows XP Pro, we have to
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
173
|
+
# do things the hard way. For version 2 we look for any of the suite
|
174
|
+
# masks that might be associated with Windows 2003. If we find any
|
175
|
+
# of them, assume it's Windows 2003.
|
176
176
|
#
|
177
177
|
def windows_2003?
|
178
178
|
bool = false
|
data/windows-pr.gemspec
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |gem|
|
4
4
|
gem.name = 'windows-pr'
|
5
|
-
gem.version = '0.
|
5
|
+
gem.version = '1.0.0'
|
6
6
|
gem.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
7
|
gem.email = 'djberg96@gmail.com'
|
8
8
|
gem.homepage = 'http://www.rubyforge.org/projects/win32utils'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: windows-pr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-02-
|
13
|
+
date: 2009-02-05 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|