winevt_c 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/winevt/winevt_query.c +2 -2
- data/ext/winevt/winevt_subscribe.c +2 -2
- data/ext/winevt/winevt_utils.c +1 -1
- data/lib/winevt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7c3db8e10faa9b706628536277e3834e9ea2d3557256c7d52a25fcf896b396c
|
4
|
+
data.tar.gz: f8c0049047121834eac921f06c016da6f276f6af95cd0703a73a36df939d1a85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20ed227e135edce36b07b5e47aa938af797cce29c49bf8fc0aa13cc80f19b41ab5b11849724d8cfc46862d7a3926d0bdf5855b8f6e1885aa619a6c204407c6d4
|
7
|
+
data.tar.gz: bbfcba109fe6bd6db097ab750389e4f3872713dc5f0f8f0aeab3c380c8eac87deb8dbd4c65ce31ac15846b9a19cff92e8b8a9deb2cb6ce2c2744b720c43e3006
|
data/ext/winevt/winevt_query.c
CHANGED
@@ -144,7 +144,7 @@ rb_winevt_query_render(VALUE self)
|
|
144
144
|
result = render_event(winevtQuery->event, EvtRenderEventXml);
|
145
145
|
get_description(winevtQuery->event);
|
146
146
|
|
147
|
-
return
|
147
|
+
return rb_utf8_str_new_cstr(result);
|
148
148
|
}
|
149
149
|
|
150
150
|
static VALUE
|
@@ -156,7 +156,7 @@ rb_winevt_query_message(VALUE self)
|
|
156
156
|
TypedData_Get_Struct(self, struct WinevtQuery, &rb_winevt_query_type, winevtQuery);
|
157
157
|
result = get_description(winevtQuery->event);
|
158
158
|
|
159
|
-
return
|
159
|
+
return rb_utf8_str_new_cstr(result);
|
160
160
|
}
|
161
161
|
|
162
162
|
static DWORD
|
@@ -159,7 +159,7 @@ rb_winevt_subscribe_render(VALUE self)
|
|
159
159
|
TypedData_Get_Struct(self, struct WinevtSubscribe, &rb_winevt_subscribe_type, winevtSubscribe);
|
160
160
|
result = render_event(winevtSubscribe->event, EvtRenderEventXml);
|
161
161
|
|
162
|
-
return
|
162
|
+
return rb_utf8_str_new_cstr(result);
|
163
163
|
}
|
164
164
|
|
165
165
|
static VALUE
|
@@ -171,7 +171,7 @@ rb_winevt_subscribe_message(VALUE self)
|
|
171
171
|
TypedData_Get_Struct(self, struct WinevtSubscribe, &rb_winevt_subscribe_type, winevtSubscribe);
|
172
172
|
result = get_description(winevtSubscribe->event);
|
173
173
|
|
174
|
-
return
|
174
|
+
return rb_utf8_str_new_cstr(result);
|
175
175
|
}
|
176
176
|
|
177
177
|
static VALUE
|
data/ext/winevt/winevt_utils.c
CHANGED
data/lib/winevt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winevt_c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi Hatake
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|