qismo 0.18.1 → 0.18.2
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 +4 -4
- data/lib/qismo/client.rb +3 -3
- data/lib/qismo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a49672ff24211ad4828574e849c42e85022b9f316e149a6a20e13514e86d512
|
|
4
|
+
data.tar.gz: 854c58aea3339b1f9766eb4465861ecbced5a0f6ec6a05c73fde4404a1109b0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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
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.
|
|
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.
|
|
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'
|