geokit_here_geocoder 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +9 -0
- data/README.md +1 -1
- data/geokit_here_geocoder.gemspec +1 -1
- data/lib/geokit_here_geocoder.rb +0 -1
- data/spec/geokit_here_geocoder_spec.rb +0 -1
- metadata +3 -3
- data/circle.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a076e3332f386976e6c4000d09159775f0474aaf
|
4
|
+
data.tar.gz: 2c3fb6086bd2eb59b01bc0d9cb91874d9c738c4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c9107363db9735c80f8493684093a5aee241ce46823f810e7aa0c772eef24df0e97223dc62cd2deb690f2218d60117c9a747498d93d748244e624004260f29c
|
7
|
+
data.tar.gz: a43a5a41978ecfee3a7b4a21335e227dfcb0d80407681cd42fa9226daea946bdd35351e9ecc41cb139799ffe2480112d1e8bf71674b40855fa0cd90b840b7d99
|
data/.travis.yml
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
language: ruby
|
2
|
+
rvm:
|
3
|
+
- 2.3
|
4
|
+
script: bundle exec rspec
|
5
|
+
env:
|
6
|
+
global:
|
7
|
+
- RAKE_ENV=test
|
8
|
+
- secure: NlOTbBSvV1Qa6FWJoEbo4SaGpOw9T/qDO5ok1mtseJhLhWKYZ1pN2L0v5alJNOKjFdnTTYrTH1eaBOypdjxkn4A0OoAgB2i4r/Ljd6I0U0OqiJZyXO0cefjhvleggZ/zPt7aRzYm6lJXKqgKKW2E2JZL/nVQdCQ8QAs13p8AnlwLw2FAmj/PDrFKrrN+zdxlCRRsb/URY4zTRUPh7NCTzUpWsnOMGYbP7b9Tw9EjHM+U0jgh9rxOm7BnUWAEDehHbCb4sAYOJmSeCJ8Ju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XUnpds6ku55WQPzWPszyQaw/0=
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/geokit_here_geocoder.svg)](https://badge.fury.io/rb/geokit_here_geocoder)
|
2
|
-
[![
|
2
|
+
[![Build Status](https://travis-ci.org/EasyPost/geokit_here_geocoder.svg?branch=master)](https://travis-ci.org/EasyPost/geokit_here_geocoder)
|
3
3
|
|
4
4
|
# HereGeocoder
|
5
5
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "geokit_here_geocoder"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.5"
|
8
8
|
spec.authors = ["Serhiy Rozum"]
|
9
9
|
spec.email = ["contact@easypost.com"]
|
10
10
|
spec.summary = %q{Geokit custom geocoder for Here.com service}
|
data/lib/geokit_here_geocoder.rb
CHANGED
@@ -44,7 +44,6 @@ module Geokit
|
|
44
44
|
XML_MAPPINGS = {
|
45
45
|
street_number: "Location/Address/HouseNumber",
|
46
46
|
street_name: "Location/Address/Street",
|
47
|
-
province: "Location/Address/County",
|
48
47
|
city: "Location/Address/City",
|
49
48
|
state_name: "Location/Address/AdditionalData[@key='StateName']",
|
50
49
|
state_code: "Location/Address/State",
|
@@ -43,7 +43,6 @@ describe Geokit::Geocoders::HereGeocoder do
|
|
43
43
|
it 'returns valid location' do
|
44
44
|
VCR.use_cassette("sunnyvale_location") do
|
45
45
|
expect( subject.success? ).to be true
|
46
|
-
expect( subject.province ).to eq "Santa Clara"
|
47
46
|
expect( subject.city ).to eq "Sunnyvale"
|
48
47
|
expect( subject.state_name ).to eq "California"
|
49
48
|
expect( subject.state_code ).to eq "CA"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geokit_here_geocoder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Serhiy Rozum
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -103,11 +103,11 @@ extra_rdoc_files: []
|
|
103
103
|
files:
|
104
104
|
- ".gitignore"
|
105
105
|
- ".rspec"
|
106
|
+
- ".travis.yml"
|
106
107
|
- Gemfile
|
107
108
|
- LICENSE.txt
|
108
109
|
- README.md
|
109
110
|
- Rakefile
|
110
|
-
- circle.yml
|
111
111
|
- geokit_here_geocoder.gemspec
|
112
112
|
- lib/geokit_here_geocoder.rb
|
113
113
|
- spec/cassettes/fake_location.yml
|