glimmer-dsl-libui 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +15 -3
- data/VERSION +1 -1
- data/glimmer-dsl-libui.gemspec +0 -0
- data/lib/glimmer/rake_task/package.rb +43 -0
- data/lib/glimmer/rake_task.rb +21 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3ad3f4e1a2e367a8e95fba05f1b539f2aa865dfab7e2234541933be97dda171
|
4
|
+
data.tar.gz: 44255036ce4a887224c84f861d0654483bada4ff8ed3c2a1c4192083a19cf45b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e018c132e8b838ce839adeaae9d812d52ab8be960b87a8d3e5c85cf8045d988b83495640fb4bef7cb778960d2f25b7da8fcf4d659bd8ada7ed8277d26cc9ff9f
|
7
|
+
data.tar.gz: 3fb97e3a7946c9690c0bd48fdbee89d65f99833b11bd9b033c21b099e51f394b98d1aa96c4c51b9e0445c309a5b28f4f272c53174617e20b4e578dc602338c5a
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,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
|
2
|
-
## Prerequisite-Free Ruby Desktop Development Cross-Platform Native GUI Library
|
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.9.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)
|
5
5
|
[![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)
|
@@ -421,7 +421,7 @@ gem install glimmer-dsl-libui
|
|
421
421
|
Or install via Bundler `Gemfile`:
|
422
422
|
|
423
423
|
```ruby
|
424
|
-
gem 'glimmer-dsl-libui', '~> 0.9.
|
424
|
+
gem 'glimmer-dsl-libui', '~> 0.9.2'
|
425
425
|
```
|
426
426
|
|
427
427
|
Test that installation worked by running the [Glimmer Meta-Example](#examples):
|
@@ -685,12 +685,24 @@ The application comes with `juwelier` for auto-generating an application gem fro
|
|
685
685
|
|
686
686
|
You can package the newly scaffolded app as a Ruby gem by running this command:
|
687
687
|
|
688
|
+
```
|
689
|
+
glimmer package:gem
|
690
|
+
```
|
691
|
+
|
692
|
+
Or by using the raw rake command:
|
693
|
+
|
688
694
|
```
|
689
695
|
rake build
|
690
696
|
```
|
691
697
|
|
692
698
|
You can generate the application gemspec explicitly if needed with this command (though it is not needed to build the gem):
|
693
699
|
|
700
|
+
```
|
701
|
+
glimmer package:gemspec
|
702
|
+
```
|
703
|
+
|
704
|
+
Or by using the raw rake command:
|
705
|
+
|
694
706
|
```
|
695
707
|
rake gemspec:generate
|
696
708
|
```
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|
data/glimmer-dsl-libui.gemspec
CHANGED
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
# Copyright (c) 2021-2023 Andy Maleh
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
# a copy of this software and associated documentation files (the
|
5
|
+
# "Software"), to deal in the Software without restriction, including
|
6
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
# the following conditions:
|
10
|
+
#
|
11
|
+
# The above copyright notice and this permission notice shall be
|
12
|
+
# included in all copies or substantial portions of the Software.
|
13
|
+
#
|
14
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
+
|
22
|
+
require 'os'
|
23
|
+
|
24
|
+
module Glimmer
|
25
|
+
module RakeTask
|
26
|
+
module Package
|
27
|
+
class << self
|
28
|
+
def clean
|
29
|
+
require 'fileutils'
|
30
|
+
FileUtils.rm_rf('pkg')
|
31
|
+
end
|
32
|
+
|
33
|
+
def gemspec
|
34
|
+
system 'rake gemspec:generate'
|
35
|
+
end
|
36
|
+
|
37
|
+
def gem
|
38
|
+
system 'rake build'
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
data/lib/glimmer/rake_task.rb
CHANGED
@@ -66,6 +66,27 @@ namespace :glimmer do
|
|
66
66
|
Glimmer::Launcher.new([File.expand_path('../../../examples/meta_example.rb', __FILE__)]).launch
|
67
67
|
end
|
68
68
|
|
69
|
+
namespace :package do
|
70
|
+
task :package_dependencies do
|
71
|
+
require_relative 'rake_task/package'
|
72
|
+
end
|
73
|
+
|
74
|
+
desc 'Clean by removing "pkg" directory'
|
75
|
+
task :clean => :package_dependencies do
|
76
|
+
Glimmer::RakeTask::Package.clean
|
77
|
+
end
|
78
|
+
|
79
|
+
desc 'Generate gemspec'
|
80
|
+
task :gemspec => :package_dependencies do
|
81
|
+
Glimmer::RakeTask::Package.gemspec
|
82
|
+
end
|
83
|
+
|
84
|
+
desc 'Generate gem under "pkg" directory'
|
85
|
+
task :gem => :package_dependencies do
|
86
|
+
Glimmer::RakeTask::Package.gem
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
69
90
|
desc 'Scaffold Glimmer application directory structure to build a new app'
|
70
91
|
task :scaffold, [:app_name] do |t, args|
|
71
92
|
require_relative 'rake_task/scaffold'
|
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.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
@@ -606,6 +606,7 @@ files:
|
|
606
606
|
- lib/glimmer/proc_tracker.rb
|
607
607
|
- lib/glimmer/rake_task.rb
|
608
608
|
- lib/glimmer/rake_task/list.rb
|
609
|
+
- lib/glimmer/rake_task/package.rb
|
609
610
|
- lib/glimmer/rake_task/scaffold.rb
|
610
611
|
- sounds/AlanWalker-Faded.mid
|
611
612
|
- sounds/AlanWalker-SingMeToSleep.mid
|