webkit2-gtk 3.1.1 → 3.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -10
- data/dependency-check/Rakefile +40 -0
- data/test/run-test.rb +1 -1
- data/test/test-webkit2-gtk-webview.rb +2 -2
- metadata +10 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cecce29f5e50e957de24557a10be9dd026fc881
|
4
|
+
data.tar.gz: 9f6f7911fdd2106a538730c3fb266226ba53d89e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8578e8f9694d7b5fa2987078dc6500ab770d5f809896f64358bff97c9f353297f0dad78dc819f71ba712c06fac3a3aeacd8dedb8cfe43b6a9c2c8a16852caa1f
|
7
|
+
data.tar.gz: fbb3d3f44aebd077a6ab5827600c8a82334fc0775e6acc9a18b119f256cd26aa0c4b1d7a8f8c17b658bc95020258c76685e6d2175572dd66b241e7008364001b
|
data/Rakefile
CHANGED
@@ -81,7 +81,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
81
81
|
:name => "webkitgtk",
|
82
82
|
:download_site => :webkitgtk,
|
83
83
|
:label => "WebKitGTK+",
|
84
|
-
:version => "2.
|
84
|
+
:version => "2.16.1",
|
85
85
|
:compression_method => "xz",
|
86
86
|
:windows => {
|
87
87
|
:build_concurrently => false,
|
@@ -123,12 +123,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
123
123
|
]
|
124
124
|
end
|
125
125
|
package_task.define
|
126
|
-
|
127
|
-
namespace :dependency do
|
128
|
-
desc "Install depenencies"
|
129
|
-
task :install do
|
130
|
-
# TODO: Install libwebkit2gtk-4.0-37 on Debian.
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
|
-
task :build => "dependency:install"
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
require "pkg-config"
|
18
|
+
require "native-package-installer"
|
19
|
+
|
20
|
+
case RUBY_PLATFORM
|
21
|
+
when /mingw|mswin/
|
22
|
+
task :default => "nothing"
|
23
|
+
else
|
24
|
+
task :default => "dependency:check"
|
25
|
+
end
|
26
|
+
|
27
|
+
task :nothing do
|
28
|
+
end
|
29
|
+
|
30
|
+
namespace :dependency do
|
31
|
+
desc "Check dependency"
|
32
|
+
task :check do
|
33
|
+
unless PKGConfig.check_version?("webkit2gtk-4.0")
|
34
|
+
unless NativePackageInstaller.install(:debian => "libwebkit2gtk-4.0-dev",
|
35
|
+
:homebrew => "webkitgtk")
|
36
|
+
exit(false)
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
data/test/run-test.rb
CHANGED
@@ -64,7 +64,7 @@ require "webkit2-gtk"
|
|
64
64
|
repository = GObjectIntrospection::Repository.default
|
65
65
|
begin
|
66
66
|
repository.require(WebKit2Gtk::Loader::NAMESPACE)
|
67
|
-
rescue
|
67
|
+
rescue GObjectIntrospection::RepositoryError
|
68
68
|
puts("Omit because typelib file doesn't exist: #{$!.message}")
|
69
69
|
exit(true)
|
70
70
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C) 2015 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (C) 2015-2017 Ruby-GNOME2 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
|
@@ -40,7 +40,7 @@ class TestWebKit2GtkWebView < Test::Unit::TestCase
|
|
40
40
|
loaded = false
|
41
41
|
|
42
42
|
loop = GLib::MainLoop.new
|
43
|
-
timeout_id = GLib::Timeout.add(
|
43
|
+
timeout_id = GLib::Timeout.add(5000) do
|
44
44
|
timeout_id = nil
|
45
45
|
loop.quit
|
46
46
|
GLib::Source::REMOVE
|
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.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Ruby-GNOME2 Project Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gobject-introspection
|
@@ -16,35 +16,37 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.1.
|
19
|
+
version: 3.1.2
|
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.1.
|
26
|
+
version: 3.1.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gtk3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 3.1.
|
33
|
+
version: 3.1.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 3.1.
|
40
|
+
version: 3.1.2
|
41
41
|
description: Ruby/WebKit2GTK is a Ruby binding of WebKit2GTK+.
|
42
42
|
email: ruby-gnome2-devel-en@lists.sourceforge.net
|
43
43
|
executables: []
|
44
|
-
extensions:
|
44
|
+
extensions:
|
45
|
+
- dependency-check/Rakefile
|
45
46
|
extra_rdoc_files: []
|
46
47
|
files:
|
47
48
|
- Rakefile
|
49
|
+
- dependency-check/Rakefile
|
48
50
|
- lib/webkit2-gtk.rb
|
49
51
|
- lib/webkit2-gtk/version.rb
|
50
52
|
- sample/browser.rb
|
@@ -53,7 +55,7 @@ files:
|
|
53
55
|
- test/webkit2-gtk-test-utils.rb
|
54
56
|
homepage: http://ruby-gnome2.sourceforge.jp/
|
55
57
|
licenses:
|
56
|
-
-
|
58
|
+
- LGPL-2.1+
|
57
59
|
metadata: {}
|
58
60
|
post_install_message:
|
59
61
|
rdoc_options: []
|