webkit-gtk 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/webkit-gtk.rb +13 -3
- data/sample/brower.rb +0 -2
- metadata +10 -10
data/lib/webkit-gtk.rb
CHANGED
@@ -23,13 +23,23 @@ vendor_bin_dir = vendor_dir + "bin"
|
|
23
23
|
GLib.prepend_dll_path(vendor_bin_dir)
|
24
24
|
|
25
25
|
module WebKitGtk
|
26
|
-
@initialized = false
|
27
26
|
class << self
|
27
|
+
def const_missing(name)
|
28
|
+
init
|
29
|
+
if const_defined?(name)
|
30
|
+
const_get(name)
|
31
|
+
else
|
32
|
+
super
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
28
36
|
def init
|
29
|
-
return if @initialized
|
30
|
-
@initialized = true
|
31
37
|
loader = Loader.new(self)
|
32
38
|
loader.load("WebKit")
|
39
|
+
class << self
|
40
|
+
remove_method(:init)
|
41
|
+
remove_method(:const_missing)
|
42
|
+
end
|
33
43
|
end
|
34
44
|
end
|
35
45
|
|
data/sample/brower.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webkit-gtk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,40 +9,40 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gobject-introspection
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.0.
|
21
|
+
version: 2.0.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.0.
|
29
|
+
version: 2.0.1
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: gtk3
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- -
|
35
|
+
- - '='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 2.0.
|
37
|
+
version: 2.0.1
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
41
|
none: false
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - '='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 2.0.
|
45
|
+
version: 2.0.1
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: test-unit-notify
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|