webkit2-gtk 3.3.9 → 3.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/dependency-check/Rakefile +2 -2
- data/test/run-test.rb +24 -53
- data/test/webkit2-gtk-test-utils.rb +3 -3
- data/webkit2-gtk.gemspec +2 -1
- metadata +19 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e33e16e1ed061b2bd779bc4a01a12b21771cd1494706df0d56ad78fb9d775e00
|
4
|
+
data.tar.gz: 2c7b091d459e0ce6845b83b2141e0fe611ce48ef7b7a34b00e2e09a0fffa8355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 864166d50c14c43a870d6084eafbbd10681631a2bca46ce28910e84f626b336fa4dd7784e1d28b4097b3195cf97e4738d109db4b12fc858bc3f901d9ea27c030
|
7
|
+
data.tar.gz: ee93dd11354114fd56b62c1c3599133f945dc5bcc96b8fa462c894ac3766133f94759b518d1bdd710e34c99b8e978e3dc74ef74b5d38663175480de97014ec4f
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
|
|
5
5
|
## Requirements
|
6
6
|
|
7
7
|
* Ruby/GObjectIntrospection and Ruby/GTK3 in
|
8
|
-
[Ruby-
|
8
|
+
[Ruby-GNOME](https://ruby-gnome2.osdn.jp/)
|
9
9
|
* [WebKit2GTK+](http://webkitgtk.org/)
|
10
10
|
|
11
11
|
## Install
|
@@ -14,7 +14,7 @@ Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
|
|
14
14
|
|
15
15
|
## License
|
16
16
|
|
17
|
-
Copyright (c) 2015 Ruby-
|
17
|
+
Copyright (c) 2015-2020 Ruby-GNOME Project Team
|
18
18
|
|
19
19
|
This program is free software. You can distribute/modify this program
|
20
20
|
under the terms of the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1.
|
data/dependency-check/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2017-
|
1
|
+
# Copyright (C) 2017-2020 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
|
@@ -30,7 +30,7 @@ namespace :dependency do
|
|
30
30
|
desc "Check dependency"
|
31
31
|
task :check do
|
32
32
|
package_id = "webkit2gtk-4.0"
|
33
|
-
unless PKGConfig.check_version?()
|
33
|
+
unless PKGConfig.check_version?(package_id)
|
34
34
|
unless NativePackageInstaller.install(:debian => "libwebkit2gtk-4.0-dev",
|
35
35
|
:redhat => "pkgconfig(#{package_id})",
|
36
36
|
:homebrew => "webkitgtk")
|
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C) 2015 Ruby-
|
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
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
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-
|
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
|
+
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:
|
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.
|
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.
|
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,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
80
|
- !ruby/object:Gem::Version
|
67
81
|
version: '0'
|
68
82
|
requirements: []
|
69
|
-
|
70
|
-
rubygems_version: 2.7.6.2
|
83
|
+
rubygems_version: 3.3.0.dev
|
71
84
|
signing_key:
|
72
85
|
specification_version: 4
|
73
86
|
summary: Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
|