what3words 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +1 -0
- data/README.md +3 -3
- data/lib/what3words/version.rb +1 -1
- data/spec/lib/what3words/what3words_api_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55fd336afb4874c96702060ac0e07eff723e8ca8
|
4
|
+
data.tar.gz: 06acf5049cd02703cafc219e2ab747d3462b525e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01ae762ff9fc1770d9f57d207f32b1c55bdd26885bcc64adaa4e7062965b85370740234e9856b2ac96f8484b07482f3f43f88459b22b9cfe014a78f41cc2349c
|
7
|
+
data.tar.gz: 372592b00b3ca32b622e007bddac5dc50d248d4ea49578da2eefec0cd3adeb5a13a1dee39fff6618084bc6c38acd7ee1f00a35890e17f44e1bfc3b8b225851dc
|
data/.editorconfig
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# <img src="https://what3words.com/assets/images/w3w_square_red.png" width="32" height="32" alt="what3words"> what3words Ruby wrapper
|
2
2
|
![Build Status](https://travis-ci.org/what3words/w3w-ruby-wrapper.svg?branch=master)
|
3
3
|
|
4
4
|
Use the what3words API in your Ruby app (see http://developer.what3words.com/api)
|
@@ -110,7 +110,7 @@ Returns a section of the 3m x 3m what3words grid for a given area.
|
|
110
110
|
|
111
111
|
see https://docs.what3words.com/api/v2/#grid for detailed information
|
112
112
|
|
113
|
-
Gets
|
113
|
+
Gets grid for these bounding box northeast 52.208867,0.117540, southwest 52.207988,0.116126
|
114
114
|
|
115
115
|
what3words.grid "52.208867,0.117540,52.207988,0.116126"
|
116
116
|
# => {:lines=>[{:start=>{:lng=>0.11612600000001, :lat=>52.208009918068}, :end=>{:lng=>0.11753999999999, :lat=>52.208009918068}}, ___...___ , :end=>{:lng=>0.11752023935234, :lat=>52.208867}}], :status=>{:status=>200, :reason=>"OK"}, :thanks=>"Thanks from all of us at index.home.raft for using a what3words API"}
|
@@ -123,7 +123,7 @@ Supported keyword params for `grid` call:
|
|
123
123
|
Get list of available 3 word languages
|
124
124
|
|
125
125
|
what3words.languages
|
126
|
-
# => {:languages=>[{:name=>"German", :native_name=>"Deutsch
|
126
|
+
# => {:languages=>[{:name=>"German", :native_name=>"Deutsch", :code=>"de"}, {:name=>"Italian", :native_name=>"Italiano", :code=>"it"}, {:name=>"Turkish", :native_name=>"Türkçe", :code=>"tr"}, {:name=>"Portuguese", :native_name=>"Português", :code=>"pt"}, {:name=>"French", :native_name=>"français, langue française", :code=>"fr"}, {:name=>"Swedish", :native_name=>"svenska", :code=>"sv"}, {:name=>"English", :native_name=>"English", :code=>"en"}, {:name=>"Russian", :native_name=>"русский язык", :code=>"ru"}, {:name=>"Spanish", :native_name=>"español", :code=>"es"}, {:name=>"Swahili", :native_name=>"Kiswahili", :code=>"sw"}], :status=>{:status=>200, :reason=>"OK"}, :thanks=>"Thanks from all of us at index.home.raft for using a what3words API"}
|
127
127
|
|
128
128
|
See http://developer.what3words.com for the original API call documentation
|
129
129
|
|
data/lib/what3words/version.rb
CHANGED
@@ -59,7 +59,7 @@ describe What3Words::API, "integration", :integration => true do
|
|
59
59
|
it "from position in fr" do
|
60
60
|
result = w3w.reverse [29.567041, 106.587875], :lang => "fr"
|
61
61
|
expect(result).to include(
|
62
|
-
:words => "courgette.
|
62
|
+
:words => "courgette.rabotons.infrason",
|
63
63
|
:language => "fr"
|
64
64
|
)
|
65
65
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: what3words
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- what3words
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
123
|
rubyforge_project:
|
124
|
-
rubygems_version: 2.
|
124
|
+
rubygems_version: 2.6.10
|
125
125
|
signing_key:
|
126
126
|
specification_version: 4
|
127
127
|
summary: what3words API wrapper in Ruby
|