clutter 3.4.9 → 3.5.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 +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bb7da09b706a8b1894f12f46b3dec2e61600ae1a19be9838597ac81b3b1efa7
4
- data.tar.gz: 1ac9e8b6deff842c8b3b0924ec92eebc8061e97669daea41e0c15a4354a93aa2
3
+ metadata.gz: cf6bf98690fc69813d6b067a6ba16fbf193321d0ff00a0f0f4a6aea046c2d84b
4
+ data.tar.gz: 6fdd1a4ffb9d166484bff6a528bb0799c35047b649ef56acd082b9873ed25b24
5
5
  SHA512:
6
- metadata.gz: 2e9ae83b81b58e30395ff311cb3ebbe1ea8a13d460c3760b3d404fb6a5ec32f1f5663d9ecd4bdb7cdfbca371c7148e43ff869664195696156922188f02376e5e
7
- data.tar.gz: ce93e063976c6e95985ee4c8a9c39065fd10d91bada690792074ba64e8f3dce2c0c5dfd3dc3250e669e6932b4e48c90b051d5a8a58e7bab1afbbdb78641c4394
6
+ metadata.gz: 1ac0d4b10acdea2635d8783c09a1d55edd05167a1029ab320ba22d57f4731b7f4c6338089e591d2b43a35738009e89c5dfca740c9071e5d4afabd251861b0229
7
+ data.tar.gz: a69529dc79b2599681985733f1f1c2ddde1cdba01feef6b4ac6391a3033d365be2ebcdc9c02c1b227a3a2ac4de82012db2121eb76d12076d412e514269e5acbf
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: 3.5.0
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: 2021-08-10 00:00:00.000000000 Z
11
+ date: 2022-01-11 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: 3.5.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: 3.5.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: 3.5.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: 3.5.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: 3.5.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: 3.5.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: []
@@ -130,7 +130,7 @@ 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
133
+ rubygems_version: 3.4.0.dev
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: Ruby/Clutter is a Ruby binding of Clutter.