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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/astropanel +2 -1
  3. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86f36b0da5f8e2cbccf88545c4ee52d9923150f5432d44006a3f174871b06df1
4
- data.tar.gz: e1d5f3a2665b71afee7f3f695af0628f574de095a62140af64b0e4801ab32c0d
3
+ metadata.gz: e6e5c15cc15be0627c04ec5349c2fe80d81b20868e93b2b0dc1d2057a224e999
4
+ data.tar.gz: 74d98457257a37db3d6bc93ba8e622688966797a1d126bf87486b367d51e11b8
5
5
  SHA512:
6
- metadata.gz: 1ec0ef9f77b314569ddb8f2ef71000b421335f32b82e73ab07ae25daa6683a439c5e1abc7ad86a28789eb0a0c5aff2213eb621bb19d3c8ff3bbe0c8d52826bb3
7
- data.tar.gz: 0f6ca8e1e909ca7e88fb640a4f98de792a6e1e6bb6bcc13c7d3f022a4a45759916985d22ec160cd3f37b07cf4b4ffba8facccde378fcad76bbf16bb9a1afd3ea
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
- txt = " YYYY-MM-DD HH Cld Hum Temp Wind ! #{body_list} #{@loc} tz#{@tz} Lat/Lon #{@lat}/#{@lon} Bortle #{@bortle} Updated #{@time}".b
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.0'
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-09 00:00:00.000000000 Z
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