bubbletea 0.1.0 → 0.1.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/README.md +11 -1
- data/ext/bubbletea/extconf.rb +6 -2
- data/lib/bubbletea/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: bc5e3fdf2f01845c74788d0f37928899d19fc651c90651120ea84d608a54c2b1
|
|
4
|
+
data.tar.gz: 6f8e02049ef426acb48234a3b74cbd55595b2061739c8e4ba33b303007fd36af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75f3a0347ae68abc816a30fcbdd46d4d7c002c82aabd7d92ff01dde7fbb5a1ffaa24533a71a96e6bcf5e8db5b0907de9b05ba693af31663df9402273cbd73df0
|
|
7
|
+
data.tar.gz: 6fa5dd2b0e3f1feeba60c061f15518db80dcdbbc06dbdb902c1e83eb4fab24d8a7ed1dc0fcddd7f79c7532f457210cd39c4eed055350695078d404d271057fe2
|
data/README.md
CHANGED
|
@@ -261,4 +261,14 @@ The gem is available as open source under the terms of the MIT License.
|
|
|
261
261
|
|
|
262
262
|
## Acknowledgments
|
|
263
263
|
|
|
264
|
-
This gem wraps [charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea), part of the excellent [Charm](https://charm.sh) ecosystem.
|
|
264
|
+
This gem wraps [charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea), part of the excellent [Charm](https://charm.sh) ecosystem. Charm Ruby is not affiliated with or endorsed by Charmbracelet, Inc.
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
Part of [Charm Ruby](https://charm-ruby.dev).
|
|
269
|
+
|
|
270
|
+
<a href="https://charm-ruby.dev"><img alt="Charm Ruby" src="https://marcoroth.dev/images/heros/glamorous-christmas.png" width="400"></a>
|
|
271
|
+
|
|
272
|
+
[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)
|
|
273
|
+
|
|
274
|
+
The terminal doesn't have to be boring.
|
data/ext/bubbletea/extconf.rb
CHANGED
|
@@ -42,16 +42,20 @@ unless File.exist?(File.join(go_lib_dir, "libbubbletea.a"))
|
|
|
42
42
|
ERROR
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
go_lib_path = File.join(go_lib_dir, "libbubbletea.a")
|
|
46
|
+
|
|
45
47
|
$LDFLAGS << " -L#{go_lib_dir}"
|
|
46
48
|
$INCFLAGS << " -I#{go_lib_dir}"
|
|
47
49
|
|
|
48
|
-
$LOCAL_LIBS << " #{go_lib_dir}/libbubbletea.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_bubbletea"
|
|
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
|
data/lib/bubbletea/version.rb
CHANGED