wnck3 3.4.3 → 3.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/test/helper.rb +1 -3
  3. data/test/run-test.rb +24 -52
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5dec3ab671a707a6c125231a7b4eaec6312b53753e562c778c250b502e054b9
4
- data.tar.gz: 94384842c9553353247447d4871bad63ffee1fdacb2d737fd6bb8f33aec20453
3
+ metadata.gz: 35d1f07907432b1cc2ad70aa86d8bb17c524f06b7a8945dbc57501784a744b31
4
+ data.tar.gz: d49868296ce2325a4422a9891e8b44bbde8b85e28f6a964b62ca03c9d43d4904
5
5
  SHA512:
6
- metadata.gz: f131ba49a6c5bfe59d3c9a02223f124e6dcbadbe83a086c4d2263d915c2eedc514d2e76fcd409d03939dac132dabfc6bec7493004e99925cad711d3c038685b0
7
- data.tar.gz: 96c146b456d4227a62fbf14b6ccbcb48accca20b6f5ba0b0c8367b3b16cc53cef9ab49d3c7c2f2757d16f69c37cb207c14d1507d0641250f0f3608e4b57f63d1
6
+ metadata.gz: 723ec44ad62f5a836d9ba1a54da47190330023faeead03101a92a285c1c5a29f5f680549abb65b13c3df1ed20255f57573507bcb348d043ddd3bb541b8f3d7e7
7
+ data.tar.gz: 56369da8276b2e8a85e29052789a65158d0192c88ac7787d409878cd2d6c32d7a75ba243bf304ea6c6fb2e271d0cf83bf5ee6f708cb8cc30716bf100cd4ac4ec
data/test/helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2019 Ruby-GNOME2 Project Team
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-2020 Ruby-GNOME2 Project Team
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
- 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
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
24
- gio_base = File.join(ruby_gnome_base, "gio2")
25
- atk_base = File.join(ruby_gnome_base, "atk")
26
- cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
27
- pango_base = File.join(ruby_gnome_base, "pango")
28
- gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
29
- gdk_base = File.join(ruby_gnome_base, "gdk3")
30
- gtk_base = File.join(ruby_gnome_base, "gtk3")
31
- wnck_base = File.join(ruby_gnome_base, "wnck3")
32
-
33
- modules = [
34
- [glib_base, "glib2"],
35
- [gobject_introspection_base, "gobject-introspection"],
36
- [gio_base, "gio2"],
37
- [atk_base, "atk"],
38
- [cairo_gobject_base, "cairo-gobject"],
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
- $LOAD_PATH.unshift(File.join(glib_base, "test"))
56
- require "glib-test-init"
41
+ require "gtk3"
57
42
 
58
- $LOAD_PATH.unshift(File.join(wnck_base, "test"))
59
- require_relative "helper"
43
+ Gtk.init
60
44
 
61
- $VERBOSE = true
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.3
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: 2020-05-10 00:00:00.000000000 Z
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.3
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.3
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.2.0.pre1
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.