daazweb-api 0.0.2 → 0.0.3

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: 607df7c2b7cb91e8d560f8bfdcd0d3cff6bcc64e54b7a3d0487a1b7e5d5c8d21
4
- data.tar.gz: 6cf4957f9a9f8b5f9e01272ee9ba9ed36c4de85dff32d196dfe9f8227ec99517
3
+ metadata.gz: ca0861877c26620812320483fc7fcf506df336f2f555465d813296113e7f36e4
4
+ data.tar.gz: e6d1ebd68dfc38abeb163146ff731585e5f075a1631adf5155a8680ca4ba2948
5
5
  SHA512:
6
- metadata.gz: f0a9838d07a4023a53e529189d467c1c5767d72e1d958d34027c556b058ab78f2c77291eb10d72920a73c35a36eea1a9a1a0bfeb0732efc506b7bf4314737bdf
7
- data.tar.gz: 547669cde986a15aaa68afbf5efb7ab6e7b4ae5cc7f702f6f8c80ef8b2a069b2169cc874ed331b0ba458d4942bc0876c61c4347b6e17ef16313c14773b4e6529
6
+ metadata.gz: f879a1cb8e7fbb3950bce97dd128988f774da9d322af79850736c89a357c26b9b6833efa76a730e34ffba16fceeadc07950517650848bece70d68ed4a6dc6e0b
7
+ data.tar.gz: 96739980d6784b54bbcc4548f45764f0160487d7e37cd72fba95898fc14c24e021f22064b6323cdbf1526b83defca405a1cf404346c33bc4fcee3b28bcc3b3a2
@@ -14,7 +14,7 @@ module DaazwebApi
14
14
  @timeout = timeout || self.class.timeout || DEFAULT_TIMEOUT
15
15
  @open_timeout = open_timeout || self.class.open_timeout || DEFAULT_OPEN_TIMEOUT
16
16
  @proxy = proxy || self.class.proxy || ENV['DAAZWEB_API_PROXY']
17
- @ssl_options = ssl_options || self.class.ssl_options || { version: "TLSv1_2" }
17
+ @ssl_options = ssl_options || self.class.ssl_options || OpenSSL::SSL::TLS1_2_VERSION
18
18
  @faraday_adapter = faraday_adapter || self.class.faraday_adapter || Faraday.default_adapter
19
19
  @symbolize_keys = symbolize_keys || self.class.symbolize_keys || false
20
20
  @debug = debug || self.class.debug || false
@@ -1,3 +1,3 @@
1
1
  module DaazwebApi
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/daazweb-api.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'faraday'
2
+ require 'multi_json'
2
3
  require 'daazweb-api/version'
3
4
  require 'daazweb-api/daazweb_api_error'
4
5
  require 'daazweb-api/request'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daazweb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Osetrov