glimmer-dsl-libui 0.12.4 → 0.12.5

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: a8fbbb77d2cc17609f9f18fb32601f44e1d8aac00f4935a6f9f8feb7517d1b93
4
- data.tar.gz: 73fdb3744a8fed056a5837af3cc0dbfaeb7b4eb3bb11e0c70899f2e61b5386a4
3
+ metadata.gz: 55d062cea1842f93cdbec55c47e6859c2af81c92be8283e0dd1f4505ce01251e
4
+ data.tar.gz: 6a973ce01567411a4e83971bfbc0441f58a05c8fdc7e995ca346370eb8112043
5
5
  SHA512:
6
- metadata.gz: 1172f079336d7b0d27cdd681a386615239d00cc7201d15686f2e511a4ca992e6f5b1c2523afbf839b87ddff3eedbe951c6b634bd94aa8e40c3537a33af3b7208
7
- data.tar.gz: e5fd879eb9bf438a174f7998d247fe9028d7d2b28703754b59482007e831fe190a4a827e58faa1b9f83a9ecdc2b79aa0a48c4d46114f19fa55bbab6a5c2e899b
6
+ metadata.gz: f4ac15a26c19bc9ed3a4a4cd2cb3a4507b0a28cc71c2862f38a3acf5ecb9defacad22d8c04d77a1186904ccbca8dfcd5d4ef5231b376aad6f3d1536fa42124f3
7
+ data.tar.gz: f8ee29ce0b626ff191fddca925fe573a5f098b07ccd9e1387f82f760c2b187da7173aa0006d2577290c3ee579a285edca76aee0749c7eac92a90e84af3468547
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.12.5
4
+
5
+ - Prevent duplication of items in editable_combobox when updating items with an array that contains duplicates
6
+
3
7
  ## 0.12.4
4
8
 
5
9
  - Fix issue #67 (The Japanese text is displayed strangely), thanks to PR #68 by @junogura
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.12.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.12.5
2
2
  ## Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library ([Fukuoka Award Winning](http://www.digitalfukuoka.jp/topics/187?locale=ja))
3
3
  ### The Quickest Way From Zero To GUI
4
4
  [![Gem Version](https://badge.fury.io/rb/glimmer-dsl-libui.svg)](http://badge.fury.io/rb/glimmer-dsl-libui)
@@ -349,7 +349,7 @@ Mac | Windows | Linux
349
349
  ----|---------|------
350
350
  ![glimmer-dsl-libui-mac-area-gallery.png](images/glimmer-dsl-libui-mac-area-gallery.png) | ![glimmer-dsl-libui-windows-area-gallery.png](images/glimmer-dsl-libui-windows-area-gallery.png) | ![glimmer-dsl-libui-linux-area-gallery.png](images/glimmer-dsl-libui-linux-area-gallery.png)
351
351
 
352
- [Check Out Many More Examples Over Here!](#examples)
352
+ [Check out many more examples over here!](#examples)
353
353
 
354
354
  [![glimmer-dsl-libui-mac-snake.gif](images/glimmer-dsl-libui-mac-snake.gif)](/docs/examples/GLIMMER-DSL-LIBUI-ADVANCED-EXAMPLES.md#snake)
355
355
 
@@ -357,6 +357,14 @@ Mac | Windows | Linux
357
357
 
358
358
  [![glimmer-dsl-libui-mac-tetris.gif](images/glimmer-dsl-libui-mac-tetris.gif)](/docs/examples/GLIMMER-DSL-LIBUI-ADVANCED-EXAMPLES.md#tetris)
359
359
 
360
+ [Check out many real apps built with Glimmer DSL for LibUI over here!](#applications)
361
+
362
+ ![kuiq](https://raw.githubusercontent.com/mperham/kuiq/main/misc/ui.png)
363
+
364
+ ![rubio-radio](https://raw.githubusercontent.com/kojix2/rubio-radio/main/screenshots/rubio-radio-linux.png)
365
+
366
+ ![Ruby Go](/images/glimmer-dsl-libui-mac-application-ruby-go.png)
367
+
360
368
  NOTE: [Glimmer DSL for LibUI](https://rubygems.org/gems/glimmer-dsl-libui) is regularly catching up with changes in the C [libui-ng](https://github.com/libui-ng/libui-ng) library API and in beta mode. The C [libui-ng](https://github.com/libui-ng/libui-ng) is still mid-alpha, which is why [Glimmer DSL for LibUI](https://rubygems.org/gems/glimmer-dsl-libui) cannot be declared v1.0.0 yet. Please help make better by contributing, adopting for small or low risk projects, and providing feedback. The more feedback and issues you report the better.
361
369
 
362
370
  Learn more about the differences between various [Glimmer](https://github.com/AndyObtiva/glimmer) DSLs by looking at the **[Glimmer DSL Comparison Table](https://github.com/AndyObtiva/glimmer#glimmer-dsl-comparison-table)**.
@@ -456,7 +464,7 @@ gem install glimmer-dsl-libui
456
464
  Or install via Bundler `Gemfile`:
457
465
 
458
466
  ```ruby
459
- gem 'glimmer-dsl-libui', '~> 0.12.4'
467
+ gem 'glimmer-dsl-libui', '~> 0.12.5'
460
468
  ```
461
469
 
462
470
  Test that installation worked by running the [Glimmer Meta-Example](#examples):
@@ -4509,6 +4517,14 @@ https://github.com/timbot1789/rubygo
4509
4517
 
4510
4518
  ![Ruby Go](/images/glimmer-dsl-libui-mac-application-ruby-go.png)
4511
4519
 
4520
+ ### Kuiq - Sidekiq UI
4521
+
4522
+ The Sidekiq dashboard as a desktop application.
4523
+
4524
+ https://github.com/mperham/kuiq
4525
+
4526
+ ![kuiq](https://raw.githubusercontent.com/mperham/kuiq/main/misc/ui.png)
4527
+
4512
4528
  ## Design Principles
4513
4529
 
4514
4530
  - The Ruby Way (including TIMTOWTDI: There Is More Than One Way To Do It)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.12.4
1
+ 0.12.5
Binary file
@@ -33,8 +33,14 @@ module Glimmer
33
33
  if values.empty?
34
34
  @values
35
35
  else
36
- @values = values
37
- @values.each { |value| append value }
36
+ @values ||= []
37
+ values.each do |value|
38
+ unless @values.include?(value)
39
+ append(value)
40
+ @values << value
41
+ end
42
+ end
43
+ @values
38
44
  end
39
45
  end
40
46
  alias set_items items
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-libui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-23 00:00:00.000000000 Z
11
+ date: 2024-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glimmer