astropanel 2.0 → 2.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 +4 -4
- data/bin/astropanel +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6e5c15cc15be0627c04ec5349c2fe80d81b20868e93b2b0dc1d2057a224e999
|
4
|
+
data.tar.gz: 74d98457257a37db3d6bc93ba8e622688966797a1d126bf87486b367d51e11b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48230a0f5035b2e2c1241e3ddd885d548927127fa547a7c1fd2f37e6615b4e659fbbfb7cd1b7237edb23df18b0641f2bcdf6d0f669d3ccc6543bce4d535cde7a
|
7
|
+
data.tar.gz: 737f397cd67e8c7489e6c10fa0cf11870d7d32a9f3c5d093063e47a5b78bb9f27d50695d997cb2a00a7cfab94c978344e68aee14aadb0c847a8ea3c91b56ade2
|
data/bin/astropanel
CHANGED
@@ -697,7 +697,8 @@ class AstroPanelApp
|
|
697
697
|
def update_header # {{{2
|
698
698
|
body_list = BODIES.map { |b| SYMBOLS[b].fg(BODY_COLORS[b]) }.join(' ')
|
699
699
|
_, cols = IO.console.winsize
|
700
|
-
|
700
|
+
jd = DateTime.now.ajd + (Time.now.sec + Time.now.min*60 + Time.now.hour*3600)/86400.0
|
701
|
+
txt = " YYYY-MM-DD HH Cld Hum Temp Wind ! #{body_list} #{@loc} tz#{@tz} (#{@lat}/#{@lon}) Bortle #{@bortle} Updated #{@time} JD:#{'%.5f' % jd}".b
|
701
702
|
@header.clear
|
702
703
|
@header.say(txt.ljust(cols))
|
703
704
|
end
|
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: '2.
|
4
|
+
version: '2.1'
|
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-05-
|
11
|
+
date: 2025-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rcurses
|
@@ -28,7 +28,8 @@ description: 'This program shows essential data in order to plan your observatio
|
|
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)
|
31
|
+
New in 2.0: Full rewrite using rcurses (https://github.com/isene/rcurses). 2.1:
|
32
|
+
Added JD.'
|
32
33
|
email: g@isene.com
|
33
34
|
executables:
|
34
35
|
- astropanel
|