cocoawebview 0.4.0 → 0.5.0
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 +4 -4
- data/ext/cocoawebview/cocoawebview.m +4 -0
- data/lib/cocoawebview/version.rb +1 -1
- data/lib/cocoawebview.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a5dc8becbe3e08126dfc0c5920a10f73c7dc83c6dbd0498a61df08e716b198
|
4
|
+
data.tar.gz: df179bc016e9c58461733d6b9aa1028f636dd95234781612406d0358731669e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2545e3fc29b1e863015317a9e8375534bfb98050475cac4ed52ccad54a0c9ee9604b6f1b36bc43510ec5b2428681228ae417788a006f4af3020b7d22253d2ed3
|
7
|
+
data.tar.gz: 9173d6c094e3a87dfd6945b3c8f145f8f702d0264ff874d9279bd336d2ebdc76288a65ffb0259b2fdd61f8a5825f3cdadc852bf287d82a69f27795baeda3a670
|
@@ -105,6 +105,10 @@ VALUE webview_set_bg(VALUE self, VALUE r, VALUE g, VALUE b, VALUE a);
|
|
105
105
|
app = a;
|
106
106
|
}
|
107
107
|
|
108
|
+
- (void)applicationWillTerminate:(NSNotification *)notification {
|
109
|
+
rb_funcall(app, rb_intern("app_will_exit"), 0);
|
110
|
+
}
|
111
|
+
|
108
112
|
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag {
|
109
113
|
rb_funcall(app, rb_intern("dock_did_click"), 0);
|
110
114
|
return YES;
|
data/lib/cocoawebview/version.rb
CHANGED
data/lib/cocoawebview.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoawebview
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tommy Jeff
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-10-
|
10
|
+
date: 2025-10-16 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: Webview ruby binding for macOS
|
13
13
|
email:
|