glimmer-dsl-libui 0.13.0 → 0.13.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 43ae658184be717b4516022b2233f3ecba9dca4f258b307bc81b9488b8387f70
4
- data.tar.gz: e09b32411f1301deba1312b78f86288708dc56964e08a97165b1d55e156dfc80
3
+ metadata.gz: 8e385cd77c53aa0d88ae57065031652b46a43cae650673ec5e8fb19d17f51abc
4
+ data.tar.gz: 28934fa1b0ba7682ce73d65671238f21b0c00de17d265df02564bb7fe8cf0488
5
5
  SHA512:
6
- metadata.gz: 899b60f962b0df986a447353e2cd80578a1306fadee0edfefea1bf9089c8856576189dfca33a3bb2ebb8239394f9d719195cef03bbc9e31eb714ef44058b3186
7
- data.tar.gz: bb6ec4a596ce49130190fa3870ca472965d5b958ec05c1e0d7ecdf2a3c0593ab290079d4dc60823c098f610f8bb85c8270330c5ecd3e634c0f5ecfbe11becf21
6
+ metadata.gz: 4284ac332f566ed15b121c088f16401949c507a8bce32406c98457ba2adb74107f5ed9a0913741017587b713a502bdf1659473ac5631c57d1fd7159515a670d5
7
+ data.tar.gz: 25463eca0013a0517de153bd3bf757c1e0384b0bb675741735281441d24d8cd4054ee3261bb4e27e72c57650c95ca72de73afad475b83019070c3bc8ef3523be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Change Log
2
2
 
3
+ ## 0.13.1
4
+
5
+ - Revert color gem to version 1.8 to maintain compatibility with Ruby versions lower than 3.2 for broader support
6
+
3
7
  ## 0.13.0
4
8
 
5
9
  - Support `combobox` `items` unidirectional data-binding
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.13.0
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.13.1
2
2
  ## Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library ([Fukuoka Award Winning](https://andymaleh.blogspot.com/2022/02/glimmer-dsl-for-libui-wins-fukuoka-ruby.html))
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)
@@ -468,7 +468,7 @@ gem install glimmer-dsl-libui
468
468
  Or install via Bundler `Gemfile`:
469
469
 
470
470
  ```ruby
471
- gem 'glimmer-dsl-libui', '~> 0.13.0'
471
+ gem 'glimmer-dsl-libui', '~> 0.13.1'
472
472
  ```
473
473
 
474
474
  Test that installation worked by running the [Glimmer Meta-Example](#examples):
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.13.0
1
+ 0.13.1
Binary file
data/lib/glimmer/libui.rb CHANGED
@@ -195,7 +195,11 @@ module Glimmer
195
195
  end
196
196
 
197
197
  def x11_colors
198
- require 'color/rgb/colors'
198
+ begin
199
+ require 'color/rgb/colors'
200
+ rescue
201
+ require 'color'
202
+ end
199
203
  Color::RGB.constants.reject {|c| c.to_s.upcase == c.to_s}.map(&:to_s).map(&:underscore).map(&:to_sym)
200
204
  end
201
205
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-libui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
@@ -115,22 +115,16 @@ dependencies:
115
115
  name: color
116
116
  requirement: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- version: 2.0.0
121
- - - "<"
118
+ - - "~>"
122
119
  - !ruby/object:Gem::Version
123
- version: 3.0.0
120
+ version: '1.8'
124
121
  type: :runtime
125
122
  prerelease: false
126
123
  version_requirements: !ruby/object:Gem::Requirement
127
124
  requirements:
128
- - - ">="
129
- - !ruby/object:Gem::Version
130
- version: 2.0.0
131
- - - "<"
125
+ - - "~>"
132
126
  - !ruby/object:Gem::Version
133
- version: 3.0.0
127
+ version: '1.8'
134
128
  - !ruby/object:Gem::Dependency
135
129
  name: rake
136
130
  requirement: !ruby/object:Gem::Requirement