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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a9b835895facf2011849ca3f6e9b0d68a1b7bdacd243d02a391c7e6659810d1
4
- data.tar.gz: 4770a1ba5d6c01445d0be52115a9e33b022497629d7bd523293f017c243ba78e
3
+ metadata.gz: 6c002d6b2cf252635cf46b3f8d1df29c2a055c402186319b922b41734049ab4e
4
+ data.tar.gz: '018a716651dd45eabc20bcd21f9ca2b3f831f1c06834a9b817804e0474b251fe'
5
5
  SHA512:
6
- metadata.gz: b149c6a080cfe8a3a9af9344f0e202bb39b58c094fea8303e34cf51b233ecca19bd85149cb79e6f394720f7018f3aa55a11a78cf587fbc353caec3f145e93843
7
- data.tar.gz: 87ccd298442a0d9093ef83d07a41617fa5a7c157df26d2b3f32b58ec8222e8b002bd572025e384ce5d226d505922dfa063a4fb47140d2758ddd7685c7b3d7a02
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.new
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.new.root("src").child("main.rb").child("helper.rb")
312
- test = Lipgloss::Tree.new.root("test").child("test_main.rb")
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.new
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.
@@ -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
@@ -2,5 +2,5 @@
2
2
  # rbs_inline: enabled
3
3
 
4
4
  module Lipgloss
5
- VERSION = "0.2.0" #: String
5
+ VERSION = "0.2.1" #: String
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lipgloss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: arm-linux-gnu
6
6
  authors:
7
7
  - Marco Roth