smartcar 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90722f7493bd6abc2cef8d558e621cabe47b06673c188745fe5e4f5d54c8fc8d
4
- data.tar.gz: 752700018bcc454c701a2793a368830a1de4a1c089bd887e179394739d4ddea4
3
+ metadata.gz: 0671574e0a757bee551618fed49a329cf600fab00df745de53877e75b7f17a67
4
+ data.tar.gz: 3bd83358b2a16209d001297e295c31b75cfd937a3a9a6c6132f58995ef99cfb6
5
5
  SHA512:
6
- metadata.gz: 451e5b052d90432912aae2709a716a3fecc5fccb6534f412d334dfb994c8c1631d378f3053cba1845c299812c13402c2ea1620bbf1ab4986b3ca10164c3f089a
7
- data.tar.gz: 4445e30594dc499b2bb863cd27bb94ca184056c2dd975a85ee36a0a09b9b05b2f000c22a2cb0f4c2f5e177a18c68ec2cf50d4d5b59495e40135cb08b381d1b38
6
+ metadata.gz: c20e0a508b8f228becddb76a18d99e95d1d994ced31f490bb207334cb40771ff9aa8e903da70fcfeba2982410e8032bbbe0d689d13b03de15841270134d6a35e
7
+ data.tar.gz: de7ba075efa2a18c3f5c5340bc0c28f132afc2db33baa3c176f8601f756ab1cbfd846b5c52ffc8b7678dbf1b7788a37c96425c6731dafc7ca6097730ebaf01eb
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- smartcar (3.0.3)
4
+ smartcar (3.0.4)
5
5
  oauth2 (~> 1.4)
6
6
  recursive-open-struct (~> 1.1.3)
7
7
 
@@ -20,7 +20,7 @@ GEM
20
20
  rexml
21
21
  diff-lcs (1.4.4)
22
22
  docile (1.4.0)
23
- faraday (1.5.1)
23
+ faraday (1.8.0)
24
24
  faraday-em_http (~> 1.0)
25
25
  faraday-em_synchrony (~> 1.0)
26
26
  faraday-excon (~> 1.1)
@@ -28,6 +28,7 @@ GEM
28
28
  faraday-net_http (~> 1.0)
29
29
  faraday-net_http_persistent (~> 1.1)
30
30
  faraday-patron (~> 1.0)
31
+ faraday-rack (~> 1.0)
31
32
  multipart-post (>= 1.2, < 3)
32
33
  ruby2_keywords (>= 0.0.4)
33
34
  faraday-em_http (1.0.0)
@@ -37,8 +38,9 @@ GEM
37
38
  faraday-net_http (1.0.1)
38
39
  faraday-net_http_persistent (1.2.0)
39
40
  faraday-patron (1.0.0)
41
+ faraday-rack (1.0.0)
40
42
  hashdiff (1.0.1)
41
- jwt (2.2.3)
43
+ jwt (2.3.0)
42
44
  multi_json (1.15.0)
43
45
  multi_xml (0.6.0)
44
46
  multipart-post (2.1.1)
@@ -87,7 +89,7 @@ GEM
87
89
  rubocop-ast (1.7.0)
88
90
  parser (>= 3.0.1.1)
89
91
  ruby-progressbar (1.11.0)
90
- ruby2_keywords (0.0.4)
92
+ ruby2_keywords (0.0.5)
91
93
  rubyzip (2.3.0)
92
94
  selenium-webdriver (3.142.7)
93
95
  childprocess (>= 0.5, < 4.0)
@@ -100,7 +100,7 @@ module Smartcar
100
100
  response_object = OpenStruct.new
101
101
  response_body['responses'].each do |item|
102
102
  attribute_name = convert_path_to_attribute(item['path'])
103
- aliases = Vehicle::METHODS[attribute_name.to_sym][:aliases]
103
+ aliases = (Vehicle::METHODS[attribute_name.to_sym] || {})[:aliases]
104
104
  # merging the top level request headers and separate headers for each item of batch
105
105
  headers = response_headers.merge(item['headers'] || {})
106
106
  response = if [200, 204].include?(item['code'])
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Smartcar
4
4
  # Gem current version number
5
- VERSION = '3.0.3'
5
+ VERSION = '3.0.4'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcar
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ashwin Subramanian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-05 00:00:00.000000000 Z
11
+ date: 2021-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler