clutter-gtk 2.1.0 → 2.2.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-gtk.rb +6 -6
  3. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ddbf173d9f45a14f49f7e483477d781ec522db3
4
- data.tar.gz: 5ff740612ba15bed0f30d2e5d315c74430d6b864
3
+ metadata.gz: 874f39d9696b21a70228e82c76d20ead7991e037
4
+ data.tar.gz: 55a30a864d2927ba7e9a254ce0e7db5d0c92ff8f
5
5
  SHA512:
6
- metadata.gz: 6f78b874cd324f9f0a205f552daad12e8bbdf47fd78f02942afe6b87ec914c47df94381d55e72bee9313e3e7ffbc60c7a00572ad7ddd3cc957b5c801368df6ed
7
- data.tar.gz: 930c3d09cf434ce70a15d7c5544e79848c658402679de0b64b56a96f17ad33bc3df7b86236b5ffe99846b79b073d0ab444316b9bab2ece86d0097157b8d45697
6
+ metadata.gz: 3c3483d3b9bb61e514133311c976372d3dd9ebf4d5cd0d3aa422ab8cddcbde3c45001821931fa91137e46b371085e4f0fdd780641c52c34844f6117cb8a17e3d
7
+ data.tar.gz: de5670cef1731497f5c290e82a94d441d3dbb41737eedb676894158e18346da40a88dbd21f13ff1cd73c6bd5429576750eaecdbf81aaba633e8ca31cf2effe3b
data/lib/clutter-gtk.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2013-2014 Ruby-GNOME2 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
@@ -39,13 +39,13 @@ module ClutterGtk
39
39
  end
40
40
 
41
41
  def init(argv=[])
42
- loader = Loader.new(self, argv)
43
- loader.load("GtkClutter")
44
- Clutter.init(argv)
45
42
  class << self
46
43
  remove_method(:init)
47
44
  remove_method(:const_missing)
48
45
  end
46
+ loader = Loader.new(self, argv)
47
+ loader.load("GtkClutter")
48
+ Clutter.init(argv) if Clutter.respond_to?(:init)
49
49
  end
50
50
  end
51
51
 
@@ -65,8 +65,8 @@ module ClutterGtk
65
65
  1 + @init_arguments.size,
66
66
  [$0] + @init_arguments,
67
67
  ]
68
- error, argc, argv = init.invoke(:arguments => arguments)
69
- @init_arguments.replace(argv)
68
+ error, returned_arguments = init.invoke(:arguments => arguments)
69
+ @init_arguments.replace(returned_arguments)
70
70
  if error.to_i <= 0
71
71
  raise InitError, "failed to initialize Clutter: #{error.name}"
72
72
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clutter-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.0
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: 2013-12-29 00:00:00.000000000 Z
11
+ date: 2014-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clutter
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.0
19
+ version: 2.2.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: 2.1.0
26
+ version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gtk3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 2.1.0
33
+ version: 2.2.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: 2.1.0
40
+ version: 2.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit-notify
43
43
  requirement: !ruby/object:Gem::Requirement