win32-ipc 0.6.0 → 0.6.1
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 +4 -0
- data/README +1 -1
- data/lib/win32/ipc.rb +7 -4
- data/test/test_win32_ipc.rb +1 -1
- data/win32-ipc.gemspec +2 -2
- metadata +4 -4
data/CHANGES
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.6.1 - 9-Apr-2013
|
2
|
+
* Updated the HANDLE function prototypes in the underlying FFI code. This
|
3
|
+
affects 64 bit versions of Ruby.
|
4
|
+
|
1
5
|
== 0.6.0 - 8-Jul-2012
|
2
6
|
* Now uses FFI instead of win32-api.
|
3
7
|
* The #signaled? method now has a meaningful default implementation.
|
data/README
CHANGED
@@ -21,7 +21,7 @@ at https://github.com/djberg96/win32-ipc.
|
|
21
21
|
Artistic 2.0
|
22
22
|
|
23
23
|
= Copyright
|
24
|
-
(C) 2003-
|
24
|
+
(C) 2003-2013 Daniel J. Berger, All Rights Reserved
|
25
25
|
|
26
26
|
= Warranty
|
27
27
|
This package is provided "as is" and without any express or
|
data/lib/win32/ipc.rb
CHANGED
@@ -8,16 +8,19 @@ module Win32
|
|
8
8
|
#
|
9
9
|
class Ipc
|
10
10
|
extend FFI::Library
|
11
|
+
typedef :ulong, :dword
|
12
|
+
typedef :uintptr_t, :handle
|
13
|
+
|
11
14
|
ffi_lib :kernel32
|
12
15
|
|
13
|
-
attach_function :CloseHandle, [:
|
14
|
-
attach_function :WaitForSingleObject, [:
|
15
|
-
attach_function :WaitForMultipleObjects, [:
|
16
|
+
attach_function :CloseHandle, [:handle], :bool
|
17
|
+
attach_function :WaitForSingleObject, [:handle, :dword], :dword
|
18
|
+
attach_function :WaitForMultipleObjects, [:dword, :pointer, :bool, :dword], :dword
|
16
19
|
|
17
20
|
private_class_method :CloseHandle, :WaitForSingleObject, :WaitForMultipleObjects
|
18
21
|
|
19
22
|
# The version of the win32-ipc library
|
20
|
-
VERSION = '0.6.
|
23
|
+
VERSION = '0.6.1'
|
21
24
|
|
22
25
|
SIGNALED = 1
|
23
26
|
ABANDONED = -1
|
data/test/test_win32_ipc.rb
CHANGED
data/win32-ipc.gemspec
CHANGED
@@ -2,11 +2,11 @@ require 'rubygems'
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'win32-ipc'
|
5
|
-
spec.version = '0.6.
|
5
|
+
spec.version = '0.6.1'
|
6
6
|
spec.authors = ['Daniel J. Berger', 'Park Heesob']
|
7
7
|
spec.license = 'Artistic 2.0'
|
8
8
|
spec.email = 'djberg96@gmail.com'
|
9
|
-
spec.homepage = 'http://
|
9
|
+
spec.homepage = 'http://github.com/djberg96/win32-ipc'
|
10
10
|
spec.summary = 'An abstract base class for Windows synchronization objects.'
|
11
11
|
spec.test_file = 'test/test_win32_ipc.rb'
|
12
12
|
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-ipc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2013-04-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ffi
|
@@ -62,7 +62,7 @@ files:
|
|
62
62
|
- README
|
63
63
|
- test/test_win32_ipc.rb
|
64
64
|
- win32-ipc.gemspec
|
65
|
-
homepage: http://
|
65
|
+
homepage: http://github.com/djberg96/win32-ipc
|
66
66
|
licenses:
|
67
67
|
- Artistic 2.0
|
68
68
|
post_install_message:
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
requirements: []
|
85
85
|
rubyforge_project: win32utils
|
86
|
-
rubygems_version: 1.8.
|
86
|
+
rubygems_version: 1.8.24
|
87
87
|
signing_key:
|
88
88
|
specification_version: 3
|
89
89
|
summary: An abstract base class for Windows synchronization objects.
|