webkit-gtk 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 970acf9809dd4c1a9214556fa6c1682f88006288
4
- data.tar.gz: c0f4e3479f76f9786d8091cfad009e7804c9ca37
3
+ metadata.gz: d76e420a173f31bfb8cefd82dc5530e6985d8510
4
+ data.tar.gz: a35356e20bf8f9dca8a5b5a99c2d9872e58e9e16
5
5
  SHA512:
6
- metadata.gz: 79bd75653430d152717dec502075c5f2fe9ceacee9c2788c2f7f937493090c71e5a656ab5479072a6d2f57c8edea2e79300ab70a6893f461c70b01d7964d0f70
7
- data.tar.gz: 2f0673c4cf71e5a284c3db69f6b9d68b368a0af957bc56af28c9f38be8281bde0263a00646d7ce79ad180707aa05568ee40cc9153c4c98618ac0b66d2e19fffe
6
+ metadata.gz: 5b447a5cd915847204e3d3d5d259c22f2ead9c37c283f8054a90b9bec1bfe53befe7d2849c619f8dba88a1de48a76ca90627a8a9bbbff3fb9b6d1887f9977172
7
+ data.tar.gz: 9b6a0b59fa2c4fbe8322fc3ed046b25b5aed63a18f1f9afa0687b566a1537472ab00a36e527c159a7d19f323a7a9378f78b4f981ebaf6dc45c3f0a122f9c884f
@@ -27,6 +27,7 @@ gdk_pixbuf_base = File.join(ruby_gnome2_base, "gdk_pixbuf2")
27
27
  gdk3_base = File.join(ruby_gnome2_base, "gdk3")
28
28
  gtk3_base = File.join(ruby_gnome2_base, "gtk3")
29
29
  gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
30
+ cairo_gobject_base = File.join(ruby_gnome2_base, "cairo-gobject")
30
31
  webkit_gtk_base = File.join(ruby_gnome2_base, "webkit-gtk")
31
32
 
32
33
  modules = [
@@ -38,6 +39,7 @@ modules = [
38
39
  [gdk3_base, "gdk3"],
39
40
  [gtk3_base, "gtk3"],
40
41
  [gobject_introspection_base, "gobject-introspection"],
42
+ [cairo_gobject_base, "cairo-gobject"],
41
43
  [webkit_gtk_base, "webkit-gtk"],
42
44
  ]
43
45
  modules.each do |target, module_name|
@@ -0,0 +1,26 @@
1
+ # Copyright (C) 2014 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
+ class TestWebKitGtkWebView < Test::Unit::TestCase
18
+ include WebKitGtkTestUtils::Omissions
19
+
20
+ def test_webkit_gtk_webview
21
+ omit_on_os_x
22
+ assert_nothing_raised do
23
+ WebKitGtk::WebView.new
24
+ end
25
+ end
26
+ end
@@ -17,5 +17,23 @@
17
17
  require "test-unit"
18
18
  require "test/unit/notify"
19
19
 
20
+ require "webkit-gtk-test-utils/omissions"
21
+
20
22
  module WebKitGtkTestUtils
23
+ def later_version?(major, minor, micro=nil)
24
+ micro ||= 0
25
+ webkit_gtk_version = [
26
+ WebKitGtk::MAJOR_VERSION,
27
+ WebKitGtk::MINOR_VERSION,
28
+ WebKitGtk::MICRO_VERSION,
29
+ ]
30
+ (webkit_gtk_version <=> [major, minor, micro]) >= 0
31
+ end
32
+
33
+ def only_webkit_gtk_version(major, minor, micro=nil)
34
+ micro ||= 0
35
+ unless later_version?(major, minor, micro)
36
+ omit("Require WebKitGtk >= #{major}.#{minor}.#{micro}")
37
+ end
38
+ end
21
39
  end
@@ -0,0 +1,23 @@
1
+ # Copyright (C) 2014 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
+ module WebKitGtkTestUtils
18
+ module Omissions
19
+ def omit_on_os_x
20
+ omit("Skip this test on OS X") if RUBY_PLATFORM =~ /darwin/
21
+ end
22
+ end
23
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webkit-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.2.3
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: 2014-10-12 00:00:00.000000000 Z
11
+ date: 2014-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gobject-introspection
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.2
19
+ version: 2.2.3
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: 2.2.2
26
+ version: 2.2.3
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: 2.2.2
33
+ version: 2.2.3
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: 2.2.2
40
+ version: 2.2.3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: test-unit-notify
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +62,9 @@ files:
62
62
  - lib/webkit-gtk.rb
63
63
  - sample/brower.rb
64
64
  - test/run-test.rb
65
+ - test/test_webkit_gtk_webview.rb
65
66
  - test/webkit-gtk-test-utils.rb
67
+ - test/webkit-gtk-test-utils/omissions.rb
66
68
  homepage: http://ruby-gnome2.sourceforge.jp/
67
69
  licenses:
68
70
  - LGPLv2.1 or later