cocoawebview 0.3.13 → 0.3.14

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: 4b99958f5f5331f8902bf5b2e36829992c752d1d1137c79c8a40dac5b532abee
4
- data.tar.gz: 0a4efac1c163db618cb3de595b19df6103865600ad713b1e1234b6267d668819
3
+ metadata.gz: db706b907aeae6b70140c4e44872ec376e19057817682475910eae632089fb88
4
+ data.tar.gz: c8218931d32c079654dc6b3d6d82cd52b1fcb2532e171b6a7071006136082711
5
5
  SHA512:
6
- metadata.gz: 9fdaa37347f271bc56bfe6c910b60092a8931ffbd3fb256cb192d591d01f29604b73ab1f9afc01ae0bb8a6fcbb8320a5080b9d090d70dd66d46969e5ccc779f8
7
- data.tar.gz: 83aa2369a6615c8295ea31759988f6a5ddfa66420c42ca4ae229425aad882d6d785f8b429c19cfc4ff4fa5d1513e18f55b080a5d2f6cffeb8fa2edbe1f84580f
6
+ metadata.gz: 826ace46cd74de6216fac45f63565c6e38ccd8df1374859d7027710c446fdb8141533316bab880ef28eefd88f9cb87863f9422b4163465b98e37748a00064840
7
+ data.tar.gz: 368a5884b508fb1f74812c7ca7aa345f450be2a91935e694f0c5a88ade3c861465af0e61013dd01d685353238f952286ad2316f3d85528a56f501c025b81dab8
@@ -104,15 +104,12 @@ VALUE webview_set_bg(VALUE self, VALUE r, VALUE g, VALUE b, VALUE a);
104
104
  app = a;
105
105
  }
106
106
 
107
- - (void)appBecameActive:(NSNotification *)notification {
107
+ - (BOOL)applicationShouldHandleReopen:(NSApplication *)sender hasVisibleWindows:(BOOL)flag {
108
108
  rb_funcall(app, rb_intern("dock_did_click"), 0);
109
+ return YES;
109
110
  }
110
111
 
111
112
  - (void)applicationDidFinishLaunching:(NSNotification *)notification {
112
- [[NSNotificationCenter defaultCenter] addObserver:self
113
- selector:@selector(appBecameActive:)
114
- name:NSApplicationDidBecomeActiveNotification
115
- object:nil];
116
113
  rb_funcall(app, rb_intern("app_did_launch"), 0);
117
114
  }
118
115
  @end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cocoawebview
4
- VERSION = "0.3.13"
4
+ VERSION = "0.3.14"
5
5
  end
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.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Jeff
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2025-07-07 00:00:00.000000000 Z
10
+ date: 2025-07-08 00:00:00.000000000 Z
11
11
  dependencies: []
12
12
  description: Webview ruby binding for macOS
13
13
  email: