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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 10fefd55c0b6d5804a3d5fd912b5831a34c7f90c7774e46e9bd68e4ecf3a781f
4
- data.tar.gz: 2972eb8ff7cdd60553ca502a7c2ea5cf2110fd4f3f9211748696a8b325bcf16c
3
+ metadata.gz: aa6fb9c3fe6e37b25261412e46d91fd7b2d70883e7f05c6d9225c3035bddbb25
4
+ data.tar.gz: '08a6d80ff5ce30d86a747393c9196a9999ac9a86bf9f9fd144c0f6836f71e8f8'
5
5
  SHA512:
6
- metadata.gz: d45c1a9a01fd9b00e8e1be191085b1908d49f0aa4340c55bd042ee3d8fcdc122c65bb3c12b7a25c116e2e7907af4cede2c1a7a73ebeb12596901f25e7017ad5d
7
- data.tar.gz: 62389c10533187dae30675289e4a8eeb3b050dc50b146284219d91114705903f507175653903d0e3b354e2ee2c17c94afb7c23ddb6a3f537ae4570b296a114a0
6
+ metadata.gz: 0544df257925878c792d85bd41b56b9fa71eafe8d9edb7cd85324282a3c07764aa2761a5c6c9f81e90ca521af72a5288fb9264b6fc1cb3b83eaa9713a6cbafab
7
+ data.tar.gz: b2c38b19a6de099b11e9c78b045432327fe950e45ebf2aaaf59a053c503b2cb7ca1a150c94d91f480b4e94e3985ac5f4f90304201c20d91139ba406fb4f41103
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2016 Ruby-GNOME2 Project Team
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 "test-unit"
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-2020 Ruby-GNOME Project Team
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
- ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome_base = File.expand_path(ruby_gnome_base)
19
+ require_relative "../../glib2/test/run-test"
21
20
 
22
- glib2_base = File.join(ruby_gnome_base, "glib2")
23
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
24
- gio2_base = File.join(ruby_gnome_base, "gio2")
25
- gsf_base = File.join(ruby_gnome_base, "gsf")
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
- modules = [
28
- [glib2_base, "glib2"],
29
- [gobject_introspection_base, "gobject-introspection"],
30
- [gio2_base, "gio2"],
31
- [gsf_base, "gsf"]
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.3
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: 2020-05-10 00:00:00.000000000 Z
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.3
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.3
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.2.0.pre1
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.