qismo 0.18.1 → 0.18.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b5821ce5a3af4f9c2c0b8b2ff1436ee77c8395a4b98f06b3c64c45afc188cbf
4
- data.tar.gz: ece73a2396b03a38acbb7e64352d4121988f2e5850018bab9d95c10ba88bc3ce
3
+ metadata.gz: 5a49672ff24211ad4828574e849c42e85022b9f316e149a6a20e13514e86d512
4
+ data.tar.gz: 854c58aea3339b1f9766eb4465861ecbced5a0f6ec6a05c73fde4404a1109b0f
5
5
  SHA512:
6
- metadata.gz: 4c605b2d1f6dd5ba69ff9dab9927dbeb63f9678f2b953364448893d2ac873a0770aa1c89bb7d3b42f7918a6cbd58e701eb3225f85718fcdd49ed97aef0f8a1cc
7
- data.tar.gz: 73741ee9f08ccfb8aaaff41993ff91bc2bfa7ba5491e8d078a037ad769e22c802bed26a2e374b079eb539fb23715cf38bf64c21801d8151099e027832bbd015c
6
+ metadata.gz: 2f525de18bd21459e091056bd3c19053bc3fbad5597b59b78824f2f55c322e195106d3ef4e06916e43831321fad6842c937d3852d25ad3fe61a179ad90c3d316
7
+ data.tar.gz: d1be120b5b9643e094ce0fb94d2dd27ca25dacd9a6f60ba30cb179d34d6a55e5cc09e14764bef4bd7d8240989f8c4992424bae7feccdcaae231c9205ba74ab5b
data/lib/qismo/client.rb CHANGED
@@ -67,7 +67,7 @@ module Qismo
67
67
  app_id: DEFAULT_APP_ID,
68
68
  secret_key: DEFAULT_SECRET_KEY,
69
69
  url: DEFAULT_URL,
70
- logger: Logger.new($stdout),
70
+ logger: nil,
71
71
  instrumentation: nil,
72
72
  timeout: 5,
73
73
  proxy: nil,
@@ -171,9 +171,9 @@ module Qismo
171
171
  # @return [HTTP::Chainable]
172
172
  def connection
173
173
  http = HTTP
174
- http = http.use(logging: @logger) if @logger.present?
174
+ http = http.use(logging: {logger: @logger}) if @logger.present?
175
175
  http = http.use(instrumentation: @instrumentation) if @instrumentation.present?
176
- http = http.via(*@proxy)
176
+ http = http.via(*@proxy) if @proxy.present?
177
177
 
178
178
  if @timeout.present?
179
179
  http = if @timeout.is_a?(Hash)
data/lib/qismo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Qismo
4
4
  # @return [String]
5
- VERSION = "0.18.1"
5
+ VERSION = "0.18.2"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qismo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.1
4
+ version: 0.18.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qiscus Integration
@@ -106,7 +106,7 @@ homepage: https://bitbucket.org/qiscus/qismo-rb
106
106
  licenses:
107
107
  - MIT
108
108
  metadata:
109
- source_code_uri: https://bitbucket.org/qiscus/qismo-rb/src/v0.18.1
109
+ source_code_uri: https://bitbucket.org/qiscus/qismo-rb/src/v0.18.2
110
110
  documentation_uri: https://www.rubydoc.info/gems/qismo
111
111
  homepage_uri: https://bitbucket.org/qiscus/qismo-rb
112
112
  rubygems_mfa_required: 'true'