gsf 3.4.3 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/gsf-test-utils.rb +2 -2
- data/test/run-test.rb +15 -33
- 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: aa6fb9c3fe6e37b25261412e46d91fd7b2d70883e7f05c6d9225c3035bddbb25
|
4
|
+
data.tar.gz: '08a6d80ff5ce30d86a747393c9196a9999ac9a86bf9f9fd144c0f6836f71e8f8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0544df257925878c792d85bd41b56b9fa71eafe8d9edb7cd85324282a3c07764aa2761a5c6c9f81e90ca521af72a5288fb9264b6fc1cb3b83eaa9713a6cbafab
|
7
|
+
data.tar.gz: b2c38b19a6de099b11e9c78b045432327fe950e45ebf2aaaf59a053c503b2cb7ca1a150c94d91f480b4e94e3985ac5f4f90304201c20d91139ba406fb4f41103
|
data/test/gsf-test-utils.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2016 Ruby-
|
1
|
+
# Copyright (C) 2016-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
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
require "tempfile"
|
18
18
|
|
19
|
-
require "
|
19
|
+
require "gsf"
|
20
20
|
|
21
21
|
module GsfTestUtils
|
22
22
|
end
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2016-
|
3
|
+
# Copyright (C) 2016-2021 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,39 +16,21 @@
|
|
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
|
-
ruby_gnome_base = File.expand_path(ruby_gnome_base)
|
19
|
+
require_relative "../../glib2/test/run-test"
|
21
20
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
run_test(__dir__,
|
22
|
+
[
|
23
|
+
"glib2",
|
24
|
+
"gobject-introspection",
|
25
|
+
"gio2",
|
26
|
+
"gsf",
|
27
|
+
]) do |context|
|
28
|
+
require_relative "gsf-test-utils"
|
26
29
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
]
|
33
|
-
|
34
|
-
modules.each do |target, module_name|
|
35
|
-
makefile = File.join(target, "Makefile")
|
36
|
-
if File.exist?(makefile) and system("which make > /dev/null")
|
37
|
-
`make -C #{target.dump} > /dev/null` or exit(false)
|
30
|
+
begin
|
31
|
+
Gsf.init
|
32
|
+
rescue GObjectIntrospection::RepositoryError
|
33
|
+
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
34
|
+
exit(true)
|
38
35
|
end
|
39
|
-
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
40
|
-
$LOAD_PATH.unshift(File.join(target, "lib"))
|
41
36
|
end
|
42
|
-
|
43
|
-
$LOAD_PATH.unshift(File.join(gsf_base, "test"))
|
44
|
-
require "gsf-test-utils"
|
45
|
-
|
46
|
-
require "gsf"
|
47
|
-
begin
|
48
|
-
Gsf.init
|
49
|
-
rescue GObjectIntrospection::RepositoryError
|
50
|
-
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
51
|
-
exit(true)
|
52
|
-
end
|
53
|
-
|
54
|
-
exit Test::Unit::AutoRunner.run(true, File.join(gsf_base, "test"))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gsf
|
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: gio2
|
@@ -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/GSF is a Ruby binding of GSF.
|
28
28
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
29
29
|
executables: []
|
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
requirements: []
|
64
|
-
rubygems_version: 3.
|
64
|
+
rubygems_version: 3.3.0.dev
|
65
65
|
signing_key:
|
66
66
|
specification_version: 4
|
67
67
|
summary: Ruby/GSF is a Ruby binding of GSF.
|