stream-ruby 2.1.2 → 2.1.3

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: e8ce88333d5ac3dffcd467a198cbb162325a757d
4
- data.tar.gz: 63c22545f052e52df25d76bde02259543bcabb3a
3
+ metadata.gz: 9829e572c44feada438e80842fa2d7878d97d47f
4
+ data.tar.gz: c3759b5fd1bc1d723e290743baea682c873e75bc
5
5
  SHA512:
6
- metadata.gz: 9e051d889a8dbde91dd90793106b5337358f727c6da658b2908bd1077cedcec469bac8ac18f08c59e9bf79a8a89d267590eb36cdcb81437fce91b646d8aa4599
7
- data.tar.gz: 6a59d92317ac5e8597eeb695aba6c61d198025d3e5abbf2df0d57e9f0935e2f7bfe26c3f0f0237e37153c98c64cd4e9a0ec4fe85e881fa57a2f19cd9b5e70cba
6
+ metadata.gz: 528c2382d9c6eff3d6dcd60368654039ab56ab18d0280b4c5ece685626ccd44a8a04fc7259d1a7037fc07abd03d456ae69dcfabc4dd3306eefc8868b2e6aeb8e
7
+ data.tar.gz: 73648771cd9d7f0e8d5a98d099a5ecae310e105b4c28e7ba69c7c29ddcfff7cafed8b783bcc7f8341087d8992d8314420a57a80d6035ad50108f38d2334426bc
data/README.md CHANGED
@@ -22,7 +22,7 @@ gem install "stream-ruby"
22
22
  ```ruby
23
23
  # Instantiate a new client
24
24
  require 'stream'
25
- client = Stream::Client.new('YOUR_API_KEY', 'API_KEY_SECRET')
25
+ client = Stream::Client.new('YOUR_API_KEY', 'API_KEY_SECRET', 'APP_ID', :location => 'us-east')
26
26
  # Find your API keys here https://getstream.io/dashboard/
27
27
 
28
28
  # Instantiate a feed object
@@ -3,9 +3,8 @@ require 'stream/exceptions'
3
3
  require 'stream/feed'
4
4
  require 'stream/signer'
5
5
 
6
-
7
6
  module Stream
8
- STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|((?<location>[-\w]+)\.))?getstream\.io\/?*.app_id=(?<app_id>\d+)/i
7
+ STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|((?<location>[-\w]+)\.))?getstream\.io\/[\w=-\?%&]+app_id=(?<app_id>\d+)/i
9
8
 
10
9
  class Client
11
10
  attr_reader :api_key
@@ -1,3 +1,3 @@
1
1
  module Stream
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stream-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tommaso Barbugli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2015-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty