libui 0.0.13 → 0.0.14

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: 6de141936b3efcb92a52161f0426d62485efe1e5aad3117f76cf97d0ddc8031b
4
- data.tar.gz: b7ce62745c0c8dc93fc8ba0555a5240f0f56d73b68b6f6ba238153d6478d4f83
3
+ metadata.gz: ee9a02c819baa560dac3db19f6385c1c92e12ee00f0baa943728fb36381efb58
4
+ data.tar.gz: b168c699519a2cd32b9ae0b4549af8657137a7315214f5985f1ab602f6a56010
5
5
  SHA512:
6
- metadata.gz: 8caad6d8235897aa9b1c1c0782a425f85c4b7016d57464d69bfba9c3a1716eb5d3ea8520157ecc1a9209a299e863fc178c21897256e26e80b02a3beeff1be894
7
- data.tar.gz: 2c328acfbc5862157124d6f31cf66950b07af1dacbbb81ee1f50340bb837bdb08e1d3b6abfaa9bfa5b8ecd81fe5e80a9d10e239c3489e534160ddb720135c502
6
+ metadata.gz: 23f37b10d06d6c2d00eca6f30d7a3eea22d8ad117a857b606d86e40306c7c723f4223e1431cdb13e339b4476425fb27b593c3a763ff8d7c0552dfce565131e8a
7
+ data.tar.gz: 6ff9da25e26d31fd109f6d8982475d73060a6271b9a437fa3884bf6eb3257c0b7612a8b93d9c5a17def325c545b507ba0d55c14ffbda1e52ce7d1556c8b12b5a
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![Gem Version](https://badge.fury.io/rb/libui.svg)](https://badge.fury.io/rb/libui)
5
5
  <a href="https://github.com/AndyObtiva/glimmer-dsl-libui"><img alt="glimmer-dsl-libui" src="https://github.com/AndyObtiva/glimmer/blob/master/images/glimmer-logo-hi-res.svg" width="50" height="50" align="right"></a>
6
6
 
7
- :radio_button: [libui](https://github.com/andlabs/libui) - a portable GUI library - for Ruby
7
+ :radio_button: [libui](https://github.com/libui-ng/libui-ng) - a portable GUI library - for Ruby
8
8
 
9
9
  ## Installation
10
10
 
@@ -21,7 +21,10 @@ gem install libui
21
21
  |---------|-----|-------|
22
22
  |<img src="https://user-images.githubusercontent.com/5798442/103118046-900ea780-46b0-11eb-81fc-32626762e4df.png">|<img src="https://user-images.githubusercontent.com/5798442/103118059-99980f80-46b0-11eb-9d12-324ec4d297c9.png">|<img src="https://user-images.githubusercontent.com/5798442/103118068-a0bf1d80-46b0-11eb-8c5c-3bdcc3dcfb26.png">|
23
23
 
24
- Note: If you are using the 32-bit (x86) version of Ruby, you need to download the 32-bit (x86) native dll. See [Development](#development).
24
+ Note:
25
+ * If you are using the 32-bit (x86) version of Ruby, you need to download the 32-bit (x86) native dll. See [Development](#development).
26
+ * ARM64/AARCH64 Support is limited. See ([#47](https://github.com/kojix2/LibUI/issues/47))
27
+ * On Windows, libui may not work due to missing DLLs. In that case, you need to install [Visual C++ Redistributable](https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist). See ([#48](https://github.com/kojix2/LibUI/issues/48))
25
28
 
26
29
  ## Usage
27
30
 
@@ -188,6 +191,12 @@ Would you like to add your commits to libui?
188
191
  * Small corrections, such as typofixes, are appreciated.
189
192
  * Did you find any bugs? Write it in the [issues](https://github.com/kojix2/LibUI/issue) section!
190
193
 
194
+ ```
195
+ Do you need commit rights to my repository?
196
+ Do you want to get admin rights and take over the project?
197
+ If so, please feel free to contact me @kojix2.
198
+ ```
199
+
191
200
  ## Acknowledgement
192
201
 
193
202
  This project is inspired by libui-ruby.
@@ -18,7 +18,7 @@ module LibUI
18
18
  # See the monkey patch in ffi.rb.
19
19
  _f, ret_type, arg_types = func.callback_argument_types[idx]
20
20
  # TODO: raise some nice error if _f is nil.
21
-
21
+
22
22
  callback = Fiddle::Closure::BlockCaller.new(
23
23
  ret_type, arg_types, &arg
24
24
  )
data/lib/libui/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module LibUI
2
- VERSION = '0.0.13'
2
+ VERSION = '0.0.14'
3
3
  end
data/lib/libui.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require_relative 'libui/version'
2
2
  require_relative 'libui/utils'
3
+ require 'rbconfig'
3
4
 
4
5
  module LibUI
5
6
  class Error < StandardError; end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - kojix2
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-23 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -49,7 +49,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
49
  - !ruby/object:Gem::Version
50
50
  version: '0'
51
51
  requirements: []
52
- rubygems_version: 3.2.22
52
+ rubygems_version: 3.3.3
53
53
  signing_key:
54
54
  specification_version: 4
55
55
  summary: Ruby bindings to libui