gir_ffi 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +5 -1
- data/lib/ffi-glib/container_class_methods.rb +1 -1
- data/lib/ffi-gobject/ruby_closure.rb +1 -1
- data/lib/gir_ffi/builders/argument_builder.rb +2 -2
- data/lib/gir_ffi/builders/callback_argument_builder.rb +1 -1
- data/lib/gir_ffi/builders/return_value_builder.rb +1 -1
- data/lib/gir_ffi/info_ext/i_registered_type_info.rb +1 -1
- data/lib/gir_ffi/info_ext/i_type_info.rb +1 -1
- data/lib/gir_ffi/info_ext/i_vfunc_info.rb +1 -1
- data/lib/gir_ffi/object_base.rb +1 -1
- data/lib/gir_ffi/unintrospectable_boxed_info.rb +1 -1
- data/lib/gir_ffi/version.rb +1 -1
- data/test/gir_ffi/builders/field_builder_test.rb +1 -1
- data/test/integration/generated_gobject_test.rb +1 -1
- data/test/integration/generated_regress_test.rb +1 -1
- 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: 4542b1c76addaf7e01bb9a6c8d7107d86ea0de3e898db45ed0e36692dd04f62f
|
4
|
+
data.tar.gz: 25a8bf9129747761c58a995b47bc2d191b7dba53b0a2e8009cbc2625335bc0fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a32e266d808fc123545e1ad23fa21f68263b51e73c2d9c3b7d0343097492ab434c55417ec2415273229509c973865e47a7d8a70855c863b30b2ea652ee401004
|
7
|
+
data.tar.gz: 96bf9543953553bb03ba2b087f970040e78e720b3608510e534354c1d74d11d86e08ef05cdd3f93b84d5342e19010455d9c3443ffe8dd0e04006658a5e2865ab
|
data/Changelog.md
CHANGED
@@ -125,7 +125,7 @@ module GirFFI
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def length_argument_name
|
128
|
-
length_arg
|
128
|
+
length_arg && length_arg.post_converted_name
|
129
129
|
end
|
130
130
|
|
131
131
|
def needs_size_check?
|
@@ -186,7 +186,7 @@ module GirFFI
|
|
186
186
|
@arginfo.caller_allocates?
|
187
187
|
end
|
188
188
|
|
189
|
-
DESTROY_NOTIFIER = 'GLib::DestroyNotify.default'
|
189
|
+
DESTROY_NOTIFIER = 'GLib::DestroyNotify.default'.freeze
|
190
190
|
|
191
191
|
def ingoing_convertor
|
192
192
|
if skipped_in?
|
data/lib/gir_ffi/object_base.rb
CHANGED
data/lib/gir_ffi/version.rb
CHANGED
@@ -117,7 +117,7 @@ describe GirFFI::Builders::FieldBuilder do
|
|
117
117
|
let(:n_params_field_info) { get_field_introspection_data 'GObject', 'SignalQuery', 'n_params' }
|
118
118
|
|
119
119
|
it 'creates the right getter method' do
|
120
|
-
skip if field_info.field_type.array_length
|
120
|
+
skip if field_info.field_type.array_length < 0
|
121
121
|
expected = <<-CODE.reset_indentation
|
122
122
|
def param_types
|
123
123
|
_v1 = @struct.to_ptr + #{n_params_field_info.offset}
|
@@ -68,7 +68,7 @@ describe GObject do
|
|
68
68
|
|
69
69
|
it 'uses the n_params field for the length of param_types' do
|
70
70
|
field_info = get_field_introspection_data 'GObject', 'SignalQuery', 'param_types'
|
71
|
-
skip if field_info.field_type.array_length
|
71
|
+
skip if field_info.field_type.array_length < 0
|
72
72
|
gtype = GObject::Object.gtype
|
73
73
|
signals = GObject.signal_list_ids gtype
|
74
74
|
signal_query = GObject.signal_query signals.first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gir_ffi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matijs van Zuijlen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -455,7 +455,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
455
455
|
requirements:
|
456
456
|
- - ">="
|
457
457
|
- !ruby/object:Gem::Version
|
458
|
-
version: 2.
|
458
|
+
version: 2.1.0
|
459
459
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
460
460
|
requirements:
|
461
461
|
- - ">="
|