travel_time 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: 86bdc1c06c65cf3874d54fed44a36d2c519efb7a63d3519c7bd2bb38ab16b814
4
- data.tar.gz: c8dbb3f88c7f07c4abf6321243c19d85ee704f3049e5f9f10105e8b64be1d6cc
3
+ metadata.gz: f6711d01c7b8c3c6803f0c4e82c5754918c160ea7e0077a0c773fe84c15705f1
4
+ data.tar.gz: 1c7e9520650b1d77140f6a36f76f14d7f952d22a038c9e6ba692d09b340a8ea0
5
5
  SHA512:
6
- metadata.gz: e225994672641a83d7b014a9b523300b6fd1678a15badce37cec429d2781e44a861cca86d741c469bc75000d2e2eb2f7ee7d7b74279023ff7c7db52e92db0b9b
7
- data.tar.gz: f72c3996bf95c9fadf2ce3eecc08e9b0170d0d1dd7d1fb0e6e699fba146180b0d8f22d5e88dc15ffae561f32cc15e547d4238c2e9f6f585a2d52dc2eddb5a8a5
6
+ metadata.gz: 6437d4f698d3ef410e3483c178992d0f15233113d94b989c0f0d23c4d43f08d8dac72fe59841d77c6bfdf6388f0f38dec62cf8fd3580036d167eab924877cb6b
7
+ data.tar.gz: fd7a853cf20380365981cb20420a52317acccab62cc0f23af73991d7b2f4a9045c209f6c87de5646cb2bb8a529180a3e1f978fcf3160d72a1b4b3a30919827d6
@@ -43,11 +43,13 @@ module TravelTime
43
43
  perform_request { connection.post('supported-locations', { locations: locations }) }
44
44
  end
45
45
 
46
- def geocoding(query:, within_country: nil, exclude: nil, limit: nil, force_postcode: nil, bounds: nil)
46
+ def geocoding(query:, within_country: nil, format_name: nil, exclude: nil, limit: nil, force_postcode: nil,
47
+ bounds: nil)
47
48
  query = {
48
49
  query: query,
49
50
  'within.country': within_country,
50
- 'exclude.location.types': exclude,
51
+ 'format.name': format_name,
52
+ 'format.exclude.country': exclude,
51
53
  limit: limit,
52
54
  'force.add.postcode': force_postcode,
53
55
  bounds: bounds ? bounds.join(',') : nil
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TravelTime
4
- VERSION = '0.3.2'
4
+ VERSION = '0.3.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travel_time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TravelTime Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable