gobject-introspection 3.1.2-x64-mingw32 → 3.1.3-x64-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: 79e9eb23e75d06f3e3e6435243ed17bfcfe01505
4
- data.tar.gz: 744f2fead7bed865f3eb48407c579943f1fca5f6
3
+ metadata.gz: 2a3b822700ab89cca93ba97028e68562dd2cccbe
4
+ data.tar.gz: a23d05a0f3d70f5ec9f3d3c8d914c573b93bd28f
5
5
  SHA512:
6
- metadata.gz: ebe39293a4c14a2346f1d174c25693c287ff029b8233639c5d85e9bae8ceca410f2547b1b1ee7a2638c4e49a8643015c3d4f22bfe2d02723882c0500e89d1c92
7
- data.tar.gz: 25590862a83dfbd36b514e0778246d12e8e9b9c52cf79ceb3d57abce6b4a01c5ccf80d6f5d7448af0b0c9e8e4df2a55ce8702f2cbd6b542aa0c086205e486201
6
+ metadata.gz: 67d2a07d917595f13d01db7e8a60c8e56376a8c3b0f257e66d37e5f4dde6a5c9ec1a8d755dfd133e0d745f3a014c922b9951fefe76d2d93eef30cf275b6a7a72
7
+ data.tar.gz: 5af4e21339a04c78b090c958114b3a1028e8063ee1da99dbcf48bec23605cbd19f452662b7975f706d647ce0133ec19d154d9e6dc8e605a566519af52a5e2fda
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: x64-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