rail-locator-api 1.0.4 → 1.0.5

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: be4e49d31db87bee5351b283afa756e1fbe54bd8a031d59fb1c5fbe9414b0fb6
4
- data.tar.gz: 057f495c51fb875494cb466540e0ab1d2ac9938873edbfdbf788854ce89fe1bd
3
+ metadata.gz: 569639365499c9f31295a0a3d97ae21a2ce63ef9e02ac83df7ec33593925166c
4
+ data.tar.gz: fd2648fa715dba0b099a58d6aa2a4d5c946ac200ca1526e27f4cadf18a7c5b9f
5
5
  SHA512:
6
- metadata.gz: 47e18fa23c314edd27918820aa3f85d1cc9646305d7a4d431e9cb8d6a40fff82b8168e4504312735853c924a936cf819fb54416fab6f5bad92ae4fc5d6424459
7
- data.tar.gz: b36787a68403aa438b28a18009ed0af34221cfa74afeb3883bde70e51a0c376781a937ac6f9540e1e948023aed3ff28b473b61eca0a703d154ee4a5894374d25
6
+ metadata.gz: b211c1e8e849c76bfabc1c51f570bf6e96322a2d10a20a1a5de65b935581d590a3b42f546fd72f7a908126769736d1da7f334b8a5216e93de072c0153c397e93
7
+ data.tar.gz: 3578726800a2f69fb2091893989038e7533e21c725100f506a575c968588cfb0c6dc308f0caf17bf9bf3490cdbdda3b6853fe80a1598f091d713e3656786127f
@@ -227,6 +227,8 @@ module RailLocatorApi
227
227
  lk_api_url
228
228
  when "app"
229
229
  app_api_url
230
+ when "union"
231
+ union_api_url
230
232
  else
231
233
  base_api_url
232
234
  end + @request_builder.path
@@ -243,5 +245,9 @@ module RailLocatorApi
243
245
  def app_api_url
244
246
  "https://rail-locator.com/"
245
247
  end
248
+
249
+ def union_api_url
250
+ "http://192.168.88.174:8000/api/"
251
+ end
246
252
  end
247
253
  end
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
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.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov