guard-falcon 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/guard-falcon.gemspec +1 -1
- data/lib/guard/falcon/controller.rb +4 -1
- data/lib/guard/falcon/version.rb +1 -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: 668fdfadd1b65f431446cf35e8047a67cac1b18454671c3969e7e7ea7695f690
|
4
|
+
data.tar.gz: 040edd8cf535f44dbf41189b23bab6969f000035b572526f2662eaabc08f6812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c750c400f323bd87574751842fcd5dba6ac6db668efa0ccf05fbb0318d2570520b54521740bcd2e28545718b190a28063640ea776b25cfc78398c7b3ca4bc67
|
7
|
+
data.tar.gz: 737a5acb59c4fbc1f08bca9a162ddda6c268e229da24fc0929812b1c225c0ec75c02e4822f9d74459f85698e19f2eb06f4ce48c789f231a953891575123a3e63
|
data/.travis.yml
CHANGED
data/guard-falcon.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.add_dependency("falcon", "~> 0.
|
19
|
+
spec.add_dependency("falcon", "~> 0.14.0")
|
20
20
|
|
21
21
|
spec.add_dependency("guard")
|
22
22
|
spec.add_dependency("guard-compat", "~> 1.2")
|
@@ -25,6 +25,8 @@ require 'rack/server'
|
|
25
25
|
|
26
26
|
require 'async/container/forked'
|
27
27
|
|
28
|
+
require 'async/io/host_endpoint'
|
29
|
+
|
28
30
|
require 'falcon/server'
|
29
31
|
require 'falcon/adapters/rack'
|
30
32
|
|
@@ -35,6 +37,7 @@ module Guard
|
|
35
37
|
port: 9292,
|
36
38
|
host: 'localhost',
|
37
39
|
config: 'config.ru',
|
40
|
+
concurrency: 2,
|
38
41
|
}
|
39
42
|
|
40
43
|
def initialize(**options)
|
@@ -61,7 +64,7 @@ module Guard
|
|
61
64
|
|
62
65
|
logger.info("Starting Falcon HTTP server on #{server_address}.")
|
63
66
|
|
64
|
-
Async::Container::Forked.new(concurrency:
|
67
|
+
Async::Container::Forked.new(concurrency: @options[:concurrency]) do
|
65
68
|
server = ::Falcon::Server.new(::Falcon::Adapters::Rack.new(app), server_address)
|
66
69
|
|
67
70
|
Process.setproctitle "Guard::Falcon HTTP Server #{@options[:bind]}"
|
data/lib/guard/falcon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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-04-
|
11
|
+
date: 2018-04-30 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.
|
19
|
+
version: 0.14.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.
|
26
|
+
version: 0.14.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: guard
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|