cocoawebview 0.3.11 → 0.3.12

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
  SHA256:
3
- metadata.gz: 78b13a5b08f52ab840545dd83567d924fe6e4d9cb1a932930417cee2ab85d101
4
- data.tar.gz: 6cdf939f0b744b1c31dd9029592a1bd5ee6fa33a024e6f798d97bc8a3cb98eca
3
+ metadata.gz: b5ad030fa8a13fb1205fd04ce971a54c7a22eec500e0713514cd638641cf3e67
4
+ data.tar.gz: d8ed63d14b27a487e1f2f676b8cf84b8d7911db8c5e5a8fee1b644a9ad3752be
5
5
  SHA512:
6
- metadata.gz: 42898e4c965b3321cda004db9c8966d9b473ed07a321c49669724ad4e1e20ea49dadc4dc7f824401ce70ddb192eb0893487c4bb10e2107837f8280866f61c2bd
7
- data.tar.gz: 0ab9d2822c92599117f18063cd14ffcbf9e2c794ae88b9a9e0238132f79918b67a4cb12451c4f2d4e5a3337e15f1c1a9d0757bf9be15e30df8d547abe4796019
6
+ metadata.gz: b8392de39ee2d2079480709dd7837bdbc9d12516fab98e1faeb0127e8cfca135cc7355f197ad43812721b89da134231c2876d66d74844c5206a0d7796ff16971
7
+ data.tar.gz: 6ac809e1940aba92e84e0b4300df4a120b4da25936d5fea5366bee589501fb87f92d91351da6c92579d5dd210c48e27a2dc4acbdcf77f522f0b21a7d1a5b2f46
@@ -104,9 +104,17 @@ VALUE webview_set_bg(VALUE self, VALUE r, VALUE g, VALUE b, VALUE a);
104
104
  app = a;
105
105
  }
106
106
 
107
+ /*
107
108
  - (void)applicationDidBecomeActive:(NSNotification *)notification {
108
109
  rb_funcall(app, rb_intern("dock_did_click"), 0);
109
110
  }
111
+ */
112
+
113
+
114
+ - (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag {
115
+ rb_funcall(app, rb_intern("dock_did_click"), 0);
116
+ return YES;
117
+ }
110
118
 
111
119
  - (void)applicationDidFinishLaunching:(NSNotification *)notification {
112
120
  rb_funcall(app, rb_intern("app_did_launch"), 0);
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cocoawebview
4
- VERSION = "0.3.11"
4
+ VERSION = "0.3.12"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoawebview
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.11
4
+ version: 0.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Jeff