geo_point 0.2.3 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Gemfile +2 -2
  2. data/VERSION +1 -1
  3. data/geo_point.gemspec +8 -8
  4. data/lib/geo_point.rb +1 -1
  5. metadata +17 -17
data/Gemfile CHANGED
@@ -1,7 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "geo_calc", '~> 0.7.4'
4
- gem "geo_units", '>= 0.2.1'
3
+ gem "geo_calc", '~> 0.7.5'
4
+ gem "geo_units", '~> 0.2.1'
5
5
 
6
6
  # Add dependencies to develop your gem here.
7
7
  # Include everything needed to run rake, tests, features, etc.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.5
data/geo_point.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{geo_point}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Kristian Mandrup}]
12
- s.date = %q{2011-06-19}
12
+ s.date = %q{2011-06-20}
13
13
  s.description = %q{Allows for easy parsing of Strings, Hashes and Arrays into a GeoPoint with lat/long}
14
14
  s.email = %q{kmandrup@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -47,23 +47,23 @@ Gem::Specification.new do |s|
47
47
  s.specification_version = 3
48
48
 
49
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_runtime_dependency(%q<geo_calc>, ["~> 0.7.4"])
51
- s.add_runtime_dependency(%q<geo_units>, [">= 0.2.1"])
50
+ s.add_runtime_dependency(%q<geo_calc>, ["~> 0.7.5"])
51
+ s.add_runtime_dependency(%q<geo_units>, ["~> 0.2.1"])
52
52
  s.add_development_dependency(%q<rspec>, [">= 2.6.0"])
53
53
  s.add_development_dependency(%q<bundler>, ["~> 1.0.6"])
54
54
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
55
55
  s.add_development_dependency(%q<rcov>, [">= 0"])
56
56
  else
57
- s.add_dependency(%q<geo_calc>, ["~> 0.7.4"])
58
- s.add_dependency(%q<geo_units>, [">= 0.2.1"])
57
+ s.add_dependency(%q<geo_calc>, ["~> 0.7.5"])
58
+ s.add_dependency(%q<geo_units>, ["~> 0.2.1"])
59
59
  s.add_dependency(%q<rspec>, [">= 2.6.0"])
60
60
  s.add_dependency(%q<bundler>, ["~> 1.0.6"])
61
61
  s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
62
62
  s.add_dependency(%q<rcov>, [">= 0"])
63
63
  end
64
64
  else
65
- s.add_dependency(%q<geo_calc>, ["~> 0.7.4"])
66
- s.add_dependency(%q<geo_units>, [">= 0.2.1"])
65
+ s.add_dependency(%q<geo_calc>, ["~> 0.7.5"])
66
+ s.add_dependency(%q<geo_units>, ["~> 0.2.1"])
67
67
  s.add_dependency(%q<rspec>, [">= 2.6.0"])
68
68
  s.add_dependency(%q<bundler>, ["~> 1.0.6"])
69
69
  s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
data/lib/geo_point.rb CHANGED
@@ -134,7 +134,7 @@ class GeoPoint
134
134
  def create_from_one args
135
135
  args = args.first
136
136
  array = to_coords(args)
137
- array = (coord_mode == :lng_lat && args.is_a?(Hash) ) ? array.reverse : array
137
+ # array = (coord_mode == :lng_lat && args.is_a?(Hash) ) ? array.reverse : array
138
138
  create_from_two *array
139
139
  end
140
140
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geo_point
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,33 +9,33 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-06-19 00:00:00.000000000Z
12
+ date: 2011-06-20 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: geo_calc
16
- requirement: &2154397860 !ruby/object:Gem::Requirement
16
+ requirement: &2156427880 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.7.4
21
+ version: 0.7.5
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2154397860
24
+ version_requirements: *2156427880
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: geo_units
27
- requirement: &2154397280 !ruby/object:Gem::Requirement
27
+ requirement: &2156426420 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
- - - ! '>='
30
+ - - ~>
31
31
  - !ruby/object:Gem::Version
32
32
  version: 0.2.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2154397280
35
+ version_requirements: *2156426420
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &2154396740 !ruby/object:Gem::Requirement
38
+ requirement: &2156424900 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 2.6.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2154396740
46
+ version_requirements: *2156424900
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
- requirement: &2154396220 !ruby/object:Gem::Requirement
49
+ requirement: &2156420900 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 1.0.6
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2154396220
57
+ version_requirements: *2156420900
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: jeweler
60
- requirement: &2154395620 !ruby/object:Gem::Requirement
60
+ requirement: &2156420160 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.2
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2154395620
68
+ version_requirements: *2156420160
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rcov
71
- requirement: &2154395040 !ruby/object:Gem::Requirement
71
+ requirement: &2156419480 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,7 +76,7 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2154395040
79
+ version_requirements: *2156419480
80
80
  description: Allows for easy parsing of Strings, Hashes and Arrays into a GeoPoint
81
81
  with lat/long
82
82
  email: kmandrup@gmail.com
@@ -120,7 +120,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  segments:
122
122
  - 0
123
- hash: 1136387806736178930
123
+ hash: 2765007894958462153
124
124
  required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  none: false
126
126
  requirements: