ntcharts 0.1.0-arm-linux-gnu → 0.1.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 +4 -4
- data/LICENSE.txt +21 -0
- data/README.md +11 -1
- data/ext/ntcharts/extconf.rb +6 -2
- data/go/build/linux_arm/libntcharts.a +0 -0
- data/lib/ntcharts/3.2/ntcharts.so +0 -0
- data/lib/ntcharts/3.3/ntcharts.so +0 -0
- data/lib/ntcharts/3.4/ntcharts.so +0 -0
- data/lib/ntcharts/4.0/ntcharts.so +0 -0
- data/lib/ntcharts/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d757e9f5af3cda5ed5bd3e3c7c56abdcfe2e9c275180239cc80f0f21fd22e74a
|
|
4
|
+
data.tar.gz: dfa2fbcc49b9350014556206d4f2176fcc1a7fc43ccd0ffab50442efbf55227a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 03adb0e41db4aa7f6ae25548504c47bf4d003d122479c36441f812fb9b08ba57173647d93c29947bd92e8efb635b46f58ad8841c949392f907ffef66ea084f45
|
|
7
|
+
data.tar.gz: cb93727451a4c1497592948f488b94d9cbeda923ff47e257457317c43b526b197c220f0740fe13583cde040c48e13178566723a3d2e5494844afe0b9cf96d117
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Marco Roth
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
|
@@ -329,4 +329,14 @@ The gem is available as open source under the terms of the MIT License.
|
|
|
329
329
|
|
|
330
330
|
## Acknowledgments
|
|
331
331
|
|
|
332
|
-
This gem wraps [NimbleMarkets/ntcharts](https://github.com/NimbleMarkets/ntcharts), which builds on the excellent [Charm](https://charm.sh) ecosystem including [lipgloss](https://github.com/charmbracelet/lipgloss).
|
|
332
|
+
This gem wraps [NimbleMarkets/ntcharts](https://github.com/NimbleMarkets/ntcharts), which builds on the excellent [Charm](https://charm.sh) ecosystem including [lipgloss](https://github.com/charmbracelet/lipgloss). Charm Ruby is not affiliated with or endorsed by Charmbracelet, Inc.
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
Part of [Charm Ruby](https://charm-ruby.dev).
|
|
337
|
+
|
|
338
|
+
<a href="https://charm-ruby.dev"><img alt="Charm Ruby" src="https://marcoroth.dev/images/heros/glamorous-christmas.png" width="400"></a>
|
|
339
|
+
|
|
340
|
+
[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)
|
|
341
|
+
|
|
342
|
+
The terminal doesn't have to be boring.
|
data/ext/ntcharts/extconf.rb
CHANGED
|
@@ -42,16 +42,20 @@ unless File.exist?(File.join(go_lib_dir, "libntcharts.a"))
|
|
|
42
42
|
ERROR
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
go_lib_path = File.join(go_lib_dir, "libntcharts.a")
|
|
46
|
+
|
|
45
47
|
$LDFLAGS << " -L#{go_lib_dir}"
|
|
46
48
|
$INCFLAGS << " -I#{go_lib_dir}"
|
|
47
49
|
|
|
48
|
-
$LOCAL_LIBS << " #{go_lib_dir}/libntcharts.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_ntcharts"
|
|
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
|
data/lib/ntcharts/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ntcharts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: arm-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Marco Roth
|
|
@@ -30,6 +30,7 @@ executables: []
|
|
|
30
30
|
extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
|
32
32
|
files:
|
|
33
|
+
- LICENSE.txt
|
|
33
34
|
- README.md
|
|
34
35
|
- ext/ntcharts/barchart.c
|
|
35
36
|
- ext/ntcharts/extconf.rb
|