gtksourceview4 3.4.3 → 3.4.7

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 +22 -40
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f90fa6f8cd837d8f511f3250732580611b3938c6f6d9ccbe0371cbdeb51f1a54
4
- data.tar.gz: 8ae0aa098febca913f8d715d175e440b59dfa69b176b8c5c19f3cbda68e88e15
3
+ metadata.gz: e3ffd3f0f596f36a4ee276d259aa294c942cfd19dff15cce30fb41636e75ab49
4
+ data.tar.gz: b4e779e6f4630b4a2cf5ebfe008d013aec29074dc0c486971584738e7e731b33
5
5
  SHA512:
6
- metadata.gz: 3f4b3374c81eaa9f40fd47cd33bfdfb675899a7fc251970bef6729dc7c10cc014e61802d1afd452e20de6d0440df6b252bb0be6f7a4bdb066df9cc7443a47b9d
7
- data.tar.gz: 0dbeb52b14b693367f8f6c51131baa4582db570683426a9e98036b0817a0c3b16f4934531c3692dde48fdd4167173fce887ef24f570eeba75988d7c95e99fb9a
6
+ metadata.gz: 26dd94a41abf008fc6dcb45971d98c3b804d275495cb4129c5ddcaeb363f4f641fd23211a37fe85332be6a240aff9e07bd9159b93d1ca5cd988f231fcea1dcad
7
+ data.tar.gz: 0fd86bded0cf6a82e185695125f098192dbdff7f52507a714f0eb91291a3144ee3f546018306649f0bbb3e882562d3111bbef8e1df72979f2e295ab03abf33e3
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2008-2020 Ruby-GNOME Project Team
3
+ # Copyright (C) 2008-2021 Ruby-GNOME Project Team
4
4
  #
5
5
  # This library is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the GNU Lesser General Public
@@ -16,47 +16,29 @@
16
16
  # License along with this library; if not, write to the Free Software
17
17
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
18
 
19
- ruby_gnome_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome_base = File.expand_path(ruby_gnome_base)
19
+ require_relative "../../glib2/test/run-test"
21
20
 
22
- glib_base = File.join(ruby_gnome_base, "glib2")
23
- atk_base = File.join(ruby_gnome_base, "atk")
24
- cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
25
- pango_base = File.join(ruby_gnome_base, "pango")
26
- gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
27
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
28
- gio2_base = File.join(ruby_gnome_base, "gio2")
29
- gdk3_base = File.join(ruby_gnome_base, "gdk3")
30
- gtk3_base = File.join(ruby_gnome_base, "gtk3")
31
- gtk_source_view4_base = File.join(ruby_gnome_base, "gtksourceview4")
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
+ "gtksourceview4",
33
+ ]) do
34
+ require_relative "../../gtk3/test/gtk-test-utils"
32
35
 
33
- $LOAD_PATH.unshift(glib_base)
34
- require 'test/glib-test-init'
36
+ require "gtksourceview4"
35
37
 
36
- dependencies = [
37
- glib_base,
38
- atk_base,
39
- cairo_gobject_base,
40
- pango_base,
41
- gdk_pixbuf_base,
42
- gobject_introspection_base,
43
- gio2_base,
44
- gdk3_base,
45
- gtk3_base,
46
- gtk_source_view4_base,
47
- ]
48
- dependencies.each do |target|
49
- makefile = File.join(target, "Makefile")
50
- if File.exist?(makefile) and system("which make > /dev/null")
51
- `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)
52
43
  end
53
- $LOAD_PATH.unshift(File.join(target, "ext", File.basename(target)))
54
- $LOAD_PATH.unshift(File.join(target, "lib"))
55
44
  end
56
-
57
- $LOAD_PATH.unshift(File.join(gtk3_base, "test"))
58
- require 'gtk-test-utils'
59
-
60
- require 'gtksourceview4'
61
-
62
- exit Test::Unit::AutoRunner.run(true, File.join(gtk_source_view4_base, "test"))
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gtksourceview4
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.3
4
+ version: 3.4.7
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-07-30 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.7
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.7
27
27
  description: Ruby/GtkSourceView4 is a Ruby binding of gtksourceview-4.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/GtkSourceView4 is a Ruby binding of gtksourceview-4.x.