gtksourceview3 3.3.9 → 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 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e453853a740e62f0838b04d2fe25fa0f577a7dad7e61cbc4a9e69b98e2cf6d65
4
- data.tar.gz: 0f0d15b331d128daedece39abb4b1d8976521b57d6e0a473bfb525cca17c0092
3
+ metadata.gz: a06bf4edbf93a3d73cad6940c02c1617c693c4ff5cfc3d25bce4ddf448d67434
4
+ data.tar.gz: 805173b65915740aeaf3a972a51ad28857d702758453756cee22638a01cae8ab
5
5
  SHA512:
6
- metadata.gz: 5f65cde327665e30a0e0d424b38f730b291e8688e89953b68d99b99eba5ab6af04ca6d11e3e87e4df0b4d09348f7f87afe65ed23127bf35e65d79035b94376cc
7
- data.tar.gz: 34d08619d11a8c292dd1dd6e57edf9dbbb73a579e8a65a5cbd3de8659533fcf8c4b339bb8484b2c6d7013b4eabd06dc426577a6ceb0c872148525d6d33521b11
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_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
4
- ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
19
+ require_relative "../../glib2/test/run-test"
5
20
 
6
- glib_base = File.join(ruby_gnome2_base, "glib2")
7
- atk_base = File.join(ruby_gnome2_base, "atk")
8
- cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
9
- pango_base = File.join(ruby_gnome2_base, "pango")
10
- gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
11
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
12
- gio2_base = File.join(ruby_gnome2_base, "gio2")
13
- gdk3_base = File.join(ruby_gnome2_base, "gdk3")
14
- gtk3_base = File.join(ruby_gnome2_base, "gtk3")
15
- gtk_source_view3_base = File.join(ruby_gnome2_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.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: gtk3
@@ -16,14 +16,14 @@ 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
  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,8 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubyforge_project:
69
- rubygems_version: 2.7.6.2
68
+ rubygems_version: 3.3.0.dev
70
69
  signing_key:
71
70
  specification_version: 4
72
71
  summary: Ruby/GtkSourceView3 is a Ruby binding of gtksourceview-3.x.