rail-locator-api 1.0.6 → 1.0.8

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: 1be36551c45a5cc10d83d34c949e083a6ea101b416c363de07f78daa9a7d5838
4
- data.tar.gz: 9ad36eeba22cb270c933c7d7a269bc165192148246315ecb0011131ae33e862b
3
+ metadata.gz: 4f6a408a63b18baacd0dfe6e78ff5e59ec50751cdb43306b0d164c83d9d8b709
4
+ data.tar.gz: c1d9412d8ae148de6281f4b22a4fc9a8a8519c9c12d21f29f6df4c9c48628b49
5
5
  SHA512:
6
- metadata.gz: c335a246ef7aca42a553c1350078e75eedda19aeefcd833dbf916464cf5cf4c839c97ecbff546b9bfee0b6d8b4cdf94b290f1954aed4519f8987d36178d91771
7
- data.tar.gz: c297ad0a02abbc187b6a3da6e6d2a46cd24fca76a0c6274258585d03b67e931742e3dc474cde9d2cf19bca58365577afb53316a0d344e874027ffe21ed845b58
6
+ metadata.gz: d436af701fd497d2570ef16ace73d2c06d8386b6fd310dfb970dd6995955822a0a32680d63ddf6ce984d0252f0113f9ae240722cfe79aa88dec9b54cf7036e99
7
+ data.tar.gz: 7638d8aa2b00433bde0d20da180c3df721064c6ce5e772efa971c093c483e5160149e3f034ffa9d846d567de833004dca89a5089437d8aed5192e0cbe226fd50
@@ -228,6 +228,7 @@ module RailLocatorApi
228
228
  when "app"
229
229
  app_api_url
230
230
  when "union"
231
+ @request_builder.shift
231
232
  union_api_url
232
233
  else
233
234
  base_api_url
@@ -248,7 +249,6 @@ module RailLocatorApi
248
249
 
249
250
  def union_api_url
250
251
  "http://192.168.88.174:8000/api/v1.0/"
251
- RailLocatorApi::Request.union.claims.create
252
252
  end
253
253
  end
254
254
  end
@@ -15,7 +15,7 @@ module RailLocatorApi
15
15
  faraday_adapter: nil, symbolize_keys: false, debug: false,
16
16
  debug_options: { headers: true, bodies: false, errors: false, log_level: :info },
17
17
  without_ratelimit: false, is_allow_access_to_coordinates: false,
18
- logger: nil, test: false, language: DEFAULT_TIMEOUT)
18
+ logger: nil, test: false, language: DEFAULT_LANGUAGE)
19
19
 
20
20
  @path_parts = []
21
21
  @api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.8"
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: 1.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov