rail-locator-api 0.0.22 → 0.0.23

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: 1cd04f690b1b9b0c7efd7d0a1e08699381e219de12d1575d4b46cd382d46f19e
4
- data.tar.gz: aa985811938780f4fa6c0d3f3e7a8257a6e6fbe846ae47b69da5147f10a3b05d
3
+ metadata.gz: df7a3f52cdad808bec0023a5b18ef9ecc103d96e6f8c10d63ebf987a62c77269
4
+ data.tar.gz: 56068b6c8098816850a2aa6e1432960968fd1da771633868ce6ab698b7b5162b
5
5
  SHA512:
6
- metadata.gz: 5f9328334ac06dfa1b3a0e1fe3ed589fb0b38f7d3fc81283118f045a1d10b3203d40599cf6f583ac26b0d9f4030d01a5ea105bcd1dba40860b1fc6eb8faea787
7
- data.tar.gz: d630474fd87853779aedbeb257c96b9e1dc3bba7250f4d1ce5bb6365c53cb579910577beec3cf1e135ef6e2603816d6d930cf04b28bce11b345f076f2c555494
6
+ metadata.gz: 2fb4c5bf534755f7f0c0c74f0c2dac9eaff3154dfdd796b59256e178c3c3b0739e9f527097fe309f2e2dab5d0748f5d5550a9622ff6ceb17b213058fab18cd0b
7
+ data.tar.gz: 7e8952a547389078beaae8e39c7c19e378b4c3f343c5c73554300d63db1227ae15a0592439737b0637b54614152688abf672623af0fbfa8769558bbc0dfeb33f
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
@@ -22,11 +22,10 @@ module RailLocatorApi
22
22
  end
23
23
 
24
24
  response = connection.post RailLocatorApi.keycloak_token_url, payload do |request|
25
- request.headers['Content-Type'] = 'application/json'
26
25
  request.headers['accept'] = 'application/json'
27
26
  end
28
27
 
29
- JSON.parse(response.body).try(:dig, :access_token)
28
+ JSON.parse(response.body).try(:dig, "access_token")
30
29
  end
31
30
 
32
31
  def setup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rail-locator-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov