geomancer 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfb94aab6c723c03879b20011bc229dd9b15c012
4
- data.tar.gz: 3362fe3c70197f0cfb8294aaa21615b688f90f4f
3
+ metadata.gz: 39fb1aa146cb2d56f019c302370ae8e1a0bc6be6
4
+ data.tar.gz: 73d491d86cc64110431b76374e5eab91d5ba5532
5
5
  SHA512:
6
- metadata.gz: d8096472d7ed4c1e061bdfd5f20560975e7fb8ecb933474f693b99c25468a894a68882f161f244863c2ff6c4696a7a6b5b5fe72cf979a75d54e226d613e7984f
7
- data.tar.gz: b03d572679e25607059cba466d48ab1027f83728f7bf2fc3eb41c921aef76b68ff3370957fca5755a27b905818ef482bc3ac1323f5a874575f38d42abd17babd
6
+ metadata.gz: 156b8f2a42f7d16f7e78c05889bdd828d9e2e28ddb320048a5bc5d45ea8343d4d4ffb72ed3dca0eae60905ab59a9b562a021b505a8ef398c42b6e418cfebd534
7
+ data.tar.gz: 099febd6e0ff17744852b42fc908b46f204d007c1fb501c716070066436314663ee90ca52295547aef8a643fbcb8e1436de6aa0696a56dd27c2ec10b2c50a204
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ *~
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ 0.6.1 - 2014-04-09
2
+ ==================
3
+
4
+ * Strip newlines from address since Yahoo BOSS doesn't like them.
5
+
6
+ 0.6.0 - 2014-04-03
7
+ ==================
8
+
9
+ * Initial Release.
data/lib/geomancer.rb CHANGED
@@ -25,6 +25,7 @@ module Geomancer
25
25
  when :zip_code then
26
26
  Geomancer::ZipCode.geolocate(address)
27
27
  else
28
+ address = address.gsub(/[\r\n]/,", ") # Yahoo doesn't like newlines
28
29
  results = Geocoder.search(address)
29
30
  return nil if results.empty?
30
31
 
@@ -1,3 +1,3 @@
1
1
  module Geomancer
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geomancer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant T. Olson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-03 00:00:00.000000000 Z
11
+ date: 2014-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: geocoder
@@ -60,6 +60,7 @@ extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
62
  - .gitignore
63
+ - CHANGELOG.md
63
64
  - Gemfile
64
65
  - LICENSE.txt
65
66
  - README.md