lipgloss 0.2.0-arm-linux-gnu → 0.2.1-arm-linux-gnu
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/README.md +15 -7
- data/ext/lipgloss/extconf.rb +6 -2
- data/go/build/linux_arm/liblipgloss.a +0 -0
- data/lib/lipgloss/3.2/lipgloss.so +0 -0
- data/lib/lipgloss/3.3/lipgloss.so +0 -0
- data/lib/lipgloss/3.4/lipgloss.so +0 -0
- data/lib/lipgloss/4.0/lipgloss.so +0 -0
- data/lib/lipgloss/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c002d6b2cf252635cf46b3f8d1df29c2a055c402186319b922b41734049ab4e
|
|
4
|
+
data.tar.gz: '018a716651dd45eabc20bcd21f9ca2b3f831f1c06834a9b817804e0474b251fe'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96f5037cbcbaac32a69715630404259aff779c349aacdc3a7d56ad76baf87a6f6f9278b709177b82f27de70459fb5feccb7ab9e2f0d5a75db966a11d1a4c72cf
|
|
7
|
+
data.tar.gz: 6c43cb0330d7c27010e7ab789dc8aee3133e1961199be20c3a16353be2908bf1bb9d11977c8c2f54d64de6e39b88957c9ad205544de2d64eadca417fcd445834
|
data/README.md
CHANGED
|
@@ -296,8 +296,7 @@ puts list.render
|
|
|
296
296
|
**Create tree structures:**
|
|
297
297
|
|
|
298
298
|
```ruby
|
|
299
|
-
tree = Lipgloss::Tree.
|
|
300
|
-
.root("Project")
|
|
299
|
+
tree = Lipgloss::Tree.root("Project")
|
|
301
300
|
.child("src")
|
|
302
301
|
.child("lib")
|
|
303
302
|
.child("test")
|
|
@@ -308,11 +307,10 @@ puts tree.render
|
|
|
308
307
|
**Nested trees:**
|
|
309
308
|
|
|
310
309
|
```ruby
|
|
311
|
-
src = Lipgloss::Tree.
|
|
312
|
-
test = Lipgloss::Tree.
|
|
310
|
+
src = Lipgloss::Tree.root("src").child("main.rb").child("helper.rb")
|
|
311
|
+
test = Lipgloss::Tree.root("test").child("test_main.rb")
|
|
313
312
|
|
|
314
|
-
tree = Lipgloss::Tree.
|
|
315
|
-
.root("Project")
|
|
313
|
+
tree = Lipgloss::Tree.root("Project")
|
|
316
314
|
.child(src)
|
|
317
315
|
.child(test)
|
|
318
316
|
|
|
@@ -487,4 +485,14 @@ The gem is available as open source under the terms of the MIT License.
|
|
|
487
485
|
|
|
488
486
|
## Acknowledgments
|
|
489
487
|
|
|
490
|
-
This gem wraps [charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss), part of the excellent [Charm](https://charm.sh) ecosystem.
|
|
488
|
+
This gem wraps [charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss), part of the excellent [Charm](https://charm.sh) ecosystem. Charm Ruby is not affiliated with or endorsed by Charmbracelet, Inc.
|
|
489
|
+
|
|
490
|
+
---
|
|
491
|
+
|
|
492
|
+
Part of [Charm Ruby](https://charm-ruby.dev).
|
|
493
|
+
|
|
494
|
+
<a href="https://charm-ruby.dev"><img alt="Charm Ruby" src="https://marcoroth.dev/images/heros/glamorous-christmas.png" width="400"></a>
|
|
495
|
+
|
|
496
|
+
[Lipgloss](https://github.com/marcoroth/lipgloss-ruby) • [Bubble Tea](https://github.com/marcoroth/bubbletea-ruby) • [Bubbles](https://github.com/marcoroth/bubbles-ruby) • [Glamour](https://github.com/marcoroth/glamour-ruby) • [Huh?](https://github.com/marcoroth/huh-ruby) • [Harmonica](https://github.com/marcoroth/harmonica-ruby) • [Bubblezone](https://github.com/marcoroth/bubblezone-ruby) • [Gum](https://github.com/marcoroth/gum-ruby) • [ntcharts](https://github.com/marcoroth/ntcharts-ruby)
|
|
497
|
+
|
|
498
|
+
The terminal doesn't have to be boring.
|
data/ext/lipgloss/extconf.rb
CHANGED
|
@@ -42,16 +42,20 @@ unless File.exist?(File.join(go_lib_dir, "liblipgloss.a"))
|
|
|
42
42
|
ERROR
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
go_lib_path = File.join(go_lib_dir, "liblipgloss.a")
|
|
46
|
+
|
|
45
47
|
$LDFLAGS << " -L#{go_lib_dir}"
|
|
46
48
|
$INCFLAGS << " -I#{go_lib_dir}"
|
|
47
49
|
|
|
48
|
-
$LOCAL_LIBS << " #{go_lib_dir}/liblipgloss.a"
|
|
49
|
-
|
|
50
50
|
case RbConfig::CONFIG["host_os"]
|
|
51
51
|
when /darwin/
|
|
52
|
+
$LDFLAGS << " -Wl,-load_hidden,#{go_lib_path}"
|
|
53
|
+
$LDFLAGS << " -Wl,-exported_symbol,_Init_lipgloss"
|
|
52
54
|
$LDFLAGS << " -framework CoreFoundation -framework Security -framework SystemConfiguration"
|
|
53
55
|
$LDFLAGS << " -lresolv"
|
|
54
56
|
when /linux/
|
|
57
|
+
$LOCAL_LIBS << " #{go_lib_path}"
|
|
58
|
+
$LDFLAGS << " -Wl,--exclude-libs,ALL"
|
|
55
59
|
$LDFLAGS << " -lpthread -lm -ldl"
|
|
56
60
|
$LDFLAGS << " -lresolv" if find_library("resolv", "res_query")
|
|
57
61
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/lipgloss/version.rb
CHANGED