telescope-term 2.0.1 → 2.0.2
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/telescope +8 -8
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4255957812bb3cdba9f86540db70823d2470e3a8f82ca3046a5a3253b21076e2
|
|
4
|
+
data.tar.gz: e05f9953639af6e54d569f4d6ef3dfa73d742a2795a34abc358df8fd27ea2e11
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c1213ca3bd9df1e68633d0c476713f18279a538e6c0abab179d10a2b0040afc920e4020f9bd1fbdf60c68ce06ef0d0ef5885e68f56fae012df8ca8f01c9c1d2f
|
|
7
|
+
data.tar.gz: 63c25dfde9fa1db0ffc03a91c8f8868981a4211765ace7997312a0cde0d55f3d6b1c579dc29734043c8e9e547936bbad06493b0f3d43a447672dfe75db0d5247
|
data/bin/telescope
CHANGED
|
@@ -44,7 +44,7 @@ SAVE = File.join(Dir.home, '.telescope')
|
|
|
44
44
|
CONFIG = File.join(Dir.home, '.telescope_config')
|
|
45
45
|
|
|
46
46
|
# HELP TEXT {{{1
|
|
47
|
-
HELP1 = " WELCOME TO THE TERMINAL TELESCOPE APPLICATION\n".
|
|
47
|
+
HELP1 = " WELCOME TO THE TERMINAL TELESCOPE APPLICATION\n".bd + '
|
|
48
48
|
This can help structure your telescopes and eyepieces.
|
|
49
49
|
It will calculate properties of your scopes and EPs.
|
|
50
50
|
Scope+EP combination properties are also calculated.
|
|
@@ -56,7 +56,7 @@ HELP1 = " WELCOME TO THE TERMINAL TELESCOPE APPLICATION\n".b + '
|
|
|
56
56
|
Press any key to show more help text.
|
|
57
57
|
'
|
|
58
58
|
|
|
59
|
-
HELP2 = " TERMININAL TELESCOPE APPLICATION\n\n Keys and their actions\n".
|
|
59
|
+
HELP2 = " TERMININAL TELESCOPE APPLICATION\n\n Keys and their actions\n".bd + '
|
|
60
60
|
t Add telescope (name,app,fl[,notes])
|
|
61
61
|
e Add eyepiece (name,fl,afov[,notes])
|
|
62
62
|
ENTER Edit selected
|
|
@@ -78,7 +78,7 @@ HELP2 = " TERMININAL TELESCOPE APPLICATION\n\n Keys and their actions\n".b + '
|
|
|
78
78
|
q/Q Quit (save/no save)
|
|
79
79
|
? Help'.fg(230)
|
|
80
80
|
|
|
81
|
-
HELP3 = " Abbreviations and their meaning\n".
|
|
81
|
+
HELP3 = " Abbreviations and their meaning\n".bd + '
|
|
82
82
|
APP = Telescope apperature (in millimeters)
|
|
83
83
|
TFL = Telescope focal length (in millimeters)
|
|
84
84
|
F/? = Telescope focal ratio
|
|
@@ -269,7 +269,7 @@ def render_ts #{{{2
|
|
|
269
269
|
name = t[0]
|
|
270
270
|
app = t[1].to_i
|
|
271
271
|
tfl = t[2].to_i
|
|
272
|
-
tag_ts = @tstag[i] ? ' ' + '▐'.
|
|
272
|
+
tag_ts = @tstag[i] ? ' ' + '▐'.bd.fg(@config['colors']['tag_color']) : ' '
|
|
273
273
|
txt = tag_ts
|
|
274
274
|
txt += name.to_s.ljust(18)
|
|
275
275
|
txt += app.to_s.rjust(7)
|
|
@@ -371,7 +371,7 @@ def render_ep #{{{2
|
|
|
371
371
|
name = e[0]
|
|
372
372
|
epfl = e[1].to_f
|
|
373
373
|
afov = e[2].to_f
|
|
374
|
-
tag_ep = @eptag[i] ? ' ' + '▐'.
|
|
374
|
+
tag_ep = @eptag[i] ? ' ' + '▐'.bd.fg(@config['colors']['tag_color']) : ' '
|
|
375
375
|
txt = tag_ep
|
|
376
376
|
txt += name.to_s.ljust(18)
|
|
377
377
|
txt += epfl.to_s.rjust(7)
|
|
@@ -578,9 +578,9 @@ end
|
|
|
578
578
|
@pHlp = Pane.new( @max_w/2 - 30, @max_h/2 - 13, 60, 26, 252, 233)
|
|
579
579
|
@pObs = Pane.new( 8, 8, @max_w - 16, @max_h - 16, 231, 233)
|
|
580
580
|
|
|
581
|
-
@pTSh.text = ' TELESCOPES APP(mm) FL(mm) F/? <MGN xEYE MINx MAXx SEP-R SEP-D *FLD GLXY PLNT DBL* >2*< MOON SUN'.
|
|
582
|
-
@pEPh.text = ' EYEPIECES FL(mm) AFOV'.
|
|
583
|
-
@pEPh.text += ' MAGX TFOV PPL 2blw tfov ppl'.
|
|
581
|
+
@pTSh.text = ' TELESCOPES APP(mm) FL(mm) F/? <MGN xEYE MINx MAXx SEP-R SEP-D *FLD GLXY PLNT DBL* >2*< MOON SUN'.bd
|
|
582
|
+
@pEPh.text = ' EYEPIECES FL(mm) AFOV'.bd
|
|
583
|
+
@pEPh.text += ' MAGX TFOV PPL 2blw tfov ppl'.bd.it.fg("00827b")
|
|
584
584
|
@pEPh.text += ' *FLD GLXY PLNT DBL* >2*<'.bg(@config['colors']['ep_header_bg'])
|
|
585
585
|
@pST.text = ' t/e = Add telescope/eyepiece, ENTER = Edit item, q/Q = Quit, ? = Help'
|
|
586
586
|
@pHlp.border = true
|
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: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geir Isene
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-04-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rcurses
|
|
@@ -16,14 +16,14 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
19
|
+
version: '7.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: '7.0'
|
|
27
27
|
description: 'With this program you can list your telescopes and eyepieces and get
|
|
28
28
|
a set of calculations done for each scope and for the combination of scope and eyepiece.
|
|
29
29
|
Easy interface. Run the program, then hit ''?'' to show the help file. Version 2.0.1:
|