cairo-gobject 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/cairo-gobject/rb-cairo-gobject.c +7 -3
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b40529588965da0be40afe327d33fb62d32e60e4
|
4
|
+
data.tar.gz: 40d1aae7282b12743dc564ad8c9c623424dcf0f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eed0dbecb4a681a2a89ab9d10525de3e32842f2f426aec62a97ad97177ed3106bf003962c1f97459d114b8f4f336092fe40274387a3b07d5edf1315091339d49
|
7
|
+
data.tar.gz: 3b90faf067063e703d379f0bba693e12bb8a0bfad034d7c8b68886e3e6ed8f74458a91b1bae26cb0941fbd29b70306099ebadf559b7e38c9595cd41e4009a93c
|
@@ -27,13 +27,17 @@ static gpointer \
|
|
27
27
|
prefix ## _robj2instance(VALUE rb_object, \
|
28
28
|
G_GNUC_UNUSED gpointer user_data) \
|
29
29
|
{ \
|
30
|
-
|
30
|
+
ID id_gboxed; \
|
31
|
+
VALUE rb_boxed = Qnil; \
|
31
32
|
\
|
32
|
-
|
33
|
+
CONST_ID(id_gboxed, "gboxed"); \
|
34
|
+
if (rb_ivar_defined(rb_object, id_gboxed)) { \
|
35
|
+
rb_boxed = rb_ivar_get(rb_object, id_gboxed); \
|
36
|
+
} \
|
33
37
|
if (NIL_P(rb_boxed)) { \
|
34
38
|
gpointer cr_object = RVAL2CR(rb_object); \
|
35
39
|
rb_boxed = rbgobj_make_boxed_default(cr_object, gtype); \
|
36
|
-
|
40
|
+
rb_ivar_set(rb_object, id_gboxed, rb_boxed); \
|
37
41
|
} \
|
38
42
|
\
|
39
43
|
return rbgobj_boxed_get_default(rb_boxed, gtype); \
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cairo-gobject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1
|
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: 2014-
|
11
|
+
date: 2014-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cairo
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '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
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -30,26 +30,26 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.2.
|
33
|
+
version: 2.2.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: 2.2.
|
40
|
+
version: 2.2.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: test-unit-notify
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
|
@@ -60,11 +60,11 @@ extensions:
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- Rakefile
|
63
|
-
- extconf.rb
|
64
|
-
- lib/cairo-gobject.rb
|
65
63
|
- ext/cairo-gobject/extconf.rb
|
66
64
|
- ext/cairo-gobject/rb-cairo-gobject.c
|
67
65
|
- ext/cairo-gobject/rb-cairo-gobject.h
|
66
|
+
- extconf.rb
|
67
|
+
- lib/cairo-gobject.rb
|
68
68
|
- test/cairo-gobject-test-utils.rb
|
69
69
|
- test/run-test.rb
|
70
70
|
- test/test_cairoantialias.rb
|
@@ -103,17 +103,17 @@ require_paths:
|
|
103
103
|
- lib
|
104
104
|
required_ruby_version: !ruby/object:Gem::Requirement
|
105
105
|
requirements:
|
106
|
-
- -
|
106
|
+
- - ">="
|
107
107
|
- !ruby/object:Gem::Version
|
108
108
|
version: 1.9.3
|
109
109
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- -
|
111
|
+
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
115
|
rubyforge_project:
|
116
|
-
rubygems_version: 2.
|
116
|
+
rubygems_version: 2.2.2
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Ruby/CairoGObject is a Ruby binding of cairo-gobject.
|