win32-eventlog 0.6.4 → 0.6.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57c5af61f5d5982eac028bbba518bb4cbbd6abff
4
- data.tar.gz: 399d6974488ca60f26524e9ad9a0c1e7ecd74f4e
3
+ metadata.gz: d52dae3358b8e57d7d8bc400f6c9dec3730d8c2d
4
+ data.tar.gz: 4b31e02d349c4f16f7859490484e8a9259c8b021
5
5
  SHA512:
6
- metadata.gz: df455a32a65af0aa56fa7187f2ea28e88d70b50ee8e41bb86061384cc44a3b8c27ef659b1bd8982af4fdb253306aeac6cb66892e00b18527fa5b176ef191e28d
7
- data.tar.gz: d8c7e0be06cafe7eee9ac48599e58635828528cf7751ef0b92ccf4829e748f671481ba87de8036ace3bfc48972e21862aad704c8afb6512af1b593dffa57aa4f
6
+ metadata.gz: 6e3ee1e904e90de863c4bea4adc3b94de09fd36b205b9386188da842913302d441ddb680d110455a945fa58179afa32c308a20bab5cf8d49828ef25fc584b795
7
+ data.tar.gz: 2887d615261afb3ce6924b7e44cd99b906d839dc97307240c4f5c33040df08bdeb3abc5fc05e1bdaf5b03f03ea58e0ecba91ca816265bc1c7062612ea35039c5
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.6.5 - 29-Oct-2015
2
+ * Fixed some old code in the read method that was never properly updated.
3
+ Thanks go to Jo�o Duarte for the spot.
4
+
1
5
  == 0.6.4 - 25-Oct-2015
2
6
  * Fixed function prototype and call for CreateEvent.
3
7
  * This gem is now signed.
@@ -18,7 +18,7 @@ module Win32
18
18
  class Error < StandardError; end
19
19
 
20
20
  # The version of the win32-eventlog library
21
- VERSION = '0.6.4'
21
+ VERSION = '0.6.5'
22
22
 
23
23
  # The log is read in chronological order, i.e. oldest to newest.
24
24
  FORWARDS_READ = EVENTLOG_FORWARDS_READ
@@ -1015,11 +1015,11 @@ module Win32
1015
1015
  end
1016
1016
 
1017
1017
  FreeLibrary(hmodule)
1018
- break if buf.nstrip != ""
1018
+ break if buf.read_string != ""
1019
1019
  end
1020
1020
  }
1021
1021
 
1022
- va = va.gsub("%%#{x.first}", buf.nstrip)
1022
+ va = va.gsub("%%#{x.first}", buf.read_string)
1023
1023
  }
1024
1024
 
1025
1025
  va
@@ -25,7 +25,7 @@ class TC_Win32_EventLog < Test::Unit::TestCase
25
25
  end
26
26
 
27
27
  test "version constant is set to expected value" do
28
- assert_equal('0.6.4', EventLog::VERSION)
28
+ assert_equal('0.6.5', EventLog::VERSION)
29
29
  end
30
30
 
31
31
  test "constructor basic functionality" do
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'win32-eventlog'
5
- spec.version = '0.6.4'
5
+ spec.version = '0.6.5'
6
6
  spec.authors = ['Daniel J. Berger', 'Park Heesob']
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
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
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -31,7 +31,7 @@ cert_chain:
31
31
  EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
32
32
  tGSHgAmcLlkdGgan182qsE/4kKM=
33
33
  -----END CERTIFICATE-----
34
- date: 2015-10-25 00:00:00.000000000 Z
34
+ date: 2015-10-29 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: ffi
metadata.gz.sig CHANGED
Binary file