falcon 0.19.3 → 0.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8be3b271978e36dcef777fbd2d8a1f8cebfa949a1bbc6913f56e0712885c1414
4
- data.tar.gz: 3ace26dbea92ec7a678edb7d6de05299181d9b0dd4365448ea4406468d94de64
3
+ metadata.gz: 504d27d7d5fead538e38b6e5ea568abef216cd365201b4674eb3e0b99239de30
4
+ data.tar.gz: 5377ee77a3611deb7c5b8d6fa2dda5ea406076a91c08758c9b42e4e29b690354
5
5
  SHA512:
6
- metadata.gz: 4bf0c560631a93854928f3cfa675b0a69325e9d6e31aba1fb968fd285ca6c218180efc6cc9b0c10edaeb81e5aa97a0dc4eb6fe76fa9f6fca5fe4166444d6716e
7
- data.tar.gz: 65dc3aa127fcb58b406b0e5fd2220f49550e1034f3932abf171f93fbbf9707c27b3be7350712c0770f135970a4931af2b9b4e8f8adf77319c492363097b9dde9
6
+ metadata.gz: 513a86fb6a42df4cd2dd00b921bf14a5449820b878c32bce77d276a4ab443e4d309485ffd42417657935e0d54034cd753068976b4d4d6cd8798e15189741337a
7
+ data.tar.gz: 4c6032339c027ea0c24ca7c018097d697e25eb835286d61cc1a893127c8bb0530f25093b22201bd6cfcdb80d1e08ebd9a32672a88eacdf01e7fec9a55eb90809
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem 'ruby-prof'
6
+ gem 'ruby-prof', platform: :mri
7
7
  end
8
8
 
9
9
  group :test do
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.9.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.0")
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")
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module Falcon
22
- VERSION = "0.19.3"
22
+ VERSION = "0.19.4"
23
23
  end
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.3
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-06 00:00:00.000000000 Z
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.9.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.9.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.0
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.0
54
+ version: 0.37.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: async-container
57
57
  requirement: !ruby/object:Gem::Requirement