gdk3 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gdk3/color.rb +1 -5
- data/test/run-test.rb +12 -12
- data/test/test-gdk-color.rb +1 -5
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51e16ac4c9e43be3c07a758e56cc4726533ff6cd116164cab162652192545f8b
|
4
|
+
data.tar.gz: ce95c4182d6901d6039681662a13ff2c98553220918d50a066550f66601dd3ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9883fdd3bcd9d662dd61360ed404dc33af0e061707614db28bb8ae212d7909b649e8d1a45135374a36e9d497c2e68cbea2b6ecccdd7de9156b8315531443543f
|
7
|
+
data.tar.gz: 264c287ad84c2003a7ea82d0e1f8887dcfb79d1b5f1c797d6ff2d70d0aa4eb048497605aa45eb0bafc674f74e7460d7b523417785b28ecf5784b71837bc398d1
|
data/lib/gdk3/color.rb
CHANGED
@@ -27,11 +27,7 @@ module Gdk
|
|
27
27
|
message << "\"\#rrggbb\", "
|
28
28
|
message << "\"\#rrggbb\", "
|
29
29
|
message << "\"\#rrrgggbbb\", "
|
30
|
-
message << "\"\#rrrrggggbbbb\"
|
31
|
-
message << "\"\#fff\", "
|
32
|
-
message << "\"\#ffffff\", "
|
33
|
-
message << "\"\#fffffffff\", "
|
34
|
-
message << "\"\#fffffffffffff\""
|
30
|
+
message << "\"\#rrrrggggbbbb\""
|
35
31
|
raise ArgumentError, message
|
36
32
|
end
|
37
33
|
color
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013-
|
3
|
+
# Copyright (C) 2013-2020 Ruby-GNOME Project Team
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,17 +16,17 @@
|
|
16
16
|
# License along with this library; if not, write to the Free Software
|
17
17
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
glib_base = File.join(
|
23
|
-
gio_base = File.join(
|
24
|
-
atk_base = File.join(
|
25
|
-
cairo_gobject_base = File.join(
|
26
|
-
pango_base = File.join(
|
27
|
-
gdk_pixbuf_base = File.join(
|
28
|
-
gobject_introspection_base = File.join(
|
29
|
-
gdk3_base = File.join(
|
19
|
+
ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
|
20
|
+
ruby_gnome_base = File.expand_path(ruby_gnome_base)
|
21
|
+
|
22
|
+
glib_base = File.join(ruby_gnome_base, "glib2")
|
23
|
+
gio_base = File.join(ruby_gnome_base, "gio2")
|
24
|
+
atk_base = File.join(ruby_gnome_base, "atk")
|
25
|
+
cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
|
26
|
+
pango_base = File.join(ruby_gnome_base, "pango")
|
27
|
+
gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
|
28
|
+
gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
|
29
|
+
gdk3_base = File.join(ruby_gnome_base, "gdk3")
|
30
30
|
|
31
31
|
[
|
32
32
|
[glib_base, "glib2"],
|
data/test/test-gdk-color.rb
CHANGED
@@ -24,11 +24,7 @@ class TestGdkColor < Test::Unit::TestCase
|
|
24
24
|
message << "\"\#rrggbb\", "
|
25
25
|
message << "\"\#rrggbb\", "
|
26
26
|
message << "\"\#rrrgggbbb\", "
|
27
|
-
message << "\"\#rrrrggggbbbb\"
|
28
|
-
message << "\"\#fff\", "
|
29
|
-
message << "\"\#ffffff\", "
|
30
|
-
message << "\"\#fffffffff\", "
|
31
|
-
message << "\"\#fffffffffffff\""
|
27
|
+
message << "\"\#rrrrggggbbbb\""
|
32
28
|
assert_raise(ArgumentError.new(message)) do
|
33
29
|
Gdk::Color.parse(spec)
|
34
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gdk3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pango
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.2
|
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.4.
|
26
|
+
version: 3.4.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gdk_pixbuf2
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.4.
|
33
|
+
version: 3.4.2
|
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.4.
|
40
|
+
version: 3.4.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cairo-gobject
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.4.
|
47
|
+
version: 3.4.2
|
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.4.
|
54
|
+
version: 3.4.2
|
55
55
|
description: Ruby/GDK3 is a Ruby binding of GDK-3.x.
|
56
56
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
57
57
|
executables: []
|
@@ -116,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
|
120
|
-
rubygems_version: 2.7.6.2
|
119
|
+
rubygems_version: 3.2.0.pre1
|
121
120
|
signing_key:
|
122
121
|
specification_version: 4
|
123
122
|
summary: Ruby/GDK3 is a Ruby binding of GDK-3.x.
|