elementary-rpc 2.1.0.32 → 2.1.1.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/elementary/transport/http.rb +2 -2
- data/lib/elementary/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzI0MzJiODBlMmQzMjgyNTY3NGNkMzczNWVkNWZhNmIyMzU3YzRmNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjUxMzA2MGI2MzMxZWI1YTkwYTc0MDY3NzI2MWVkOThjZWQ2MGI1YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ODA3MGM4ZDVhNTcyYmMxNDA5ZmYxZjE2YmVhZmVhNjcxYzJlMDkwNjc0YWI2
|
10
|
+
YWVjZTRhNmNhZmU3ZWY3YWY4YmNiNjhlZWJhMzc1MTk0YWM1MThhOTQyNmQ3
|
11
|
+
YzNjMTQ1NjUwZDJkMTg2NGVhYzI3NWFiNTg5ODQ2Njk1OTUxYmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Zjc0N2JiNDllNDc4NzRlMTJjZjRjZmUwYWJiOTU4ZGIwYTM0NDBiODc3MmQy
|
14
|
+
NzFmMmVjMDczMDlmMjNjNTQ2NGNiMGNhNDE4NjIxYWIyMTQxNWU1NjRjZTVm
|
15
|
+
YzQ0NDZjMWU4NWYxZWI3NDNmNmViMTA5OGViZmVkOTY0ZDE4ZWQ=
|
@@ -17,7 +17,7 @@ module Elementary
|
|
17
17
|
# @param [Hash] opts Options to be passed directly into Faraday.
|
18
18
|
def initialize(hosts, opts={})
|
19
19
|
@hosts = hosts
|
20
|
-
@options = Hashie::Mash.new({:logging => true, :logger =>
|
20
|
+
@options = Hashie::Mash.new({:logging => true, :logger => nil}).merge(opts)
|
21
21
|
end
|
22
22
|
|
23
23
|
def call(service, rpc_method, *params)
|
@@ -53,7 +53,7 @@ module Elementary
|
|
53
53
|
logger = faraday_options.delete(:logger)
|
54
54
|
@client = Faraday.new(faraday_options) do |f|
|
55
55
|
f.request :raise_on_status
|
56
|
-
f.response :logger if logging
|
56
|
+
f.response :logger, logger if logging
|
57
57
|
f.adapter :net_http_persistent
|
58
58
|
end
|
59
59
|
return @client
|
data/lib/elementary/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elementary-rpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- R. Tyler Croy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|