clutter 3.4.9 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/clutter.rb +10 -10
  3. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bb7da09b706a8b1894f12f46b3dec2e61600ae1a19be9838597ac81b3b1efa7
4
- data.tar.gz: 1ac9e8b6deff842c8b3b0924ec92eebc8061e97669daea41e0c15a4354a93aa2
3
+ metadata.gz: 96b208a4114463d08ee3cbce9abc3c136da056b45f8cb4a4745655f31f3f81f5
4
+ data.tar.gz: 5f33af73d96c19604d688faf83785c5e754aa64e752ee05c25db20f77eccc592
5
5
  SHA512:
6
- metadata.gz: 2e9ae83b81b58e30395ff311cb3ebbe1ea8a13d460c3760b3d404fb6a5ec32f1f5663d9ecd4bdb7cdfbca371c7148e43ff869664195696156922188f02376e5e
7
- data.tar.gz: ce93e063976c6e95985ee4c8a9c39065fd10d91bada690792074ba64e8f3dce2c0c5dfd3dc3250e669e6932b4e48c90b051d5a8a58e7bab1afbbdb78641c4394
6
+ metadata.gz: 324dfeb30f36cc1ce3974915321701be80335e1ceea72bd6af1b3a7e74e101ef8035fb87ce0aba65ec5356960229b04b4724cf0344a35ab43e2407d9373488e0
7
+ data.tar.gz: fabdfe699c71401310e3dc40f34c4f01483ebd2d3a8c5a1c45259d2d129caa00786e24e0de2f539c827b720e708656217c02fcf1bfc063fbfc21a07020c3686a
data/lib/clutter.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2012-2018 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2012-2021 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@ module Clutter
24
24
 
25
25
  class << self
26
26
  def const_missing(name)
27
- init()
27
+ init
28
28
  if const_defined?(name)
29
29
  const_get(name)
30
30
  else
@@ -93,17 +93,17 @@ module Clutter
93
93
  if error.to_i <= 0
94
94
  raise InitError, "failed to initialize Clutter: #{error.name}"
95
95
  end
96
- @keys_module = Module.new
97
- @base_module.const_set("Keys", @keys_module)
98
- @threads_module = Module.new
99
- @base_module.const_set("Threads", @threads_module)
100
- @feature_module = Module.new
101
- @base_module.const_set("Feature", @feature_module)
102
- @version_module = Module.new
103
- @base_module.const_set("Version", @version_module)
96
+ @keys_module = define_methods_module(:Keys)
97
+ @threads_module = define_methods_module(:Threads)
98
+ @feature_module = define_methods_module(:Feature)
99
+ @version_module = define_methods_module(:Version)
104
100
  end
105
101
 
106
102
  def post_load(repository, namespace)
103
+ post_methods_module(@keys_module)
104
+ post_methods_module(@threads_module)
105
+ post_methods_module(@feature_module)
106
+ post_methods_module(@version_module)
107
107
  @other_constant_infos.each do |constant_info|
108
108
  name = constant_info.name
109
109
  next if @key_constants.has_key?("KEY_#{name}")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clutter
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.9
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Ruby-GNOME Project Team
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-10 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cairo-gobject
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.9
19
+ version: 4.0.0
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.4.9
26
+ version: 4.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gobject-introspection
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.4.9
33
+ version: 4.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.4.9
40
+ version: 4.0.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pango
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.4.9
47
+ version: 4.0.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.4.9
54
+ version: 4.0.0
55
55
  description: Ruby/Clutter is a Ruby binding of Clutter.
56
56
  email: ruby-gnome2-devel-en@lists.sourceforge.net
57
57
  executables: []
@@ -115,7 +115,7 @@ licenses:
115
115
  - LGPL-2.1+
116
116
  metadata:
117
117
  msys2_mingw_dependencies: clutter
118
- post_install_message:
118
+ post_install_message:
119
119
  rdoc_options: []
120
120
  require_paths:
121
121
  - lib
@@ -130,8 +130,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  requirements: []
133
- rubygems_version: 3.3.0.dev
134
- signing_key:
133
+ rubygems_version: 3.4.0.dev
134
+ signing_key:
135
135
  specification_version: 4
136
136
  summary: Ruby/Clutter is a Ruby binding of Clutter.
137
137
  test_files: []