natty-ui 0.8.0 → 0.9.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 +4 -4
- data/.yardopts +3 -2
- data/examples/24bit-colors.rb +11 -7
- data/examples/3bit-colors.rb +3 -2
- data/examples/8bit-colors.rb +2 -2
- data/examples/animate.rb +24 -0
- data/examples/attributes.rb +20 -65
- data/examples/demo.rb +39 -203
- data/examples/illustration.rb +27 -23
- data/examples/{list_in_columns.rb → ls.rb} +11 -11
- data/examples/message.rb +30 -0
- data/examples/progress.rb +2 -2
- data/examples/query.rb +6 -2
- data/examples/read_key.rb +13 -0
- data/examples/table.rb +26 -8
- data/lib/natty-ui/ansi.rb +364 -328
- data/lib/natty-ui/ansi_constants.rb +73 -0
- data/lib/natty-ui/ansi_wrapper.rb +68 -23
- data/lib/natty-ui/key_map.rb +119 -0
- data/lib/natty-ui/line_animation/default.rb +35 -0
- data/lib/natty-ui/line_animation/matrix.rb +28 -0
- data/lib/natty-ui/line_animation/rainbow.rb +30 -0
- data/lib/natty-ui/line_animation/test.rb +29 -0
- data/lib/natty-ui/line_animation/type_writer.rb +64 -0
- data/lib/natty-ui/line_animation.rb +54 -0
- data/lib/natty-ui/version.rb +1 -1
- data/lib/natty-ui/wrapper/animate.rb +17 -0
- data/lib/natty-ui/wrapper/ask.rb +2 -8
- data/lib/natty-ui/wrapper/framed.rb +26 -21
- data/lib/natty-ui/wrapper/heading.rb +1 -1
- data/lib/natty-ui/wrapper/horizontal_rule.rb +3 -3
- data/lib/natty-ui/wrapper/list_in_columns.rb +7 -4
- data/lib/natty-ui/wrapper/message.rb +4 -4
- data/lib/natty-ui/wrapper/progress.rb +33 -8
- data/lib/natty-ui/wrapper/query.rb +9 -13
- data/lib/natty-ui/wrapper/request.rb +2 -2
- data/lib/natty-ui/wrapper/section.rb +25 -11
- data/lib/natty-ui/wrapper/table.rb +11 -11
- data/lib/natty-ui/wrapper.rb +19 -14
- data/lib/natty-ui.rb +64 -32
- metadata +16 -5
- data/examples/illustration.png +0 -0
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: natty-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Blumtritt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
This is the beautiful, nice, nifty, fancy, neat, pretty, cool, lovely,
|
@@ -28,20 +28,31 @@ files:
|
|
28
28
|
- examples/24bit-colors.rb
|
29
29
|
- examples/3bit-colors.rb
|
30
30
|
- examples/8bit-colors.rb
|
31
|
+
- examples/animate.rb
|
31
32
|
- examples/attributes.rb
|
32
33
|
- examples/demo.rb
|
33
|
-
- examples/illustration.png
|
34
34
|
- examples/illustration.rb
|
35
|
-
- examples/
|
35
|
+
- examples/ls.rb
|
36
|
+
- examples/message.rb
|
36
37
|
- examples/progress.rb
|
37
38
|
- examples/query.rb
|
39
|
+
- examples/read_key.rb
|
38
40
|
- examples/table.rb
|
39
41
|
- lib/natty-ui.rb
|
40
42
|
- lib/natty-ui/ansi.rb
|
43
|
+
- lib/natty-ui/ansi_constants.rb
|
41
44
|
- lib/natty-ui/ansi_wrapper.rb
|
42
45
|
- lib/natty-ui/features.rb
|
46
|
+
- lib/natty-ui/key_map.rb
|
47
|
+
- lib/natty-ui/line_animation.rb
|
48
|
+
- lib/natty-ui/line_animation/default.rb
|
49
|
+
- lib/natty-ui/line_animation/matrix.rb
|
50
|
+
- lib/natty-ui/line_animation/rainbow.rb
|
51
|
+
- lib/natty-ui/line_animation/test.rb
|
52
|
+
- lib/natty-ui/line_animation/type_writer.rb
|
43
53
|
- lib/natty-ui/version.rb
|
44
54
|
- lib/natty-ui/wrapper.rb
|
55
|
+
- lib/natty-ui/wrapper/animate.rb
|
45
56
|
- lib/natty-ui/wrapper/ask.rb
|
46
57
|
- lib/natty-ui/wrapper/element.rb
|
47
58
|
- lib/natty-ui/wrapper/framed.rb
|
@@ -81,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
92
|
- !ruby/object:Gem::Version
|
82
93
|
version: '0'
|
83
94
|
requirements: []
|
84
|
-
rubygems_version: 3.5.
|
95
|
+
rubygems_version: 3.5.14
|
85
96
|
signing_key:
|
86
97
|
specification_version: 4
|
87
98
|
summary: This is the beautiful, nice, nifty, fancy, neat, pretty, cool, lovely, natty
|
data/examples/illustration.png
DELETED
Binary file
|