gtksourceview3 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 +4 -4
- data/test/run-test.rb +37 -39
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06bf4edbf93a3d73cad6940c02c1617c693c4ff5cfc3d25bce4ddf448d67434
|
4
|
+
data.tar.gz: 805173b65915740aeaf3a972a51ad28857d702758453756cee22638a01cae8ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
4
|
-
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
19
|
+
require_relative "../../glib2/test/run-test"
|
5
20
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
|
18
|
-
require 'test/glib-test-init'
|
36
|
+
require "gtksourceview3"
|
19
37
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
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
|
+
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:
|
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.
|
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.
|
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
|
-
|
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.
|