wnck3 3.4.3 → 3.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/test/helper.rb +1 -3
- data/test/run-test.rb +24 -52
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35d1f07907432b1cc2ad70aa86d8bb17c524f06b7a8945dbc57501784a744b31
|
4
|
+
data.tar.gz: d49868296ce2325a4422a9891e8b44bbde8b85e28f6a964b62ca03c9d43d4904
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 723ec44ad62f5a836d9ba1a54da47190330023faeead03101a92a285c1c5a29f5f680549abb65b13c3df1ed20255f57573507bcb348d043ddd3bb541b8f3d7e7
|
7
|
+
data.tar.gz: 56369da8276b2e8a85e29052789a65158d0192c88ac7787d409878cd2d6c32d7a75ba243bf304ea6c6fb2e271d0cf83bf5ee6f708cb8cc30716bf100cd4ac4ec
|
data/test/helper.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2019 Ruby-
|
1
|
+
# Copyright (C) 2019-2021 Ruby-GNOME 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
|
@@ -14,8 +14,6 @@
|
|
14
14
|
# License along with this library; if not, write to the Free Software
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
|
-
require "test-unit"
|
18
|
-
|
19
17
|
module WnckTestHelper
|
20
18
|
private
|
21
19
|
def only_version(major, minor, micro=nil)
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2019-
|
3
|
+
# Copyright (C) 2019-2021 Ruby-GNOME2 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,59 +16,31 @@
|
|
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
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
[pango_base, "pango"],
|
40
|
-
[gdk_pixbuf_base, "gdk_pixbuf2"],
|
41
|
-
[gdk_base, "gdk3"],
|
42
|
-
[gtk_base, "gtk3"],
|
43
|
-
[wnck_base, "wnck3"],
|
44
|
-
]
|
45
|
-
|
46
|
-
modules.each do |target, module_name|
|
47
|
-
makefile = File.join(target, "Makefile")
|
48
|
-
if File.exist?(makefile) and system("which make > /dev/null")
|
49
|
-
`make -C #{target.dump} > /dev/null` or exit(false)
|
19
|
+
require_relative "../../glib2/test/run-test"
|
20
|
+
|
21
|
+
run_test(__dir__,
|
22
|
+
[
|
23
|
+
"glib2",
|
24
|
+
"gobject-introspection",
|
25
|
+
"gio2",
|
26
|
+
"gdk_pixbuf2",
|
27
|
+
"atk",
|
28
|
+
"cairo-gobject",
|
29
|
+
"pango",
|
30
|
+
"gdk3",
|
31
|
+
"gtk3",
|
32
|
+
"wnck3",
|
33
|
+
]) do
|
34
|
+
begin
|
35
|
+
require "wnck3"
|
36
|
+
rescue GObjectIntrospection::RepositoryError
|
37
|
+
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
38
|
+
exit(true)
|
50
39
|
end
|
51
|
-
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
52
|
-
$LOAD_PATH.unshift(File.join(target, "lib"))
|
53
|
-
end
|
54
40
|
|
55
|
-
|
56
|
-
require "glib-test-init"
|
41
|
+
require "gtk3"
|
57
42
|
|
58
|
-
|
59
|
-
require_relative "helper"
|
43
|
+
Gtk.init
|
60
44
|
|
61
|
-
|
62
|
-
|
63
|
-
begin
|
64
|
-
require "wnck3"
|
65
|
-
rescue GObjectIntrospection::RepositoryError
|
66
|
-
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
67
|
-
exit(true)
|
45
|
+
require_relative "helper"
|
68
46
|
end
|
69
|
-
|
70
|
-
require "gtk3"
|
71
|
-
|
72
|
-
Gtk.init
|
73
|
-
|
74
|
-
exit(Test::Unit::AutoRunner.run(true, File.join(wnck_base, "test")))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wnck3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.4
|
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: 2021-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gtk3
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.4
|
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.4
|
27
27
|
description: Ruby/WNCK3 is a Ruby binding of libwnck 3.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
|
-
rubygems_version: 3.
|
65
|
+
rubygems_version: 3.3.0.dev
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Ruby/WNCK3 is a Ruby binding of libwnck 3.
|