bubblezone 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/bubblezone/extconf.rb +6 -2
- data/lib/bubblezone/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: 9b21e49bf509151892f59c9ed4119f6a829950953e98fce4bad3a610c34becb3
|
|
4
|
+
data.tar.gz: ac793e32637f7d12736d3e1d8b95914f878eeedd173a6f18527dc1d7f081fafb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d395d29e520fbe4e75c76a729259b3b2d81e03aa2c58a56f593081a42744d00e5777ef1e1355331fd329d7da5fc84fca368b265e3c2d464724c25b773f0649da
|
|
7
|
+
data.tar.gz: 1b9c146d6f76b956adc381c75a6de78f90e71f29bbe75710dd6f3060419f231977101c7459ddb55a44efc434cdee46bea746b6ad6f96d3e6a008db8cbd232c79
|
data/README.md
CHANGED
|
@@ -367,4 +367,14 @@ The gem is available as open source under the terms of the MIT License.
|
|
|
367
367
|
|
|
368
368
|
## Acknowledgments
|
|
369
369
|
|
|
370
|
-
This gem wraps [lrstanley/bubblezone](https://github.com/lrstanley/bubblezone), which provides zone tracking for terminal UIs and builds on the excellent [Charm](https://charm.sh) ecosystem, including [lipgloss](https://github.com/
|
|
370
|
+
This gem wraps [lrstanley/bubblezone](https://github.com/lrstanley/bubblezone), which provides zone tracking for terminal UIs and builds on the excellent [Charm](https://charm.sh) ecosystem, including [lipgloss](https://github.com/charmbracelet/lipgloss) and [bubbletea](https://github.com/charmbracelet/bubbletea). Charm Ruby is not affiliated with or endorsed by Charmbracelet, Inc.
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
Part of [Charm Ruby](https://charm-ruby.dev).
|
|
375
|
+
|
|
376
|
+
<a href="https://charm-ruby.dev"><img alt="Charm Ruby" src="https://marcoroth.dev/images/heros/glamorous-christmas.png" width="400"></a>
|
|
377
|
+
|
|
378
|
+
[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)
|
|
379
|
+
|
|
380
|
+
The terminal doesn't have to be boring.
|
data/ext/bubblezone/extconf.rb
CHANGED
|
@@ -42,16 +42,20 @@ unless File.exist?(File.join(go_lib_dir, "libbubblezone.a"))
|
|
|
42
42
|
ERROR
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
go_lib_path = File.join(go_lib_dir, "libbubblezone.a")
|
|
46
|
+
|
|
45
47
|
$LDFLAGS << " -L#{go_lib_dir}"
|
|
46
48
|
$INCFLAGS << " -I#{go_lib_dir}"
|
|
47
49
|
|
|
48
|
-
$LOCAL_LIBS << " #{go_lib_dir}/libbubblezone.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_bubblezone"
|
|
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/bubblezone/version.rb
CHANGED