rail-locator-api 0.0.32 → 0.0.33

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: dad7e7b83c16758623a09d848218d320f77256771df0665b296d9432b2cb85e4
4
- data.tar.gz: 1f0ec5eeac0c08275c636d7c53344a19092c1794547b03369773f9e8957dc39a
3
+ metadata.gz: 5ede41528479ea31925099520174f0ed0a80a2606b8765f8b807accb044fd962
4
+ data.tar.gz: ebc0acc5dbee2508dff3a999e0c8207c7597d2d32dd40a59ed6ff799504b1e69
5
5
  SHA512:
6
- metadata.gz: de50ad61ed19986b0ac61e9ae9e17e99e782b55e08972a11ebe916b737b6d713ac49e251ecbd795e480e3d88d9bc4beeee00707e0e95339fbd9428ffccac8624
7
- data.tar.gz: 5c5192e82b74f2503ddc5099de920f6215f34bda55c91a79a975d8ad56be59d3a6484f2b38bb70fdc202c8caf8a4f5c1f1d1ca6981ee2b1511c0add182120e45
6
+ metadata.gz: c81a85c81904a43f9c65a89939c961ab0c89aa3b63e577be00bddcdcff611421b84d4f2cd547503f543eca3df65fd5dcc1e1942be0731d0dd210a069f00bc2ba
7
+ data.tar.gz: 14759e3c5a4eb9a77582156b111ec7979751c564ff375f176ce6aaea8ad09657ead00a520215966bcb468feaeb38bd8f3abc550d8c74a73ee8987490174508f9
@@ -17,7 +17,6 @@ module RailLocatorApi
17
17
  @path_parts = []
18
18
  @api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
19
19
  @api_key = @api_key.strip if @api_key
20
- @api_key = RailLocatorApi::api_key if @api_key.nil?
21
20
 
22
21
  @access_token = access_token || self.class.access_token || RailLocatorApi.generate_access_token.try(:dig, "access_token")
23
22
  @access_token = @access_token.strip if @access_token
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "0.0.32"
2
+ VERSION = "0.0.33"
3
3
  end
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.32
4
+ version: 0.0.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov