gobject-introspection 3.1.2-x86-mingw32 → 3.1.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2.2/gobject_introspection.so +0 -0
  3. data/lib/2.3/gobject_introspection.so +0 -0
  4. data/lib/2.4/gobject_introspection.so +0 -0
  5. data/lib/gobject-introspection/loader.rb +25 -16
  6. data/vendor/local/bin/g-ir-compiler.exe +0 -0
  7. data/vendor/local/bin/g-ir-generate.exe +0 -0
  8. data/vendor/local/bin/g-ir-inspect.exe +0 -0
  9. data/vendor/local/bin/libgirepository-1.0-1.dll +0 -0
  10. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyc +0 -0
  11. data/vendor/local/lib/gobject-introspection/giscanner/__init__.pyo +0 -0
  12. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyc +0 -0
  13. data/vendor/local/lib/gobject-introspection/giscanner/annotationmain.pyo +0 -0
  14. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyc +0 -0
  15. data/vendor/local/lib/gobject-introspection/giscanner/annotationparser.pyo +0 -0
  16. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyc +0 -0
  17. data/vendor/local/lib/gobject-introspection/giscanner/ast.pyo +0 -0
  18. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyc +0 -0
  19. data/vendor/local/lib/gobject-introspection/giscanner/cachestore.pyo +0 -0
  20. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyc +0 -0
  21. data/vendor/local/lib/gobject-introspection/giscanner/ccompiler.pyo +0 -0
  22. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyc +0 -0
  23. data/vendor/local/lib/gobject-introspection/giscanner/codegen.pyo +0 -0
  24. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyc +0 -0
  25. data/vendor/local/lib/gobject-introspection/giscanner/collections/__init__.pyo +0 -0
  26. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyc +0 -0
  27. data/vendor/local/lib/gobject-introspection/giscanner/collections/counter.pyo +0 -0
  28. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyc +0 -0
  29. data/vendor/local/lib/gobject-introspection/giscanner/collections/ordereddict.pyo +0 -0
  30. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyc +0 -0
  31. data/vendor/local/lib/gobject-introspection/giscanner/docmain.pyo +0 -0
  32. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyc +0 -0
  33. data/vendor/local/lib/gobject-introspection/giscanner/docwriter.pyo +0 -0
  34. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyc +0 -0
  35. data/vendor/local/lib/gobject-introspection/giscanner/dumper.pyo +0 -0
  36. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyc +0 -0
  37. data/vendor/local/lib/gobject-introspection/giscanner/gdumpparser.pyo +0 -0
  38. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyc +0 -0
  39. data/vendor/local/lib/gobject-introspection/giscanner/girparser.pyo +0 -0
  40. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyc +0 -0
  41. data/vendor/local/lib/gobject-introspection/giscanner/girwriter.pyo +0 -0
  42. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyc +0 -0
  43. data/vendor/local/lib/gobject-introspection/giscanner/introspectablepass.pyo +0 -0
  44. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyc +0 -0
  45. data/vendor/local/lib/gobject-introspection/giscanner/libtoolimporter.pyo +0 -0
  46. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyc +0 -0
  47. data/vendor/local/lib/gobject-introspection/giscanner/maintransformer.pyo +0 -0
  48. data/vendor/local/lib/gobject-introspection/giscanner/message.pyc +0 -0
  49. data/vendor/local/lib/gobject-introspection/giscanner/message.pyo +0 -0
  50. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyc +0 -0
  51. data/vendor/local/lib/gobject-introspection/giscanner/msvccompiler.pyo +0 -0
  52. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyc +0 -0
  53. data/vendor/local/lib/gobject-introspection/giscanner/scannermain.pyo +0 -0
  54. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyc +0 -0
  55. data/vendor/local/lib/gobject-introspection/giscanner/sectionparser.pyo +0 -0
  56. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyc +0 -0
  57. data/vendor/local/lib/gobject-introspection/giscanner/shlibs.pyo +0 -0
  58. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyc +0 -0
  59. data/vendor/local/lib/gobject-introspection/giscanner/sourcescanner.pyo +0 -0
  60. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyc +0 -0
  61. data/vendor/local/lib/gobject-introspection/giscanner/testcodegen.pyo +0 -0
  62. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyc +0 -0
  63. data/vendor/local/lib/gobject-introspection/giscanner/transformer.pyo +0 -0
  64. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyc +0 -0
  65. data/vendor/local/lib/gobject-introspection/giscanner/utils.pyo +0 -0
  66. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyc +0 -0
  67. data/vendor/local/lib/gobject-introspection/giscanner/xmlwriter.pyo +0 -0
  68. data/vendor/local/lib/libgirepository-1.0.dll.a +0 -0
  69. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bbff0dae70715f6ab5f75d208331c1d3a2864c5
4
- data.tar.gz: 50c1e32b7223538244dbc38fca31ff70f5dcc3cb
3
+ metadata.gz: 2b4034ff5859760153f35b507ae5f751f9037967
4
+ data.tar.gz: fa18adb59c44ceb3f93fc8a7d65800fa40068e58
5
5
  SHA512:
6
- metadata.gz: 4b2cddc7a9815f48579c569630a7414cbdad8dfb84683a1f119a5ec8ccc0baa1cfc3c053ce3c86d27236c7c09e34221a9d11ffbfaa792166a03e6ae61587b36d
7
- data.tar.gz: 6e1087e584ffe15c5633f92adc440dda2e27753eae99732283c1cd68bb219a0e8907e8e0329ee736a6fed025501d8370d65a7705ef7ff89019095a14964c1f8a
6
+ metadata.gz: 0e56a87916e85c8f6dacb9629f19a0e7eb0ee02dc410e851a71ae0d35a9c0fdd51673caea6d6d947663d9fc930f5bedda8fbcff6cb5c6b6d62ff7fa2c8920175
7
+ data.tar.gz: ae44bf302984c70e3caa2313f8095836d7d31fac30a5464f3c3395ac44a8a1481f67a60e2a7d2017930a4702894a6fd49f60235256a4118273e82aef1c375a4f
Binary file
Binary file
Binary file
@@ -241,33 +241,42 @@ module GObjectIntrospection
241
241
 
242
242
  readable = options[:readable]
243
243
  readable = flags.readable? if readable.nil?
244
- need_number_to_bool_convert = false
245
- if name.start_with?("is_") and
246
- field_info.type.tag == TypeTag::UINT32
247
- need_number_to_bool_convert = true
248
- end
249
244
  if readable
250
245
  reader_method_name = rubyish_field_reader_name(field_info, name)
251
- remove_existing_method(klass, reader_method_name)
252
- klass.__send__(:define_method, reader_method_name) do ||
253
- value = info.get_field_value(self, i)
254
- if need_number_to_bool_convert
255
- value != 0
256
- else
257
- value
258
- end
259
- end
246
+ load_field_reader(info, i, field_info, klass, name, reader_method_name)
260
247
  end
261
248
 
262
249
  writable = options[:writable]
263
250
  writable = flags.writable? if writable.nil?
264
251
  if writable
265
- klass.__send__(:define_method, "#{name}=") do |value|
266
- info.set_field_value(self, i, value)
252
+ load_field_writer(info, i, field_info, klass, name, "#{name}=")
253
+ end
254
+ end
255
+
256
+ def load_field_reader(info, i, field_info, klass, name, method_name)
257
+ remove_existing_method(klass, method_name)
258
+
259
+ need_number_to_bool_convert = false
260
+ if name.start_with?("is_") and
261
+ field_info.type.tag == TypeTag::UINT32
262
+ need_number_to_bool_convert = true
263
+ end
264
+ klass.__send__(:define_method, method_name) do ||
265
+ value = info.get_field_value(self, i)
266
+ if need_number_to_bool_convert
267
+ value != 0
268
+ else
269
+ value
267
270
  end
268
271
  end
269
272
  end
270
273
 
274
+ def load_field_writer(info, i, field_info, klass, name, method_name)
275
+ klass.__send__(:define_method, method_name) do |value|
276
+ info.set_field_value(self, i, value)
277
+ end
278
+ end
279
+
271
280
  def load_methods(info, klass)
272
281
  grouped_methods = info.methods.group_by do |method_info|
273
282
  method_info.class
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gobject-introspection
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - The Ruby-GNOME2 Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glib2
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.1.2
19
+ version: 3.1.3
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.1.2
26
+ version: 3.1.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: test-unit
29
29
  requirement: !ruby/object:Gem::Requirement