glimmer-dsl-libui 0.5.17 → 0.5.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +2 -2
- data/VERSION +1 -1
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/libui/custom_window.rb +11 -2
- 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: a3fef2bd47b932369023cff0088adf0776892ce7a2ed0589cd20b89726320809
|
4
|
+
data.tar.gz: ffc0cf261ffce1b52f92b3e0aff18691f645115c2ba36bea420f51c5e2d9c873
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc07cb97b4fe12778abfc6ccb104bb5b2a9990d5b8f4cfff31aecae72a069efb5151c3a47be234fdf675e3a8cdd046eb89e454c22d97fb40eb8a4d1df30b2774
|
7
|
+
data.tar.gz: 7b4eb6ed048b18ee79e1aa197a90c168f69ee9c316df50244ab41a343266461c2fb3be233015387182cf77adb6386c6973fd649f9140a84ad83a8ce1a60d5e2f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.5.18
|
4
|
+
|
5
|
+
- `CustomWindow.launch(...)` returns the launched application/custom-window (e.g. `PaginatedRefinedTable.launch` returns the `PaginatedRefinedTable` instance that was automatically constructed)
|
6
|
+
- `CustomWindow.launched_application`/`CustomWindow.launched_custom_window` returns the launched application of a previous `.launch` call. This can be useful for rescuing errors and performing cleanup on the view object attributes after `.launch` returned.
|
7
|
+
|
3
8
|
## 0.5.17
|
4
9
|
|
5
10
|
- Ensure disabling pagination buttons in `refined_table` if page is at beginning or end
|
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 LibUI 0.5.
|
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 LibUI 0.5.18
|
2
2
|
## Prerequisite-Free Ruby Desktop Development GUI Library
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-libui.svg)](http://badge.fury.io/rb/glimmer-dsl-libui)
|
4
4
|
[![Join the chat at https://gitter.im/AndyObtiva/glimmer](https://badges.gitter.im/AndyObtiva/glimmer.svg)](https://gitter.im/AndyObtiva/glimmer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
@@ -584,7 +584,7 @@ gem install glimmer-dsl-libui
|
|
584
584
|
Or install via Bundler `Gemfile`:
|
585
585
|
|
586
586
|
```ruby
|
587
|
-
gem 'glimmer-dsl-libui', '~> 0.5.
|
587
|
+
gem 'glimmer-dsl-libui', '~> 0.5.18'
|
588
588
|
```
|
589
589
|
|
590
590
|
Test that installation worked by running the [Meta-Example](#examples):
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.18
|
data/glimmer-dsl-libui.gemspec
CHANGED
Binary file
|
@@ -31,8 +31,17 @@ module Glimmer
|
|
31
31
|
|
32
32
|
class << self
|
33
33
|
def launch(*args, &content)
|
34
|
-
|
35
|
-
|
34
|
+
@@launched_custom_window = send(keyword, *args, &content)
|
35
|
+
@@launched_custom_window.show
|
36
|
+
@@launched_custom_window
|
37
|
+
end
|
38
|
+
|
39
|
+
def launched_custom_window
|
40
|
+
@@launched_custom_window if defined?(@@launched_custom_window)
|
41
|
+
end
|
42
|
+
|
43
|
+
def launched_application
|
44
|
+
launched_custom_window
|
36
45
|
end
|
37
46
|
end
|
38
47
|
|