tail-cf-plugin 0.0.19.pre → 0.0.20.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,10 +12,8 @@ module TailCfPlugin
12
12
  websocket_address = "wss://#{loggregator_host}:4443/tail/spaces/#{space_id}"
13
13
  websocket_address += "/apps/#{app_id}" if app_id
14
14
 
15
- websocket_address += "?authorization=#{URI.encode(user_token)}"
16
-
17
15
  EM.run {
18
- ws = Faye::WebSocket::Client.new(websocket_address, nil, :headers => {"Origin" => "http://localhost"})
16
+ ws = Faye::WebSocket::Client.new(websocket_address, nil, :headers => {"Origin" => "http://localhost", "Authorization" => user_token})
19
17
 
20
18
  ws.on :open do |event|
21
19
  output.puts("Connected to server.")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tail-cf-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19.pre
4
+ version: 0.0.20.pre
5
5
  prerelease: 7
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-06 00:00:00.000000000 Z
12
+ date: 2013-08-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cf