vincenty 1.0.4 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.txt +62 -52
- data/README.md +3 -3
- data/Rakefile +17 -10
- data/lib/angle.rb +215 -203
- data/lib/coordinate.rb +24 -23
- data/lib/core_extensions.rb +67 -59
- data/lib/latitude.rb +30 -29
- data/lib/longitude.rb +22 -23
- data/lib/track_and_distance.rb +36 -32
- data/lib/vincenty.rb +153 -143
- data/test/ts_all.rb +8 -8
- data/test/ts_angle.rb +55 -54
- data/test/ts_coordinate.rb +10 -9
- data/test/ts_latitude.rb +20 -17
- data/test/ts_longitude.rb +14 -11
- data/test/ts_track_and_distance.rb +12 -9
- data/test/ts_vincenty.rb +80 -71
- metadata +33 -39
- data/.gemtest +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a8c6ea3c3470ff15da8327c1d3a0094a3f3c4b1c8d0796a38b9fd6218a61673c
|
4
|
+
data.tar.gz: 9a648f496428a4c1cf42ae6fcf2d3fdf595c40da7db73bea862e147998d8eded
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c9839e6de4ac0d516d29577d6bd0d4594c8967bb793bc19e202c75ee03fd5c1e50e543888ad32e3915324307c11d01e8c7ade41793c811e2e3c99bf48fab519e
|
7
|
+
data.tar.gz: f6ba931e58dc2835d24a8f1a604fac8c14d70c409f4d8667fd0c5ce16b47a9a138f45b816cbb337a0294de0e07a6a763af9f79d646a72d01e854a5c34270b7e1
|
data/History.txt
CHANGED
@@ -1,52 +1,62 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
1
|
+
robertburrowes Sun Oct 10 11:39:21 2021 +1300
|
2
|
+
Bump Version, after removing stray '.'
|
3
|
+
robertburrowes Fri Oct 8 16:32:19 2021 +1300
|
4
|
+
rubocop cleanup
|
5
|
+
robertburrowes Sat Oct 31 22:30:50 2020 +1300
|
6
|
+
.yardoc shouldn't be in the repo
|
7
|
+
robertburrowes Sat Oct 31 16:25:23 2020 +1300
|
8
|
+
Include Separate License file
|
9
|
+
robertburrowes Sat Oct 31 16:19:30 2020 +1300
|
10
|
+
Docs at .io, not .com
|
11
|
+
robertburrowes Sat Oct 31 16:19:12 2020 +1300
|
12
|
+
Standard Rakefile
|
13
|
+
robertburrowes Sat Oct 31 16:18:42 2020 +1300
|
14
|
+
Mv dev scripts to sbin
|
15
|
+
rbur004 Sat Dec 3 18:12:35 2016 +1300
|
16
|
+
Changed tests to be individually runable
|
17
|
+
rbur004 Sat Dec 3 17:36:05 2016 +1300
|
18
|
+
Code is old. Needed require change to require_relative
|
19
|
+
Rob Burrowes Fri May 22 14:07:09 2015 +1200
|
20
|
+
Dropped this, as it is auto generated.
|
21
|
+
Rob Burrowes Mon May 18 16:51:05 2015 +1200
|
22
|
+
|
23
|
+
Rob Burrowes Mon May 18 14:33:16 2015 +1200
|
24
|
+
|
25
|
+
Rob Burrowes Mon May 18 12:07:03 2015 +1200
|
26
|
+
Alter Float.round behaviour to match ruby behaviour
|
27
|
+
robertburrowes Sat Aug 23 16:14:35 2014 +1200
|
28
|
+
Rakefile comented out rubyforge_name
|
29
|
+
robertburrowes Wed Aug 13 20:36:13 2014 +1200
|
30
|
+
Change to_d to to_deg
|
31
|
+
robertburrowes Sun Jan 13 11:19:28 2013 +1300
|
32
|
+
removed .yardoc from repository
|
33
|
+
robertburrowes Sun Jan 13 11:18:10 2013 +1300
|
34
|
+
removed .yard from repository
|
35
|
+
robertburrowes Sun Jan 13 11:14:48 2013 +1300
|
36
|
+
History now autogenerated, so doesn't need to be in repo
|
37
|
+
robertburrowes Sun Jan 13 11:14:07 2013 +1300
|
38
|
+
Auto generating history file
|
39
|
+
robertburrowes Sun Jan 13 10:49:28 2013 +1300
|
40
|
+
Tidy up of documentation to include more yard tags. Added to_f in Angle.dms to allow more param types to work with dms
|
41
|
+
robertburrowes Sat Jan 12 13:14:58 2013 +1300
|
42
|
+
Updated the install script version to match Vincenty.version Added copy of test suite that uses the install gem, rather than the source code.
|
43
|
+
robertburrowes Sat Jan 12 13:04:54 2013 +1300
|
44
|
+
Changed comments and Readme to 'yard' markdown. Added missing Angle tests into ts_angle.rb Fixed Angle.dms constructer Changed Angle strings to format d m' s" , removing the degree symbol and alternate ' and " symbols. Fixed private function in Angle, that produces output strings (no critical bug).
|
45
|
+
robertburrowes Thu Jan 10 22:04:45 2013 +1300
|
46
|
+
Tidy up
|
47
|
+
rbur004 Sat Sep 29 15:20:04 2012 +1200
|
48
|
+
-
|
49
|
+
rbur004 Sat Sep 29 15:14:21 2012 +1200
|
50
|
+
Missing from the repo, though just generated from git log anyway
|
51
|
+
rbur004 Fri Jan 1 11:10:33 2010 +1300
|
52
|
+
Found the error generating gems with gem 1.3.5 and Hoe. The url in README.txt should not have quotes around it.
|
53
|
+
rbur004 Thu Dec 31 23:39:08 2009 +1300
|
54
|
+
Commented out the require 'lib/vincenty.rb' as it is no longer required
|
55
|
+
rbur004 Thu Dec 31 22:50:16 2009 +1300
|
56
|
+
Hoe gem builder version changed, requiring changes in Hoe calls
|
57
|
+
rbur004 Thu Dec 31 20:06:29 2009 +1300
|
58
|
+
Added version method to Vincenty to verify which gem version we are actually using.
|
59
|
+
rbur004 Fri Mar 6 04:36:51 2009 +1300
|
60
|
+
Minor fix to require list in test/ts_all and added two tests.
|
61
|
+
rbur004 Tue Mar 3 19:17:36 2009 +1300
|
62
|
+
Initial commit of version 1.0.1.
|
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Vincenty
|
2
2
|
|
3
|
-
* http://rbur004.github.
|
4
|
-
* Source https://github.com/rbur004/vincenty
|
5
|
-
* Gem https://rubygems.org/gems/vincenty
|
3
|
+
* Docs :: http://rbur004.github.io/vincenty/
|
4
|
+
* Source :: https://github.com/rbur004/vincenty
|
5
|
+
* Gem :: https://rubygems.org/gems/vincenty
|
6
6
|
|
7
7
|
## DESCRIPTION:
|
8
8
|
|
data/Rakefile
CHANGED
@@ -1,20 +1,27 @@
|
|
1
|
-
#!/usr/bin/ruby
|
2
1
|
# -*- ruby -*-
|
3
|
-
|
4
2
|
require 'rubygems'
|
5
3
|
require 'hoe'
|
6
|
-
#require 'lib/vincenty.rb'
|
7
4
|
Hoe.plugin :yard
|
5
|
+
load "#{__dir__}/version"
|
8
6
|
|
9
|
-
Hoe.spec
|
10
|
-
self.
|
7
|
+
Hoe.spec PROJECT do
|
8
|
+
self.readme_file = "README.md"
|
11
9
|
self.developer( "Rob Burrowes","r.burrowes@auckland.ac.nz")
|
10
|
+
remote_rdoc_dir = '' # Release to root
|
12
11
|
|
13
|
-
self.yard_title =
|
12
|
+
self.yard_title = PROJECT
|
14
13
|
self.yard_options = ['--markup', 'markdown', '--protected']
|
15
|
-
#self.url = "http://www.wikarekare.org"
|
16
|
-
#self.summary = "Vincenty Algorithm for Distance, Bearing between Map Coordinates."
|
17
|
-
#self.description = s.paragraphs_of('README.txt', 1..4).join("\n\n")
|
18
|
-
#self.remote_rdoc_dir = '' # Release to root
|
19
14
|
end
|
20
15
|
|
16
|
+
|
17
|
+
#Validate manfest.txt
|
18
|
+
#rake check_manifest
|
19
|
+
|
20
|
+
#Local checking. Creates pkg/
|
21
|
+
#rake gem
|
22
|
+
|
23
|
+
#create doc/
|
24
|
+
#rake docs
|
25
|
+
|
26
|
+
#Copy up to rubygem.org
|
27
|
+
#rake release VERSION=1.0.1
|