geo-distance 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (7) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +3 -4
  3. data/Rakefile +0 -15
  4. data/VERSION +1 -1
  5. data/geo-distance.gemspec +22 -26
  6. metadata +47 -49
  7. data/Gemfile.lock +0 -45
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e284509c6dec19750a4aab5617bee11d68a90f57
4
+ data.tar.gz: 97c074a9c82c18d1a10e83d14305c626438623fa
5
+ SHA512:
6
+ metadata.gz: fe93a365f6fc13937cbd6acd85bc447792e4920a5f43410f2e443b1433e5d3e3b3ad5f4b9e013809525e293b1db7a34a722b9e7a0e7f4e3747075609cdaf2318
7
+ data.tar.gz: ffe68c308f4efb6ad24576087eca8d4c4281a5fb32e237f892b30eebc2d4c03277f6a0282a811a844d40e3e249da8de4aa3b97ca323d3f77ab2de52f55bfcde4
data/Gemfile CHANGED
@@ -1,11 +1,10 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gem 'geo_point', '~> 0.2.5'
4
- gem 'geo_units', '~> 0.2.4.1'
4
+ gem 'geo_units', '~> 0.3.3'
5
5
 
6
6
  group :development do
7
7
  gem "rspec", ">= 2.6.0"
8
- gem "bundler", "~> 1.0.10"
9
- gem "jeweler", "~> 1.6.2"
10
- gem "rcov", ">= 0"
8
+ gem "bundler", ">= 1.1"
9
+ gem "jeweler", ">= 1.6.2"
11
10
  end
data/Rakefile CHANGED
@@ -33,19 +33,4 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
33
33
  spec.pattern = FileList['spec/**/*_spec.rb']
34
34
  end
35
35
 
36
- RSpec::Core::RakeTask.new(:rcov) do |spec|
37
- spec.pattern = 'spec/**/*_spec.rb'
38
- spec.rcov = true
39
- end
40
-
41
36
  task :default => :spec
42
-
43
- require 'rake/rdoctask'
44
- Rake::RDocTask.new do |rdoc|
45
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
46
-
47
- rdoc.rdoc_dir = 'rdoc'
48
- rdoc.title = "geo-distance #{version}"
49
- rdoc.rdoc_files.include('README*')
50
- rdoc.rdoc_files.include('lib/**/*.rb')
51
- end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -2,17 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: geo-distance 0.2.1 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
- s.name = %q{geo-distance}
8
- s.version = "0.2.0"
8
+ s.name = "geo-distance"
9
+ s.version = "0.2.1"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = [%q{Kristian Mandrup}]
12
- s.date = %q{2011-06-23}
13
- s.description = %q{Calculates the geo distance between two locations using longitude and latitude using Haversine, Speherical or Vincenty formula.
14
- This is done using Math formulas without resorting to Active Record or SQL DB functionality}
15
- s.email = %q{kmandrup@gmail.com}
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Kristian Mandrup"]
14
+ s.date = "2016-01-11"
15
+ s.description = "Calculates the geo distance between two locations using longitude and latitude using Haversine, Speherical or Vincenty formula. \nThis is done using Math formulas without resorting to Active Record or SQL DB functionality"
16
+ s.email = "kmandrup@gmail.com"
16
17
  s.extra_rdoc_files = [
17
18
  "LICENSE.txt",
18
19
  "README.textile"
@@ -21,7 +22,6 @@ This is done using Math formulas without resorting to Active Record or SQL DB fu
21
22
  ".document",
22
23
  ".rspec",
23
24
  "Gemfile",
24
- "Gemfile.lock",
25
25
  "LICENSE.txt",
26
26
  "README.textile",
27
27
  "Rakefile",
@@ -51,37 +51,33 @@ This is done using Math formulas without resorting to Active Record or SQL DB fu
51
51
  "spec/geo_distance/formula/vincenty_spec.rb",
52
52
  "spec/spec_helper.rb"
53
53
  ]
54
- s.homepage = %q{http://github.com/kristianmandrup/geo-distance}
55
- s.licenses = [%q{MIT}]
56
- s.require_paths = [%q{lib}]
57
- s.rubygems_version = %q{1.8.5}
58
- s.summary = %q{Calculates the geo distance between two locations using longitude and latitude, using Haversine, Speherical or Vincenty formula}
54
+ s.homepage = "http://github.com/kristianmandrup/geo-distance"
55
+ s.licenses = ["MIT"]
56
+ s.rubygems_version = "2.2.2"
57
+ s.summary = "Calculates the geo distance between two locations using longitude and latitude, using Haversine, Speherical or Vincenty formula"
59
58
 
60
59
  if s.respond_to? :specification_version then
61
- s.specification_version = 3
60
+ s.specification_version = 4
62
61
 
63
62
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
64
63
  s.add_runtime_dependency(%q<geo_point>, ["~> 0.2.5"])
65
- s.add_runtime_dependency(%q<geo_units>, ["~> 0.2.4.1"])
64
+ s.add_runtime_dependency(%q<geo_units>, ["~> 0.3.3"])
66
65
  s.add_development_dependency(%q<rspec>, [">= 2.6.0"])
67
- s.add_development_dependency(%q<bundler>, ["~> 1.0.10"])
68
- s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
69
- s.add_development_dependency(%q<rcov>, [">= 0"])
66
+ s.add_development_dependency(%q<bundler>, [">= 1.1"])
67
+ s.add_development_dependency(%q<jeweler>, [">= 1.6.2"])
70
68
  else
71
69
  s.add_dependency(%q<geo_point>, ["~> 0.2.5"])
72
- s.add_dependency(%q<geo_units>, ["~> 0.2.4.1"])
70
+ s.add_dependency(%q<geo_units>, ["~> 0.3.3"])
73
71
  s.add_dependency(%q<rspec>, [">= 2.6.0"])
74
- s.add_dependency(%q<bundler>, ["~> 1.0.10"])
75
- s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
76
- s.add_dependency(%q<rcov>, [">= 0"])
72
+ s.add_dependency(%q<bundler>, [">= 1.1"])
73
+ s.add_dependency(%q<jeweler>, [">= 1.6.2"])
77
74
  end
78
75
  else
79
76
  s.add_dependency(%q<geo_point>, ["~> 0.2.5"])
80
- s.add_dependency(%q<geo_units>, ["~> 0.2.4.1"])
77
+ s.add_dependency(%q<geo_units>, ["~> 0.3.3"])
81
78
  s.add_dependency(%q<rspec>, [">= 2.6.0"])
82
- s.add_dependency(%q<bundler>, ["~> 1.0.10"])
83
- s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
84
- s.add_dependency(%q<rcov>, [">= 0"])
79
+ s.add_dependency(%q<bundler>, [">= 1.1"])
80
+ s.add_dependency(%q<jeweler>, [">= 1.6.2"])
85
81
  end
86
82
  end
87
83
 
metadata CHANGED
@@ -1,85 +1,88 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo-distance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Kristian Mandrup
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-06-23 00:00:00.000000000Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: geo_point
16
- requirement: &2153874980 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.2.5
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2153874980
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.5
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: geo_units
27
- requirement: &2153874380 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
- version: 0.2.4.1
33
+ version: 0.3.3
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *2153874380
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.3
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: rspec
38
- requirement: &2153873740 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ! '>='
45
+ - - ">="
42
46
  - !ruby/object:Gem::Version
43
47
  version: 2.6.0
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *2153873740
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 2.6.0
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: bundler
49
- requirement: &2153873060 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ~>
59
+ - - ">="
53
60
  - !ruby/object:Gem::Version
54
- version: 1.0.10
61
+ version: '1.1'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *2153873060
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: jeweler
60
- requirement: &2153871480 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
- - - ~>
73
+ - - ">="
64
74
  - !ruby/object:Gem::Version
65
75
  version: 1.6.2
66
76
  type: :development
67
77
  prerelease: false
68
- version_requirements: *2153871480
69
- - !ruby/object:Gem::Dependency
70
- name: rcov
71
- requirement: &2153870700 !ruby/object:Gem::Requirement
72
- none: false
78
+ version_requirements: !ruby/object:Gem::Requirement
73
79
  requirements:
74
- - - ! '>='
80
+ - - ">="
75
81
  - !ruby/object:Gem::Version
76
- version: '0'
77
- type: :development
78
- prerelease: false
79
- version_requirements: *2153870700
80
- description: ! "Calculates the geo distance between two locations using longitude
81
- and latitude using Haversine, Speherical or Vincenty formula. \nThis is done using
82
- Math formulas without resorting to Active Record or SQL DB functionality"
82
+ version: 1.6.2
83
+ description: "Calculates the geo distance between two locations using longitude and
84
+ latitude using Haversine, Speherical or Vincenty formula. \nThis is done using Math
85
+ formulas without resorting to Active Record or SQL DB functionality"
83
86
  email: kmandrup@gmail.com
84
87
  executables: []
85
88
  extensions: []
@@ -87,10 +90,9 @@ extra_rdoc_files:
87
90
  - LICENSE.txt
88
91
  - README.textile
89
92
  files:
90
- - .document
91
- - .rspec
93
+ - ".document"
94
+ - ".rspec"
92
95
  - Gemfile
93
- - Gemfile.lock
94
96
  - LICENSE.txt
95
97
  - README.textile
96
98
  - Rakefile
@@ -122,30 +124,26 @@ files:
122
124
  homepage: http://github.com/kristianmandrup/geo-distance
123
125
  licenses:
124
126
  - MIT
127
+ metadata: {}
125
128
  post_install_message:
126
129
  rdoc_options: []
127
130
  require_paths:
128
131
  - lib
129
132
  required_ruby_version: !ruby/object:Gem::Requirement
130
- none: false
131
133
  requirements:
132
- - - ! '>='
134
+ - - ">="
133
135
  - !ruby/object:Gem::Version
134
136
  version: '0'
135
- segments:
136
- - 0
137
- hash: -358498389682454250
138
137
  required_rubygems_version: !ruby/object:Gem::Requirement
139
- none: false
140
138
  requirements:
141
- - - ! '>='
139
+ - - ">="
142
140
  - !ruby/object:Gem::Version
143
141
  version: '0'
144
142
  requirements: []
145
143
  rubyforge_project:
146
- rubygems_version: 1.8.5
144
+ rubygems_version: 2.2.2
147
145
  signing_key:
148
- specification_version: 3
146
+ specification_version: 4
149
147
  summary: Calculates the geo distance between two locations using longitude and latitude,
150
148
  using Haversine, Speherical or Vincenty formula
151
149
  test_files: []
@@ -1,45 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (3.0.9)
5
- diff-lcs (1.1.2)
6
- geo_calc (0.7.6)
7
- activesupport (>= 3.0.1)
8
- geo_units (~> 0.2.1)
9
- i18n
10
- require_all (~> 1.2.0)
11
- sugar-high (~> 0.4.6.3)
12
- geo_point (0.2.5)
13
- geo_calc (~> 0.7.5)
14
- geo_units (~> 0.2.1)
15
- geo_units (0.2.4.1)
16
- sugar-high (~> 0.4.6.2)
17
- git (1.2.5)
18
- i18n (0.6.0)
19
- jeweler (1.6.2)
20
- bundler (~> 1.0)
21
- git (>= 1.2.5)
22
- rake
23
- rake (0.9.2)
24
- rcov (0.9.9)
25
- require_all (1.2.0)
26
- rspec (2.6.0)
27
- rspec-core (~> 2.6.0)
28
- rspec-expectations (~> 2.6.0)
29
- rspec-mocks (~> 2.6.0)
30
- rspec-core (2.6.4)
31
- rspec-expectations (2.6.0)
32
- diff-lcs (~> 1.1.2)
33
- rspec-mocks (2.6.0)
34
- sugar-high (0.4.6.4)
35
-
36
- PLATFORMS
37
- ruby
38
-
39
- DEPENDENCIES
40
- bundler (~> 1.0.10)
41
- geo_point (~> 0.2.5)
42
- geo_units (~> 0.2.4.1)
43
- jeweler (~> 1.6.2)
44
- rcov
45
- rspec (>= 2.6.0)