astropanel 3.0.0 → 4.0.0
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/bin/astropanel +6 -3
- metadata +6 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 721a794f0a0c6c84cafa4dff6c93ad6741a247ece7710809735b631a3c9a782c
|
4
|
+
data.tar.gz: 1ddffb11f1a0f61b2764295e846dfd80ca74497b5025ab4fdc716d632496f067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ae5ab39b7eea65c3338d73e4041926a9850eb9c7b8c18241a75f530b83d7e61592a188cf0f7af029744dd53f929f23fb684a7b5c62398eef8cdc40d2055fbbf
|
7
|
+
data.tar.gz: '08227fd9689b5d494518a8f465c0835c63bb082e3cd615f0f7f6c5272eb2fb117de618457ac31a48055274e6f51c0f0396fd350f5c12a45d1008781f10b103cb'
|
data/bin/astropanel
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
# for any damages resulting from its use. Further, I am under no
|
15
15
|
# obligation to maintain or extend this software. It is provided
|
16
16
|
# on an 'as is' basis without any expressed or implied warranty.
|
17
|
-
# Version:
|
18
|
-
#
|
17
|
+
# Version: 4.0.0: Breaking change - requires rcurses 6.0.0+ with explicit initialization
|
18
|
+
# for Ruby 3.4+ compatibility
|
19
19
|
|
20
20
|
# LOAD MODULES {{{1
|
21
21
|
require 'io/console'
|
@@ -1249,12 +1249,15 @@ begin
|
|
1249
1249
|
# a single quick DNS + TCP check
|
1250
1250
|
TCPSocket.new('api.met.no', 443).close
|
1251
1251
|
rescue SocketError, Socket::ResolutionError => e
|
1252
|
-
$stderr.puts "FATAL: can
|
1252
|
+
$stderr.puts "FATAL: can't resolve api.met.no – network appears down (#{e.message})"
|
1253
1253
|
$stdin.cooked!
|
1254
1254
|
$stdin.echo = true
|
1255
1255
|
exit!
|
1256
1256
|
end
|
1257
1257
|
|
1258
|
+
# Initialize rcurses (required for rcurses 6.0.0+)
|
1259
|
+
Rcurses.init!
|
1260
|
+
|
1258
1261
|
AstroPanelApp.new
|
1259
1262
|
|
1260
1263
|
# VIM MODELINE{{{1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: astropanel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geir Isene
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcurses
|
@@ -16,21 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '6.0'
|
27
27
|
description: 'This program shows essential data in order to plan your observations:
|
28
28
|
9 days weather forecast, full ephemeris for the Sun, the Moon and all major planets,
|
29
29
|
complete with graphic representation of rise/set times, detailed info for each day
|
30
30
|
with important astronomical events, star chart displayed in the terminal and more.
|
31
|
-
|
32
|
-
|
33
|
-
ephemeris calculations from https://github.com/isene/ephemeris'
|
31
|
+
Version 4.0.0: Breaking change - requires rcurses 6.0.0+ with explicit initialization
|
32
|
+
for Ruby 3.4+ compatibility.'
|
34
33
|
email: g@isene.com
|
35
34
|
executables:
|
36
35
|
- astropanel
|