gtksourceview3 3.4.3 → 3.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/test/run-test.rb +37 -39
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2dc5b7a94ade5f4d34eea96bfd7d75c83cf53d705897a9cee092b18df1f01436
4
- data.tar.gz: 50434b9e65a23630f5e82d9ec7685db04ef35457b8c4ce2295efec32e84f913e
3
+ metadata.gz: a06bf4edbf93a3d73cad6940c02c1617c693c4ff5cfc3d25bce4ddf448d67434
4
+ data.tar.gz: 805173b65915740aeaf3a972a51ad28857d702758453756cee22638a01cae8ab
5
5
  SHA512:
6
- metadata.gz: 52da407efe080c9253379d5f403fa10084ab511d1f8cd3883b5cf4a30c052453ebd629e750c42be84ff85426d9d5c45f4801b899d56fc846d22d320dd7b3189d
7
- data.tar.gz: 48fbebe4e8c53bf0f1941ec5a356932493e1c0677520f1c109e39e5c352e44c55b1b01e2a1c5fe636758cb06970c050790f076e9cf7032079272ec4b1e9ab598
6
+ metadata.gz: '0158f990fe2cfe9574b0b5f9ef3f034809b0768630f5ac397ebbb0d12dbe5471d8e6db886ca857b51218276e8467e23733b6ae977ef7f5ab84f5c508b385c12a'
7
+ data.tar.gz: 6248870683e75622bc7be860b9792eb0399787f3365ae2989a1dc34a557772b3f963c0ad4d33ec8c56ab2c7f391c592835470113da3f7f709026d96763758cf3
data/test/run-test.rb CHANGED
@@ -1,46 +1,44 @@
1
1
  #!/usr/bin/env ruby
2
+ #
3
+ # Copyright (C) 2013-2021 Ruby-GNOME Project Team
4
+ #
5
+ # This library is free software; you can redistribute it and/or
6
+ # modify it under the terms of the GNU Lesser General Public
7
+ # License as published by the Free Software Foundation; either
8
+ # version 2.1 of the License, or (at your option) any later version.
9
+ #
10
+ # This library is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ # Lesser General Public License for more details.
14
+ #
15
+ # You should have received a copy of the GNU Lesser General Public
16
+ # License along with this library; if not, write to the Free Software
17
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2
18
 
3
- ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
4
- ruby_gnome_base = File.expand_path(ruby_gnome_base)
19
+ require_relative "../../glib2/test/run-test"
5
20
 
6
- glib_base = File.join(ruby_gnome_base, "glib2")
7
- atk_base = File.join(ruby_gnome_base, "atk")
8
- cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
9
- pango_base = File.join(ruby_gnome_base, "pango")
10
- gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
11
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
12
- gio2_base = File.join(ruby_gnome_base, "gio2")
13
- gdk3_base = File.join(ruby_gnome_base, "gdk3")
14
- gtk3_base = File.join(ruby_gnome_base, "gtk3")
15
- gtk_source_view3_base = File.join(ruby_gnome_base, "gtksourceview3")
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "atk",
26
+ "cairo-gobject",
27
+ "gio2",
28
+ "gdk_pixbuf2",
29
+ "pango",
30
+ "gdk3",
31
+ "gtk3",
32
+ "gtksourceview3",
33
+ ]) do
34
+ require_relative "../../gtk3/test/gtk-test-utils"
16
35
 
17
- $LOAD_PATH.unshift(glib_base)
18
- require 'test/glib-test-init'
36
+ require "gtksourceview3"
19
37
 
20
- dependencies = [
21
- glib_base,
22
- atk_base,
23
- cairo_gobject_base,
24
- pango_base,
25
- gdk_pixbuf_base,
26
- gobject_introspection_base,
27
- gio2_base,
28
- gdk3_base,
29
- gtk3_base,
30
- gtk_source_view3_base,
31
- ]
32
- dependencies.each do |target|
33
- makefile = File.join(target, "Makefile")
34
- if File.exist?(makefile) and system("which make > /dev/null")
35
- `make -C #{target.dump} > /dev/null` or exit(false)
38
+ begin
39
+ GtkSource.init
40
+ rescue GObjectIntrospection::RepositoryError
41
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
42
+ exit(true)
36
43
  end
37
- $LOAD_PATH.unshift(File.join(target, "ext", File.basename(target)))
38
- $LOAD_PATH.unshift(File.join(target, "lib"))
39
44
  end
40
-
41
- $LOAD_PATH.unshift(File.join(gtk3_base, "test"))
42
- require 'gtk-test-utils'
43
-
44
- require 'gtksourceview3'
45
-
46
- exit Test::Unit::AutoRunner.run(true, File.join(gtk_source_view3_base, "test"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview3
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: gtk3
@@ -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/GtkSourceView3 is a Ruby binding of gtksourceview-3.x.
28
28
  email: ruby-gnome2-devel-en@lists.sourceforge.net
29
29
  executables: []
@@ -65,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.2.0.pre1
68
+ rubygems_version: 3.3.0.dev
69
69
  signing_key:
70
70
  specification_version: 4
71
71
  summary: Ruby/GtkSourceView3 is a Ruby binding of gtksourceview-3.x.