falcon-capybara 1.3.2 → 1.3.4

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
  SHA256:
3
- metadata.gz: 186e8ef6fe3045062e156a13f10842ce61e41089a7dfece5646df74c6ee87c7d
4
- data.tar.gz: 2fa1d93226cf6d39ce559882ac8473cf035f607eb324864a62b5021fcff6dbeb
3
+ metadata.gz: 3ff2eb735061498b537040d8cb5c696220f78fb5fec1df9d532c08a75c5bd500
4
+ data.tar.gz: 4ee51658610704cec3701b095e14f4a57435d531c8f9579b7c3f76c413852d92
5
5
  SHA512:
6
- metadata.gz: 292028508de5b7677a5e8a3670737f9370b78cd59bc2c50646963f7bd7c4d0fd971ca07f03fda8a0ffffa36b0f02c542eb2ddd0560f9aad4f8d67358427db58a
7
- data.tar.gz: 10104ae9d647238f9e9b9c1168b534bb0b7bf37c9718ab4152932976de14c4a0f1e3d738c849ba49efced146b137f72232997ba6829507aaa4db319ee086892f
6
+ metadata.gz: 2cec1c7e3b715df1163b6ddce9485993fc41668ee8c23be5cd23e79285f0eab68bab03362076df8080b51a6890af9d7fd9b5df93dde44c17bf36cc44a15f56b9
7
+ data.tar.gz: ae5df3f4ce50f03feeeba51927f4824a255ebb2e85ab2806fb8fded77c54a575fd8114bd1ed051684752c1088b14a4c260f408d4727af2e3950cf956ffb524b1
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "falcon", "~> 0.15.0"
21
+ spec.add_dependency "falcon", "~> 0.17.0"
22
22
  spec.add_dependency "capybara"
23
23
  spec.add_dependency "selenium-webdriver"
24
24
 
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Falcon
22
22
  module Capybara
23
- VERSION = "1.3.2"
23
+ VERSION = "1.3.4"
24
24
  end
25
25
  end
@@ -48,14 +48,14 @@ module Falcon
48
48
  end.wait
49
49
  end
50
50
 
51
- def call(app, port, host)
51
+ def call(rack_app, port, host)
52
52
  require 'async/reactor'
53
53
  require 'falcon/server'
54
- require 'falcon/adapters/rack'
55
54
 
56
55
  Async::Reactor.run do |task|
57
- server = Falcon::Server.new(
58
- Falcon::Adapters::Rack.new(app),
56
+ app = Falcon::Server.middleware(rack_app)
57
+
58
+ server = Falcon::Server.new(app,
59
59
  Async::IO::Endpoint.tcp(host, port)
60
60
  )
61
61
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: falcon-capybara
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-07 00:00:00.000000000 Z
11
+ date: 2018-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: falcon
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.15.0
19
+ version: 0.17.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.15.0
26
+ version: 0.17.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement