haversine_distance 1.0.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/haversine.gemspec +2 -5
- data/lib/haversine/version.rb +1 -1
- metadata +11 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e4a5592ce63522a22ddd40765d0a0d2e341f9b5
|
4
|
+
data.tar.gz: 1184b321b7b43b5f56bcd7eb9ba4a5f3eb7ff6f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5fdff9d303dee616292b5c80c252030453f7da373468979dc997cf8107f022dfdf58a8cdb9717a6517d851625539949e42caca38f69881998bda5cfa38919f5
|
7
|
+
data.tar.gz: 3bc1cc4d5f0c889aae5ba4fa93af9034297f588e40d56147def4b2f4a97fba1efd96e280df3fda9935a7502fcd31b4eba0ea58abed919920ccde1c01d73daea7
|
data/haversine.gemspec
CHANGED
@@ -9,7 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.email = ["jirapong.nanta@gmail.com"]
|
10
10
|
s.homepage = "https://github.com/jirapong/haversine_distance"
|
11
11
|
s.summary = "Haversine is a formula to calculate the great-circle distance between two points"
|
12
|
-
s.description = "
|
12
|
+
s.description = "Haversine is a formula to calculate the great-circle distance between two points. for instance. km_distance = Haversine.distance(lat_a, lng_a, lat_b, lng_b)"
|
13
|
+
s.license = 'MIT'
|
13
14
|
|
14
15
|
s.rubyforge_project = "haversine"
|
15
16
|
|
@@ -17,8 +18,4 @@ Gem::Specification.new do |s|
|
|
17
18
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
20
|
s.require_paths = ["lib"]
|
20
|
-
|
21
|
-
# specify any dependencies here; for example:
|
22
|
-
# s.add_development_dependency "rspec"
|
23
|
-
# s.add_runtime_dependency "rest-client"
|
24
21
|
end
|
data/lib/haversine/version.rb
CHANGED
metadata
CHANGED
@@ -1,24 +1,25 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haversine_distance
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jirapong Nanta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
lat_b,
|
13
|
+
description: Haversine is a formula to calculate the great-circle distance between
|
14
|
+
two points. for instance. km_distance = Haversine.distance(lat_a, lng_a, lat_b,
|
15
|
+
lng_b)
|
15
16
|
email:
|
16
17
|
- jirapong.nanta@gmail.com
|
17
18
|
executables: []
|
18
19
|
extensions: []
|
19
20
|
extra_rdoc_files: []
|
20
21
|
files:
|
21
|
-
- .gitignore
|
22
|
+
- ".gitignore"
|
22
23
|
- Gemfile
|
23
24
|
- README
|
24
25
|
- README.markdown
|
@@ -28,7 +29,8 @@ files:
|
|
28
29
|
- lib/haversine/version.rb
|
29
30
|
- test/test_haversine.rb
|
30
31
|
homepage: https://github.com/jirapong/haversine_distance
|
31
|
-
licenses:
|
32
|
+
licenses:
|
33
|
+
- MIT
|
32
34
|
metadata: {}
|
33
35
|
post_install_message:
|
34
36
|
rdoc_options: []
|
@@ -36,17 +38,17 @@ require_paths:
|
|
36
38
|
- lib
|
37
39
|
required_ruby_version: !ruby/object:Gem::Requirement
|
38
40
|
requirements:
|
39
|
-
- -
|
41
|
+
- - ">="
|
40
42
|
- !ruby/object:Gem::Version
|
41
43
|
version: '0'
|
42
44
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
45
|
requirements:
|
44
|
-
- -
|
46
|
+
- - ">="
|
45
47
|
- !ruby/object:Gem::Version
|
46
48
|
version: '0'
|
47
49
|
requirements: []
|
48
50
|
rubyforge_project: haversine
|
49
|
-
rubygems_version: 2.
|
51
|
+
rubygems_version: 2.4.5.1
|
50
52
|
signing_key:
|
51
53
|
specification_version: 4
|
52
54
|
summary: Haversine is a formula to calculate the great-circle distance between two
|