clutter 3.0.8 → 3.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/clutter.rb +3 -3
- data/sample/bin-layout.rb +1 -1
- data/sample/image-content.rb +1 -1
- data/sample/pan-action.rb +1 -1
- data/test/run-test.rb +6 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 778f584b7029c0078142fa3c3775f9c7e29b1868
|
4
|
+
data.tar.gz: 17200175a431f4a2c594c7eccf68cee1ac7e96cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 314caa16ab43ce7898eb210398050abe5291865f6a33010af148e852a9c5e55d2b1d7da9ae1ad347b8443e4ccb257b6fc2293bb5e5dbb019affdb56ad68850a9
|
7
|
+
data.tar.gz: 45de324482d281f38375821db9781397df075f32889b6e059ef4204d738b9da2b27f2331fd0d5af03b9bb30c492f6b5f7845f9244efff85f756e33486ca2ae43
|
data/Rakefile
CHANGED
@@ -95,7 +95,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
95
95
|
:name => "json-glib",
|
96
96
|
:download_site => :gnome,
|
97
97
|
:label => "JSON-GLib",
|
98
|
-
:version => "1.2.
|
98
|
+
:version => "1.2.2",
|
99
99
|
:compression_method => "xz",
|
100
100
|
:windows => {
|
101
101
|
:configure_args => [
|
data/lib/clutter.rb
CHANGED
@@ -67,10 +67,10 @@ module Clutter
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
-
class
|
71
|
-
|
72
|
-
end
|
70
|
+
class InitError < StandardError
|
71
|
+
end
|
73
72
|
|
73
|
+
class Loader < GObjectIntrospection::Loader
|
74
74
|
NAMESPACE = "Clutter"
|
75
75
|
|
76
76
|
def initialize(base_module, init_arguments)
|
data/sample/bin-layout.rb
CHANGED
@@ -118,7 +118,7 @@ box.signal_connect("transitions-completed") do |actor|
|
|
118
118
|
canvas.set_size(actor.width, actor.height)
|
119
119
|
end
|
120
120
|
|
121
|
-
pixbuf =
|
121
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
122
122
|
image = Clutter::Image.new
|
123
123
|
image.set_data(pixbuf.pixels,
|
124
124
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/sample/image-content.rb
CHANGED
@@ -48,7 +48,7 @@ box.margin_left = 12
|
|
48
48
|
box.add_constraint(Clutter::BindConstraint.new(stage, :size, 0.0))
|
49
49
|
stage.add_child(box)
|
50
50
|
|
51
|
-
pixbuf =
|
51
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
52
52
|
image = Clutter::Image.new
|
53
53
|
image.set_data(pixbuf.pixels,
|
54
54
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/sample/pan-action.rb
CHANGED
@@ -38,7 +38,7 @@ scroll.add_constraint(Clutter::BindConstraint.new(stage, :size, 0))
|
|
38
38
|
content = Clutter::Actor.new
|
39
39
|
content.set_size(720, 720)
|
40
40
|
|
41
|
-
pixbuf =
|
41
|
+
pixbuf = GdkPixbuf::Pixbuf.new(:file => File.expand_path("redhand.png", File.dirname(__FILE__)))
|
42
42
|
image = Clutter::Image.new
|
43
43
|
image.set_data(pixbuf.pixels,
|
44
44
|
pixbuf.has_alpha? ? :rgba_8888 : :rgb_888,
|
data/test/run-test.rb
CHANGED
@@ -60,6 +60,11 @@ rescue GLib::Error
|
|
60
60
|
exit(true)
|
61
61
|
end
|
62
62
|
|
63
|
-
|
63
|
+
begin
|
64
|
+
Clutter.init
|
65
|
+
rescue Clutter::InitError
|
66
|
+
puts("Omit because initialization is failed: #{$!.message}")
|
67
|
+
exit(true)
|
68
|
+
end
|
64
69
|
|
65
70
|
exit Test::Unit::AutoRunner.run(true, File.join(clutter_base, "test"))
|
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.0.
|
4
|
+
version: 3.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-08-12 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.0.
|
19
|
+
version: 3.0.9
|
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.0.
|
26
|
+
version: 3.0.9
|
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.0.
|
33
|
+
version: 3.0.9
|
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.0.
|
40
|
+
version: 3.0.9
|
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.0.
|
47
|
+
version: 3.0.9
|
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.0.
|
54
|
+
version: 3.0.9
|
55
55
|
description: Ruby/Clutter is a Ruby binding of Clutter.
|
56
56
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
57
57
|
executables: []
|
@@ -117,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
117
|
requirements:
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
|
-
version: 1.
|
120
|
+
version: 2.1.0
|
121
121
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
122
|
requirements:
|
123
123
|
- - ">="
|