webkit-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bbb682dc90087d833a548478873915bc1243e06
4
- data.tar.gz: 1e5ecdd034a54ca41b001e6a4c208f21df67d773
3
+ metadata.gz: adfb575d9736d30c797c45005fd218657203b785
4
+ data.tar.gz: c923a3f173c8584c1d1e08e2b59e013b04e4b306
5
5
  SHA512:
6
- metadata.gz: e7bb41a85546b4be9d5c89a208413bddc577f9999e4cb46145b1faa79d2583de1fa0b537332d660d58bd9fabcaea65c8a1e8ac3e0bf1e34bfb8098a47047f549
7
- data.tar.gz: 9678a9777e724f18dacb9323308be119acca7e0ce2fd01b565646696dfa9d8f4ef9448f337af9fd4398cc877a061118777eb286495579a1d07ee194b00dbea81
6
+ metadata.gz: 210b9afe3a7886c0fc175492fe23e049e00ac33fd882d099faad422ef01dc8d6a606d38872676fb91aaf0cf0d931f9c16756ee980c717794e5dad88587573439
7
+ data.tar.gz: f4ac1df3db8bebf1743b1d06ba1d809d034b61fe426d61f79f1b7a305b241caae852c1db1de84fc3818d17f1dd31e29194fa11b68ffe2bed0eb11b27228472f1
data/Rakefile CHANGED
@@ -45,12 +45,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
45
45
  ]
46
46
  end
47
47
  package_task.define
48
-
49
- namespace :dependency do
50
- desc "Install depenencies"
51
- task :install do
52
- # TODO: Install gir1.2-webkit-3.0 on Debian.
53
- end
54
- end
55
-
56
- task :build => "dependency:install"
@@ -0,0 +1,39 @@
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?("webkitgtk-3.0")
34
+ unless NativePackageInstaller.install(:debian => "libwebkitgtk-3.0-dev")
35
+ exit(false)
36
+ end
37
+ end
38
+ end
39
+ end
data/test/run-test.rb CHANGED
@@ -60,5 +60,11 @@ $LOAD_PATH.unshift(File.join(webkit_gtk_base, "test"))
60
60
  require "webkit-gtk-test-utils"
61
61
 
62
62
  require "webkit-gtk"
63
+ begin
64
+ WebKitGtk.init
65
+ rescue GObjectIntrospection::RepositoryError
66
+ puts("Omit because typelib file doesn't exist: #{$!.message}")
67
+ exit(true)
68
+ end
63
69
 
64
70
  exit Test::Unit::AutoRunner.run(true, File.join(webkit_gtk_base, "test"))
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: 3.1.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-01-26 00:00:00.000000000 Z
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.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.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.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.1
40
+ version: 3.1.2
41
41
  description: Ruby/WebKitGTK is a Ruby binding of WebKitGTK+.
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/webkit-gtk.rb
49
51
  - lib/webkit-gtk/version.rb
50
52
  - sample/brower.rb
@@ -55,7 +57,7 @@ files:
55
57
  - test/webkit-gtk-test-utils/omissions.rb
56
58
  homepage: http://ruby-gnome2.sourceforge.jp/
57
59
  licenses:
58
- - LGPLv2.1+
60
+ - LGPL-2.1+
59
61
  metadata: {}
60
62
  post_install_message:
61
63
  rdoc_options: []