aub-graticule 0.3.1 → 0.3.2

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aub-graticule}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brandon Keepers"]
12
- s.date = %q{2010-04-12}
12
+ s.date = %q{2011-05-16}
13
13
  s.default_executable = %q{geocode}
14
14
  s.description = %q{Graticule is a geocoding API that provides a common interface to all the popular services, including Google, Yahoo, Geocoder.us, and MetaCarta.}
15
15
  s.email = %q{brandon@opensoul.org}
@@ -18,124 +18,105 @@ Gem::Specification.new do |s|
18
18
  "README.txt"
19
19
  ]
20
20
  s.files = [
21
- ".gitignore",
22
- "CHANGELOG.txt",
23
- "LICENSE.txt",
24
- "Manifest.txt",
25
- "README.txt",
26
- "Rakefile",
27
- "VERSION",
28
- "aub-graticule.gemspec",
29
- "bin/geocode",
30
- "graticule.gemspec",
31
- "init.rb",
32
- "lib/graticule.rb",
33
- "lib/graticule/cli.rb",
34
- "lib/graticule/core_ext.rb",
35
- "lib/graticule/distance.rb",
36
- "lib/graticule/distance/haversine.rb",
37
- "lib/graticule/distance/spherical.rb",
38
- "lib/graticule/distance/vincenty.rb",
39
- "lib/graticule/geocoder.rb",
40
- "lib/graticule/geocoder/base.rb",
41
- "lib/graticule/geocoder/bogus.rb",
42
- "lib/graticule/geocoder/geocoder_ca.rb",
43
- "lib/graticule/geocoder/geocoder_us.rb",
44
- "lib/graticule/geocoder/google.rb",
45
- "lib/graticule/geocoder/host_ip.rb",
46
- "lib/graticule/geocoder/local_search_maps.rb",
47
- "lib/graticule/geocoder/mapquest.rb",
48
- "lib/graticule/geocoder/meta_carta.rb",
49
- "lib/graticule/geocoder/multi.rb",
50
- "lib/graticule/geocoder/multimap.rb",
51
- "lib/graticule/geocoder/postcode_anywhere.rb",
52
- "lib/graticule/geocoder/rest.rb",
53
- "lib/graticule/geocoder/yahoo.rb",
54
- "lib/graticule/location.rb",
55
- "lib/graticule/version.rb",
56
- "site/index.html",
57
- "site/plugin.html",
58
- "site/stylesheets/style.css",
59
- "test/config.yml.default",
60
- "test/fixtures/responses/geocoder_us/success.xml",
61
- "test/fixtures/responses/geocoder_us/unknown.xml",
62
- "test/fixtures/responses/google/badkey.xml",
63
- "test/fixtures/responses/google/limit.xml",
64
- "test/fixtures/responses/google/missing_address.xml",
65
- "test/fixtures/responses/google/only_coordinates.xml",
66
- "test/fixtures/responses/google/partial.xml",
67
- "test/fixtures/responses/google/server_error.xml",
68
- "test/fixtures/responses/google/success.xml",
69
- "test/fixtures/responses/google/success_multiple_results.xml",
70
- "test/fixtures/responses/google/unavailable.xml",
71
- "test/fixtures/responses/google/unknown_address.xml",
72
- "test/fixtures/responses/host_ip/private.txt",
73
- "test/fixtures/responses/host_ip/success.txt",
74
- "test/fixtures/responses/host_ip/unknown.txt",
75
- "test/fixtures/responses/local_search_maps/empty.txt",
76
- "test/fixtures/responses/local_search_maps/not_found.txt",
77
- "test/fixtures/responses/local_search_maps/success.txt",
78
- "test/fixtures/responses/mapquest/multi_result.xml",
79
- "test/fixtures/responses/mapquest/success.xml",
80
- "test/fixtures/responses/meta_carta/bad_address.xml",
81
- "test/fixtures/responses/meta_carta/multiple.xml",
82
- "test/fixtures/responses/meta_carta/success.xml",
83
- "test/fixtures/responses/multimap/missing_params.xml",
84
- "test/fixtures/responses/multimap/no_matches.xml",
85
- "test/fixtures/responses/multimap/success.xml",
86
- "test/fixtures/responses/postcode_anywhere/badkey.xml",
87
- "test/fixtures/responses/postcode_anywhere/canada.xml",
88
- "test/fixtures/responses/postcode_anywhere/empty.xml",
89
- "test/fixtures/responses/postcode_anywhere/success.xml",
90
- "test/fixtures/responses/postcode_anywhere/uk.xml",
91
- "test/fixtures/responses/yahoo/success.xml",
92
- "test/fixtures/responses/yahoo/unknown_address.xml",
93
- "test/mocks/uri.rb",
94
- "test/test_helper.rb",
95
- "test/unit/graticule/distance_test.rb",
96
- "test/unit/graticule/geocoder/geocoder_us_test.rb",
97
- "test/unit/graticule/geocoder/geocoders.rb",
98
- "test/unit/graticule/geocoder/google_test.rb",
99
- "test/unit/graticule/geocoder/host_ip_test.rb",
100
- "test/unit/graticule/geocoder/local_search_maps_test.rb",
101
- "test/unit/graticule/geocoder/mapquest_test.rb",
102
- "test/unit/graticule/geocoder/meta_carta_test.rb",
103
- "test/unit/graticule/geocoder/multi_test.rb",
104
- "test/unit/graticule/geocoder/multimap_test.rb",
105
- "test/unit/graticule/geocoder/postcode_anywhere_test.rb",
106
- "test/unit/graticule/geocoder/yahoo_test.rb",
107
- "test/unit/graticule/geocoder_test.rb",
108
- "test/unit/graticule/location_test.rb"
21
+ "CHANGELOG.txt",
22
+ "LICENSE.txt",
23
+ "Manifest.txt",
24
+ "README.txt",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "aub-graticule.gemspec",
28
+ "bin/geocode",
29
+ "graticule.gemspec",
30
+ "init.rb",
31
+ "lib/graticule.rb",
32
+ "lib/graticule/cli.rb",
33
+ "lib/graticule/core_ext.rb",
34
+ "lib/graticule/distance.rb",
35
+ "lib/graticule/distance/haversine.rb",
36
+ "lib/graticule/distance/spherical.rb",
37
+ "lib/graticule/distance/vincenty.rb",
38
+ "lib/graticule/geocoder.rb",
39
+ "lib/graticule/geocoder/base.rb",
40
+ "lib/graticule/geocoder/bogus.rb",
41
+ "lib/graticule/geocoder/geocoder_ca.rb",
42
+ "lib/graticule/geocoder/geocoder_us.rb",
43
+ "lib/graticule/geocoder/google.rb",
44
+ "lib/graticule/geocoder/host_ip.rb",
45
+ "lib/graticule/geocoder/local_search_maps.rb",
46
+ "lib/graticule/geocoder/mapquest.rb",
47
+ "lib/graticule/geocoder/meta_carta.rb",
48
+ "lib/graticule/geocoder/multi.rb",
49
+ "lib/graticule/geocoder/multimap.rb",
50
+ "lib/graticule/geocoder/postcode_anywhere.rb",
51
+ "lib/graticule/geocoder/rest.rb",
52
+ "lib/graticule/geocoder/yahoo.rb",
53
+ "lib/graticule/location.rb",
54
+ "lib/graticule/version.rb",
55
+ "site/index.html",
56
+ "site/plugin.html",
57
+ "site/stylesheets/style.css",
58
+ "test/config.yml.default",
59
+ "test/fixtures/responses/geocoder_us/success.xml",
60
+ "test/fixtures/responses/geocoder_us/unknown.xml",
61
+ "test/fixtures/responses/google/badkey.xml",
62
+ "test/fixtures/responses/google/limit.xml",
63
+ "test/fixtures/responses/google/missing_address.xml",
64
+ "test/fixtures/responses/google/only_coordinates.xml",
65
+ "test/fixtures/responses/google/partial.xml",
66
+ "test/fixtures/responses/google/server_error.xml",
67
+ "test/fixtures/responses/google/success.xml",
68
+ "test/fixtures/responses/google/success_multiple_results.xml",
69
+ "test/fixtures/responses/google/unavailable.xml",
70
+ "test/fixtures/responses/google/unknown_address.xml",
71
+ "test/fixtures/responses/host_ip/private.txt",
72
+ "test/fixtures/responses/host_ip/success.txt",
73
+ "test/fixtures/responses/host_ip/unknown.txt",
74
+ "test/fixtures/responses/local_search_maps/empty.txt",
75
+ "test/fixtures/responses/local_search_maps/not_found.txt",
76
+ "test/fixtures/responses/local_search_maps/success.txt",
77
+ "test/fixtures/responses/mapquest/multi_result.xml",
78
+ "test/fixtures/responses/mapquest/success.xml",
79
+ "test/fixtures/responses/meta_carta/bad_address.xml",
80
+ "test/fixtures/responses/meta_carta/multiple.xml",
81
+ "test/fixtures/responses/meta_carta/success.xml",
82
+ "test/fixtures/responses/multimap/missing_params.xml",
83
+ "test/fixtures/responses/multimap/no_matches.xml",
84
+ "test/fixtures/responses/multimap/success.xml",
85
+ "test/fixtures/responses/postcode_anywhere/badkey.xml",
86
+ "test/fixtures/responses/postcode_anywhere/canada.xml",
87
+ "test/fixtures/responses/postcode_anywhere/empty.xml",
88
+ "test/fixtures/responses/postcode_anywhere/success.xml",
89
+ "test/fixtures/responses/postcode_anywhere/uk.xml",
90
+ "test/fixtures/responses/yahoo/success.xml",
91
+ "test/fixtures/responses/yahoo/unknown_address.xml",
92
+ "test/mocks/uri.rb",
93
+ "test/test_helper.rb",
94
+ "test/unit/graticule/distance_test.rb",
95
+ "test/unit/graticule/geocoder/geocoder_us_test.rb",
96
+ "test/unit/graticule/geocoder/geocoders.rb",
97
+ "test/unit/graticule/geocoder/google_test.rb",
98
+ "test/unit/graticule/geocoder/host_ip_test.rb",
99
+ "test/unit/graticule/geocoder/local_search_maps_test.rb",
100
+ "test/unit/graticule/geocoder/mapquest_test.rb",
101
+ "test/unit/graticule/geocoder/meta_carta_test.rb",
102
+ "test/unit/graticule/geocoder/multi_test.rb",
103
+ "test/unit/graticule/geocoder/multimap_test.rb",
104
+ "test/unit/graticule/geocoder/postcode_anywhere_test.rb",
105
+ "test/unit/graticule/geocoder/yahoo_test.rb",
106
+ "test/unit/graticule/geocoder_test.rb",
107
+ "test/unit/graticule/location_test.rb"
109
108
  ]
110
109
  s.homepage = %q{http://github.com/aub/graticule}
111
110
  s.rdoc_options = ["--main", "README.rdoc", "--inline-source", "--line-numbers"]
112
111
  s.require_paths = ["lib"]
113
- s.rubygems_version = %q{1.3.6}
112
+ s.rubygems_version = %q{1.6.2}
114
113
  s.summary = %q{API for using all the popular geocoding services.}
115
- s.test_files = [
116
- "test/mocks/uri.rb",
117
- "test/test_helper.rb",
118
- "test/unit/graticule/distance_test.rb",
119
- "test/unit/graticule/geocoder/geocoder_us_test.rb",
120
- "test/unit/graticule/geocoder/geocoders.rb",
121
- "test/unit/graticule/geocoder/google_test.rb",
122
- "test/unit/graticule/geocoder/host_ip_test.rb",
123
- "test/unit/graticule/geocoder/local_search_maps_test.rb",
124
- "test/unit/graticule/geocoder/mapquest_test.rb",
125
- "test/unit/graticule/geocoder/meta_carta_test.rb",
126
- "test/unit/graticule/geocoder/multi_test.rb",
127
- "test/unit/graticule/geocoder/multimap_test.rb",
128
- "test/unit/graticule/geocoder/postcode_anywhere_test.rb",
129
- "test/unit/graticule/geocoder/yahoo_test.rb",
130
- "test/unit/graticule/geocoder_test.rb",
131
- "test/unit/graticule/location_test.rb"
132
- ]
114
+ s.test_files = ["test/mocks/uri.rb", "test/test_helper.rb", "test/unit/graticule/distance_test.rb", "test/unit/graticule/geocoder/geocoder_us_test.rb", "test/unit/graticule/geocoder/geocoders.rb", "test/unit/graticule/geocoder/google_test.rb", "test/unit/graticule/geocoder/host_ip_test.rb", "test/unit/graticule/geocoder/local_search_maps_test.rb", "test/unit/graticule/geocoder/mapquest_test.rb", "test/unit/graticule/geocoder/meta_carta_test.rb", "test/unit/graticule/geocoder/multi_test.rb", "test/unit/graticule/geocoder/multimap_test.rb", "test/unit/graticule/geocoder/postcode_anywhere_test.rb", "test/unit/graticule/geocoder/yahoo_test.rb", "test/unit/graticule/geocoder_test.rb", "test/unit/graticule/location_test.rb"]
133
115
 
134
116
  if s.respond_to? :specification_version then
135
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
136
117
  s.specification_version = 3
137
118
 
138
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
119
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
139
120
  else
140
121
  end
141
122
  else
@@ -31,7 +31,7 @@ module Graticule #:nodoc:
31
31
  def initialize(client_id, password)
32
32
  @password = password
33
33
  @client_id = client_id
34
- @url = URI.parse('http://geocode.dev.mapquest.com/mq/mqserver.dll')
34
+ @url = URI.parse('http://geocode.access.mapquest.com/mq/mqserver.dll')
35
35
  end
36
36
 
37
37
  # Locates +address+ returning a Location
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aub-graticule
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 3
8
- - 1
9
- version: 0.3.1
4
+ prerelease:
5
+ version: 0.3.2
10
6
  platform: ruby
11
7
  authors:
12
8
  - Brandon Keepers
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2010-04-12 00:00:00 -04:00
13
+ date: 2011-05-16 00:00:00 -04:00
18
14
  default_executable: geocode
19
15
  dependencies: []
20
16
 
@@ -27,7 +23,6 @@ extensions: []
27
23
  extra_rdoc_files:
28
24
  - README.txt
29
25
  files:
30
- - .gitignore
31
26
  - CHANGELOG.txt
32
27
  - LICENSE.txt
33
28
  - Manifest.txt
@@ -128,23 +123,21 @@ rdoc_options:
128
123
  require_paths:
129
124
  - lib
130
125
  required_ruby_version: !ruby/object:Gem::Requirement
126
+ none: false
131
127
  requirements:
132
128
  - - ">="
133
129
  - !ruby/object:Gem::Version
134
- segments:
135
- - 0
136
130
  version: "0"
137
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
+ none: false
138
133
  requirements:
139
134
  - - ">="
140
135
  - !ruby/object:Gem::Version
141
- segments:
142
- - 0
143
136
  version: "0"
144
137
  requirements: []
145
138
 
146
139
  rubyforge_project:
147
- rubygems_version: 1.3.6
140
+ rubygems_version: 1.6.2
148
141
  signing_key:
149
142
  specification_version: 3
150
143
  summary: API for using all the popular geocoding services.
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- test/config.yml
2
- *.gem
3
- pkg
4
- coverage