gobject-introspection 3.3.4 → 3.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gobject-introspection/loader.rb +5 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67635d4d293da53caa4fdf57134d7effb35a22cf363aa584cacb7500af576cfa
|
4
|
+
data.tar.gz: '09dc0f86f5cc1adeb2bcdb236b9edf703e15f039c9ef2084c7e71a737e4a9d00'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33b6a646d9c688d2d326c9dcaf8e05070a6ba16a2b96d6ebebc755d11ece0c302564ef9502a339cbd14b73d3f6d20e71396b63b0fb31c3f265c17c886c690fe7
|
7
|
+
data.tar.gz: 51fc5a16931aed5224f68441cc1c399f2810665b0c8b1d42d6b92725c9106c7881750c23ca401467dd991a0db523fdca2fe35e8465403613417d6bd5aae5d9eb
|
@@ -135,6 +135,7 @@ module GObjectIntrospection
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def define_boxed(info)
|
138
|
+
return if info.gtype == GLib::Type::NONE
|
138
139
|
klass = self.class.define_class(info.gtype, info.name, @base_module)
|
139
140
|
_ = klass # TODO: Remove me. It is just for suppressing a warning.
|
140
141
|
# TODO
|
@@ -151,6 +152,8 @@ module GObjectIntrospection
|
|
151
152
|
end
|
152
153
|
|
153
154
|
def define_enum(info)
|
155
|
+
# TODO: Can we do the same things for flags on NONE GType?
|
156
|
+
return if info.gtype == GLib::Type::NONE
|
154
157
|
self.class.define_class(info.gtype,
|
155
158
|
rubyish_class_name(info),
|
156
159
|
@base_module)
|
@@ -205,6 +208,7 @@ module GObjectIntrospection
|
|
205
208
|
end
|
206
209
|
|
207
210
|
def load_object_info(info)
|
211
|
+
return if info.gtype == GLib::Type::NONE
|
208
212
|
klass = self.class.define_class(info.gtype,
|
209
213
|
rubyish_class_name(info),
|
210
214
|
@base_module)
|
@@ -573,6 +577,7 @@ module GObjectIntrospection
|
|
573
577
|
end
|
574
578
|
|
575
579
|
def load_union_info(info)
|
580
|
+
return if info.gtype == GLib::Type::NONE
|
576
581
|
klass = self.class.define_class(info.gtype, info.name, @base_module)
|
577
582
|
load_fields(info, klass)
|
578
583
|
load_methods(info, klass)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobject-introspection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.3.
|
19
|
+
version: 3.3.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.3.
|
26
|
+
version: 3.3.5
|
27
27
|
description: Ruby/GObjectIntrospection provides bindings of GObject Introspection
|
28
28
|
and a loader module that can generate dynamically Ruby bindings of any GObject C
|
29
29
|
libraries
|