google_distance_matrix 0.6.3 → 0.6.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
  SHA256:
3
- metadata.gz: de97d6fbd5c11056be61c2fbdade541bcd9e04f95dfdc3d3994d25e97b21476b
4
- data.tar.gz: 71fb7ba1f8c2e707a95878219ddf99e040892d6d197a1ed5c33bed671191628e
3
+ metadata.gz: ec09fa5221e72649dc748457361fd70b8411ef4aaaf149d89cd611fb8283a046
4
+ data.tar.gz: 835d472137fae8e86ecdfb91355519ad951ae2cad6f476ed810d06258f82fa89
5
5
  SHA512:
6
- metadata.gz: 0304ccbedb35ddde62968025032e2b3d83a962ec857d739df35e3645c4b4220e1aa554729876bcc4aa26e0a9db008ff0e67e314c23ddf4bcbef4951f9d0d13c8
7
- data.tar.gz: 650669b42ece96bb992ffccc3738f09ab97d81c02129fdcd4ca0007c921e32fbd834126aec5af62074be5f25ad422f88be3ca454d15c47d83cf60e33ba990ede
6
+ metadata.gz: 147599c8ebad87d56263e53740bff7e6ed8ff610c0cc484fc54e2eb0bae0871f9c36aee64e584fd7c9406af28aaa67c7de315095265dd4ae46a2713b3294a1fd
7
+ data.tar.gz: 6fc3c60083417ebc18a63a01553421c9f26a8d55dcc63a0d8cee03ce4278addf97e69cb04a638ecd376aab4d97ec4258ccd9a1757a3958c466e392bcbd053e0c
data/.travis.yml CHANGED
@@ -1,10 +1,11 @@
1
1
  before_install:
2
2
  - gem update bundler
3
3
  rvm:
4
- - 2.3.8
5
- - 2.4.5
6
- - 2.5.5
4
+ - 3.0.1
7
5
  - 2.6.2
6
+ - 2.5.5
7
+ - 2.4.5
8
+ - 2.3.8
8
9
  - ruby-head
9
10
  matrix:
10
11
  allow_failures:
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## v.0.6.4
2
+
3
+ * fix: no longer throwing "Wrong number of arguments" when using the cache (by brianlow)
4
+
1
5
  ## v.0.6.3
2
6
 
3
7
  * chore: bumped dependency support up to Rails 6.1 (by mintyfresh)
@@ -19,7 +19,7 @@ module GoogleDistanceMatrix
19
19
 
20
20
  def get(url, options = {})
21
21
  cache.fetch self.class.key(url, options.fetch(:configuration)) do
22
- client.get url, options
22
+ client.get url, **options
23
23
  end
24
24
  end
25
25
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GoogleDistanceMatrix
4
- VERSION = '0.6.3'
4
+ VERSION = '0.6.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google_distance_matrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thorbjørn Hermansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-15 00:00:00.000000000 Z
11
+ date: 2021-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -221,8 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  requirements: []
224
- rubyforge_project:
225
- rubygems_version: 2.7.6.2
224
+ rubygems_version: 3.0.3
226
225
  signing_key:
227
226
  specification_version: 4
228
227
  summary: Ruby client for The Google Distance Matrix API