vincenty 1.0.6 → 1.0.10
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 +5 -5
- data/History.txt +34 -0
- data/README.md +3 -3
- data/Rakefile +17 -10
- data/lib/angle.rb +178 -194
- data/lib/coordinate.rb +18 -19
- data/lib/core_extensions.rb +40 -59
- data/lib/latitude.rb +24 -26
- data/lib/longitude.rb +16 -20
- data/lib/track_and_distance.rb +36 -37
- data/lib/vincenty.rb +137 -128
- data/test/ts_all.rb +8 -9
- data/test/ts_angle.rb +49 -48
- data/test/ts_coordinate.rb +6 -5
- data/test/ts_latitude.rb +10 -7
- data/test/ts_longitude.rb +10 -7
- data/test/ts_track_and_distance.rb +12 -9
- data/test/ts_vincenty.rb +74 -65
- metadata +12 -14
- data/.gemtest +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 37c0c0922bddbfdd5dcef8f791bfabdaa154392b34b87ae9a12211c2e3d97de6
|
4
|
+
data.tar.gz: 3cf931671b138ab6552b90aafc9d483fce1fbe8329a46f4573526a1bd6c1d750
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 416ffed90caaa6f501b3114585934fa406e212782075b3cabd38acebf9b7d15414dd05d17ce1d2032469c497ca8107d1c3238022a714f016801595ced91b9307
|
7
|
+
data.tar.gz: d5f2ca7b476ffafc99da3a517e849ce3d6ccb05448c7565f586d6d2e92684c8c8ac7ed91241ce06b293abeb1566777af4f95c9c62be1abb0721a10102a096a4e
|
data/History.txt
CHANGED
@@ -1,3 +1,37 @@
|
|
1
|
+
robertburrowes Sun Oct 10 12:07:45 2021 +1300
|
2
|
+
Inc version
|
3
|
+
robertburrowes Sun Oct 10 12:05:54 2021 +1300
|
4
|
+
removed Float.round, as ruby now does this. removed to_r, as it is now defined in the core ruby libraries, with a different meaning
|
5
|
+
robertburrowes Sun Oct 10 11:44:09 2021 +1300
|
6
|
+
Chmod, adding world readable
|
7
|
+
robertburrowes Sun Oct 10 11:39:21 2021 +1300
|
8
|
+
Bump Version, after removing stray '.'
|
9
|
+
robertburrowes Fri Oct 8 16:32:19 2021 +1300
|
10
|
+
rubocop cleanup
|
11
|
+
robertburrowes Sat Oct 31 22:30:50 2020 +1300
|
12
|
+
.yardoc shouldn't be in the repo
|
13
|
+
robertburrowes Sat Oct 31 16:25:23 2020 +1300
|
14
|
+
Include Separate License file
|
15
|
+
robertburrowes Sat Oct 31 16:19:30 2020 +1300
|
16
|
+
Docs at .io, not .com
|
17
|
+
robertburrowes Sat Oct 31 16:19:12 2020 +1300
|
18
|
+
Standard Rakefile
|
19
|
+
robertburrowes Sat Oct 31 16:18:42 2020 +1300
|
20
|
+
Mv dev scripts to sbin
|
21
|
+
rbur004 Sat Dec 3 18:12:35 2016 +1300
|
22
|
+
Changed tests to be individually runable
|
23
|
+
rbur004 Sat Dec 3 17:36:05 2016 +1300
|
24
|
+
Code is old. Needed require change to require_relative
|
25
|
+
Rob Burrowes Fri May 22 14:07:09 2015 +1200
|
26
|
+
Dropped this, as it is auto generated.
|
27
|
+
Rob Burrowes Mon May 18 16:51:05 2015 +1200
|
28
|
+
|
29
|
+
Rob Burrowes Mon May 18 14:33:16 2015 +1200
|
30
|
+
|
31
|
+
Rob Burrowes Mon May 18 12:07:03 2015 +1200
|
32
|
+
Alter Float.round behaviour to match ruby behaviour
|
33
|
+
robertburrowes Sat Aug 23 16:14:35 2014 +1200
|
34
|
+
Rakefile comented out rubyforge_name
|
1
35
|
robertburrowes Wed Aug 13 20:36:13 2014 +1200
|
2
36
|
Change to_d to to_deg
|
3
37
|
robertburrowes Sun Jan 13 11:19:28 2013 +1300
|
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/local/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
|
-
|
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
|