webview_ruby 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/webview_ruby/version.rb +1 -1
- data/lib/webview_ruby.rb +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78024485bfc5c0fb96bd833812a6a3ce5d2d7f37ec7ca1b8b1ea0511b596a91f
|
4
|
+
data.tar.gz: c74fbe8128f0843dd013e6ef47e23cacb416ff69e6fa5e4fe602b2723e1f3a6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 207cc3e082e27b00a0054866db5b019396f0979c4b87b4e61e5e5a5551ede262e8dd40f331ae31700dcddcb241d7f53fdbc6efbfefc2db1e871b30eea72ee4c9
|
7
|
+
data.tar.gz: 2df32e67939c5fcbc6f2dd379b474f4d963db044f170eff22149e2d7d09ca156d02b8172ab12bab698a17a85188e4745394736507aabd46553df93d4e4c5c049
|
data/lib/webview_ruby/version.rb
CHANGED
data/lib/webview_ruby.rb
CHANGED
@@ -24,6 +24,7 @@ module WebviewRuby
|
|
24
24
|
|
25
25
|
def initialize(debug:false)
|
26
26
|
@is_running = false
|
27
|
+
@bindings = {}
|
27
28
|
@window = WebviewRuby.webview_create(debug ? 1 : 0, nil)
|
28
29
|
end
|
29
30
|
|
@@ -67,6 +68,7 @@ module WebviewRuby
|
|
67
68
|
terminate
|
68
69
|
end
|
69
70
|
end
|
71
|
+
@bindings[callback] = true # save a reference
|
70
72
|
WebviewRuby.webview_bind(@window, name, callback, nil)
|
71
73
|
end
|
72
74
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webview_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Concetto Rudilosso
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
98
|
requirements: []
|
99
|
-
rubygems_version: 3.3.
|
99
|
+
rubygems_version: 3.3.7
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Ruby bindings for webview
|