win32-eventlog 0.6.2 → 0.6.3
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.
- checksums.yaml +4 -4
- data/CHANGES +3 -0
- data/README +4 -1
- data/lib/win32/eventlog.rb +1 -1
- data/lib/win32/windows/functions.rb +7 -1
- data/test/test_eventlog.rb +1 -1
- data/win32-eventlog.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a30d31dd332de070b2144a3448525c8ac808ce31
|
4
|
+
data.tar.gz: 0859d56e7c7308b2293a363dbe5cc233b5555767
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fcf4f9f9385b9423012335c093e6b47f18576e9052ac3b1fc5f3d87720183c6093b9dca5495d4fa0813c687fe8b118ed4971c2590669ae5c8c2e1d264d325dd
|
7
|
+
data.tar.gz: 08ef927c973378126c4569a3763ef0f60bf560e086471b5e497d5ffae7e7134df9df35f039049888c6cf7cece2b14141de06929e2beec7ab3486f0c38e977de4
|
data/CHANGES
CHANGED
data/README
CHANGED
@@ -61,11 +61,14 @@
|
|
61
61
|
== Known Issues
|
62
62
|
* JRuby users may need to increase their heap space.
|
63
63
|
* JRuby x64 suffers from a bug that currently makes this library unusable.
|
64
|
-
See https://github.com/jruby/jruby/issues/1718.
|
65
64
|
|
66
65
|
Please file any bug reports on the project page at
|
67
66
|
http://github.com/djberg96/win32-eventlog.
|
68
67
|
|
68
|
+
== Alternatives
|
69
|
+
You can use ruby-wmi + Win32_NTLogEvent to get Windows eventlog information
|
70
|
+
using OLE behind the scenes.
|
71
|
+
|
69
72
|
== License
|
70
73
|
Artistic 2.0
|
71
74
|
|
data/lib/win32/eventlog.rb
CHANGED
@@ -5,7 +5,13 @@ module Windows
|
|
5
5
|
extend FFI::Library
|
6
6
|
ffi_lib :advapi32
|
7
7
|
|
8
|
-
|
8
|
+
# https://github.com/jruby/jruby/issues/2293
|
9
|
+
if RUBY_PLATFORM == 'java' && ENV_JAVA['sun.arch.data.model'] == '64'
|
10
|
+
typedef :ulong_long, :handle
|
11
|
+
else
|
12
|
+
typedef :uintptr_t, :handle
|
13
|
+
end
|
14
|
+
|
9
15
|
typedef :uintptr_t, :hkey
|
10
16
|
typedef :ulong, :dword
|
11
17
|
typedef :ushort, :word
|
data/test/test_eventlog.rb
CHANGED
data/win32-eventlog.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: win32-eventlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
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:
|
12
|
+
date: 2015-05-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project: win32utils
|
126
|
-
rubygems_version: 2.4.
|
126
|
+
rubygems_version: 2.4.5
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Interface for the MS Windows Event Log.
|