equationoftime 4.1.1 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.autotest +39 -0
- data/.gemtest +0 -0
- data/.minitest.rb +2 -0
- data/.ruby-version +1 -0
- data/.settings/org.eclipse.ltk.core.refactoring.prefs +2 -0
- data/CHANGELOG.rdoc +6 -0
- data/Gemfile +12 -0
- data/Gemfile.lock +44 -3
- data/Guardfile +29 -0
- data/{LICENSE.md → LICENSE.rdoc} +0 -0
- data/Manifest.txt +82 -0
- data/README.rdoc +66 -0
- data/Rakefile +60 -45
- data/equationoftime.gemspec +17 -9
- data/examples/Equation_of_Time.jpg +0 -0
- data/examples/analemma_data_generator.rb +58 -0
- data/examples/check_date_type.rb +60 -0
- data/examples/compare_geoc_long_ra.rb +44 -0
- data/examples/data_table_for_astro_dog.rb +45 -0
- data/examples/earth_rotation.rb +42 -0
- data/examples/eot_methods_list.rb +48 -0
- data/examples/eot_plot.r +57 -0
- data/examples/eot_suntimes.rb +149 -0
- data/examples/equation_of_time.py +186 -0
- data/examples/figure_1.jpg +0 -0
- data/examples/file_converter.rb +31 -0
- data/examples/from_readme.rb +14 -0
- data/examples/from_wiki.rb +46 -0
- data/examples/geo_locator.rb +16 -0
- data/examples/getjd.rb +45 -0
- data/examples/gmst_gast_non_sofa.rb +406 -0
- data/examples/input_suntimes.rb +24 -0
- data/examples/julian_day_formula.rb +29 -0
- data/examples/julian_day_formula.txt +12 -0
- data/examples/my_time_conversion.rb +21 -0
- data/examples/nutation_series.txt +678 -0
- data/examples/nutation_table5_3a.txt +682 -0
- data/examples/ptime.rb +162 -0
- data/examples/suntimes.rb +30 -0
- data/examples/suntimes_test.rb +50 -0
- data/examples/t_sofa.rb +8228 -0
- data/examples/test_celes.rb +51 -0
- data/examples/test_ceot.rb +55 -0
- data/examples/test_poly_eval.rb +32 -0
- data/examples/time_scales.rb +29 -0
- data/examples/times_year.rb +53 -0
- data/examples/usage_example.rb +26 -0
- data/examples/use_angles.rb +222 -0
- data/ext/{ceot/eot.c → eot/ceot.c} +1 -1
- data/ext/{ceot/eot.h → eot/ceot.h} +0 -0
- data/ext/{ceot/ceot.c → eot/eot.c} +2 -2
- data/ext/{ceot → eot}/extconf.rb +1 -1
- data/lib/eot.rb +2 -1
- data/lib/eot/angles.rb +28 -28
- data/lib/eot/constants.rb +2 -0
- data/lib/eot/displays.rb +17 -17
- data/lib/eot/eot.so +0 -0
- data/lib/eot/geo_lat_lng_smt.rb +44 -31
- data/lib/eot/init.rb +20 -19
- data/lib/eot/nutation.rb +1 -1
- data/lib/eot/times.rb +22 -22
- data/lib/eot/utilities.rb +5 -5
- data/lib/eot/version.rb +2 -6
- data/test/aliased_angles_spec.rb +239 -0
- data/test/aliased_displays_spec.rb +105 -0
- data/test/aliased_utilities_spec.rb +36 -0
- data/test/angles_spec.rb +264 -0
- data/test/constants_spec.rb +20 -0
- data/test/displays_spec.rb +110 -0
- data/test/geo_spec.rb +38 -0
- data/test/init_spec.rb +44 -0
- data/test/nutation_spec.rb +37 -0
- data/test/spec_config.rb +8 -0
- data/test/times_spec.rb +133 -0
- data/test/utilities_spec.rb +35 -0
- metadata +109 -115
- data/.gitignore +0 -24
- data/.rvmrc +0 -1
- data/README.md +0 -83
- data/README2.txt +0 -70
- data/wiki.md +0 -43
- data/wiki2.md +0 -4
data/test/geo_spec.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# geo_spec.rb/
|
2
|
+
#
|
3
|
+
|
4
|
+
require_relative 'spec_config'
|
5
|
+
|
6
|
+
lib = File.expand_path('../../../lib', __FILE__)
|
7
|
+
$LOAD_PATH.unshift(lib)unless$LOAD_PATH.include?(lib)
|
8
|
+
require 'eot'
|
9
|
+
|
10
|
+
geo = GeoLatLng.new()
|
11
|
+
|
12
|
+
describe 'Geo defaults' do
|
13
|
+
|
14
|
+
it 'expected "Blackheath Ave, London SE10 8XJ, UK" 'do
|
15
|
+
assert_equal "Blackheath Ave, London SE10 8XJ, UK", geo.addr
|
16
|
+
end
|
17
|
+
|
18
|
+
it'expected "http://maps.googleapis.com/maps/api/geocode/json?address="' do
|
19
|
+
assert_equal "http://maps.googleapis.com/maps/api/geocode/json?address=", geo.base
|
20
|
+
end
|
21
|
+
|
22
|
+
it'expected "Blackheath Ave, London SE10 8XJ, UK" 'do
|
23
|
+
assert_equal "Blackheath Ave, London SE10 8XJ, UK", geo.default_int
|
24
|
+
end
|
25
|
+
|
26
|
+
it'expected "3333 Coyote Hill Road, Palo Alto, CA, 94304, USA" 'do
|
27
|
+
assert_equal "3333 Coyote Hill Road, Palo Alto, CA, 94304, USA", geo.default_us
|
28
|
+
end
|
29
|
+
|
30
|
+
it'expected 0.0'do
|
31
|
+
assert_equal 0.0, geo.lat
|
32
|
+
end
|
33
|
+
|
34
|
+
it'expected 0.0'do
|
35
|
+
assert_equal 0.0, geo.lng
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
data/test/init_spec.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# init_spec.rb
|
2
|
+
#
|
3
|
+
|
4
|
+
require_relative 'spec_config'
|
5
|
+
|
6
|
+
|
7
|
+
lib = File.expand_path('../../../lib', __FILE__)
|
8
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
9
|
+
require 'eot'
|
10
|
+
|
11
|
+
|
12
|
+
describe 'Eot_initialize using today matchers' do
|
13
|
+
|
14
|
+
it 'expected DateTime.now.to_time.utc.to_datetime.jd.to_f' do
|
15
|
+
@test1 = Eot.new()
|
16
|
+
assert_equal DateTime.now.to_time.utc.to_datetime.jd.to_f, @test1.ajd
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'expected 0.0' do
|
20
|
+
@test2 = Eot.new()
|
21
|
+
assert_equal( 51.4769388, @test2.latitude )
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'expected 0.0' do
|
25
|
+
@test3 = Eot.new()
|
26
|
+
assert_equal( -4.2e-05, @test3.longitude )
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'expected @test4.ma_Sun()' do
|
30
|
+
@test4 = Eot.new()
|
31
|
+
assert_equal @test4.ma_Sun(), @test4.ma
|
32
|
+
end
|
33
|
+
|
34
|
+
it 'expected (@test5.ajd - Eot::DJ00) / Eot::DJC' do
|
35
|
+
@test5 = Eot.new()
|
36
|
+
assert_equal (@test5.ajd - Eot::DJ00) / Eot::DJC, @test5.ta
|
37
|
+
end
|
38
|
+
|
39
|
+
it 'expected 0.0 returned by Eot_initialize.new() ' do
|
40
|
+
@test6 = Eot.new()
|
41
|
+
assert_equal "Blackheath Ave, London SE10 8XJ, UK", @test6.addr
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
#~ # nutation_spec.rb
|
2
|
+
#~ #
|
3
|
+
|
4
|
+
#~ require_relative 'spec_config'
|
5
|
+
|
6
|
+
#~ lib = File.expand_path('../../../lib', __FILE__)
|
7
|
+
#~ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
8
|
+
#~ require 'eot'
|
9
|
+
|
10
|
+
|
11
|
+
#~ Eot_nutation = Eot.new
|
12
|
+
|
13
|
+
#~ describe 'Eot_nutation using ajd of 2456885.0' do
|
14
|
+
|
15
|
+
#~ before(:each) do
|
16
|
+
#~ Eot_nutation.ajd = 2456885.0
|
17
|
+
#~ ajd = Eot_nutation.ajd
|
18
|
+
#~ Eot_nutation.date = Eot_nutation.ajd_to_datetime(ajd)
|
19
|
+
#~ end
|
20
|
+
|
21
|
+
#~ it 'expected 2456885.0 from Eot_nutation.ajd' do
|
22
|
+
#~ assert_equal 2456885.0, Eot_nutation.ajd
|
23
|
+
#~ end
|
24
|
+
|
25
|
+
#~ it 'expected "2014-08-15T12:00:00+00:00" from Eot_nutation.date.to_s' do
|
26
|
+
#~ assert_equal "2014-08-15T12:00:00+00:00", Eot_nutation.date.to_s
|
27
|
+
#~ end
|
28
|
+
|
29
|
+
#~ it 'expected 3.8508003966038915 from Eot_nutation.ma' do
|
30
|
+
#~ assert_equal 3.8508003966038915, Eot_nutation.ma
|
31
|
+
#~ end
|
32
|
+
|
33
|
+
#~ it 'expected [3.75123821843003e-05, -4.069792718159396e-05] from Eot_nutation.delta_equinox()' do
|
34
|
+
#~ assert_equal [3.75123821843003e-05, -4.069792718159396e-05], Eot_nutation.delta_equinox()
|
35
|
+
#~ end
|
36
|
+
|
37
|
+
#~ end
|
data/test/spec_config.rb
ADDED
data/test/times_spec.rb
ADDED
@@ -0,0 +1,133 @@
|
|
1
|
+
# times_spec.rb
|
2
|
+
#
|
3
|
+
|
4
|
+
require_relative 'spec_config'
|
5
|
+
|
6
|
+
lib = File.expand_path('../../../lib', __FILE__)
|
7
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
8
|
+
require 'eot'
|
9
|
+
|
10
|
+
Eot_times = Eot.new
|
11
|
+
|
12
|
+
describe 'tests ajd of 2456885.0' do
|
13
|
+
|
14
|
+
before(:each) do
|
15
|
+
Eot_times.ajd = 2456885.0
|
16
|
+
ajd = Eot_times.ajd
|
17
|
+
# check date for this ajd when needed.
|
18
|
+
Eot_times.date = Eot_times.ajd_to_datetime(ajd)
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'expected 2456885.0 for Eot_times.ajd'do
|
22
|
+
assert_equal( 2456885.0, Eot_times.ajd )
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'expected "2014-08-15T12:00:00+00:00" for Eot_times.date'.to_s do
|
26
|
+
assert_equal "2014-08-15T12:00:00+00:00", Eot_times.date.to_s
|
27
|
+
end
|
28
|
+
|
29
|
+
it 'expected 3.8508003966038915 for Eot_times.ma'do
|
30
|
+
assert_equal( 3.8508003966038915, Eot_times.ma )
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'expected "2014-08-15T12:00:00+00:00" from Eot_times.ajd_to_datetime(Eot_times.ajd).to_s ' do
|
34
|
+
assert_equal "2014-08-15T12:00:00+00:00", Eot_times.ajd_to_datetime(Eot_times.ajd).to_s
|
35
|
+
end
|
36
|
+
|
37
|
+
it 'expected -0.0031137091174580018 from Eot_times.eot_jd() ' do
|
38
|
+
assert_equal( -0.0031137091174580018, Eot_times.eot_jd() )
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'expected "2014-08-15T12:04:29+00:00" from Eot_times.local_noon_dt().to_s ' do
|
42
|
+
assert_equal "2014-08-15T12:04:29+00:00", Eot_times.local_noon_dt().to_s
|
43
|
+
end
|
44
|
+
|
45
|
+
it 'expected "2014-08-15T12:00:00+00:00" from Eot_times.mean_local_noon_dt().to_s ' do
|
46
|
+
assert_equal "2014-08-15T12:00:00+00:00", Eot_times.mean_local_noon_dt().to_s
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'expected "2014-08-15T04:45:45+00:00" from Eot_times.sunrise_dt() ' do
|
50
|
+
assert_equal "2014-08-15T04:45:45+00:00", Eot_times.sunrise_dt().to_s
|
51
|
+
end
|
52
|
+
|
53
|
+
it 'expected "2014-08-15T19:23:12+00:00" from Eot_times.sunset_dt() ' do
|
54
|
+
assert_equal "2014-08-15T19:23:12+00:00", Eot_times.sunset_dt().to_s
|
55
|
+
end
|
56
|
+
|
57
|
+
it 'expected 2456884.6984398644 from Eot_times.sunrise_jd() ' do
|
58
|
+
assert_equal( 2456884.6984398644, Eot_times.sunrise_jd() )
|
59
|
+
end
|
60
|
+
|
61
|
+
it 'expected 2456885.307787787 from Eot_times.sunset_jd() ' do
|
62
|
+
assert_equal( 2456885.307787787, Eot_times.sunset_jd() )
|
63
|
+
end
|
64
|
+
|
65
|
+
it 'expected -9.362425472253944 from Eot_times.time_delta_oblique() ' do
|
66
|
+
assert_equal( -9.362425472253944, Eot_times.time_delta_oblique() )
|
67
|
+
end
|
68
|
+
|
69
|
+
it 'expected 4.894155584285248 from Eot_times.time_delta_orbit() ' do
|
70
|
+
assert_equal( 4.894155584285248, Eot_times.time_delta_orbit() )
|
71
|
+
end
|
72
|
+
|
73
|
+
it 'expected -4.483741129139522 from Eot_times.time_eot() ' do
|
74
|
+
assert_equal( -4.483741129139522, Eot_times.time_eot() )
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
79
|
+
describe 'tests ajd of 2455055.0' do
|
80
|
+
|
81
|
+
before(:each) do
|
82
|
+
Eot_times.ajd = 2455055.0
|
83
|
+
ajd = Eot_times.ajd
|
84
|
+
# check date for this ajd when needed.
|
85
|
+
Eot_times.date = Eot_times.ajd_to_datetime(ajd)
|
86
|
+
end
|
87
|
+
|
88
|
+
it 'expected 2455055.0, from Eot_times.' do
|
89
|
+
assert_equal( 2455055.0, Eot_times.ajd )
|
90
|
+
end
|
91
|
+
|
92
|
+
it 'expected "2009-08-11T12:00:00+00:00" from Eot_times.date.to_s' do
|
93
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.date.to_s
|
94
|
+
end
|
95
|
+
|
96
|
+
it 'expected 3.7871218188949207 from Eot_times.' do
|
97
|
+
assert_equal( 3.7871218188949207, Eot_times.ma )
|
98
|
+
end
|
99
|
+
|
100
|
+
it 'expected "2009-08-11T12:00:00+00:00" from Eot_times.ajd_to_datetime(Eot_times.ajd).to_s' do
|
101
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.ajd_to_datetime(Eot_times.ajd).to_s
|
102
|
+
end
|
103
|
+
|
104
|
+
it 'expected -0.00358400707437244 from Eot_times.eot_jd()' do
|
105
|
+
assert_equal( -0.00358400707437244, Eot_times.eot_jd() )
|
106
|
+
end
|
107
|
+
|
108
|
+
it 'expected "2009-08-11T12:00:00+00:00" from Eot_times.mean_local_noon_dt().to_s' do
|
109
|
+
assert_equal "2009-08-11T12:00:00+00:00", Eot_times.mean_local_noon_dt().to_s
|
110
|
+
end
|
111
|
+
|
112
|
+
it 'expected "2009-08-11T04:39:45+00:00" from Eot_times.sunrise_dt().to_s' do
|
113
|
+
assert_equal "2009-08-11T04:39:45+00:00", Eot_times.sunrise_dt().to_s
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'expected 2455054.6942728516 from Eot_times.sunrise_jd()' do
|
117
|
+
assert_equal( 2455054.6942728516, Eot_times.sunrise_jd() )
|
118
|
+
end
|
119
|
+
|
120
|
+
it 'expected "2009-08-11T19:30:34+00:00" from Eot_times.sunset_dt()' do
|
121
|
+
assert_equal "2009-08-11T19:30:34+00:00", Eot_times.sunset_dt().to_s
|
122
|
+
end
|
123
|
+
|
124
|
+
it 'expected 2455055.3128953967 from Eot_times.sunset_jd() ' do
|
125
|
+
assert_equal( 2455055.3128953967, Eot_times.sunset_jd() )
|
126
|
+
end
|
127
|
+
|
128
|
+
it 'expected -5.160970187096313 is from Eot_times.time_eot() ' do
|
129
|
+
assert_equal( -5.160970187096313, Eot_times.time_eot() )
|
130
|
+
end
|
131
|
+
|
132
|
+
end
|
133
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
#~ # utilities_spec.rb
|
2
|
+
#~ #
|
3
|
+
|
4
|
+
#~ require_relative 'spec_config'
|
5
|
+
|
6
|
+
#~ lib = File.expand_path('../../../lib', __FILE__)
|
7
|
+
#~ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
8
|
+
#~ require 'eot'
|
9
|
+
|
10
|
+
#~ Eot_utilities = Eot.new
|
11
|
+
|
12
|
+
#~ describe 'tests ajd of 2456885.0' do
|
13
|
+
|
14
|
+
#~ before(:each) do
|
15
|
+
#~ Eot_utilities.ajd = 2456885.0
|
16
|
+
#~ ajd = Eot_utilities.ajd
|
17
|
+
#~ # check date for this ajd when needed.
|
18
|
+
#~ Eot_utilities.date = Eot_utilities.ajd_to_datetime(ajd)
|
19
|
+
#~ end
|
20
|
+
|
21
|
+
#~ it 'expected 2456885.0 for Eot_utilities.ajd'do
|
22
|
+
#~ assert_equal 2456885.0, Eot_utilities.ajd
|
23
|
+
#~ end
|
24
|
+
|
25
|
+
#~ it 'expected 3.8508003966038915 for Eot_utilities.ma'do
|
26
|
+
#~ assert_equal 3.8508003966038915, Eot_utilities.ma
|
27
|
+
#~ end
|
28
|
+
|
29
|
+
#~ it 'expected 0.0 returned by Eot_utilities.mod_360() ' do
|
30
|
+
#~ assert_equal 0.0, Eot_utilities.mod_360()
|
31
|
+
#~ assert_equal 0.0, Eot_utilities.mod_360(nil)
|
32
|
+
#~ assert_equal 0.0, Eot_utilities.mod_360(0)
|
33
|
+
#~ end
|
34
|
+
|
35
|
+
#~ end
|
metadata
CHANGED
@@ -1,171 +1,142 @@
|
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Douglas Allen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rdoc
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.0'
|
20
20
|
type: :development
|
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: '
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rake
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
26
|
+
version: '4.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: rake-compiler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
|
-
- - "
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
31
|
+
- - "~>"
|
53
32
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: minitest
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
33
|
+
version: '0.9'
|
59
34
|
- - ">="
|
60
35
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
36
|
+
version: 0.9.3
|
62
37
|
type: :development
|
63
38
|
prerelease: false
|
64
39
|
version_requirements: !ruby/object:Gem::Requirement
|
65
40
|
requirements:
|
66
|
-
- - "
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
41
|
+
- - "~>"
|
74
42
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
43
|
+
version: '0.9'
|
80
44
|
- - ">="
|
81
45
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
46
|
+
version: 0.9.3
|
83
47
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
48
|
+
name: hoe
|
85
49
|
requirement: !ruby/object:Gem::Requirement
|
86
50
|
requirements:
|
87
|
-
- - "
|
51
|
+
- - "~>"
|
88
52
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
53
|
+
version: '3.12'
|
90
54
|
type: :development
|
91
55
|
prerelease: false
|
92
56
|
version_requirements: !ruby/object:Gem::Requirement
|
93
57
|
requirements:
|
94
|
-
- - "
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: celes
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: multi_xml
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rest-client
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
58
|
+
- - "~>"
|
137
59
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
139
|
-
description:
|
140
|
-
|
60
|
+
version: '3.12'
|
61
|
+
description: |-
|
62
|
+
Calculate Sunrise and Sunset. Now uses native C wrapper.
|
63
|
+
Lots of examples to play with for learning about Eot.
|
141
64
|
email:
|
142
65
|
- kb9agt@gmail.com
|
143
66
|
executables: []
|
144
67
|
extensions:
|
145
|
-
- ext/
|
146
|
-
extra_rdoc_files:
|
68
|
+
- ext/eot/extconf.rb
|
69
|
+
extra_rdoc_files:
|
70
|
+
- CHANGELOG.rdoc
|
71
|
+
- LICENSE.rdoc
|
72
|
+
- LICENSE.txt
|
73
|
+
- Manifest.txt
|
74
|
+
- README.rdoc
|
75
|
+
- examples/julian_day_formula.txt
|
76
|
+
- examples/nutation_series.txt
|
77
|
+
- examples/nutation_table5_3a.txt
|
147
78
|
files:
|
79
|
+
- ".autotest"
|
148
80
|
- ".buildpath"
|
149
|
-
- ".
|
81
|
+
- ".gemtest"
|
82
|
+
- ".minitest.rb"
|
150
83
|
- ".project"
|
151
84
|
- ".rspec"
|
152
|
-
- ".
|
85
|
+
- ".ruby-version"
|
86
|
+
- ".settings/org.eclipse.ltk.core.refactoring.prefs"
|
87
|
+
- CHANGELOG.rdoc
|
153
88
|
- Gemfile
|
154
89
|
- Gemfile.lock
|
155
|
-
-
|
90
|
+
- Guardfile
|
91
|
+
- LICENSE.rdoc
|
156
92
|
- LICENSE.txt
|
157
|
-
-
|
158
|
-
-
|
93
|
+
- Manifest.txt
|
94
|
+
- README.rdoc
|
159
95
|
- Rakefile
|
160
96
|
- equationoftime.gemspec
|
161
|
-
-
|
162
|
-
-
|
163
|
-
-
|
164
|
-
-
|
97
|
+
- examples/Equation_of_Time.jpg
|
98
|
+
- examples/analemma_data_generator.rb
|
99
|
+
- examples/check_date_type.rb
|
100
|
+
- examples/compare_geoc_long_ra.rb
|
101
|
+
- examples/data_table_for_astro_dog.rb
|
102
|
+
- examples/earth_rotation.rb
|
103
|
+
- examples/eot_methods_list.rb
|
104
|
+
- examples/eot_plot.r
|
105
|
+
- examples/eot_suntimes.rb
|
106
|
+
- examples/equation_of_time.py
|
107
|
+
- examples/figure_1.jpg
|
108
|
+
- examples/file_converter.rb
|
109
|
+
- examples/from_readme.rb
|
110
|
+
- examples/from_wiki.rb
|
111
|
+
- examples/geo_locator.rb
|
112
|
+
- examples/getjd.rb
|
113
|
+
- examples/gmst_gast_non_sofa.rb
|
114
|
+
- examples/input_suntimes.rb
|
115
|
+
- examples/julian_day_formula.rb
|
116
|
+
- examples/julian_day_formula.txt
|
117
|
+
- examples/my_time_conversion.rb
|
118
|
+
- examples/nutation_series.txt
|
119
|
+
- examples/nutation_table5_3a.txt
|
120
|
+
- examples/ptime.rb
|
121
|
+
- examples/suntimes.rb
|
122
|
+
- examples/suntimes_test.rb
|
123
|
+
- examples/t_sofa.rb
|
124
|
+
- examples/test_celes.rb
|
125
|
+
- examples/test_ceot.rb
|
126
|
+
- examples/test_poly_eval.rb
|
127
|
+
- examples/time_scales.rb
|
128
|
+
- examples/times_year.rb
|
129
|
+
- examples/usage_example.rb
|
130
|
+
- examples/use_angles.rb
|
131
|
+
- ext/eot/ceot.c
|
132
|
+
- ext/eot/ceot.h
|
133
|
+
- ext/eot/eot.c
|
134
|
+
- ext/eot/extconf.rb
|
165
135
|
- lib/eot.rb
|
166
136
|
- lib/eot/angles.rb
|
167
137
|
- lib/eot/constants.rb
|
168
138
|
- lib/eot/displays.rb
|
139
|
+
- lib/eot/eot.so
|
169
140
|
- lib/eot/geo_lat_lng_smt.rb
|
170
141
|
- lib/eot/init.rb
|
171
142
|
- lib/eot/nutation.rb
|
@@ -173,14 +144,26 @@ files:
|
|
173
144
|
- lib/eot/utilities.rb
|
174
145
|
- lib/eot/version.rb
|
175
146
|
- run_tests_eclipse.rb
|
176
|
-
-
|
177
|
-
-
|
178
|
-
|
147
|
+
- test/aliased_angles_spec.rb
|
148
|
+
- test/aliased_displays_spec.rb
|
149
|
+
- test/aliased_utilities_spec.rb
|
150
|
+
- test/angles_spec.rb
|
151
|
+
- test/constants_spec.rb
|
152
|
+
- test/displays_spec.rb
|
153
|
+
- test/geo_spec.rb
|
154
|
+
- test/init_spec.rb
|
155
|
+
- test/nutation_spec.rb
|
156
|
+
- test/spec_config.rb
|
157
|
+
- test/times_spec.rb
|
158
|
+
- test/utilities_spec.rb
|
159
|
+
homepage: http://equationoftime.herokuapp.com/
|
179
160
|
licenses:
|
180
161
|
- MIT
|
181
162
|
metadata: {}
|
182
163
|
post_install_message:
|
183
|
-
rdoc_options:
|
164
|
+
rdoc_options:
|
165
|
+
- "--main"
|
166
|
+
- README.rdoc
|
184
167
|
require_paths:
|
185
168
|
- lib
|
186
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -198,6 +181,17 @@ rubyforge_project:
|
|
198
181
|
rubygems_version: 2.4.1
|
199
182
|
signing_key:
|
200
183
|
specification_version: 4
|
201
|
-
summary:
|
202
|
-
test_files:
|
203
|
-
|
184
|
+
summary: Calculate Sunrise and Sunset
|
185
|
+
test_files:
|
186
|
+
- test/spec_config.rb
|
187
|
+
- test/nutation_spec.rb
|
188
|
+
- test/aliased_angles_spec.rb
|
189
|
+
- test/aliased_displays_spec.rb
|
190
|
+
- test/angles_spec.rb
|
191
|
+
- test/times_spec.rb
|
192
|
+
- test/init_spec.rb
|
193
|
+
- test/aliased_utilities_spec.rb
|
194
|
+
- test/utilities_spec.rb
|
195
|
+
- test/constants_spec.rb
|
196
|
+
- test/displays_spec.rb
|
197
|
+
- test/geo_spec.rb
|