webkit2-gtk 3.4.0 → 3.4.5

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: d3866a8852d2acea2315d81e25e44271bd7249c7ed2dc83bbe6df235ddb7cdf7
4
- data.tar.gz: b6e15444fbe635a8ba98ff1d957a609ba6d2e4a4b6a03245f570c9e2fbfb9073
3
+ metadata.gz: bfb99d823535e43520a69757745384fdb902f76f193cc1ca870ce980623632aa
4
+ data.tar.gz: 81561879224e046fed9abb6c4fcfcd141a5c179f98248691c78d37c0fbf93b1d
5
5
  SHA512:
6
- metadata.gz: c0e5fb056406a5a8ddc2c8428413094694f78b8d2444e1341287eac447ca41bf0009c27d4eef5026e609419014973d2d52d609062277a99288c0bcb6692a74bb
7
- data.tar.gz: e42d808971ea2100aaa5871115623b8ea9f5be56284fa9a50698432a44112a12ebcf8ffe65329ec99b25a9106a3d5ad7f47eef591919453cc4ba25d866d4d303
6
+ metadata.gz: d3f74e8b8c198fcd61db56c103687a9acba7b6d378379fb4c53031d3b55e05db62945b76f6d53db0b608db159b34d8604f2ba8f92b6aefca732427c087dadea3
7
+ data.tar.gz: 77c0b2a238a2675d833d392ca9e603aba19d35891d0c73c97c40d85c8fcf3882585cfbac5ef4138890b43e8866cbde7e8522d26db35ee518b06fc677ee330f15
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-GNOME2](https://ruby-gnome2.osdn.jp/)
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-GNOME2 Project Team
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.
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2017-2019 Ruby-GNOME Project Team
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-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_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
20
- ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
21
-
22
- glib_base = File.join(ruby_gnome2_base, "glib2")
23
- gio_base = File.join(ruby_gnome2_base, "gio2")
24
- atk_base = File.join(ruby_gnome2_base, "atk")
25
- pango_base = File.join(ruby_gnome2_base, "pango")
26
- gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
27
- gdk3_base = File.join(ruby_gnome2_base, "gdk3")
28
- gtk3_base = File.join(ruby_gnome2_base, "gtk3")
29
- gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
30
- cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
31
- webkit2_gtk_base = File.join(ruby_gnome2_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.0
4
+ version: 3.4.5
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: 2019-10-10 00:00:00.000000000 Z
11
+ date: 2021-07-07 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.0
19
+ version: 3.4.5
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.0
26
+ version: 3.4.5
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.1.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+.