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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fa739e09c7f65b5894a50b5b0f66c25a2a2825975cd67191a1290775bebab7e
4
- data.tar.gz: 152b75544793e475342dfd3af4ec861d0c53d9c11f0ece2628c80193eceecb1f
3
+ metadata.gz: 668fdfadd1b65f431446cf35e8047a67cac1b18454671c3969e7e7ea7695f690
4
+ data.tar.gz: 040edd8cf535f44dbf41189b23bab6969f000035b572526f2662eaabc08f6812
5
5
  SHA512:
6
- metadata.gz: 04f4b7fb518e02ce9eff9f3dd6c05008ae6660cce41e2b9fda912408e005dccdc2557d7705c5337377190391245078927a3ffe7de7278f96345db09766cb5c4f
7
- data.tar.gz: 3ba36033be5ed65961252be0ac3e0608a8f994759e8a490b7e33b4fdfdb60c55d5a26b69bffbb33708c74ce145ab7650c000915909afae214d60f60388bb16db
6
+ metadata.gz: 1c750c400f323bd87574751842fcd5dba6ac6db668efa0ccf05fbb0318d2570520b54521740bcd2e28545718b190a28063640ea776b25cfc78398c7b3ca4bc67
7
+ data.tar.gz: 737a5acb59c4fbc1f08bca9a162ddda6c268e229da24fc0929812b1c225c0ec75c02e4822f9d74459f85698e19f2eb06f4ce48c789f231a953891575123a3e63
data/.travis.yml CHANGED
@@ -3,11 +3,10 @@ sudo: false
3
3
  dist: trusty
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.0
7
- - 2.1
8
6
  - 2.2
9
7
  - 2.3
10
8
  - 2.4
9
+ - 2.5
11
10
  - jruby-head
12
11
  - ruby-head
13
12
  - rbx-3
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.13.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: 2) do
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]}"
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Guard
22
22
  module Falcon
23
- VERSION = "0.6.0"
23
+ VERSION = "0.7.0"
24
24
  end
25
25
  end
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.6.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-17 00:00:00.000000000 Z
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.13.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.13.0
26
+ version: 0.14.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: guard
29
29
  requirement: !ruby/object:Gem::Requirement