equationoftime 4.1.5 → 4.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/.ruby-version +1 -1
- data/Gemfile +8 -2
- data/Gemfile.lock +18 -18
- data/Manifest.txt +5 -1
- data/README.rdoc +40 -17
- data/Rakefile +3 -3
- data/examples/{Equation_of_Time.jpg → Equation_of_Time.png} +0 -0
- data/examples/my_lst.rb +3 -1
- data/ext/eot/ceot.c +31 -6
- data/ext/eot/ceot.h +4 -0
- data/ext/eot/eot.c +19 -0
- data/lib/eot.rb +12 -10
- data/lib/eot/angle_displays.rb +3 -20
- data/lib/eot/angles.rb +39 -19
- data/lib/eot/constants.rb +2 -1
- data/lib/eot/deltas.rb +1 -0
- data/lib/eot/geo_lat_lng_smt.rb +1 -2
- data/lib/eot/init.rb +41 -35
- data/lib/eot/time_displays.rb +21 -4
- data/lib/eot/times.rb +37 -65
- data/lib/eot/trigonometric.rb +7 -7
- data/lib/eot/utilities.rb +15 -2
- data/lib/eot/version.rb +3 -1
- data/run_tests_eclipse.rb +1 -0
- data/test/eot/aliased_angles_spec.rb +45 -43
- data/test/eot/aliased_displays_spec.rb +10 -9
- data/test/eot/aliased_utilities_spec.rb +15 -13
- data/test/eot/angles_spec.rb +130 -127
- data/test/eot/constants_spec.rb +2 -1
- data/test/eot/displays_spec.rb +54 -51
- data/test/eot/geo_spec.rb +5 -5
- data/test/eot/init_spec.rb +4 -4
- data/test/eot/times_spec.rb +127 -65
- metadata +42 -59
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -1
- metadata.gz.sig +0 -0
data/test/eot/geo_spec.rb
CHANGED
@@ -10,9 +10,9 @@ geo = GeoLatLng.new
|
|
10
10
|
|
11
11
|
describe 'Geo defaults' do
|
12
12
|
|
13
|
-
|
14
|
-
it "expected #{
|
15
|
-
assert_equal
|
13
|
+
INTERNATIONAL = geo.default_int
|
14
|
+
it "expected #{INTERNATIONAL}" do
|
15
|
+
assert_equal INTERNATIONAL, geo.addr
|
16
16
|
end
|
17
17
|
|
18
18
|
BASE = 'http://maps.googleapis.com/maps/api/geocode/json?sensor=false&address='
|
@@ -20,8 +20,8 @@ describe 'Geo defaults' do
|
|
20
20
|
assert_equal BASE, geo.base_json
|
21
21
|
end
|
22
22
|
|
23
|
-
it 'expected #{
|
24
|
-
assert_equal
|
23
|
+
it 'expected #{INTERNATIONAL 'do
|
24
|
+
assert_equal INTERNATIONAL, geo.default_int
|
25
25
|
end
|
26
26
|
|
27
27
|
DEFAULT_US = '3333 Coyote Hill Road, Palo Alto, CA, 94304, USA'
|
data/test/eot/init_spec.rb
CHANGED
@@ -6,19 +6,19 @@ lib = File.expand_path('../../../lib', __FILE__)
|
|
6
6
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
7
7
|
require 'eot'
|
8
8
|
|
9
|
-
describe 'Eot_initialize has set attributes' do
|
9
|
+
describe 'Eot_initialize has set attributes ' do
|
10
10
|
|
11
11
|
JD_TODAY = DateTime.now.to_time.utc.to_datetime.jd.to_f
|
12
12
|
it "expected #{JD_TODAY} from Eot.new.ajd" do
|
13
13
|
assert_equal(JD_TODAY, Eot.new.ajd)
|
14
14
|
end
|
15
15
|
|
16
|
-
UK_LAT =
|
16
|
+
UK_LAT = 0.0
|
17
17
|
it "expected #{UK_LAT} from Eot.new.latitude" do
|
18
18
|
assert_equal(UK_LAT, Eot.new.latitude)
|
19
19
|
end
|
20
20
|
|
21
|
-
UK_LNG =
|
21
|
+
UK_LNG = 0.0
|
22
22
|
it "expected #{UK_LNG} from Eot.new.longitude" do
|
23
23
|
assert_equal(UK_LNG, Eot.new.longitude)
|
24
24
|
end
|
@@ -37,7 +37,7 @@ describe 'Eot_initialize has set attributes' do
|
|
37
37
|
assert_equal(FRAC_CENT, eot.ta)
|
38
38
|
end
|
39
39
|
|
40
|
-
DEFAULT_INT =
|
40
|
+
DEFAULT_INT = nil
|
41
41
|
it "expected #{DEFAULT_INT} from Eot.new.addr" do
|
42
42
|
assert_equal(DEFAULT_INT, Eot.new.addr)
|
43
43
|
end
|
data/test/eot/times_spec.rb
CHANGED
@@ -1,137 +1,199 @@
|
|
1
1
|
# times_spec.rb
|
2
|
-
|
2
|
+
gem 'minitest'
|
3
|
+
require 'minitest/autorun'
|
3
4
|
lib = File.expand_path('../../../lib', __FILE__)
|
4
5
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
6
|
require 'eot'
|
6
7
|
|
7
|
-
|
8
|
+
times = Eot.new
|
8
9
|
|
9
|
-
describe 'tests ajd of 2456885.0' do
|
10
|
+
describe 'tests ajd of 2456885.0 ' do
|
10
11
|
|
11
12
|
before(:each) do
|
12
|
-
|
13
|
-
ajd =
|
13
|
+
times.ajd = 2_456_885.0
|
14
|
+
ajd = times.ajd
|
15
|
+
times.ma_ta_set
|
14
16
|
# check date for this ajd when needed.
|
15
|
-
|
17
|
+
times.date = times.ajd_to_datetime(ajd)
|
16
18
|
end
|
17
19
|
|
18
|
-
it 'expected
|
19
|
-
assert_equal(2_456_885.0,
|
20
|
+
it 'expected 2456885.0 for times.ajd'do
|
21
|
+
assert_equal(2_456_885.0, times.ajd)
|
20
22
|
end
|
21
23
|
|
22
|
-
it 'expected
|
23
|
-
assert_equal '2014-08-15T12:00:00+00:00',
|
24
|
+
it 'expected "2014-08-15T12:00:00+00:00" for times.date'.to_s do
|
25
|
+
assert_equal '2014-08-15T12:00:00+00:00', times.date.to_s
|
24
26
|
end
|
25
27
|
|
26
|
-
it 'expected
|
27
|
-
assert_equal(3.8508003966038915,
|
28
|
+
it 'expected 3.8508003966038915 for times.ma'do
|
29
|
+
assert_equal(3.8508003966038915, times.ma)
|
28
30
|
end
|
29
31
|
|
30
32
|
it 'expected "2014-08-15T12:00:00+00:00" from \
|
31
|
-
|
33
|
+
times.ajd_to_datetime(times.ajd).to_s ' do
|
32
34
|
assert_equal '2014-08-15T12:00:00+00:00',\
|
33
|
-
|
35
|
+
times.ajd_to_datetime(times.ajd).to_s
|
36
|
+
end
|
37
|
+
|
38
|
+
it 'expected "2014-08-15T19:18:45+00:00" from \
|
39
|
+
times.astronomical_twilight_end_dt.to_s ' do
|
40
|
+
assert_equal('2014-08-15T19:18:45+00:00', \
|
41
|
+
times.astronomical_twilight_end_dt.to_s)
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'expected "2014-08-15T04:50:12+00:00" from \
|
45
|
+
times.astronomical_twilight_start_dt.to_s ' do
|
46
|
+
assert_equal('2014-08-15T04:50:12+00:00', \
|
47
|
+
times.astronomical_twilight_start_dt.to_s)
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'expected 2_456_885.3046949888 from \
|
51
|
+
times.astronomical_twilight_end_jd ' do
|
52
|
+
assert_equal(2_456_885.3046949888, \
|
53
|
+
times.astronomical_twilight_end_jd)
|
34
54
|
end
|
35
55
|
|
36
|
-
it 'expected
|
37
|
-
|
56
|
+
it 'expected 2_456_884.701532429 from \
|
57
|
+
times.astronomical_twilight_start_jd ' do
|
58
|
+
assert_equal(2_456_884.701532429, \
|
59
|
+
times.astronomical_twilight_start_jd)
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'expected "2014-08-15T18:29:13+00:00" from \
|
63
|
+
times.civil_twilight_end_dt.to_s ' do
|
64
|
+
assert_equal('2014-08-15T18:29:13+00:00', \
|
65
|
+
times.civil_twilight_end_dt.to_s)
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'expected "2014-08-15T05:39:44+00:00" from \
|
69
|
+
times.civil_twilight_start_dt.to_s ' do
|
70
|
+
assert_equal('2014-08-15T05:39:44+00:00', \
|
71
|
+
times.civil_twilight_start_dt.to_s)
|
72
|
+
end
|
73
|
+
|
74
|
+
it 'expected 2_456_885.270291137 from times.civil_twilight_end_jd() ' do
|
75
|
+
assert_equal(2_456_885.270291137, times.civil_twilight_end_jd)
|
76
|
+
end
|
77
|
+
|
78
|
+
it 'expected 2_456_884.735936281 from \
|
79
|
+
times.civil_twilight_start_jd() ' do
|
80
|
+
assert_equal(2_456_884.735936281, times.civil_twilight_start_jd)
|
81
|
+
end
|
82
|
+
|
83
|
+
it 'expected -0.003113709117457967 from times.eot_jd() ' do
|
84
|
+
assert_equal(-0.003113709117457967, times.eot_jd)
|
38
85
|
end
|
39
86
|
|
40
87
|
it 'expected "2014-08-15T12:04:29+00:00" \
|
41
|
-
from
|
42
|
-
assert_equal '2014-08-15T12:04:29+00:00',
|
88
|
+
from times.local_noon_dt().to_s ' do
|
89
|
+
assert_equal '2014-08-15T12:04:29+00:00', times.local_noon_dt.to_s
|
43
90
|
end
|
44
91
|
|
45
|
-
it 'expected "2014-08-
|
46
|
-
|
47
|
-
assert_equal
|
92
|
+
it 'expected "2014-08-15T18:53:58+00:00" from \
|
93
|
+
times.nautical_twilight_end_dt.to_s ' do
|
94
|
+
assert_equal('2014-08-15T18:53:58+00:00', \
|
95
|
+
times.nautical_twilight_end_dt.to_s)
|
48
96
|
end
|
49
97
|
|
50
|
-
it 'expected "2014-08-
|
51
|
-
|
98
|
+
it 'expected "2014-08-15T05:14:59+00:00" from \
|
99
|
+
times.nautical_twilight_start_dt.to_s ' do
|
100
|
+
assert_equal('2014-08-15T05:14:59+00:00', \
|
101
|
+
times.nautical_twilight_start_dt.to_s)
|
52
102
|
end
|
53
103
|
|
54
|
-
it 'expected
|
55
|
-
|
104
|
+
it 'expected 2_456_885.2874805206 from \
|
105
|
+
times.nautical_twilight_end_jd ' do
|
106
|
+
assert_equal(2_456_885.2874805206, \
|
107
|
+
times.nautical_twilight_end_jd)
|
56
108
|
end
|
57
109
|
|
58
|
-
it 'expected
|
59
|
-
|
110
|
+
it 'expected 2_456_884.7187468973 from \
|
111
|
+
times.nautical_twilight_start_jd ' do
|
112
|
+
assert_equal(2_456_884.7187468973, \
|
113
|
+
times.nautical_twilight_start_jd)
|
60
114
|
end
|
61
115
|
|
62
|
-
it 'expected
|
63
|
-
assert_equal
|
116
|
+
it 'expected "2014-08-15T06:01:02+00:00" from times.sunrise_dt() ' do
|
117
|
+
assert_equal '2014-08-15T06:01:02+00:00', times.sunrise_dt.to_s
|
64
118
|
end
|
65
119
|
|
66
|
-
it 'expected
|
67
|
-
assert_equal
|
120
|
+
it 'expected "2014-08-15T18:07:55+00:00" from times.sunset_dt() ' do
|
121
|
+
assert_equal '2014-08-15T18:07:55+00:00', times.sunset_dt.to_s
|
68
122
|
end
|
69
123
|
|
70
|
-
it 'expected
|
71
|
-
assert_equal(
|
124
|
+
it 'expected 2_456_884.7507283166 from times.sunrise_jd() ' do
|
125
|
+
assert_equal(2_456_884.7507283166, times.sunrise_jd)
|
72
126
|
end
|
73
127
|
|
74
|
-
it 'expected
|
75
|
-
assert_equal(
|
128
|
+
it 'expected 2_456_885.2554991012 from times.sunset_jd() ' do
|
129
|
+
assert_equal(2_456_885.2554991012, times.sunset_jd)
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'expected -9.37789671342477 from times.time_delta_oblique() ' do
|
133
|
+
assert_equal(-9.37789671342477, times.time_delta_oblique)
|
134
|
+
end
|
135
|
+
|
136
|
+
it 'expected 4.894155584285298 from times.time_delta_orbit() ' do
|
137
|
+
assert_equal(4.894155584285298, times.time_delta_orbit)
|
138
|
+
end
|
139
|
+
|
140
|
+
it 'expected -4.483741129139473 from times.time_eot() ' do
|
141
|
+
assert_equal(-4.483741129139473, times.time_eot)
|
76
142
|
end
|
77
143
|
|
78
144
|
end
|
79
145
|
|
80
|
-
describe 'tests ajd of 2455055.0' do
|
146
|
+
describe 'tests ajd of 2455055.0 ' do
|
81
147
|
|
82
148
|
before(:each) do
|
83
|
-
|
84
|
-
ajd =
|
149
|
+
times.ajd = 2_455_055.0
|
150
|
+
ajd = times.ajd
|
151
|
+
times.ma_ta_set
|
85
152
|
# check date for this ajd when needed.
|
86
|
-
|
153
|
+
times.date = times.ajd_to_datetime(ajd)
|
87
154
|
end
|
88
155
|
|
89
|
-
it 'expected
|
90
|
-
assert_equal(2_455_055.0,
|
156
|
+
it 'expected 2_455_055.0, from times. ' do
|
157
|
+
assert_equal(2_455_055.0, times.ajd)
|
91
158
|
end
|
92
159
|
|
93
|
-
it 'expected "2009-08-11T12:00:00+00:00" from
|
94
|
-
assert_equal '2009-08-11T12:00:00+00:00',
|
160
|
+
it 'expected "2009-08-11T12:00:00+00:00" from times.date.to_s ' do
|
161
|
+
assert_equal '2009-08-11T12:00:00+00:00', times.date.to_s
|
95
162
|
end
|
96
163
|
|
97
|
-
it 'expected
|
98
|
-
assert_equal(3.7871218188949207,
|
164
|
+
it 'expected 3.7871218188949207 from times. ' do
|
165
|
+
assert_equal(3.7871218188949207, times.ma)
|
99
166
|
end
|
100
167
|
|
101
168
|
it 'expected "2009-08-11T12:00:00+00:00" from \
|
102
|
-
|
169
|
+
times.ajd_to_datetime(times.ajd).to_s ' do
|
103
170
|
assert_equal '2009-08-11T12:00:00+00:00', \
|
104
|
-
|
171
|
+
times.ajd_to_datetime(times.ajd).to_s
|
105
172
|
end
|
106
173
|
|
107
|
-
it 'expected
|
108
|
-
assert_equal(-0.003584007074372416,
|
109
|
-
end
|
110
|
-
|
111
|
-
it 'expected "2009-08-11T12:00:00+00:00" from \
|
112
|
-
Eot_times.mean_local_noon_dt().to_s' do
|
113
|
-
assert_equal '2009-08-11T12:00:00+00:00', Eot_times.mean_local_noon_dt.to_s
|
174
|
+
it 'expected -0.003584007074372416 from times.eot_jd() ' do
|
175
|
+
assert_equal(-0.003584007074372416, times.eot_jd)
|
114
176
|
end
|
115
177
|
|
116
|
-
it 'expected "2009-08-
|
117
|
-
from
|
118
|
-
assert_equal '2009-08-
|
178
|
+
it 'expected "2009-08-11T06:01:42+00:00" \
|
179
|
+
from times.sunrise_dt().to_s ' do
|
180
|
+
assert_equal '2009-08-11T06:01:42+00:00', times.sunrise_dt.to_s
|
119
181
|
end
|
120
182
|
|
121
|
-
it 'expected
|
122
|
-
assert_equal(2_455_054.
|
183
|
+
it 'expected 2_455_054.75118603 from times.sunrise_jd()' do
|
184
|
+
assert_equal(2_455_054.75118603, times.sunrise_jd)
|
123
185
|
end
|
124
186
|
|
125
|
-
it 'expected "2009-08-
|
126
|
-
assert_equal '2009-08-
|
187
|
+
it 'expected "2009-08-11T18:08:36+00:00" from times.sunset_dt() ' do
|
188
|
+
assert_equal '2009-08-11T18:08:36+00:00', times.sunset_dt.to_s
|
127
189
|
end
|
128
190
|
|
129
|
-
it 'expected
|
130
|
-
assert_equal(2_455_055.
|
191
|
+
it 'expected 2_455_055.2559819845 from times.sunset_jd() ' do
|
192
|
+
assert_equal(2_455_055.2559819845, times.sunset_jd)
|
131
193
|
end
|
132
194
|
|
133
|
-
it 'expected
|
134
|
-
assert_equal(-5.160970187096279,
|
195
|
+
it 'expected -5.160970187096279 is from times.time_eot() ' do
|
196
|
+
assert_equal(-5.160970187096279, times.time_eot)
|
135
197
|
end
|
136
198
|
|
137
199
|
end
|
metadata
CHANGED
@@ -1,88 +1,70 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: equationoftime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Douglas Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MQ8wDQYDVQQDDAZrYjlh
|
14
|
-
Z3QxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2NvbTAe
|
15
|
-
Fw0xNDA5MjUyMzMyNTZaFw0xNTA5MjUyMzMyNTZaMD0xDzANBgNVBAMMBmtiOWFn
|
16
|
-
dDEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29tMIIB
|
17
|
-
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvVFZZ1PC4/wUNgYfERXEja2O
|
18
|
-
5MjfHdh52pwJCJt1sN4+YPJmxYXI30Fo54/RPlvDuEyFsJpgW6zrZ7JRzGmMdMrH
|
19
|
-
mhWKPLmLOMz9drDG8E6tz+G99/h6RJFSMw8hQKHEbONi8s5CssFnHmcMeXcb5we2
|
20
|
-
J6cN1+rsKvLbna7mk3QZ5Rq0pvWcyEbX7Ve7lP7vgh6ui7y2rJZU2h2Zcs/vWfdN
|
21
|
-
sntI2mo7cvYiYRqpwgOl6xCcczyIzaZniTHeY57djSTRwvbJQ6D0nDLgO5x5j523
|
22
|
-
dLYvKCKVCP1PV0eIunw7RYhvre8nSauEfb+Ko1m1EaTLHCBrSqyA5FuK3iIVsQID
|
23
|
-
AQABo3MwcTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQUFP6B78wA
|
24
|
-
b+A3wl0ZC6XBJg1P32YwGwYDVR0RBBQwEoEQa2I5YWd0QGdtYWlsLmNvbTAbBgNV
|
25
|
-
HRIEFDASgRBrYjlhZ3RAZ21haWwuY29tMA0GCSqGSIb3DQEBBQUAA4IBAQBjSnFN
|
26
|
-
oWd9iLjHY+5Y0To/kWH9vTctUX36p1AantuHXgYR3uU8atZRFiym2inx0RkR7PxW
|
27
|
-
uIt7qyoLFoCOCH9V8jbtS8yQ8v3wTv9lIZJnybjYJx/toGcYujNU7iwJTV4laIxi
|
28
|
-
3oKvXnfVc2fn1IuDGV5xhUmsS1a1efVoBNSQyai2OR5WU3FlXl6xe5AZnam5HqY4
|
29
|
-
7NZjvKg3DighdGM2wZCRhldTnwe/Q3qWK0MJb73jogw5JpLEWg+F6q9tPEphPNmM
|
30
|
-
OAq/puNqaKcS6msFXF8qORqFWdrUeJatbc9im729qTdl9TkcMrrO4W7YT9mRt/h2
|
31
|
-
xYNxgIQJ29eiF+5M
|
32
|
-
-----END CERTIFICATE-----
|
33
|
-
date: 2014-09-26 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-08 00:00:00.000000000 Z
|
34
12
|
dependencies:
|
35
13
|
- !ruby/object:Gem::Dependency
|
36
14
|
name: rdoc
|
37
15
|
requirement: !ruby/object:Gem::Requirement
|
38
16
|
requirements:
|
39
|
-
- -
|
17
|
+
- - ~>
|
40
18
|
- !ruby/object:Gem::Version
|
41
19
|
version: '4.0'
|
42
20
|
type: :development
|
43
21
|
prerelease: false
|
44
22
|
version_requirements: !ruby/object:Gem::Requirement
|
45
23
|
requirements:
|
46
|
-
- -
|
24
|
+
- - ~>
|
47
25
|
- !ruby/object:Gem::Version
|
48
26
|
version: '4.0'
|
49
27
|
- !ruby/object:Gem::Dependency
|
50
28
|
name: rake-compiler
|
51
29
|
requirement: !ruby/object:Gem::Requirement
|
52
30
|
requirements:
|
53
|
-
- -
|
31
|
+
- - ~>
|
54
32
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
56
|
-
|
33
|
+
version: !binary |-
|
34
|
+
MC45
|
35
|
+
- - ! '>='
|
57
36
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
37
|
+
version: !binary |-
|
38
|
+
MC45LjM=
|
59
39
|
type: :development
|
60
40
|
prerelease: false
|
61
41
|
version_requirements: !ruby/object:Gem::Requirement
|
62
42
|
requirements:
|
63
|
-
- -
|
43
|
+
- - ~>
|
64
44
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
66
|
-
|
45
|
+
version: !binary |-
|
46
|
+
MC45
|
47
|
+
- - ! '>='
|
67
48
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
49
|
+
version: !binary |-
|
50
|
+
MC45LjM=
|
69
51
|
- !ruby/object:Gem::Dependency
|
70
52
|
name: hoe
|
71
53
|
requirement: !ruby/object:Gem::Requirement
|
72
54
|
requirements:
|
73
|
-
- -
|
55
|
+
- - ~>
|
74
56
|
- !ruby/object:Gem::Version
|
75
|
-
version: '3.
|
57
|
+
version: '3.13'
|
76
58
|
type: :development
|
77
59
|
prerelease: false
|
78
60
|
version_requirements: !ruby/object:Gem::Requirement
|
79
61
|
requirements:
|
80
|
-
- -
|
62
|
+
- - ~>
|
81
63
|
- !ruby/object:Gem::Version
|
82
|
-
version: '3.
|
83
|
-
description:
|
84
|
-
|
85
|
-
Lots of examples to play with for learning about Eot.
|
64
|
+
version: '3.13'
|
65
|
+
description: ! 'Calculate Sunrise and Sunset. Now uses native C wrappers.
|
66
|
+
|
67
|
+
Lots of examples to play with for learning about Eot.'
|
86
68
|
email:
|
87
69
|
- kb9agt@gmail.com
|
88
70
|
executables: []
|
@@ -97,13 +79,13 @@ extra_rdoc_files:
|
|
97
79
|
- wiki.md
|
98
80
|
- wiki2.md
|
99
81
|
files:
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
-
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
82
|
+
- .autotest
|
83
|
+
- .buildpath
|
84
|
+
- .gemtest
|
85
|
+
- .minitest.rb
|
86
|
+
- .project
|
87
|
+
- .rspec
|
88
|
+
- .ruby-version
|
107
89
|
- CHANGELOG.rdoc
|
108
90
|
- Gemfile
|
109
91
|
- Gemfile.lock
|
@@ -114,7 +96,7 @@ files:
|
|
114
96
|
- README.rdoc
|
115
97
|
- Rakefile
|
116
98
|
- equationoftime.gemspec
|
117
|
-
- examples/Equation_of_Time.
|
99
|
+
- examples/Equation_of_Time.png
|
118
100
|
- examples/my_lst.rb
|
119
101
|
- examples/use_addr.rb
|
120
102
|
- examples/use_ajd.rb
|
@@ -134,6 +116,7 @@ files:
|
|
134
116
|
- lib/eot/trigonometric.rb
|
135
117
|
- lib/eot/utilities.rb
|
136
118
|
- lib/eot/version.rb
|
119
|
+
- run_tests_eclipse.rb
|
137
120
|
- test/eot/aliased_angles_spec.rb
|
138
121
|
- test/eot/aliased_displays_spec.rb
|
139
122
|
- test/eot/aliased_utilities_spec.rb
|
@@ -151,33 +134,33 @@ licenses:
|
|
151
134
|
metadata: {}
|
152
135
|
post_install_message:
|
153
136
|
rdoc_options:
|
154
|
-
-
|
137
|
+
- --main
|
155
138
|
- README.rdoc
|
156
139
|
require_paths:
|
157
140
|
- lib
|
158
141
|
required_ruby_version: !ruby/object:Gem::Requirement
|
159
142
|
requirements:
|
160
|
-
- -
|
143
|
+
- - ! '>='
|
161
144
|
- !ruby/object:Gem::Version
|
162
145
|
version: '0'
|
163
146
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
147
|
requirements:
|
165
|
-
- -
|
148
|
+
- - ! '>='
|
166
149
|
- !ruby/object:Gem::Version
|
167
150
|
version: '0'
|
168
151
|
requirements: []
|
169
152
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.4.
|
153
|
+
rubygems_version: 2.4.2
|
171
154
|
signing_key:
|
172
155
|
specification_version: 4
|
173
156
|
summary: Calculate Sunrise and Sunset
|
174
157
|
test_files:
|
158
|
+
- test/eot/displays_spec.rb
|
159
|
+
- test/eot/times_spec.rb
|
160
|
+
- test/eot/geo_spec.rb
|
161
|
+
- test/eot/angles_spec.rb
|
175
162
|
- test/eot/aliased_angles_spec.rb
|
176
163
|
- test/eot/aliased_displays_spec.rb
|
177
|
-
- test/eot/angles_spec.rb
|
178
|
-
- test/eot/times_spec.rb
|
179
164
|
- test/eot/init_spec.rb
|
180
|
-
- test/eot/aliased_utilities_spec.rb
|
181
165
|
- test/eot/constants_spec.rb
|
182
|
-
- test/eot/
|
183
|
-
- test/eot/geo_spec.rb
|
166
|
+
- test/eot/aliased_utilities_spec.rb
|