rail-locator-api 1.0.1 → 1.0.2

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: b7eebc99961183efda1bff8d068595852179bbd79e9c3718b93f636d899b6ac5
4
- data.tar.gz: c563e4a2d8e1ec6e4abcad31f0b2c979be6e831a4985a8d4f3e9fa5d40e5a2dd
3
+ metadata.gz: a4b106056b806b72a8d99aee9870b884765f6fe6609648dc1f3cc7adbcd36b93
4
+ data.tar.gz: 4f5a0b0933558ee020fabaeca4f85703100bc426e44b96ff15e2134e5b47dd8a
5
5
  SHA512:
6
- metadata.gz: 207fcbee584148fe52fecf4b854e6fd0ee2706e63f2f97ac50e9457b4221f791e4a5b9301494a30b20d59722a699f89ac284434ee7342cccc130644f133eb122
7
- data.tar.gz: ef96887e90a21bd57a274210c6edbd5cba4a97fc5410c9ac82f273e0a660211f2a6c5b462636efe4b49dc5b5cd9649729669aec923bdcd5972d84cad8eb9539f
6
+ metadata.gz: 142897bfde7720d2bcd04f2eaa8670af1e03390bd136cc72d7fea7cf3d927785fddd97e7ce4540342c98e743dca5347623b720177d7fd9332e423fb06acb902b
7
+ data.tar.gz: e8b7654f3bbc93309f087809f82b3b5ed7b4a6dda477830faec18981d59f3117cf0d672c806be55f03eae3af4bfaf0cdbfa5294bbc7f5adf82585da1463825bb
@@ -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: :ru)
18
+ logger: nil, test: false, language: DEFAULT_TIMEOUT)
19
19
 
20
20
  @path_parts = []
21
21
  @api_key = api_key || self.class.api_key || ENV['RAIL_LOCATOR_API_KEY']
@@ -49,7 +49,7 @@ module RailLocatorApi
49
49
  @without_ratelimit = without_ratelimit || self.class.without_ratelimit
50
50
  @is_allow_access_to_coordinates = is_allow_access_to_coordinates || self.class.is_allow_access_to_coordinates
51
51
  @test = test || self.class.test || false
52
- @language = language || self.class.language || :ru
52
+ @language = language || self.class.language || DEFAULT_LANGUAGE
53
53
  @logger = logger || self.class.logger || ::Logger.new(STDOUT)
54
54
  end
55
55
 
@@ -1,3 +1,3 @@
1
1
  module RailLocatorApi
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov