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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4162ab989c210b1cec6c9da885de4d750028b4e4136d07141f1722497c14f39
4
- data.tar.gz: 85b2701c5a7b97b570d68cc90a7822da77e5efa490d4da86583c231dd0f96cc0
3
+ metadata.gz: b747d221d21402719257dac65fa5ff2e115ddd4e95d2888d77d52cbe9c10a58f
4
+ data.tar.gz: fcd2c3858b5cefd1d584d83b0e66d78738223f3ca84f9d0a5590d27037d298a0
5
5
  SHA512:
6
- metadata.gz: 50dc210923c0df355de145e0905765784c20c597dd8889261c99df7222b7981dcf781be66cb4583074b3b476d04bd5425cdbf797154e899c289889a38e3f3c9f
7
- data.tar.gz: 017cf0912a7634f9fda1e8a372d32cc0c737489a19bb10d6b429250e006b460c418e9dbbd62db7672c0a986fce9f576c97996511ee5264e106f208a8f4d40f8c
6
+ metadata.gz: adc0c7e44e3d0e6c70bd5fd6ad19ae13113e67d2479862cf43e8df907124dd3b241a2bef601ce35be174e19a2a2685c7138fb110e083494db7676938e333d2c7
7
+ data.tar.gz: 39e0815142312fade61bb94895b5a6abd5fdc54f1e6284a0f1904b6a34c5c73e94efc0bdedfb80bd4215fdfa1b20fed7d220584a9b869097eb2fcd2667ba264f
@@ -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.9"
21
+ spec.add_dependency "falcon", "~> 0.13.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.1.0"
23
+ VERSION = "1.2.0"
24
24
  end
25
25
  end
@@ -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(app, Async::IO::Endpoint.tcp(host, port))
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.1.0
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-03-28 00:00:00.000000000 Z
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: '0.9'
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: '0.9'
26
+ version: 0.13.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: capybara
29
29
  requirement: !ruby/object:Gem::Requirement