glimmer-dsl-swt 4.24.2.0 → 4.24.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -5
- data/VERSION +1 -1
- data/glimmer-dsl-swt.gemspec +0 -0
- data/samples/hello/hello_code_text.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcabd7cc1b4ab9c8c077fa97bb60d66f2da290707a49aed7d8cb49375fcee4d7
|
4
|
+
data.tar.gz: 5634d30ee03e7b20a7a4475c396b98e3bf0fdb1c063a4c42f0216a3ae4a119d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1bef78b2591d3ef7e6b0217062769d4f0e9999a42458d69aab2e2d23afa05aafde87c236586f808b51a8ab66cc7e7b6cb48b092159e2dac0da73501cfb63fcd
|
7
|
+
data.tar.gz: bb449c8d49d5b8acdd2b71cecdbc37f44dbb33c09ab358fc90c1922c0de6cc38f788d5dbd72a5071d419c372c1db8bf7ca985dd0e798d2a9db0e90f241cda5b2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 4.24.2.1
|
4
|
+
|
5
|
+
- Fix mistake of changing all themes to dark themes in Hello, Code Text! (not it works just like before)
|
6
|
+
|
3
7
|
## 4.24.2.0
|
4
8
|
|
5
9
|
- Update `code_text` to support Dark Mode with `glimmer_dark` theme, which is applied by default when app is run with OS in dark mode
|
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 4.24.2.
|
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 4.24.2.1
|
2
2
|
## JRuby Desktop Development GUI Framework
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
4
4
|
[![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
|
@@ -21,7 +21,7 @@ Featured in JRuby Cookbook](http://shop.oreilly.com/product/9780596519650.do) an
|
|
21
21
|
|
22
22
|
![Eclipse SWT RCP NASA Mars Rover](/images/glimmer-eclipse-swt-rcp-nasa-mars-rover.png)
|
23
23
|
|
24
|
-
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.24.2.
|
24
|
+
[Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) 4.24.2.1 includes [SWT 4.24](https://download.eclipse.org/eclipse/downloads/drops4/R-4.24-202206070700/), which was released on June 7, 2022. Gem version numbers are in sync with the SWT library versions. The first two digits represent the SWT version number. The last two digits represent the minor and patch versions of Glimmer DSL for SWT.
|
25
25
|
|
26
26
|
**Starting in version 4.20.0.0, [Glimmer DSL for SWT](https://rubygems.org/gems/glimmer-dsl-swt) comes with the new [***Shine***](/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md#shine) syntax** for highly intuitive and visually expressive View/Model Attribute Mapping, relying on `<=>` for bidirectional (two-way) data-binding and `<=` for unidirectional (one-way) data-binding, providing an alternative to the `bind` keyword. That was [originally conceived back in 2007](https://andymaleh.blogspot.com/2007/12/data-shining-in-glimmer.html).
|
27
27
|
|
@@ -338,7 +338,7 @@ jgem install glimmer-dsl-swt
|
|
338
338
|
|
339
339
|
Or this command if you want a specific version:
|
340
340
|
```
|
341
|
-
jgem install glimmer-dsl-swt -v 4.24.2.
|
341
|
+
jgem install glimmer-dsl-swt -v 4.24.2.1
|
342
342
|
```
|
343
343
|
|
344
344
|
`jgem` is JRuby's version of `gem` command.
|
@@ -366,7 +366,7 @@ Note: if you're using activerecord or activesupport, keep in mind that Glimmer u
|
|
366
366
|
|
367
367
|
Add the following to `Gemfile`:
|
368
368
|
```
|
369
|
-
gem 'glimmer-dsl-swt', '~> 4.24.2.
|
369
|
+
gem 'glimmer-dsl-swt', '~> 4.24.2.1'
|
370
370
|
```
|
371
371
|
|
372
372
|
And, then run:
|
@@ -389,7 +389,7 @@ glimmer
|
|
389
389
|
```
|
390
390
|
|
391
391
|
```
|
392
|
-
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.24.2.
|
392
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.24.2.1
|
393
393
|
|
394
394
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
395
395
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.24.2.
|
1
|
+
4.24.2.1
|
data/glimmer-dsl-swt.gemspec
CHANGED
Binary file
|
@@ -87,7 +87,7 @@ class HelloCodeText
|
|
87
87
|
text 'Ruby (glimmer theme)'
|
88
88
|
|
89
89
|
# Note: code_text theme is currently ignored in dark mode
|
90
|
-
code_text(language: 'ruby', theme: '
|
90
|
+
code_text(language: 'ruby', theme: 'glimmer', lines: true) { # theme is currently ignored in dark mode
|
91
91
|
text <=> [self, :ruby_code]
|
92
92
|
}
|
93
93
|
}
|
@@ -98,7 +98,7 @@ class HelloCodeText
|
|
98
98
|
text 'JavaScript (pastie theme)'
|
99
99
|
|
100
100
|
# Note: code_text theme is currently ignored in dark mode
|
101
|
-
code_text(:multi, :h_scroll, :v_scroll, language: 'javascript', theme: '
|
101
|
+
code_text(:multi, :h_scroll, :v_scroll, language: 'javascript', theme: 'pastie', lines: {width: 2}) {
|
102
102
|
root {
|
103
103
|
grid_layout(2, false) {
|
104
104
|
margin_width 2
|
@@ -121,7 +121,7 @@ class HelloCodeText
|
|
121
121
|
text 'HTML (github theme)'
|
122
122
|
|
123
123
|
# Note: code_text theme is currently ignored in dark mode
|
124
|
-
code_text(language: 'html', theme: '
|
124
|
+
code_text(language: 'html', theme: 'github') { # default is lines: false
|
125
125
|
text <=> [self, :html_code]
|
126
126
|
}
|
127
127
|
}
|