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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/astropanel +6 -3
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0553cb39f667994df7805a9fadb794e93bb39f58dccc33f2403ea55b2ff77dd5
4
- data.tar.gz: eb655ebd2e4322298e3b5eef5e9abf1fe464fd5188fadfbe6077537a4e62b481
3
+ metadata.gz: 721a794f0a0c6c84cafa4dff6c93ad6741a247ece7710809735b631a3c9a782c
4
+ data.tar.gz: 1ddffb11f1a0f61b2764295e846dfd80ca74497b5025ab4fdc716d632496f067
5
5
  SHA512:
6
- metadata.gz: 62e8e01ecaa8d7676a39d7bd1cb4e9a4446b5b5f18d9222b48a8e163cf8ce3b9d5c0718816107ede2fc0f4310c67f404617281cbb8b41e5cbf62a47065b1bfd9
7
- data.tar.gz: 38fff35103e802c3fee09f401c4f07d11350b6a0d010797939cc0d4eb806033a0d3b2747804ee41358d4b8df2869ef4416c34f59e3c54763a27c1ce1a9dc326c
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: 3.0.0: Major accuracy improvement with IAU 2006 obliquity standard and
18
- # higher-precision ephemeris calculations from https://github.com/isene/ephemeris
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: cant resolve api.met.no – network appears down (#{e.message})"
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: 3.0.0
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-07-06 00:00:00.000000000 Z
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: '3.5'
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: '3.5'
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
- New in 2.0: Full rewrite using rcurses (https://github.com/isene/rcurses). 3.0.0:
32
- Major accuracy improvement with IAU 2006 obliquity standard and higher-precision
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