cucumber-pro 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cucumber/pro/version +1 -1
- data/lib/cucumber/pro/web_socket/session.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aba26207747344dda383814db4114cb91cee6d20
|
4
|
+
data.tar.gz: f809da648aed73a7eca530eb31391c02343b00e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f246995c5281209a5cd2340ab3a3f3fec7cbfbc1f79cdd9d3f80769cf186e782d3677c9b360401a7d92f8a1648dab7ae1a96c6e4bb691895fadf5971b7972523
|
7
|
+
data.tar.gz: 349ae812ab5017bb077a5f378370498323b7a68119bb7349025a5a4009770277f131039c8b93a645dd5e56e75521221138e467e0c4d6b2e542454d54eab05d7e
|
data/lib/cucumber/pro/version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.11
|
@@ -11,7 +11,7 @@ module Cucumber
|
|
11
11
|
def initialize(url, logger)
|
12
12
|
@url, @logger = url, logger
|
13
13
|
create_socket = -> worker {
|
14
|
-
ws = Faye::WebSocket::Client.new(@url, ping: 15)
|
14
|
+
ws = Faye::WebSocket::Client.new(@url, nil, ping: 15)
|
15
15
|
ws.on :open, &worker.method(:on_open)
|
16
16
|
ws.on :error, &worker.method(:on_error)
|
17
17
|
ws.on :message, &worker.method(:on_message)
|
@@ -113,7 +113,7 @@ module Cucumber
|
|
113
113
|
def on_close(event)
|
114
114
|
logger.debug [:ws, :close]
|
115
115
|
if access_denied?(event)
|
116
|
-
raise Error::AccessDenied.new
|
116
|
+
raise Error::AccessDenied.new
|
117
117
|
end
|
118
118
|
@ws = nil
|
119
119
|
EM.stop_event_loop
|
@@ -127,7 +127,7 @@ module Cucumber
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def access_denied?(event)
|
130
|
-
event.code == 1002 &&
|
130
|
+
event.code == 1002 &&
|
131
131
|
event.reason == \
|
132
132
|
"Error during WebSocket handshake: Unexpected response code: 401"
|
133
133
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wynne
|
@@ -190,7 +190,7 @@ rubyforge_project:
|
|
190
190
|
rubygems_version: 2.0.14
|
191
191
|
signing_key:
|
192
192
|
specification_version: 4
|
193
|
-
summary: cucumber-pro-0.0.
|
193
|
+
summary: cucumber-pro-0.0.11
|
194
194
|
test_files:
|
195
195
|
- features/publish_results.feature
|
196
196
|
- features/security.feature
|