clutter 3.4.7 → 3.5.1

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: a6fde8866c17caaa84e10195e2920a498eeb91882739165490e7f8f73511d0ca
4
- data.tar.gz: d47d174045b3c5c916a7b819929f5fcabe2c89438074325904b35424faacb492
3
+ metadata.gz: 3eae8f999e1a708ba92e4442f15f4ce6df773cfa54f7ccd54bd7b207e34bf2a2
4
+ data.tar.gz: 76cc2b1b55b9b777cbe6dcf38c68b6061f1e179b7a41d4283a35b0c26459c7da
5
5
  SHA512:
6
- metadata.gz: abf3bca2c13016732a607eca87ba4a24c1e63c8fbd6e97ab467d5089265b6ff6ce3245d82e002b773b8f25518271abca3dc120ead9f08c2053ff8f2392417ac2
7
- data.tar.gz: b38d04aa186e62542978366a07d6103efab0dc4e9e0a96e4b72324ad2254851cad59d96c4623457999c573d6fb9f57f240dbaeb9bf4ec3499f1b7e2938dd8ecc
6
+ metadata.gz: de25021b9ce5731d2ebea59e3e2b2be4423f27932a6df2b5381a6966a4b69babaafa2bf5ba95f19f35b23312a8ba37cb5dc278a8e40884c053e682ae69fa97f2
7
+ data.tar.gz: 70aa2f3425a2ac6c10154ac4c43164a7531b6a9f35a0831caf3b595334544e05c122197b30e0d42cab99200925cb18110be95b56bfbb4630e084b5b70b549105
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.7
4
+ version: 3.5.1
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-07-30 00:00:00.000000000 Z
11
+ date: 2022-01-17 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.7
19
+ version: 3.5.1
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.7
26
+ version: 3.5.1
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.7
33
+ version: 3.5.1
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.7
40
+ version: 3.5.1
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.7
47
+ version: 3.5.1
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.7
54
+ version: 3.5.1
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.