google_maps_geocoder 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,9 +1,10 @@
1
1
  source "http://rubygems.org"
2
2
 
3
+ gem 'activesupport'
4
+ gem 'rack'
5
+
3
6
  group :development do
4
- gem 'activesupport'
5
7
  gem 'jeweler'
6
- gem 'rack'
7
8
  gem 'rcov'
8
9
  gem 'rspec'
9
10
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
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.0"
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 = ["Roderick Monje"]
12
- s.date = %q{2011-04-13}
13
- s.description = %q{Geocode with Google Maps without worrying about JSON.}
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 = ["MIT"]
33
- s.require_paths = ["lib"]
34
- s.rubygems_version = %q{1.5.2}
35
- s.summary = %q{Simple PORO wrapper for a Google-Maps geocoding call.}
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.add_development_dependency(%q<activesupport>, [">= 0"])
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 D.C.' }
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 D.C., DC 20500, USA' }
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
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-04-13 00:00:00 -05:00
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: :development
32
+ type: :runtime
34
33
  version_requirements: *id001
35
34
  - !ruby/object:Gem::Dependency
36
- name: jeweler
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: :development
46
+ type: :runtime
48
47
  version_requirements: *id002
49
48
  - !ruby/object:Gem::Dependency
50
- name: rack
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 with Google Maps without worrying about JSON.
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.2
139
+ rubygems_version: 1.8.5
142
140
  signing_key:
143
141
  specification_version: 3
144
- summary: Simple PORO wrapper for a Google-Maps geocoding call.
145
- test_files:
146
- - spec/lib/google_maps_geocoder_spec.rb
147
- - spec/spec_helper.rb
142
+ summary: A simple PORO wrapper for geocoding with Google Maps.
143
+ test_files: []
144
+