gobject-introspection 4.1.3 → 4.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9d0bd60dfa601cccb6f4668d0e1703e23bbe7ab2af8ee682d1b7752923c41e35
4
- data.tar.gz: 3b6ffbede0aacb2a37aaac5d7cbc014904ca731ccc5c4e1378328e2ab5bf86fa
3
+ metadata.gz: 5ad7749030322309d66cdd613d61540c2ac1e5b749c6b3df462c190648ec5a23
4
+ data.tar.gz: 11925d808602b94209daeaee2e4779575ec9e06f012e266b0dd62ba692f9ba1d
5
5
  SHA512:
6
- metadata.gz: 289fc71084bdb9d2d557cd7c599170880dbf4b22a1f23059fd0406330a38041478241d9fcd78e793290d7901a2482250d7c31e3bec261f83285a1e4b671f4210
7
- data.tar.gz: c34cf025299b940a644a962d1dd8b04da8eb8c06482083b666599e490900adf0a26cb21e3a4701c1fcf9c70785ea8b5a9b6299488e2d49c9239416b96c6e3502
6
+ metadata.gz: c61f9795ce3570ae8d351a64936ad3c8e141b6d2d1e3980f8074258f1ff1c149908793146d3bba48778d5b82863a872871b44e28087d2809b29f6cec2bfd9e3b
7
+ data.tar.gz: 15a4468d50ae854f71d1d442041c78687010c8bf0e580e5627e9aceb1499e973828f1f9136b8828599f32af6ad2f012caa91d6a5192b74ef284d9e5973b802b7
@@ -142,11 +142,12 @@ module GObjectIntrospection
142
142
  unless method_infos.empty?
143
143
  base_class = @base_module.const_get(base_class_name)
144
144
  singleton_class = base_class.singleton_class
145
- invokers = singleton_class::INVOKERS.dup
145
+ invokers = singleton_class.const_get(:INVOKERS).dup
146
146
  singleton_class.__send__(:remove_const, :INVOKERS)
147
147
  singleton_class.const_set(:INVOKERS, invokers)
148
148
  load_methods_method(method_infos, singleton_class)
149
149
  Ractor.make_shareable(singleton_class::INVOKERS) if defined?(Ractor)
150
+ singleton_class.private_constant(:INVOKERS)
150
151
  end
151
152
  else
152
153
  return if info.gtype_struct?
@@ -645,6 +646,8 @@ module GObjectIntrospection
645
646
  return unless defined?(Ractor)
646
647
  Ractor.make_shareable(klass::INVOKERS)
647
648
  Ractor.make_shareable(klass.singleton_class::INVOKERS)
649
+ klass.private_constant(:INVOKERS)
650
+ klass.singleton_class.private_constant(:INVOKERS)
648
651
  end
649
652
 
650
653
  def define_methods_module(name)
@@ -662,6 +665,7 @@ module GObjectIntrospection
662
665
  def post_methods_module(mod)
663
666
  return unless defined?(Ractor)
664
667
  Ractor.make_shareable(mod::INVOKERS)
668
+ mod.private_constant(:INVOKERS)
665
669
  end
666
670
 
667
671
  class Invoker
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: 4.1.3
4
+ version: 4.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-05-04 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: 4.1.3
19
+ version: 4.1.4
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: 4.1.3
26
+ version: 4.1.4
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