wnck3 3.4.2 → 3.4.6
Sign up to get free protection for your applications and to get access to all the features.
- 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: b09a1eeea289a84969e2a59e672217a85b76d53a4cbf3ed62cf2aa72b2b8458d
|
4
|
+
data.tar.gz: c45b6419f4c04bebd6d4a9d177bdb6cd263a558d3e22f694550c37e1c6c146cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 965a10488add8391fdb0ee783ff25ba39f48461ccff6d2e7a4f4a184750ad202781a5677e9eecbb797fb3cfde03f63d18d4b20f54b2384589ebb71a640cb8c50
|
7
|
+
data.tar.gz: 6db5b5a8e729fd9c0f13f0ede795e7a3a4c120141350c65a77b7648d38d579ee63b53ce1589ad6ed05f39ba40b42de54cfee4cd57d3a96a550225d675b59b6ba
|
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.6
|
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-07-16 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.6
|
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.6
|
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.
|