telescope-term 0.5.3 → 0.5.4

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/telescope +6 -6
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bccc053edff15e7f32e22c80a0cff25b3ffbc88155743eae29b4cfc1b0a6591
4
- data.tar.gz: 6b94e933c3bf9b2f263940b5bded516e155972fea4b7cfe492dc9d59ca5b8899
3
+ metadata.gz: 1e39aeebfaa4fecec0d561cbdc2af5185dc6a0d7290de68a38cc5192c2e90867
4
+ data.tar.gz: aac05e0a5b7e9f8f134dbb1cd8b3e7c4d69bddecbeeec241c032e7aa53d222a1
5
5
  SHA512:
6
- metadata.gz: bad1524541bd4b94f2c8ea827860239ba74c3bb76fc0b0405828dde8c5c833f612b3cf403f86f8123eb2c4228e34922f00e057b58f9da7a73ef0ce57d542a934
7
- data.tar.gz: 9c58155c752fc6b0bd24b6791be425d0b5c53b08ca7d0c5e01d9f94392ea3dfe751d48a015ab45740df4179468b0f6623f2ad3fcccd7af575bed79c779b1e0d8
6
+ metadata.gz: fece1d6680316403ff013e5328da25fba67a101648914a65b3d0ae4a3c9275130cab17c476d307850345a8ec09e16888353f9107e0eaa65faf0746a29e190ed2
7
+ data.tar.gz: 3182803706369be8ab32e191bac1219795983942766f4ce4bcf2a54fc57c793b15c65ec49481620eb13570a750c872fddd34e2ce5981f78b356e7fb345b9b511
data/bin/telescope CHANGED
@@ -402,16 +402,16 @@ end
402
402
  # TELESCOPE FUNCTIONS (top window, w_ts)
403
403
  def w_ts_show
404
404
  @w_ts.setpos(0,0)
405
- heading = " TELESCOPES APP(mm) FL(mm) F/? <MAG xEYE MINx MAXx *FIELD GX/NEB PL/GCL PLd/2* TGHT2* DL-SEP RC-SEP MOON SUN"
405
+ heading = " TELESCOPES APP(mm) FL(mm) F/? <MAG xEYE MINx MAXx *FIELD GX/NEB PL/GCL PLd/2* TGHT2* DL-SEP RC-SEP MOON SUN"
406
406
  heading += " " * (@w_ts.maxx - heading.length).abs
407
407
  @w_ts.pa(255, 94, Curses::A_BOLD, heading)
408
408
  @w_ts.fg = 15
409
409
  @w_ts.bg = 0
410
410
  @ts.each_with_index do |scope, i|
411
- name = scope[0][0...15]
411
+ name = scope[0][0...18]
412
412
  d = scope[1]
413
413
  f = scope[2]
414
- out = " " + name.ljust(15)
414
+ out = " " + name.ljust(18)
415
415
  out += d.to_s.rjust(8)
416
416
  out += f.to_s.rjust(8)
417
417
  attr = Curses::A_BOLD
@@ -470,17 +470,17 @@ def w_ep_show
470
470
  end
471
471
  heading = " " * (@w_ep.maxx - @w_ep.curx)
472
472
  @w_ep.p(heading)
473
- heading = " EYEPIECES FL(mm) AFOV "
473
+ heading = " EYEPIECES FL(mm) AFOV "
474
474
  heading += "│ xMAGN FOV(dms) XPUP " * @ts.length
475
475
  heading += " " * (@w_ep.maxx - heading.length).abs
476
476
  @w_ep.pa(231, 240, Curses::A_BOLD, heading)
477
477
  @w_ep.fg = 15
478
478
  @w_ep.bg = 0
479
479
  @ep.each_with_index do |ep, i|
480
- name = ep[0][0...15]
480
+ name = ep[0][0...18]
481
481
  m = ep[1].truncate(1)
482
482
  a = ep[2]
483
- out = " " + name.ljust(15)
483
+ out = " " + name.ljust(18)
484
484
  out += m.to_s.rjust(8)
485
485
  out += a.to_s.rjust(6) + "°"
486
486
  attr = Curses::A_BOLD
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telescope-term
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geir Isene
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-11 00:00:00.000000000 Z
11
+ date: 2021-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: curses
@@ -32,8 +32,8 @@ dependencies:
32
32
  version: 1.3.2
33
33
  description: 'With this program you can list your telescopes and eyepieces and get
34
34
  a set of calculations done for each scope and for the combination of scope and eyepiece.
35
- Easy interface. Run the program, then hit ''?'' to show the help file. New in v0.5.3:
36
- Improved navigation.'
35
+ Easy interface. Run the program, then hit ''?'' to show the help file. New in v0.5.4:
36
+ Wider name for telescopes/eyepieces.'
37
37
  email: g@isene.com
38
38
  executables:
39
39
  - telescope