gtksourceview3 3.4.2 → 3.4.6

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: d646271db3dbb3a9f05ad261fa12abf978900247d3b33ba722808731e71c585f
4
- data.tar.gz: 4e63db19e8a7a008e93e947c1bb37c451e5351d33a0d86c212bdb5b9da61fcaa
3
+ metadata.gz: 8105cf917828f09d7538e9c8ecf3491fa0e9b6051a703f1b3ceffab0a4c551d5
4
+ data.tar.gz: 987ecc41169299a1fdb4d3b9e2091b2aa02999b99947f69261d3809231b9555b
5
5
  SHA512:
6
- metadata.gz: 3dd5894b99347f0f31c9851bf3ad9da4dc6337985355d3d7e0c02be3c2a99cce39c8141973b58c4754ee08bc79c628d230cc18de25cdb11752443745ec054ffd
7
- data.tar.gz: 834bf18314b1d3fd63285dc3103264d78347751e2cb034b88662a6614b4e57bc8b9063d258d31cccc8c10a17b17ba4d9d2d570e76d97ab2cc00764b65096c2a9
6
+ metadata.gz: b202e090f86418672bda25a39a280dd69ca79d0aefddb3d0e1e08ebdcbdb3fa66cf678463a8a9bcf8d48c1eeb2700eea034107b0584b906cfb3319a32503bc0c
7
+ data.tar.gz: e0ace9a0674238682a33745cbb9c3a01c2da073cade6a2526c5722768df0a714de15a6e886fbf2e1cde689efa2ae3800867943b71c8b0afb0f0291c0a870a956
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.2
4
+ version: 3.4.6
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-02 00:00:00.000000000 Z
11
+ date: 2021-07-16 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.2
19
+ version: 3.4.6
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.2
26
+ version: 3.4.6
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.