rich-ruby 1.0.0
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +546 -0
- data/examples/demo.rb +106 -0
- data/examples/showcase.rb +420 -0
- data/examples/smoke_test.rb +41 -0
- data/examples/stress_test.rb +604 -0
- data/examples/syntax_markdown_demo.rb +166 -0
- data/examples/verify.rb +215 -0
- data/examples/visual_demo.rb +145 -0
- data/lib/rich/_palettes.rb +148 -0
- data/lib/rich/box.rb +342 -0
- data/lib/rich/cells.rb +512 -0
- data/lib/rich/color.rb +628 -0
- data/lib/rich/color_triplet.rb +220 -0
- data/lib/rich/console.rb +549 -0
- data/lib/rich/control.rb +332 -0
- data/lib/rich/json.rb +254 -0
- data/lib/rich/layout.rb +314 -0
- data/lib/rich/markdown.rb +509 -0
- data/lib/rich/markup.rb +175 -0
- data/lib/rich/panel.rb +311 -0
- data/lib/rich/progress.rb +430 -0
- data/lib/rich/segment.rb +387 -0
- data/lib/rich/style.rb +433 -0
- data/lib/rich/syntax.rb +1145 -0
- data/lib/rich/table.rb +525 -0
- data/lib/rich/terminal_theme.rb +126 -0
- data/lib/rich/text.rb +433 -0
- data/lib/rich/tree.rb +220 -0
- data/lib/rich/version.rb +5 -0
- data/lib/rich/win32_console.rb +582 -0
- data/lib/rich.rb +108 -0
- metadata +106 -0
metadata
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: rich-ruby
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- tigel-agm
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: minitest
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '5.0'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '5.0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: rbs
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '3.0'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '3.0'
|
|
40
|
+
description: "A pure Ruby implementation of rich terminal output with full Windows
|
|
41
|
+
Console API \nsupport via Fiddle. Features include styled text, tables, panels,
|
|
42
|
+
progress bars,\nspinners, live display, syntax highlighting, and more. No external
|
|
43
|
+
dependencies.\n"
|
|
44
|
+
executables: []
|
|
45
|
+
extensions: []
|
|
46
|
+
extra_rdoc_files: []
|
|
47
|
+
files:
|
|
48
|
+
- LICENSE
|
|
49
|
+
- README.md
|
|
50
|
+
- examples/demo.rb
|
|
51
|
+
- examples/showcase.rb
|
|
52
|
+
- examples/smoke_test.rb
|
|
53
|
+
- examples/stress_test.rb
|
|
54
|
+
- examples/syntax_markdown_demo.rb
|
|
55
|
+
- examples/verify.rb
|
|
56
|
+
- examples/visual_demo.rb
|
|
57
|
+
- lib/rich.rb
|
|
58
|
+
- lib/rich/_palettes.rb
|
|
59
|
+
- lib/rich/box.rb
|
|
60
|
+
- lib/rich/cells.rb
|
|
61
|
+
- lib/rich/color.rb
|
|
62
|
+
- lib/rich/color_triplet.rb
|
|
63
|
+
- lib/rich/console.rb
|
|
64
|
+
- lib/rich/control.rb
|
|
65
|
+
- lib/rich/json.rb
|
|
66
|
+
- lib/rich/layout.rb
|
|
67
|
+
- lib/rich/markdown.rb
|
|
68
|
+
- lib/rich/markup.rb
|
|
69
|
+
- lib/rich/panel.rb
|
|
70
|
+
- lib/rich/progress.rb
|
|
71
|
+
- lib/rich/segment.rb
|
|
72
|
+
- lib/rich/style.rb
|
|
73
|
+
- lib/rich/syntax.rb
|
|
74
|
+
- lib/rich/table.rb
|
|
75
|
+
- lib/rich/terminal_theme.rb
|
|
76
|
+
- lib/rich/text.rb
|
|
77
|
+
- lib/rich/tree.rb
|
|
78
|
+
- lib/rich/version.rb
|
|
79
|
+
- lib/rich/win32_console.rb
|
|
80
|
+
homepage: https://github.com/tigel-agm/rich
|
|
81
|
+
licenses:
|
|
82
|
+
- MIT
|
|
83
|
+
metadata:
|
|
84
|
+
homepage_uri: https://github.com/tigel-agm/rich
|
|
85
|
+
source_code_uri: https://github.com/tigel-agm/rich
|
|
86
|
+
windows_compatible: 'true'
|
|
87
|
+
msvc_compatible: 'true'
|
|
88
|
+
rubygems_mfa_required: 'true'
|
|
89
|
+
rdoc_options: []
|
|
90
|
+
require_paths:
|
|
91
|
+
- lib
|
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 3.4.0
|
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
|
+
requirements:
|
|
99
|
+
- - ">="
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0'
|
|
102
|
+
requirements: []
|
|
103
|
+
rubygems_version: 3.6.9
|
|
104
|
+
specification_version: 4
|
|
105
|
+
summary: Rich terminal formatting for Ruby (Windows-native)
|
|
106
|
+
test_files: []
|