falcon 0.19.3 → 0.19.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +29 -0
- data/falcon.gemspec +2 -2
- data/lib/falcon/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 504d27d7d5fead538e38b6e5ea568abef216cd365201b4674eb3e0b99239de30
|
4
|
+
data.tar.gz: 5377ee77a3611deb7c5b8d6fa2dda5ea406076a91c08758c9b42e4e29b690354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 513a86fb6a42df4cd2dd00b921bf14a5449820b878c32bce77d276a4ab443e4d309485ffd42417657935e0d54034cd753068976b4d4d6cd8798e15189741337a
|
7
|
+
data.tar.gz: 4c6032339c027ea0c24ca7c018097d697e25eb835286d61cc1a893127c8bb0530f25093b22201bd6cfcdb80d1e08ebd9a32672a88eacdf01e7fec9a55eb90809
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -44,6 +44,35 @@ Alternatively, install in terminal:
|
|
44
44
|
|
45
45
|
You can run `falcon serve` directly. It will load the `config.ru` and start serving on https://localhost:9292.
|
46
46
|
|
47
|
+
The `falcon serve` command has the following options for you to use:
|
48
|
+
|
49
|
+
```
|
50
|
+
$ falcon --help
|
51
|
+
falcon [--verbose | --quiet] [-h/--help] [-v/--version] <command>
|
52
|
+
An asynchronous HTTP client/server toolset.
|
53
|
+
|
54
|
+
[--verbose | --quiet] Verbosity of output for debugging.
|
55
|
+
[-h/--help] Print out help information.
|
56
|
+
[-v/--version] Print out the application version.
|
57
|
+
<command> One of: serve, virtual. Default: serve
|
58
|
+
|
59
|
+
serve [-b/--bind <address>] [-p/--port <number>] [-h/--hostname <hostname>] [-c/--config <path>] [-n/--concurrency <count>] [--forked | --threaded]
|
60
|
+
Run an HTTP server.
|
61
|
+
|
62
|
+
[-b/--bind <address>] Bind to the given hostname/address Default: https://localhost:9292
|
63
|
+
[-p/--port <number>] Override the specified port
|
64
|
+
[-h/--hostname <hostname>] Specify the hostname which would be used for certificates, etc.
|
65
|
+
[-c/--config <path>] Rackup configuration file to load Default: config.ru
|
66
|
+
[-n/--concurrency <count>] Number of processes to start Default: 8
|
67
|
+
[--forked | --threaded] Select a specific concurrency model Default: forked
|
68
|
+
```
|
69
|
+
|
70
|
+
To run on a different port:
|
71
|
+
|
72
|
+
```
|
73
|
+
$ falcon serve --port 3000
|
74
|
+
```
|
75
|
+
|
47
76
|
### Integration with Rails
|
48
77
|
|
49
78
|
Falcon works perfectly with `rails` apps.
|
data/falcon.gemspec
CHANGED
@@ -16,10 +16,10 @@ 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("http-protocol", "~> 0.
|
19
|
+
spec.add_dependency("http-protocol", "~> 0.10.0")
|
20
20
|
|
21
21
|
spec.add_dependency("async-io", "~> 1.9")
|
22
|
-
spec.add_dependency("async-http", "~> 0.37.
|
22
|
+
spec.add_dependency("async-http", "~> 0.37.2")
|
23
23
|
spec.add_dependency("async-container", "~> 0.8.0")
|
24
24
|
|
25
25
|
spec.add_dependency("rack", ">= 1.0")
|
data/lib/falcon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: falcon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.4
|
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-
|
11
|
+
date: 2018-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http-protocol
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.10.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.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: async-io
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.37.
|
47
|
+
version: 0.37.2
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.37.
|
54
|
+
version: 0.37.2
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: async-container
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|