gsf 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/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: cc425e8cfd8233ca4c4c5f69204b21cbf4615f7a162998ab7452d29f0504917c
|
4
|
+
data.tar.gz: 846b30cbb39f686d62baa820eaca7f2a7023132b2e62ed3cf745fd60f2816f97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4323779bcf91db8db6e851bfc4c56b95a9d448989ff7d9fb6a457fa6a3d5d6fab845aabaf5e9776de739c466aeb80a0c6aad6f537d5bfc7bc8a4a5c5988d0ba6
|
7
|
+
data.tar.gz: a98674f95742656159843a3bc01776111514cea7a380c170679cd931cb523c0854ed4f56deb3e75d8384e776297d177e3e686e0d8df240a5d3e70ab1144a11b9
|
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.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: 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.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/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.
|