wnck3 3.4.2 → 3.4.6

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: 3a06ac7382bf20199b02d11e482814023a9026f5e4f100f9f9f01d1803cc2ed8
4
- data.tar.gz: ce7946dc8ec0b18bb23acb52a56915157b6c6866f144a5ffd3f8c09f5d8d437c
3
+ metadata.gz: b09a1eeea289a84969e2a59e672217a85b76d53a4cbf3ed62cf2aa72b2b8458d
4
+ data.tar.gz: c45b6419f4c04bebd6d4a9d177bdb6cd263a558d3e22f694550c37e1c6c146cc
5
5
  SHA512:
6
- metadata.gz: b891fb9a71517f663e02227d35815e3767e9e57e0abefb760fd1dba790fd547d34cc1e78448b8a0da32357f595984a5875b78260d7e0038181f0616279638b09
7
- data.tar.gz: 6a01d8114370e22c2586be0a37df21e660b4b3f4b7ea9e2f91e3402fce3faeb6a8f4dde7848d733cf04c6ec6cbc4974302b74b03263d0361cde0240ff88f4b99
6
+ metadata.gz: 965a10488add8391fdb0ee783ff25ba39f48461ccff6d2e7a4f4a184750ad202781a5677e9eecbb797fb3cfde03f63d18d4b20f54b2384589ebb71a640cb8c50
7
+ data.tar.gz: 6db5b5a8e729fd9c0f13f0ede795e7a3a4c120141350c65a77b7648d38d579ee63b53ce1589ad6ed05f39ba40b42de54cfee4cd57d3a96a550225d675b59b6ba
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.2
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: 2020-05-02 00:00:00.000000000 Z
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.2
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.2
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.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.