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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1f723dda2f98a20322bb8664fff120fcf393245
4
- data.tar.gz: 03d82806323b485c026a20ff6a85242cb2a0e584
3
+ metadata.gz: 778f584b7029c0078142fa3c3775f9c7e29b1868
4
+ data.tar.gz: 17200175a431f4a2c594c7eccf68cee1ac7e96cd
5
5
  SHA512:
6
- metadata.gz: 0d733f97b5fe28c8ce9d6ebc00e9b8cb971d2dc42fb9c23b1476990d1afc08a25e87e037d9db4a37f479c5af5b06b2e46944f11edb280bafb2b3809f4407ca34
7
- data.tar.gz: 6809cc4787a07ea71d764bc1afaad1656465b9a5cbefff6a836182ef508130b3e3cd2422f8df685b88d109dfb8c34a787b920c14d40afc3a28101b083bfcf968
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.0",
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 Loader < GObjectIntrospection::Loader
71
- class InitError < StandardError
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 = Gdk::Pixbuf.new(File.expand_path("redhand.png", File.dirname(__FILE__)))
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,
@@ -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 = Gdk::Pixbuf.new(File.expand_path("redhand.png", File.dirname(__FILE__)))
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 = Gdk::Pixbuf.new(File.expand_path("redhand.png", File.dirname(__FILE__)))
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
- Clutter.init
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.8
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-04-03 00:00:00.000000000 Z
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.8
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.8
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.8
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.8
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.8
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.8
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.9.3
120
+ version: 2.1.0
121
121
  required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="