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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7c956f5e55d0cb79e0362a7a66da8d5814f9778b
4
- data.tar.gz: 90e59db054ab1f80178bde1e6a56c12c7117d6b3
3
+ metadata.gz: 55fd336afb4874c96702060ac0e07eff723e8ca8
4
+ data.tar.gz: 06acf5049cd02703cafc219e2ab747d3462b525e
5
5
  SHA512:
6
- metadata.gz: 579ad5ec67b773ba86a84311b9184b0432ff02115e3f7121eb43d8067e04a387863c2b56f799b5c22242a1916c9b17078e1186c545e3462bea94fd047119dfab
7
- data.tar.gz: 0a675b78af3fd9f3dc5955b5b6a71f9a42e951424a99125a19256fcb8e62a3e4b2445a19c3c94c811211280eacb84f0eaffcc179feb701b4c0bb345b314930a3
6
+ metadata.gz: 01ae762ff9fc1770d9f57d207f32b1c55bdd26885bcc64adaa4e7062965b85370740234e9856b2ac96f8484b07482f3f43f88459b22b9cfe014a78f41cc2349c
7
+ data.tar.gz: 372592b00b3ca32b622e007bddac5dc50d248d4ea49578da2eefec0cd3adeb5a13a1dee39fff6618084bc6c38acd7ee1f00a35890e17f44e1bfc3b8b225851dc
data/.editorconfig CHANGED
@@ -7,6 +7,7 @@ root = true
7
7
  [*]
8
8
  end_of_line = lf
9
9
  insert_final_newline = true
10
+ trim_trailing_whitespace = true
10
11
 
11
12
  # Set default charset
12
13
  charset = utf-8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ![what3words](https://map.what3words.com/images/map/marker-border.png)what3words Ruby wrapper
1
+ # <img src="https://what3words.com/assets/images/w3w_square_red.png" width="32" height="32" alt="what3words">&nbsp;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 blends in italian for this address
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 (beta)", :code=>"de"}, {:name=>"Italian", :native_name=>"Italiano (beta)", :code=>"it"}, {:name=>"Turkish", :native_name=>"Türkçe (beta)", :code=>"tr"}, {:name=>"Portuguese", :native_name=>"Português (beta)", :code=>"pt"}, {:name=>"French", :native_name=>"français, langue française (beta)", :code=>"fr"}, {:name=>"Swedish", :native_name=>"svenska (beta)", :code=>"sv"}, {:name=>"English", :native_name=>"English", :code=>"en"}, {:name=>"Russian", :native_name=>"русский язык (beta)", :code=>"ru"}, {:name=>"Spanish; Castilian", :native_name=>"español, castellano (beta)", :code=>"es"}, {:name=>"Swahili", :native_name=>"Kiswahili (beta)", :code=>"sw"}], :status=>{:status=>200, :reason=>"OK"}, :thanks=>"Thanks from all of us at index.home.raft for using a what3words API"}
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
 
@@ -1,3 +1,3 @@
1
1
  module What3Words
2
- VERSION = "2.0.3"
2
+ VERSION = "2.0.4"
3
3
  end
@@ -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.spécieuse.infrason",
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.3
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: 2016-10-26 00:00:00.000000000 Z
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.5.1
124
+ rubygems_version: 2.6.10
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: what3words API wrapper in Ruby