falcon-capybara 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/falcon-capybara.gemspec +1 -1
- data/lib/falcon/capybara/version.rb +1 -1
- data/lib/falcon/capybara/wrapper.rb +7 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b747d221d21402719257dac65fa5ff2e115ddd4e95d2888d77d52cbe9c10a58f
|
4
|
+
data.tar.gz: fcd2c3858b5cefd1d584d83b0e66d78738223f3ca84f9d0a5590d27037d298a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc0c7e44e3d0e6c70bd5fd6ad19ae13113e67d2479862cf43e8df907124dd3b241a2bef601ce35be174e19a2a2685c7138fb110e083494db7676938e333d2c7
|
7
|
+
data.tar.gz: 39e0815142312fade61bb94895b5a6abd5fdc54f1e6284a0f1904b6a34c5c73e94efc0bdedfb80bd4215fdfa1b20fed7d220584a9b869097eb2fcd2667ba264f
|
data/falcon-capybara.gemspec
CHANGED
@@ -51,9 +51,13 @@ module Falcon
|
|
51
51
|
def call(app, port, host)
|
52
52
|
require 'async/reactor'
|
53
53
|
require 'falcon/server'
|
54
|
+
require 'falcon/adapters/rack'
|
54
55
|
|
55
56
|
Async::Reactor.run do |task|
|
56
|
-
server = Falcon::Server.new(
|
57
|
+
server = Falcon::Server.new(
|
58
|
+
Falcon::Adapters::Rack.new(app),
|
59
|
+
Async::IO::Endpoint.tcp(host, port)
|
60
|
+
)
|
57
61
|
|
58
62
|
task.async do
|
59
63
|
Async.logger.debug (self) {"Running server..."}
|
@@ -67,6 +71,8 @@ module Falcon
|
|
67
71
|
Async.logger.debug (self) {"Running job #{@job}"}
|
68
72
|
@job.call
|
69
73
|
@job = nil
|
74
|
+
|
75
|
+
@job_complete.signal
|
70
76
|
end
|
71
77
|
end
|
72
78
|
end
|
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.
|
4
|
+
version: 1.2.0
|
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-
|
11
|
+
date: 2018-04-17 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:
|
19
|
+
version: 0.13.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:
|
26
|
+
version: 0.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: capybara
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|