babeltrace 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/babeltrace.gemspec +1 -1
- data/lib/babeltrace/ctf/events.rb +5 -2
- 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: 3a11c8de93fc93dc21253113b61b0897b09a4030080b5f9dbf5083785f4e0536
|
4
|
+
data.tar.gz: 4fda4626f48176e76cafa3a74ed050e71ceed8243345c8b85fbbda1ee33e99bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e4e16041d38f56ba939de1391ded0f50e4293d788da8b2dc6e1a70a3147030f390bd6dd5bec962941254de265bd0b00a43f2cd49d3cc5eeb148399bff1e5de0
|
7
|
+
data.tar.gz: 345f080fcc55a404bd6d79018d6c624fd3502fa9d55803ad9f499e1e6176478f9e4fcba22cd67878b6cc12a2518ad8e38d7d0313db04ab32e8facde3c0c2c240
|
data/babeltrace.gemspec
CHANGED
@@ -338,13 +338,16 @@ module Babeltrace
|
|
338
338
|
|
339
339
|
class EnumDef < Definition
|
340
340
|
def int
|
341
|
-
|
341
|
+
@definition.get_enum_int
|
342
342
|
end
|
343
343
|
|
344
344
|
def string
|
345
345
|
@definition.get_enum_str
|
346
346
|
end
|
347
|
-
|
347
|
+
|
348
|
+
def value
|
349
|
+
{ int.value => string }
|
350
|
+
end
|
348
351
|
end
|
349
352
|
|
350
353
|
class StringDef < Definition
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: babeltrace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brice Videau
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|