stream-ruby 2.6.0 → 2.6.1

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
  SHA1:
3
- metadata.gz: 499ca2934dbfc39668a3d3095aa6a1f616138d9d
4
- data.tar.gz: 61ec2335f9983b4f111a873a6db1ea816324e28b
3
+ metadata.gz: 29d5da2d0fd022c89bf1f1fbfb5d7260e3b4d0e0
4
+ data.tar.gz: 0aac9dfc71e8e0d925c7a3e81df8643ca502886f
5
5
  SHA512:
6
- metadata.gz: 7436d395e632dc67481c8e1f49d6011cac64ea4a7ef506b43cd022fa5170774c57ae52ba7635c254c2cbf28ea146d16c689577233fc518f3ee72f1c6e310da5c
7
- data.tar.gz: 238c2e10cd26f1248cd2fe88d2b58668e440e08986d9a83c080aa44f7cb7378ddbceaa59576f862e5d68a875982a22e4c54dcaeb959389c2ac22dd484b7dadce
6
+ metadata.gz: a97a8e96e4925799c90f7b01a04e017b482a5681eabf16028b3a794c78611aaa5bf946cc3c1b0e21198e9e58bb1eb94f633858dc3fb97c4cab2e166d3a5c0374
7
+ data.tar.gz: 6f6929f338a722f487c6dbd0df2d4955d51c7d7fcbdd65a6902da65b0aae854ba22ec6882481409156a0e0e46600712910e7f4d1df829c264ec5784cb79f53a8
data/lib/stream/client.rb CHANGED
@@ -59,11 +59,11 @@ module Stream
59
59
  @signer = Stream::Signer.new(api_secret)
60
60
 
61
61
  @client_options = {
62
- api_version: opts.fetch(:api_version, 'v1.0'),
63
- location: opts.fetch(:location, nil),
64
- default_timeout: opts.fetch(:default_timeout, 3),
65
62
  api_key: @api_key,
66
- api_hostname: opts.fetch(:api_hostname, 'stream-io-api.com')
63
+ api_version: opts[:api_version] || 'v1.0',
64
+ location: opts[:location],
65
+ default_timeout: opts[:default_timeout] || 3,
66
+ api_hostname: opts[:api_hostname] || 'stream-io-api.com'
67
67
  }
68
68
  end
69
69
 
@@ -1,3 +1,3 @@
1
1
  module Stream
2
- VERSION = '2.6.0'.freeze
2
+ VERSION = '2.6.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stream-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommaso Barbugli
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2018-04-17 00:00:00.000000000 Z
13
+ date: 2018-04-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday