gtksourceview3 3.4.0 → 3.4.5

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: 7cba0c4cc672309298f3653173523f26cd31113379b369f03b4713a0e8b29284
4
- data.tar.gz: 0b064e15f8161a57746cb30ff64df46c9bdd8a14f9f4508377ec62e17ba6c664
3
+ metadata.gz: 3cb4c904d34fd14a5b205fed89088b5185c6ac0bc6561ad601e4fd234836778b
4
+ data.tar.gz: 9911126b0b34ae76a3b342804d056956cf04b84b477373cbef2dc88db61ebc61
5
5
  SHA512:
6
- metadata.gz: df6e6ed79a33b7d4f8fb6040d73cb1cf012c5384679eef48e2f8493a335bbe7e92383bfb9e218f2ed8eee32ae8a56b967dbfbeea7ad1b4443d41aa176f3381ef
7
- data.tar.gz: b7c622b05b0ed488bd2bc2f465d724dffbf97b94406cbda4546f98887758b06aaf08315464700cd32a7c75995a94885c400cf8288087b03fc96d64d6bd4b1eed
6
+ metadata.gz: 239ece4a03689c610d0f4604ef9cf86d21efe1749bbc45494087fa28cce0fe2cff7fde10dba8d658c7a42b7b7835d87636a81e9203b7e4dfc04745671058bbf3
7
+ data.tar.gz: a0bdcd2a35c3ea0d6737d4980ddf7a78ef873d5864436a8726cdffa82e4f2945f4dcefee3ac314ef887c8bbab8676f4a21166d3a092d41bbce5c2046fdec72f7
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.4.0
4
+ version: 3.4.5
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-07-07 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.0
19
+ version: 3.4.5
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.0
26
+ version: 3.4.5
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.1.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.