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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTNjMTM3NmZkNmNiM2M5YjdlNDZjNTJmYTVmODM5ZDdiZDgzMWNiNw==
4
+ NzI0MzJiODBlMmQzMjgyNTY3NGNkMzczNWVkNWZhNmIyMzU3YzRmNQ==
5
5
  data.tar.gz: !binary |-
6
- MWEyOTg4YzU5MThlZjc4NDMzZjkzZTE4MDJhODYwMzE2ZWI4ZDIyOQ==
6
+ ZjUxMzA2MGI2MzMxZWI1YTkwYTc0MDY3NzI2MWVkOThjZWQ2MGI1YQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGFhMDg5MWM0MTY1NmEzZjlhNjc4ZDQwOWRiNGZkNWIzNTAyMTFhZjMzM2I4
10
- OTkyODhhMThmOTQwODNlMGUxMjQ5N2VlYjZjNGVkY2VlMWFlNTM4MDFmZjJh
11
- Mzc5MWQ2ZTNjYTA1MWRkMzVkMGE0YzAxNjQ3ZmIyOTI5OTYzNGM=
9
+ ODA3MGM4ZDVhNTcyYmMxNDA5ZmYxZjE2YmVhZmVhNjcxYzJlMDkwNjc0YWI2
10
+ YWVjZTRhNmNhZmU3ZWY3YWY4YmNiNjhlZWJhMzc1MTk0YWM1MThhOTQyNmQ3
11
+ YzNjMTQ1NjUwZDJkMTg2NGVhYzI3NWFiNTg5ODQ2Njk1OTUxYmI=
12
12
  data.tar.gz: !binary |-
13
- Zjc1NWEyODAxOWQyZWZjZTdjMDdmNTgzYmZmZWUyYmU0NDQyZDJlNWY4MmM5
14
- M2QzMTIzMGY4ZWU5ZWVjMmFmNGYzYWU5ZWI4ODQ4NjE2MTFkZmYzMjFhY2Yz
15
- Mzc1Y2RkNzhiNzNiYTVkN2YzZGRjOTE0ZGVlYjZiMzAxZGVjODU=
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 => :logger}).merge(opts)
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 and logger
56
+ f.response :logger, logger if logging
57
57
  f.adapter :net_http_persistent
58
58
  end
59
59
  return @client
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Elementary
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.1"
4
4
  end
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.0.32
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-08 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler