lib/stream/client.rb in stream-ruby-2.1.2 vs lib/stream/client.rb in stream-ruby-2.1.3

- old
+ new

@@ -1,12 +1,11 @@ require 'httparty' require 'stream/exceptions' require 'stream/feed' require 'stream/signer' - module Stream - STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|((?<location>[-\w]+)\.))?getstream\.io\/?*.app_id=(?<app_id>\d+)/i + STREAM_URL_RE = /https\:\/\/(?<key>\w+)\:(?<secret>\w+)@((api\.)|((?<location>[-\w]+)\.))?getstream\.io\/[\w=-\?%&]+app_id=(?<app_id>\d+)/i class Client attr_reader :api_key attr_reader :api_secret attr_reader :app_id