rail-locator-api 0.1.31 → 0.1.32

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: 33574469b6b170067b3d58342f93cb05e37e489f4fa545c509596865ab18db61
4
- data.tar.gz: 28f32f1bca4499066ef8616c28a19d034ec02de3847f859fd477e7a8fb3242d5
3
+ metadata.gz: 010b8eebc008a19fb48adfe1ec30c3319b0617ae0d16a0dfa97e9c39260d0869
4
+ data.tar.gz: 47f584ea0d3f67d553d82975bd0f84b4768ae78cc2ed45629a7a6964407463ea
5
5
  SHA512:
6
- metadata.gz: 94ee04c1e1bfdc5571ba120ae75a4d3dd33a7193caad81de585c12bbb69e62a67bc54ed4da4628b102a1dece81bb404862bc1c0075e123dc26850c1a75f0eae8
7
- data.tar.gz: b29102d243faad074bfb6f61222c6d8479553e72110d8da9332cb0976c401f178a457e858626b0042765e233c2b8c3e88c6447d8a2cc7a7677a663899a00d231
6
+ metadata.gz: 68770511d3498591f8c630f5149da2cf97f27b97e2ab32bbd80e0c2f06e9fe26b31e96368b7c57efd7d3dbdb6dd7d1d59820aab29a9054aa0f7923374ad48c10
7
+ data.tar.gz: 5b7ef346980f0ebc01b7df58cc62c00c590744828595683f8f2ead25a69c321413f4a7a5fbbac3811468cb58e33af2a486b93cce5df397540ab42b519a00ff1c
@@ -8,7 +8,7 @@ RailLocatorApi.setup do |config|
8
8
  config::register k.underscore.to_sym, v
9
9
  end
10
10
 
11
- config::Request.api_key ||= ENV['API_KEY']
11
+ #config::Request.api_key ||= ENV['API_KEY']
12
12
 
13
13
  config::Request.api_user_email ||= ENV['API_USER_EMAIL']
14
14
  config::Request.api_user_password ||= ENV['API_USER_PASSWORD']
@@ -34,7 +34,7 @@ module RailLocatorApi
34
34
  @api_user_password = api_user_password || ENV['API_USER_PASSWORD'] || ""
35
35
  @api_endpoint = api_endpoint || self.class.api_endpoint
36
36
  @api_endpoint = RailLocatorApi::api_endpoint if @api_endpoint.nil?
37
- @api_auth_method = api_auth_method || DEFAULT_AUTH_METHOD
37
+ @api_auth_method = api_auth_method || RailLocatorApi::api_auth_method || DEFAULT_AUTH_METHOD
38
38
  @timeout = timeout || self.class.timeout || DEFAULT_TIMEOUT
39
39
  @open_timeout = open_timeout || self.class.open_timeout || DEFAULT_OPEN_TIMEOUT
40
40
  @proxy = proxy || self.class.proxy || ENV['RAIL_LOCATOR_API_PROXY']
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "0.1.31"
2
+ VERSION = "0.1.32"
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.31
4
+ version: 0.1.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov