glimmer-dsl-libui 0.3.5 → 0.4.0
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 +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +3764 -3754
- data/VERSION +1 -1
- data/examples/midi_player.rb +2 -6
- data/examples/snake/model/game.rb +2 -2
- data/examples/snake.rb +9 -19
- data/examples/tic_tac_toe.rb +3 -12
- data/examples/timer.rb +2 -6
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/dsl/libui/bind_expression.rb +36 -0
- data/lib/glimmer/dsl/libui/data_binding_expression.rb +47 -0
- data/lib/glimmer/dsl/libui/dsl.rb +3 -0
- data/lib/glimmer/dsl/libui/observe_expression.rb +35 -0
- data/lib/glimmer/dsl/libui/shine_data_binding_expression.rb +42 -0
- data/lib/glimmer/dsl/libui/string_expression.rb +4 -5
- data/lib/glimmer/libui/attributed_string.rb +19 -6
- data/lib/glimmer/libui/shape.rb +1 -1
- metadata +8 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7787d307fad4098e8f050a94c6477e9fca1f6cc8a2af4f2c16126a0a118dbc59
|
|
4
|
+
data.tar.gz: 0cc3d91a91ec96fa4bfecebef3829f4dc384f51aae7a81157385812d1aac2e8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89d886d203a00b83b7a1b5640dfb83f256b6514586b254bb4b00157c88df29acaa80b30194909f62858d6c79eba1782a7d4deda143d5406bd5048899f3d9835c
|
|
7
|
+
data.tar.gz: c94709151900aac23b7148422ee96d484413437b57a78aca7ece2948b6a48a3db3cca7c64827ade37037f9d4af27cce0e6f0bf0a2498358afd07a279595dec12
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
- Upgrade to LibUI 0.0.13
|
|
6
|
+
- Support general control/shape/attributed_string property unidirectional data-binding (with `<=` sign or `<=>`)
|
|
7
|
+
- Support `observe` DSL keyword for simple model observation outside of GUI (e.g. `observe(model, attribute) { do_something }` )
|
|
8
|
+
- Simplify examples/snake.rb with data-binding
|
|
9
|
+
- Simplify examples/tic_tac_toe.rb with data-binding
|
|
10
|
+
- Fix issue with `Shape#redraw` method calling `AreaProxy#auto_redraw` instead of `AreaProxy#redraw`
|
|
11
|
+
|
|
3
12
|
## 0.3.5
|
|
4
13
|
|
|
5
14
|
- Fixed Area Gallery example (all versions) after a recent refactoring broke it
|