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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7fd11a55ff94f550c031e2a8c53a3cede86518b4
4
- data.tar.gz: 6852419497d7aa8d3dcf3159e4f292163ddb46c9
3
+ metadata.gz: aba26207747344dda383814db4114cb91cee6d20
4
+ data.tar.gz: f809da648aed73a7eca530eb31391c02343b00e4
5
5
  SHA512:
6
- metadata.gz: 7da04fa73fdfd8d4ffd2ceaa69f7ea3a47fc4a03e2318ef96fe1d4b625c250cc69d76cb0bf16863155ca08d8426d50cc6de021cd10f27f046275ff14f29051e4
7
- data.tar.gz: eee420cd029b54979e769fb49b815b2fc67f4ca9277b427d76dc0aa7f5eb9e756eab0cb5b5c68db35444bfbece3a4eefda1fbfe6f2b86f5f87e1d96de15d2dad
6
+ metadata.gz: f246995c5281209a5cd2340ab3a3f3fec7cbfbc1f79cdd9d3f80769cf186e782d3677c9b360401a7d92f8a1648dab7ae1a96c6e4bb691895fadf5971b7972523
7
+ data.tar.gz: 349ae812ab5017bb077a5f378370498323b7a68119bb7349025a5a4009770277f131039c8b93a645dd5e56e75521221138e467e0c4d6b2e542454d54eab05d7e
@@ -1 +1 @@
1
- 0.0.10
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.10
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.10
193
+ summary: cucumber-pro-0.0.11
194
194
  test_files:
195
195
  - features/publish_results.feature
196
196
  - features/security.feature