rail-locator-api 0.1.33 → 1.0.0

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: f44c8ebe2596d7f03175522989e26bd54d1115e289330cfae7ec4b667439defb
4
- data.tar.gz: 7ee33751cf6e02ad85ffd02e27c5026a90ce0e510f459476a26f62714377acbf
3
+ metadata.gz: ac2e0e239acbba6ce30a3dd36162bd219345078863b3cb930b03a1b43ccce9a8
4
+ data.tar.gz: a34c66ebf1a4ecc622c819c8afdc162218d4c9b8944fbadc3e70790d17e28090
5
5
  SHA512:
6
- metadata.gz: d03c4b4eb7811f69c619148319638554a8a16c2df41ac4544bc9169712850ebe3ab120933d202297512cd994e0b8f53561263974a1e18b6f1a5b0bc20493dcfb
7
- data.tar.gz: 0bea1677fe6c007835ad62e10116930350adba98d4e0956d9926e7bd09089b54190c546a5ea187d2a15955330971000b6198068dbc4055197f7a5c41aaf6b21c
6
+ metadata.gz: 8b9b022f9990122c8d689f9c7c7145627ffabf708bb29e28b17c865bbab663f403332c774a1b6af3cdb18d46e767f7a96478dd378bfbaa7ea63c23876cdf51db
7
+ data.tar.gz: d55c58ff32c47f72e8f4e051033bc0fade804e1c63244180ae876bf0e0bc81da9632d5b36efd28335ce92e027e796884a100c049f41566e23b271bfa58c98bdd
@@ -240,7 +240,7 @@ module RailLocatorApi
240
240
  end
241
241
 
242
242
  def app_api_url
243
- "http://192.168.1.129:1488/"
243
+ "https://rail-locator.com/"
244
244
  end
245
245
  end
246
246
  end
@@ -1,7 +1,7 @@
1
1
  module RailLocatorApi
2
2
  class Request
3
3
  attr_accessor :access_token, :refresh_token, :api_user_id, :api_key, :api_user_email, :api_user_password, :api_auth_method, :api_endpoint,
4
- :timeout, :open_timeout, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys, :debug,
4
+ :timeout, :open_timeout, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys, :debug, :debug_options,
5
5
  :without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
6
6
 
7
7
  AUTH_METHODS = [:keycloak, :api_key, :base64]
@@ -123,7 +123,7 @@ module RailLocatorApi
123
123
  class << self
124
124
  attr_accessor :access_token, :refresh_token, :api_user_id, :api_key, :api_user_email, :api_user_password, :api_auth_method,
125
125
  :timeout, :open_timeout, :api_endpoint, :proxy, :ssl_options, :faraday_adapter, :symbolize_keys,
126
- :debug, :without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
126
+ :debug, :debug_options, :without_ratelimit, :is_allow_access_to_coordinates, :logger, :test
127
127
 
128
128
  def method_missing(sym, *args, &block)
129
129
  new(access_token: self.access_token, refresh_token: self.refresh_token,
@@ -132,7 +132,8 @@ module RailLocatorApi
132
132
  api_user_email: self.api_user_email, api_user_password: self.api_user_email,
133
133
  api_auth_method: self.api_auth_method, api_endpoint: self.api_endpoint,
134
134
  timeout: self.timeout, open_timeout: self.open_timeout, faraday_adapter: self.faraday_adapter,
135
- symbolize_keys: self.symbolize_keys, debug: self.debug, without_ratelimit: self.without_ratelimit,
135
+ symbolize_keys: self.symbolize_keys, debug: self.debug, debug_options: self.debug_options,
136
+ without_ratelimit: self.without_ratelimit,
136
137
  is_allow_access_to_coordinates: self.is_allow_access_to_coordinates,
137
138
  proxy: self.proxy, ssl_options: self.ssl_options, logger: self.logger,
138
139
  test: self.test).send(sym, *args, &block)
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "0.1.33"
2
+ VERSION = "1.0.0"
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.1.33
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov