gio2 3.4.1 → 3.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/test/gio2-test-utils/fixture.rb +1 -2
- data/test/run-test.rb +19 -9
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75fe99fb019058b4123b68e7e842775045cfef99abe481183159eec5358f647c
|
4
|
+
data.tar.gz: 44df8cb622524ab801addebcb4326274358db3b7fb08f5aa8c71683591764598
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60a1d62c7aa9a6ccc11538fd10c276df8560abb8857ed18c31ac4587b6999a9915f2ea19a16f25aec7ee90fc53d641f34b1a33195f2577b8200a49bb03aee54c
|
7
|
+
data.tar.gz: 31aeab7572e86ae2dd0345106c4717000c6bf29a3968437cb1ae4c4875c8374aca05874ae360fb89c40a9d97d31de8e0617d242e923031a0bc3cb3bad95a9ef3
|
@@ -17,8 +17,7 @@
|
|
17
17
|
module GioTestUtils
|
18
18
|
module Fixture
|
19
19
|
def fixture_path(*components)
|
20
|
-
|
21
|
-
File.expand_path(File.join(base_dir, *components))
|
20
|
+
File.expand_path(File.join("test", "fixture", *components))
|
22
21
|
end
|
23
22
|
end
|
24
23
|
end
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2013-
|
3
|
+
# Copyright (C) 2013-2020 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,12 +16,16 @@
|
|
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_gnome2_base = File.expand_path(ruby_gnome2_base)
|
19
|
+
require "fileutils"
|
21
20
|
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
build_dir = File.expand_path(".")
|
22
|
+
|
23
|
+
ruby_gnome_base = File.join(__dir__, "..", "..")
|
24
|
+
ruby_gnome_base = File.expand_path(ruby_gnome_base)
|
25
|
+
|
26
|
+
glib_base = File.join(ruby_gnome_base, "glib2")
|
27
|
+
gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
|
28
|
+
gio2_base = File.join(ruby_gnome_base, "gio2")
|
25
29
|
|
26
30
|
modules = [
|
27
31
|
[glib_base, "glib2"],
|
@@ -38,11 +42,17 @@ modules.each do |target, module_name|
|
|
38
42
|
$LOAD_PATH.unshift(File.join(target, "lib"))
|
39
43
|
end
|
40
44
|
|
41
|
-
|
42
|
-
|
45
|
+
source_fixture_dir = File.join(gio2_base, "test", "fixture")
|
46
|
+
build_fixture_dir = File.join(build_dir, "test", "fixture")
|
47
|
+
unless source_fixture_dir == build_fixture_dir
|
48
|
+
FileUtils.rm_rf(build_fixture_dir)
|
49
|
+
FileUtils.mkdir_p(File.dirname(build_fixture_dir))
|
50
|
+
FileUtils.cp_r(source_fixture_dir, build_fixture_dir)
|
51
|
+
end
|
52
|
+
Dir.chdir(build_fixture_dir) do
|
43
53
|
system("rake") or exit(false)
|
44
54
|
end
|
45
|
-
ENV["GSETTINGS_SCHEMA_DIR"] = File.join(
|
55
|
+
ENV["GSETTINGS_SCHEMA_DIR"] = File.join(build_fixture_dir, "schema", "default")
|
46
56
|
|
47
57
|
$LOAD_PATH.unshift(File.join(glib_base, "test"))
|
48
58
|
require "glib-test-init"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gio2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.2
|
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: 2020-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.4.
|
19
|
+
version: 3.4.2
|
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.2
|
27
27
|
description: Ruby/GIO2 provide Ruby binding to a VFS API and useful APIs for desktop
|
28
28
|
applications (such as networking and D-Bus support).
|
29
29
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
@@ -118,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
|
122
|
-
rubygems_version: 2.7.6.2
|
121
|
+
rubygems_version: 3.2.0.pre1
|
123
122
|
signing_key:
|
124
123
|
specification_version: 4
|
125
124
|
summary: Ruby/GIO2 is a Ruby binding of gio-2.x.
|