gtksourceview4 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 +22 -40
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f72a5d31552986269a7861d622d6cf06d45647d62808d4cfe222c20f5790372
4
- data.tar.gz: 567694f25879485a0232e4dfef76d9fdcea4a6c80e8a0a56736c1a7d53c2059b
3
+ metadata.gz: e6d4086bdd9ce5fb30a65ec654513230dd24f6ef463685102197dcd3d2cdbadd
4
+ data.tar.gz: 92a4e6b6c853fa6f74722c5b154d4cbbb7244d68dd875ae035640a3c8954238f
5
5
  SHA512:
6
- metadata.gz: 5676e127594e9751660968a42d989fc59d053d19a29a5d236f2ed15bbbd9344fd8ed49e79a55132e961c351f341b1da5796a8e48032035c61259b5e2c2447e5f
7
- data.tar.gz: ffe58faea2f15d6d8bccece1a6a8c759b77135c694f3b9e65714fd1045a178ec0a329d5e6edc1f62b40d6c4f6b91153c5b615dc6eb76535009d3a61bfa7dd13e
6
+ metadata.gz: c73a21b213903559dad2df9aee4ee8f5dfc38b182924111270100458db423e9555336ac0c55596329430e9976fa3b6e160f895ec2cd81fd63597134472e156eb
7
+ data.tar.gz: 05f7af33183501bb1728439007fca05e037f6c6f75036805d84029f14342704cc6abeade912af4cc31f4cd59a1c245f28b0eb54578aa19eb8ff8a9955df7dea7
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.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/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.