webkit2-gtk 3.4.3 → 3.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a5c446346dc944f8279c59b1e1b066a87c2a7ba1cab0950d90d04aec7372f7b4
4
- data.tar.gz: d6cb5f0abbcca8199b8d157f8c96ce2692cb0959ce74696bdf8b41700edfc2b8
3
+ metadata.gz: e33e16e1ed061b2bd779bc4a01a12b21771cd1494706df0d56ad78fb9d775e00
4
+ data.tar.gz: 2c7b091d459e0ce6845b83b2141e0fe611ce48ef7b7a34b00e2e09a0fffa8355
5
5
  SHA512:
6
- metadata.gz: 6fd56c929fe383fc17b7fc8939f85986b570ebe6d64c9da1f09ecdd85d4a3aa4b5e58586e2f4777d2735e93845ce8f9d0a59b86fb7fd67668e6d9597a2efd771
7
- data.tar.gz: dd4144a1dca9d46eba63a44e27718ea663e6ca19e4e1b9164c3bbc585d6c9d80a5d418e5b0d076b1a21bb8f5d7640eef5b74642be0b60e493fe384032f3117d1
6
+ metadata.gz: 864166d50c14c43a870d6084eafbbd10681631a2bca46ce28910e84f626b336fa4dd7784e1d28b4097b3195cf97e4738d109db4b12fc858bc3f901d9ea27c030
7
+ data.tar.gz: ee93dd11354114fd56b62c1c3599133f945dc5bcc96b8fa462c894ac3766133f94759b518d1bdd710e34c99b8e978e3dc74ef74b5d38663175480de97014ec4f
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2015 Ruby-GNOME2 Project Team
3
+ # Copyright (C) 2015-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,57 +16,28 @@
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)
21
-
22
- glib_base = File.join(ruby_gnome_base, "glib2")
23
- gio_base = File.join(ruby_gnome_base, "gio2")
24
- atk_base = File.join(ruby_gnome_base, "atk")
25
- pango_base = File.join(ruby_gnome_base, "pango")
26
- gdk_pixbuf_base = File.join(ruby_gnome_base, "gdk_pixbuf2")
27
- gdk3_base = File.join(ruby_gnome_base, "gdk3")
28
- gtk3_base = File.join(ruby_gnome_base, "gtk3")
29
- gobject_introspection_base = File.join(ruby_gnome_base, "gobject-introspection")
30
- cairo_gobject_base = File.join(ruby_gnome_base, "cairo-gobject")
31
- webkit2_gtk_base = File.join(ruby_gnome_base, "webkit2-gtk")
32
-
33
- modules = [
34
- [glib_base, "glib2"],
35
- [gio_base, "gio2"],
36
- [atk_base, "atk"],
37
- [pango_base, "pango"],
38
- [gdk_pixbuf_base, "gdk_pixbuf2"],
39
- [gdk3_base, "gdk3"],
40
- [gtk3_base, "gtk3"],
41
- [gobject_introspection_base, "gobject-introspection"],
42
- [cairo_gobject_base, "cairo-gobject"],
43
- [webkit2_gtk_base, "webkit2-gtk"],
44
- ]
45
- modules.each do |target, module_name|
46
- if File.exist?("#{target}/Makefile") and system("which make > /dev/null")
47
- `make -C #{target.dump} > /dev/null` or exit(false)
19
+ require_relative "../../glib2/test/run-test"
20
+
21
+ run_test(__dir__,
22
+ [
23
+ "glib2",
24
+ "gobject-introspection",
25
+ "gio2",
26
+ "gdk_pixbuf2",
27
+ "atk",
28
+ "cairo-gobject",
29
+ "pango",
30
+ "gdk3",
31
+ "gtk3",
32
+ "webkit2-gtk",
33
+ ]) do
34
+ require_relative "../../gobject-introspection/test/gobject-introspection-test-utils"
35
+ require_relative "webkit2-gtk-test-utils"
36
+
37
+ begin
38
+ WebKit2Gtk.init
39
+ rescue GObjectIntrospection::RepositoryError
40
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
41
+ exit(true)
48
42
  end
49
- $LOAD_PATH.unshift(File.join(target, "ext", module_name))
50
- $LOAD_PATH.unshift(File.join(target, "lib"))
51
43
  end
52
-
53
- $LOAD_PATH.unshift(File.join(glib_base, "test"))
54
- require "glib-test-init"
55
-
56
- $LOAD_PATH.unshift(File.join(gobject_introspection_base, "test"))
57
- require "gobject-introspection-test-utils"
58
-
59
- $LOAD_PATH.unshift(File.join(webkit2_gtk_base, "test"))
60
- require "webkit2-gtk-test-utils"
61
-
62
- require "webkit2-gtk"
63
-
64
- repository = GObjectIntrospection::Repository.default
65
- begin
66
- repository.require(WebKit2Gtk::Loader::NAMESPACE)
67
- rescue GObjectIntrospection::RepositoryError
68
- puts("Omit because typelib file doesn't exist: #{$!.message}")
69
- exit(true)
70
- end
71
-
72
- exit Test::Unit::AutoRunner.run(true, File.join(webkit2_gtk_base, "test"))
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2015 Ruby-GNOME2 Project Team
1
+ # Copyright (C) 2015-2021 Ruby-GNOME Project Team
2
2
  #
3
3
  # This library is free software; you can redistribute it and/or
4
4
  # modify it under the terms of the GNU Lesser General Public
@@ -14,10 +14,10 @@
14
14
  # License along with this library; if not, write to the Free Software
15
15
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
- require "test-unit"
18
-
19
17
  require "webrick"
20
18
 
19
+ require "webkit2-gtk"
20
+
21
21
  module WebKit2GtkTestUtils
22
22
  def only_webkit2_gtk_version(major, minor, micro=nil)
23
23
  micro ||= 0
data/webkit2-gtk.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- ruby -*-
2
2
  #
3
- # Copyright (C) 2018 Ruby-GNOME Project Team
3
+ # Copyright (C) 2018-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
@@ -41,4 +41,5 @@ Gem::Specification.new do |s|
41
41
  s.files += Dir.glob("test/**/*")
42
42
 
43
43
  s.add_runtime_dependency("gtk3", "= #{s.version}")
44
+ s.add_development_dependency("webrick")
44
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit2-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.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: 2020-05-10 00:00:00.000000000 Z
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,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.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.4.3
26
+ version: 3.4.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: webrick
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  description: Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
28
42
  email: ruby-gnome2-devel-en@lists.sourceforge.net
29
43
  executables: []
@@ -66,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
80
  - !ruby/object:Gem::Version
67
81
  version: '0'
68
82
  requirements: []
69
- rubygems_version: 3.2.0.pre1
83
+ rubygems_version: 3.3.0.dev
70
84
  signing_key:
71
85
  specification_version: 4
72
86
  summary: Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.