glimmer-dsl-swt 0.6.6 → 0.6.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2efe946d6209511675a9b2e91c76b71a69fa52ece7ea821229783c1ddf52c2da
4
- data.tar.gz: 3df579040ae3a9183388d1b6d3bca864a911679973e33ff7faae8a421384f64a
3
+ metadata.gz: eb75003a6ed29f05d26a63307423121409b114157a50df69501310a93fcb27fe
4
+ data.tar.gz: 0e14fe3b080a81f4795a6a9703bd499aaa17e0e512034cf570560238bb5841ad
5
5
  SHA512:
6
- metadata.gz: b3a057aabf006662881fa9adf157722831a4c6a2e397353a71b6c7d52fbc360bca96f095a5b5d4077bb271dd5b3eae9505cf8cd489bc801230179a8bf0d51aa8
7
- data.tar.gz: ebe5556abe7c1dfe1446f2a42c0f71a799a47153b545f9cc463240d13a85bddf4c9e83eaab96e0b4f498de4753c48a8761306517714c19385a1d89c4e6f054d8
6
+ metadata.gz: ad51599c93c102b01c2a0756dbd030c705c85e7b4b2d2e2791d24a4281f01311fbddb155c08b13f6f58b3952d0340fd3403c3f47b7ec1348c86c95cf9a920fa0
7
+ data.tar.gz: a2f25a0ad0c9557dc41b4cf1bbbef162946d6cd112379f261cf9f862663924aed1af2006ff8ea41b13c910eed386a94c46c009d1e5727e66b1907c22e7373244
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 0.6.6 (Desktop GUI)
1
+ # [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 0.6.7 (JRuby Desktop GUI)
2
2
  [![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
3
3
  [![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
4
4
  [![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/glimmer-dsl-swt/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/glimmer-dsl-swt?branch=master)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.6
1
+ 0.6.7
@@ -410,7 +410,7 @@ class Scaffold
410
410
  " -name '#{human_name(custom_shell_name)}'" +
411
411
  " -title '#{human_name(custom_shell_name)}'" +
412
412
  " -Bmac.CFBundleName='#{human_name(custom_shell_name)}'" +
413
- " -Bmac.CFBundleIdentifier='org.#{namespace ? compact_name(namespace) : compact_name(custom_shell_name)}.application.#{compact_name(custom_shell_name)}'"
413
+ " -Bmac.CFBundleIdentifier='org.#{namespace ? compact_name(namespace) : compact_name(custom_shell_name)}.application.#{compact_name(custom_shell_name).capitalize}'"
414
414
  # " -BlicenseType=" +
415
415
  # " -Bmac.category=" +
416
416
  # " -Bmac.signing-key-developer-id-app="
@@ -42,21 +42,17 @@ module Glimmer
42
42
 
43
43
  DEFAULT_INITIALIZERS = {
44
44
  "composite" => lambda do |composite|
45
- layout = GridLayout.new
46
- layout.marginWidth = 15
47
- layout.marginHeight = 15
48
- composite.layout = layout
45
+ if composite.get_layout.nil?
46
+ layout = GridLayout.new
47
+ layout.marginWidth = 15
48
+ layout.marginHeight = 15
49
+ composite.layout = layout
50
+ end
49
51
  end,
50
52
  "scrolled_composite" => lambda do |scrolled_composite|
51
53
  scrolled_composite.expand_horizontal = true
52
54
  scrolled_composite.expand_vertical = true
53
55
  end,
54
- "shell" => lambda do |shell|
55
- layout = FillLayout.new
56
- layout.marginWidth = 15
57
- layout.marginHeight = 15
58
- shell.layout = layout
59
- end,
60
56
  "table" => lambda do |table|
61
57
  table.setHeaderVisible(true)
62
58
  table.setLinesVisible(true)
@@ -65,7 +61,7 @@ module Glimmer
65
61
  table_column.setWidth(80)
66
62
  end,
67
63
  "group" => lambda do |group|
68
- group.setLayout(GridLayout.new)
64
+ group.layout = GridLayout.new if group.get_layout.nil?
69
65
  end,
70
66
  }
71
67
 
@@ -89,7 +85,7 @@ module Glimmer
89
85
  end
90
86
 
91
87
  attr_reader :parent_proxy, :swt_widget, :drag_source_proxy, :drop_target_proxy, :drag_source_style, :drag_source_transfer, :drop_target_transfer
92
-
88
+
93
89
  # Initializes a new SWT Widget
94
90
  #
95
91
  # Styles is a comma separate list of symbols representing SWT styles in lower case
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-14 00:00:00.000000000 Z
11
+ date: 2020-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement