gdk3 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +6 -2
- data/ext/gdk3/extconf.rb +4 -1
- data/ext/gdk3/gdk3.def +2 -2
- data/ext/gdk3/rbgdk.c +5 -51
- data/ext/gdk3/rbgdk3.h +6 -4
- data/ext/gdk3/rbgdk3conversions.h +5 -2
- data/ext/gdk3/rbgdk3private.h +1 -6
- data/ext/gdk3/rbgdkcairo.c +0 -4
- data/ext/gdk3/rbgdkdevice.c +60 -4
- data/ext/gdk3/rbgdkdevicemanager.c +39 -0
- data/ext/gdk3/rbgdkdisplay.c +8 -63
- data/ext/gdk3/rbgdkevent.c +644 -396
- data/ext/gdk3/rbgdkwindow.c +29 -32
- data/lib/gdk3/deprecated.rb +13 -1
- data/test/test-gdk-event.rb +598 -0
- data/test/test-gdk-rgba.rb +2 -2
- metadata +14 -18
data/test/test-gdk-rgba.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
class TestGdkRGBA < Test::Unit::TestCase
|
20
20
|
def test_to_s
|
21
|
-
rgba = Gdk::RGBA.new(0.
|
22
|
-
assert_equal("rgba(
|
21
|
+
rgba = Gdk::RGBA.new(0.2, 0.4, 0.6, 0.5)
|
22
|
+
assert_equal("rgba(51,102,153,0.5)", rgba.to_s)
|
23
23
|
end
|
24
24
|
end
|
metadata
CHANGED
@@ -1,48 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdk3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- The Ruby-GNOME2 Project Team
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-28 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: pango
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - '='
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.
|
19
|
+
version: 2.0.3
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - '='
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.
|
26
|
+
version: 2.0.3
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: gdk_pixbuf2
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.
|
33
|
+
version: 2.0.3
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.
|
40
|
+
version: 2.0.3
|
46
41
|
description: Ruby/GDK3 is a Ruby binding of GDK-3.x.
|
47
42
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
48
43
|
executables: []
|
@@ -69,6 +64,7 @@ files:
|
|
69
64
|
- ext/gdk3/rbgdkconst.c
|
70
65
|
- ext/gdk3/rbgdkcursor.c
|
71
66
|
- ext/gdk3/rbgdkdevice.c
|
67
|
+
- ext/gdk3/rbgdkdevicemanager.c
|
72
68
|
- ext/gdk3/rbgdkdisplay.c
|
73
69
|
- ext/gdk3/rbgdkdisplaymanager.c
|
74
70
|
- ext/gdk3/rbgdkdragcontext.c
|
@@ -95,32 +91,32 @@ files:
|
|
95
91
|
- test/gdk-test-utils.rb
|
96
92
|
- test/run-test.rb
|
97
93
|
- test/test-gdk-color.rb
|
94
|
+
- test/test-gdk-event.rb
|
98
95
|
- test/test-gdk-geometry.rb
|
99
96
|
- test/test-gdk-rectangle.rb
|
100
97
|
- test/test-gdk-rgba.rb
|
101
98
|
- test/test-gdk-window-attr.rb
|
102
99
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
103
100
|
licenses: []
|
101
|
+
metadata: {}
|
104
102
|
post_install_message:
|
105
103
|
rdoc_options: []
|
106
104
|
require_paths:
|
107
105
|
- lib
|
108
106
|
required_ruby_version: !ruby/object:Gem::Requirement
|
109
|
-
none: false
|
110
107
|
requirements:
|
111
|
-
- -
|
108
|
+
- - '>='
|
112
109
|
- !ruby/object:Gem::Version
|
113
|
-
version: 1.9.
|
110
|
+
version: 1.9.3
|
114
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
-
none: false
|
116
112
|
requirements:
|
117
|
-
- -
|
113
|
+
- - '>='
|
118
114
|
- !ruby/object:Gem::Version
|
119
115
|
version: '0'
|
120
116
|
requirements: []
|
121
117
|
rubyforge_project:
|
122
|
-
rubygems_version:
|
118
|
+
rubygems_version: 2.0.14
|
123
119
|
signing_key:
|
124
|
-
specification_version:
|
120
|
+
specification_version: 4
|
125
121
|
summary: Ruby/GDK3 is a Ruby binding of GDK-3.x.
|
126
122
|
test_files: []
|