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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: acdee3b175481f16d4a4080472a633b4c80efa7c5042c75441f01827b58840dd
4
- data.tar.gz: 1b8b37c756c887225add359144efac1810d162ce187ebcdbe0e07c2b90076648
3
+ metadata.gz: bc5e3fdf2f01845c74788d0f37928899d19fc651c90651120ea84d608a54c2b1
4
+ data.tar.gz: 6f8e02049ef426acb48234a3b74cbd55595b2061739c8e4ba33b303007fd36af
5
5
  SHA512:
6
- metadata.gz: c93f2b40dd0fa39d0567ea57ea59c757d4cfbf378f59ceabe8f1ec621b869b4e3734749cfc0e2e812b7b8135e9aa2ad71c0dd21f0da1004ab21831edc81f3f34
7
- data.tar.gz: 567a50b78e99970ed2f2b0678f78602c7fc8efa7c578d5918dfbe65c9bad5fa87021167d0ae210d5b7289d237926bbfac7e67f17054f583be93b20913ec10656
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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bubbletea
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubbletea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marco Roth