gio2 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1415c46c7ff5e0fab8f474ed203bd49b4b414094f22d65180aa56334dda58292
4
- data.tar.gz: 2a86babeda5105389d819cd19302e3ace84cdba0d9acb7e37564b2d7b4e94c5b
3
+ metadata.gz: 75fe99fb019058b4123b68e7e842775045cfef99abe481183159eec5358f647c
4
+ data.tar.gz: 44df8cb622524ab801addebcb4326274358db3b7fb08f5aa8c71683591764598
5
5
  SHA512:
6
- metadata.gz: 3c73b05e29d75c50a0f9f5d682cd44817a7c3a03a4ac55dc6887a9a3b7e5a537775915cb7a315dada211639a34791478b85506cb7c41dac099d4dac1bbf6b8ae
7
- data.tar.gz: 9cb04fcfa3319801ae59bf45842bb8f7fff69ce284ce920a85a9e77f652854398192a5a1847cd2e82dc75baaeee78e202401c52b4abebb33ca9a1dd981a9db6f
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
- base_dir = File.join(File.dirname(__FILE__), "..", "fixture")
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
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2013-2016 Ruby-GNOME2 Project Team
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
- ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
19
+ require "fileutils"
21
20
 
22
- glib_base = File.join(ruby_gnome2_base, "glib2")
23
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
24
- gio2_base = File.join(ruby_gnome2_base, "gio2")
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
- fixture_dir = File.join(gio2_base, "test", "fixture")
42
- Dir.chdir(fixture_dir) do
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(fixture_dir, "schema", "default")
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.1
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: 2019-10-16 00:00:00.000000000 Z
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.1
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.1
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
- rubyforge_project:
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.