google_maps_geocoder 0.1.0 → 0.1.1
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.
- data/Gemfile +3 -2
- data/VERSION +1 -1
- data/google_maps_geocoder.gemspec +12 -16
- data/spec/lib/google_maps_geocoder_spec.rb +2 -2
- metadata +13 -16
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{google_maps_geocoder}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
13
|
-
s.description = %q{Geocode
|
11
|
+
s.authors = [%q{Roderick Monje}]
|
12
|
+
s.date = %q{2011-09-06}
|
13
|
+
s.description = %q{Geocode a location without worrying about parsing Google Maps' response. GoogleMapsGeocoder wraps it in a plain-old Ruby object.}
|
14
14
|
s.email = %q{rod@seologic.com}
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE.txt",
|
@@ -29,35 +29,31 @@ Gem::Specification.new do |s|
|
|
29
29
|
"spec/spec_helper.rb"
|
30
30
|
]
|
31
31
|
s.homepage = %q{http://github.com/ivanoblomov/google_maps_geocoder}
|
32
|
-
s.licenses = [
|
33
|
-
s.require_paths = [
|
34
|
-
s.rubygems_version = %q{1.5
|
35
|
-
s.summary = %q{
|
36
|
-
s.test_files = [
|
37
|
-
"spec/lib/google_maps_geocoder_spec.rb",
|
38
|
-
"spec/spec_helper.rb"
|
39
|
-
]
|
32
|
+
s.licenses = [%q{MIT}]
|
33
|
+
s.require_paths = [%q{lib}]
|
34
|
+
s.rubygems_version = %q{1.8.5}
|
35
|
+
s.summary = %q{A simple PORO wrapper for geocoding with Google Maps.}
|
40
36
|
|
41
37
|
if s.respond_to? :specification_version then
|
42
38
|
s.specification_version = 3
|
43
39
|
|
44
40
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
-
s.
|
41
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
42
|
+
s.add_runtime_dependency(%q<rack>, [">= 0"])
|
46
43
|
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
47
|
-
s.add_development_dependency(%q<rack>, [">= 0"])
|
48
44
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
49
45
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
50
46
|
else
|
51
47
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
52
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
53
48
|
s.add_dependency(%q<rack>, [">= 0"])
|
49
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
54
50
|
s.add_dependency(%q<rcov>, [">= 0"])
|
55
51
|
s.add_dependency(%q<rspec>, [">= 0"])
|
56
52
|
end
|
57
53
|
else
|
58
54
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
59
|
-
s.add_dependency(%q<jeweler>, [">= 0"])
|
60
55
|
s.add_dependency(%q<rack>, [">= 0"])
|
56
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
61
57
|
s.add_dependency(%q<rcov>, [">= 0"])
|
62
58
|
s.add_dependency(%q<rspec>, [">= 0"])
|
63
59
|
end
|
@@ -45,13 +45,13 @@ describe GoogleMapsGeocoder do
|
|
45
45
|
|
46
46
|
context 'address' do
|
47
47
|
specify { subject.formatted_street_address.should == '1600 Pennsylvania Ave NW' }
|
48
|
-
specify { subject.city.should == 'Washington
|
48
|
+
specify { subject.city.should == 'Washington' }
|
49
49
|
specify { subject.state_long_name.should == 'District of Columbia' }
|
50
50
|
specify { subject.state_short_name.should == 'DC' }
|
51
51
|
specify { subject.postal_code.should == '20500' }
|
52
52
|
specify { subject.country_short_name.should == 'US' }
|
53
53
|
specify { subject.country_long_name.should == 'United States' }
|
54
|
-
specify { subject.formatted_address.should == '1600 Pennsylvania Ave NW, Washington
|
54
|
+
specify { subject.formatted_address.should == '1600 Pennsylvania Ave NW, Washington, DC 20500, USA' }
|
55
55
|
end
|
56
56
|
|
57
57
|
context 'coordinates' do
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google_maps_geocoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Roderick Monje
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
19
|
-
default_executable:
|
18
|
+
date: 2011-09-06 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: activesupport
|
@@ -30,10 +29,10 @@ dependencies:
|
|
30
29
|
segments:
|
31
30
|
- 0
|
32
31
|
version: "0"
|
33
|
-
type: :
|
32
|
+
type: :runtime
|
34
33
|
version_requirements: *id001
|
35
34
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
35
|
+
name: rack
|
37
36
|
prerelease: false
|
38
37
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
38
|
none: false
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
segments:
|
45
44
|
- 0
|
46
45
|
version: "0"
|
47
|
-
type: :
|
46
|
+
type: :runtime
|
48
47
|
version_requirements: *id002
|
49
48
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
49
|
+
name: jeweler
|
51
50
|
prerelease: false
|
52
51
|
requirement: &id003 !ruby/object:Gem::Requirement
|
53
52
|
none: false
|
@@ -88,7 +87,7 @@ dependencies:
|
|
88
87
|
version: "0"
|
89
88
|
type: :development
|
90
89
|
version_requirements: *id005
|
91
|
-
description: Geocode
|
90
|
+
description: Geocode a location without worrying about parsing Google Maps' response. GoogleMapsGeocoder wraps it in a plain-old Ruby object.
|
92
91
|
email: rod@seologic.com
|
93
92
|
executables: []
|
94
93
|
|
@@ -108,7 +107,6 @@ files:
|
|
108
107
|
- lib/google_maps_geocoder.rb
|
109
108
|
- spec/lib/google_maps_geocoder_spec.rb
|
110
109
|
- spec/spec_helper.rb
|
111
|
-
has_rdoc: true
|
112
110
|
homepage: http://github.com/ivanoblomov/google_maps_geocoder
|
113
111
|
licenses:
|
114
112
|
- MIT
|
@@ -138,10 +136,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
136
|
requirements: []
|
139
137
|
|
140
138
|
rubyforge_project:
|
141
|
-
rubygems_version: 1.5
|
139
|
+
rubygems_version: 1.8.5
|
142
140
|
signing_key:
|
143
141
|
specification_version: 3
|
144
|
-
summary:
|
145
|
-
test_files:
|
146
|
-
|
147
|
-
- spec/spec_helper.rb
|
142
|
+
summary: A simple PORO wrapper for geocoding with Google Maps.
|
143
|
+
test_files: []
|
144
|
+
|