goffice 3.3.9 → 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: b386f62b9f4b9002ced04567888057094e4eefc33cbdd0d9c3c1c40efca07aa1
4
- data.tar.gz: 728d001bccaacd12e5f2396d4a842ce3c6193149a1f638b9acab0c6762e22cc2
3
+ metadata.gz: 350c054a67643aa8a0e92cc89fc2cffd6d585b0cbc2581a310f9559aac8507e8
4
+ data.tar.gz: 69f5c746560fde3adf89e5a64968d5447c807bd73c7e7864cb6f6ff2e0d63ed0
5
5
  SHA512:
6
- metadata.gz: 5ddc5f5d32b5e12b4cdeff71f6eb53f941c792f1a5291d9ecab3f6c989d7007a7d0fab25db8d0c4c5444e19b1a9c8a096d2dd332ad338d2289e6c8b12c244748
7
- data.tar.gz: fa857c14f7a116568660785b49928e018fbe0ee5441627d41fb6ea79be65e94af65dca996d17e9c48266a8fd244de7a7ccd2f8ec794873e3ab883d747ed78693
6
+ metadata.gz: caaeba40eea9d53defa0752d2f6952cbc8648e9d447769b05c400feabdf1a987b155dfa5bdb62d748df28c008145f29813620a4f961a1634a0b0ae9973fa81aa
7
+ data.tar.gz: 2f731a11fdbf563cbf24cc159f26ff281af977413ad66e115105d7b23372067a51a4137d646e09039666c4045f3ae1b42b90f554d0beae2f7ec77b46d5d41aa1
@@ -14,22 +14,6 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
- # Copyright (C) 2017 Ruby-GNOME2 Project Team
18
- #
19
- # This library is free software; you can redistribute it and/or
20
- # modify it under the terms of the GNU Lesser General Public
21
- # License as published by the Free Software Foundation; either
22
- # version 2.1 of the License, or (at your option) any later version.
23
- #
24
- # This library is distributed in the hope that it will be useful,
25
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
26
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27
- # Lesser General Public License for more details.
28
- #
29
- # You should have received a copy of the GNU Lesser General Public
30
- # License along with this library; if not, write to the Free Software
31
- # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
32
-
33
17
  require "pkg-config"
34
18
  require "native-package-installer"
35
19
 
@@ -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
@@ -14,7 +14,7 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
- require "test-unit"
17
+ require "goffice"
18
18
 
19
19
  module GOfficeTestUtils
20
20
  private
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2016 Ruby-GNOME2 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,53 +16,28 @@
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_relative "../../glib2/test/run-test"
21
20
 
22
- glib_base = File.join(ruby_gnome2_base, "glib2")
23
- atk_base = File.join(ruby_gnome2_base, "atk")
24
- pango_base = File.join(ruby_gnome2_base, "pango")
25
- gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
26
- cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
27
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
28
- gio2_base = File.join(ruby_gnome2_base, "gio2")
29
- gdk3_base = File.join(ruby_gnome2_base, "gdk3")
30
- gsf_base = File.join(ruby_gnome2_base, "gsf")
31
- gtk3_base = File.join(ruby_gnome2_base, "gtk3")
32
- goffice_base = File.join(ruby_gnome2_base, "goffice")
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "atk",
26
+ "cairo-gobject",
27
+ "pango",
28
+ "gio2",
29
+ "gdk_pixbuf2",
30
+ "gdk3",
31
+ "gtk3",
32
+ "gsf",
33
+ "goffice",
34
+ ]) do |context|
35
+ require_relative "goffice-test-utils"
33
36
 
34
- modules = [
35
- [glib_base, "glib2"],
36
- [atk_base, "atk"],
37
- [pango_base, "pango"],
38
- [cairo_gobject_base, "cairo-gobject"],
39
- [gdk_pixbuf_base, "gdk_pixbuf2"],
40
- [gobject_introspection_base, "gobject-introspection"],
41
- [gio2_base, "gio2"],
42
- [gdk3_base, "gdk3"],
43
- [gtk3_base, "gtk3"],
44
- [gsf_base, "gsf"],
45
- [goffice_base, "goffice"]
46
- ]
47
-
48
- modules.each do |target, module_name|
49
- makefile = File.join(target, "Makefile")
50
- if File.exist?(makefile) and system("which make > /dev/null")
51
- `make -C #{target.dump} > /dev/null` or exit(false)
37
+ begin
38
+ GOffice.init
39
+ rescue GObjectIntrospection::RepositoryError
40
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
41
+ exit(true)
52
42
  end
53
- $LOAD_PATH.unshift(File.join(target, "ext", module_name))
54
- $LOAD_PATH.unshift(File.join(target, "lib"))
55
43
  end
56
-
57
- $LOAD_PATH.unshift(File.join(goffice_base, "test"))
58
- require "goffice-test-utils"
59
-
60
- require "goffice"
61
- begin
62
- GOffice.init
63
- rescue GObjectIntrospection::RepositoryError
64
- puts("Omit because typelib file doesn't exist: #{$!.message}")
65
- exit(true)
66
- end
67
-
68
- exit Test::Unit::AutoRunner.run(true, File.join(goffice_base, "test"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goffice
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.9
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: 2019-10-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: gsf
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.3.9
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.3.9
26
+ version: 3.4.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: gtk3
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.3.9
33
+ version: 3.4.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.3.9
40
+ version: 3.4.4
41
41
  description: Ruby/GOFFICE is a Ruby binding of GOFFICE.
42
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
43
43
  executables: []
@@ -75,8 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubyforge_project:
79
- rubygems_version: 2.7.6.2
78
+ rubygems_version: 3.3.0.dev
80
79
  signing_key:
81
80
  specification_version: 4
82
81
  summary: Ruby/GOFFICE is a Ruby binding of GOFFICE.