ooor 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ module Ooor
15
15
  case type
16
16
  when :json
17
17
  @json_clients ||= {}
18
- @json_clients[url] ||= JsonClient.new(url)#, timeout: config[:rpc_timeout] || 900) #TODO timeout doesn't work depending on Faraday versions?
18
+ @json_clients[url] ||= JsonClient.new(url, :request => { timeout: config[:rpc_timeout] || 900 })
19
19
  when :xml
20
20
  @xml_clients ||= {}
21
21
  @xml_clients[url] ||= XmlRpcClient.new2(url, nil, config[:rpc_timeout] || 900)
@@ -50,7 +50,7 @@ module Ooor
50
50
 
51
51
  Faraday::Connection.send :include, OeAdapter
52
52
 
53
- def self.new(url = nil, options = {})
53
+ def self.new(url, options = {})
54
54
  options[:ssl] = {:verify => false}
55
55
  Faraday.new(url, options) # TODO use middlewares
56
56
  end
@@ -1,7 +1,7 @@
1
1
  module Ooor
2
2
  MAJOR = 2
3
3
  MINOR = 0
4
- TINY = 2
4
+ TINY = 3
5
5
  PRE = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, TINY].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ooor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: