cocoawebview 0.2.2 → 0.2.3

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: 05bb426942087b9adcf0bbe7bb138673877c47d1f1fa255389290c96587f1c97
4
- data.tar.gz: a43620f4c4b8bae04cbd616722ff4a82b407f3f0f6e1f1c7659a800536771584
3
+ metadata.gz: 6c80c17f0587af34667682432b333f7843f65dac96f707883cf8b5a287d42320
4
+ data.tar.gz: 0b14d8bc43ad02263f5afe91f187f6f0fb86427dffd429ec0106c11aa25892dd
5
5
  SHA512:
6
- metadata.gz: 1a8097932a8b163941332b71df5342e85a5386c945143990d43ee5c5f31911d6625d014ecfd91826754efe065803edd2d60f95ac38526ce1ddc47a815d147d16
7
- data.tar.gz: 205960af615fea7db2ed211fd49c771e6fa48e969584878c00024ff731fe6ac4fdc98db42c91380bcc3cbebd251b6c948cb218200d56a200b30cb9d4e494591e
6
+ metadata.gz: dcd142915acc1e77d6c09b897b89d9eb341dc32317ef7363a1e960f08c84951b11fc87468cc59d62affbd89cfbcc8d0dfea808c484effddd6f93b670ed3d8eba
7
+ data.tar.gz: 77fff479d4d46be2216718ee8a2dc899b58daace4b48d98b82ff182d2a3b1f859ab524cbf08ba5ffc9d48edb712bd3fe821553d34cc9aca59fcee935dbe9dcb1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Cocoawebview
4
- VERSION = "0.2.2"
4
+ VERSION = "0.2.3"
5
5
  end
data/lib/cocoawebview.rb CHANGED
@@ -24,11 +24,11 @@ module CocoaWebview
24
24
  class CocoaWebview
25
25
  attr_accessor :callback
26
26
 
27
- def self.create(debug: false, min: true, max: true, close: true, &block)
27
+ def self.create(debug: false, min: true, resize: true, close: true, &block)
28
28
  style = NSWindowStyleMaskTitled | NSWindowStyleMaskFullSizeContentView
29
29
 
30
30
  style = style | NSWindowStyleMaskMiniaturizable if min
31
- style = style | NSWindowStyleMaskResizable if max
31
+ style = style | NSWindowStyleMaskResizable if resize
32
32
  style = style | NSWindowStyleMaskClosable if close
33
33
 
34
34
  style &= ~NSWindowStyleMaskFullScreen
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.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommy Jeff