cocoawebview 0.3.11 → 0.3.13

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: 4b99958f5f5331f8902bf5b2e36829992c752d1d1137c79c8a40dac5b532abee
4
+ data.tar.gz: 0a4efac1c163db618cb3de595b19df6103865600ad713b1e1234b6267d668819
5
5
  SHA512:
6
- metadata.gz: 42898e4c965b3321cda004db9c8966d9b473ed07a321c49669724ad4e1e20ea49dadc4dc7f824401ce70ddb192eb0893487c4bb10e2107837f8280866f61c2bd
7
- data.tar.gz: 0ab9d2822c92599117f18063cd14ffcbf9e2c794ae88b9a9e0238132f79918b67a4cb12451c4f2d4e5a3337e15f1c1a9d0757bf9be15e30df8d547abe4796019
6
+ metadata.gz: 9fdaa37347f271bc56bfe6c910b60092a8931ffbd3fb256cb192d591d01f29604b73ab1f9afc01ae0bb8a6fcbb8320a5080b9d090d70dd66d46969e5ccc779f8
7
+ data.tar.gz: 83aa2369a6615c8295ea31759988f6a5ddfa66420c42ca4ae229425aad882d6d785f8b429c19cfc4ff4fa5d1513e18f55b080a5d2f6cffeb8fa2edbe1f84580f
@@ -104,11 +104,15 @@ VALUE webview_set_bg(VALUE self, VALUE r, VALUE g, VALUE b, VALUE a);
104
104
  app = a;
105
105
  }
106
106
 
107
- - (void)applicationDidBecomeActive:(NSNotification *)notification {
107
+ - (void)appBecameActive:(NSNotification *)notification {
108
108
  rb_funcall(app, rb_intern("dock_did_click"), 0);
109
109
  }
110
110
 
111
111
  - (void)applicationDidFinishLaunching:(NSNotification *)notification {
112
+ [[NSNotificationCenter defaultCenter] addObserver:self
113
+ selector:@selector(appBecameActive:)
114
+ name:NSApplicationDidBecomeActiveNotification
115
+ object:nil];
112
116
  rb_funcall(app, rb_intern("app_did_launch"), 0);
113
117
  }
114
118
  @end
@@ -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.13"
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.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Jeff