rackula 0.4.0 → 0.5.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: 5cbefab8ff3594384572c6ee138527d03b2cea4904cc052d4a3450a7d3d2abfd
4
- data.tar.gz: afcbbd8734e1f5e144964a73ced12244576b63aacfbd3e91ea401febe2e89fda
3
+ metadata.gz: be3e6c07efcd8165eb967e3c9d699a81c77ed447fea68fbfb1d65518f148225d
4
+ data.tar.gz: e2bd53f12b5f7f5233b4d05c87c18b770d3743a47b947e339949fe4ddbdddd94
5
5
  SHA512:
6
- metadata.gz: 825a72fb2f86258c1f45fc2decfef3ff7265fca9758cd9c25f180ada833e6191a87f2e1e2aaa978d3ec78e2dbc5391ccbbae8ed7965f1106ac2d4117301dd522
7
- data.tar.gz: be3e211bb625e32a57cf5e7a60f45082eb4f5711f9ad8ff4aeff59a5ad8ed1c06d4d964059d8d25917e2807542a5da8fc19963a301f832dad45fde1b6df445a8
6
+ metadata.gz: a3ca96043d241b8ff75532088c5ff4da8583486ab61c25e4b714405c17b3fd9c29c336176d06ac8c03026b1090e8b02264be05bfcc2c2463c8e47e61e8159e25
7
+ data.tar.gz: 9d1d142728bfc9da2e12b8b38c05a06858cbe13b014f8e0fb8065b53e13c84febef39d292b70b67cfd640d75aa2abc0138519bedb9c5b37f4b2f24fd86410fc0
@@ -74,13 +74,12 @@ module Rackula
74
74
  container_class = Async::Container::Threaded
75
75
 
76
76
  config_path = root + @options[:config]
77
- app, options = Rack::Builder.parse_file(config_path.to_s)
77
+ rack_app, options = Rack::Builder.parse_file(config_path.to_s)
78
+
79
+ app = ::Falcon::Server.middleware(rack_app, verbose: @options[:verbose])
80
+ server = ::Falcon::Server.new(app, endpoint)
78
81
 
79
82
  container = container_class.new(concurrency: @options[:concurrency]) do
80
- server = Falcon::Server.new(app, [
81
- endpoint
82
- ])
83
-
84
83
  server.run
85
84
  end
86
85
  end
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Rackula
22
- VERSION = "0.4.0"
22
+ VERSION = "0.5.0"
23
23
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_dependency "samovar", "~> 1.8"
22
- spec.add_dependency "falcon"
22
+ spec.add_dependency "falcon", "~> 0.17.6"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.15"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rackula
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.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-24 00:00:00.000000000 Z
11
+ date: 2018-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: samovar
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: falcon
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.17.6
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: 0.17.6
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement