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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 233090f01a0a7b63b5a2fe7cafa1cea8b714fe846ad6dac9ee852238b80692ee
4
- data.tar.gz: 6e8084cbcb55dd14712c61e8d994a68fe7d9e538d71497dae7da2dc2389c5d17
3
+ metadata.gz: 9b21e49bf509151892f59c9ed4119f6a829950953e98fce4bad3a610c34becb3
4
+ data.tar.gz: ac793e32637f7d12736d3e1d8b95914f878eeedd173a6f18527dc1d7f081fafb
5
5
  SHA512:
6
- metadata.gz: 8df820e13416ce757560d86d7d6cf5ab14da8c6a698db44c6620ab2e07b423f90235586a8cd218a44badf26ad008f824d7475067b06cad8df489fdd4cb3869b4
7
- data.tar.gz: 89f04858df8e4fe9a14d0594c2e68dc661c16fd00bf5a6242941c7d44d1faed8e7ac6b9f654b03d0088139d6157d59dc40f59ee15e00e7552beef451312da2de
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/marcoroth/lipgloss-ruby) and [bubbletea](https://github.com/marcoroth/bubbletea-ruby).
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.
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bubblezone
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: bubblezone
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