anycable-thruster 0.1.13 → 0.1.16

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: 3a4080017d1882abbe21b4240869f60087bca879db74dbe0ea3c9321963a78f7
4
- data.tar.gz: 7468fdf7f8f47dab5d5b507e12704b3e596c30b8618a53ddc9108602c7bbb0e7
3
+ metadata.gz: 0bd473076082ddb81498a77b167eebca4edd00f01233e4229f3dd4fa6e0d89a1
4
+ data.tar.gz: 0e904a3e75566d574983575ff364cacc025e69637735bb0ac218a2cdeb879b51
5
5
  SHA512:
6
- metadata.gz: ffacada2b39b7e1deb822a2f094716ad87b1d4226fc75d19aec0644f641773aeb5a5001e9523ec99d6f2f4eeccb2fb18ba256962e84bf6f4d7234f88eeacf1b5
7
- data.tar.gz: 5b743c47ebd20fc22270df526327328734f2ae5b503f1d9b27c3da7fb47b3fd0fbf741cf2b384002d4027da35b56fda56aa0f268ace46aad0ee4772b2f17664c
6
+ metadata.gz: ac7a40b356c22ceed6747857b525dd78132b6b1fef8a4d3fe81e4873f0f97c537ac3518c11808a0649c0a4ed80c5423c1d77bc30b139b3d4619f48234cefbb95
7
+ data.tar.gz: 3dab110fece5dec66279d0f1f3d8016efb6949fa69b4df9a97b2947e74b705f5137427148a65ad050ea759bc9c70074b4a1dcc11f2631bbf43a7813cc79c73b9
data/README.md CHANGED
@@ -104,25 +104,26 @@ configuration. But if you need to customize its behavior, there are a few
104
104
  environment variables that you can set.
105
105
 
106
106
  | Variable Name | Description | Default Value |
107
- |-----------------------|---------------------------------------------------------|---------------|
108
- | `TLS_DOMAIN` | Comma-separated list of domain names to use for TLS provisioning. If not set, TLS will be disabled. | None |
109
- | `TARGET_PORT` | The port that your Puma server should run on. Thruster will set `PORT` to this value when starting your server. | 3000 |
110
- | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
111
- | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
112
- | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
113
- | `MAX_REQUEST_BODY` | The maximum size of a request body in bytes. Requests larger than this size will be refused; `0` means no maximum size is enforced. | `0` |
114
- | `STORAGE_PATH` | The path to store Thruster's internal state. Provisioned TLS certificates will be stored here, so that they will not need to be requested every time your application is started. | `./storage/thruster` |
115
- | `BAD_GATEWAY_PAGE` | Path to an HTML file to serve when the backend server returns a 502 Bad Gateway error. If there is no file at the specific path, Thruster will serve an empty 502 response instead. Because Thruster boots very quickly, a custom page can be a useful way to show that your application is starting up. | `./public/502.html` |
116
- | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
117
- | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
118
- | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
119
- | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers and body. | 30 |
120
- | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
121
- | `ACME_DIRECTORY` | The URL of the ACME directory to use for TLS certificate provisioning. | `https://acme-v02.api.letsencrypt.org/directory` (Let's Encrypt production) |
122
- | `EAB_KID` | The EAB key identifier to use when provisioning TLS certificates, if required. | None |
123
- | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning TLS certificates, if required. | None |
124
- | `FORWARD_HEADERS` | Whether to forward X-Forwarded-* headers from the client. | Disabled when running with TLS; enabled otherwise |
125
- | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
107
+ |-----------------------------|---------------------------------------------------------|---------------|
108
+ | `TLS_DOMAIN` | Comma-separated list of domain names to use for TLS provisioning. If not set, TLS will be disabled. | None |
109
+ | `TARGET_PORT` | The port that your Puma server should run on. Thruster will set `PORT` to this value when starting your server. | 3000 |
110
+ | `CACHE_SIZE` | The size of the HTTP cache in bytes. | 64MB |
111
+ | `MAX_CACHE_ITEM_SIZE` | The maximum size of a single item in the HTTP cache in bytes. | 1MB |
112
+ | `GZIP_COMPRESSION_ENABLED` | Whether to enable gzip compression for static assets. Set to `0` or `false` to disable. | Enabled |
113
+ | `X_SENDFILE_ENABLED` | Whether to enable X-Sendfile support. Set to `0` or `false` to disable. | Enabled |
114
+ | `MAX_REQUEST_BODY` | The maximum size of a request body in bytes. Requests larger than this size will be refused; `0` means no maximum size is enforced. | `0` |
115
+ | `STORAGE_PATH` | The path to store Thruster's internal state. Provisioned TLS certificates will be stored here, so that they will not need to be requested every time your application is started. | `./storage/thruster` |
116
+ | `BAD_GATEWAY_PAGE` | Path to an HTML file to serve when the backend server returns a 502 Bad Gateway error. If there is no file at the specific path, Thruster will serve an empty 502 response instead. Because Thruster boots very quickly, a custom page can be a useful way to show that your application is starting up. | `./public/502.html` |
117
+ | `HTTP_PORT` | The port to listen on for HTTP traffic. | 80 |
118
+ | `HTTPS_PORT` | The port to listen on for HTTPS traffic. | 443 |
119
+ | `HTTP_IDLE_TIMEOUT` | The maximum time in seconds that a client can be idle before the connection is closed. | 60 |
120
+ | `HTTP_READ_TIMEOUT` | The maximum time in seconds that a client can take to send the request headers and body. | 30 |
121
+ | `HTTP_WRITE_TIMEOUT` | The maximum time in seconds during which the client must read the response. | 30 |
122
+ | `ACME_DIRECTORY` | The URL of the ACME directory to use for TLS certificate provisioning. | `https://acme-v02.api.letsencrypt.org/directory` (Let's Encrypt production) |
123
+ | `EAB_KID` | The EAB key identifier to use when provisioning TLS certificates, if required. | None |
124
+ | `EAB_HMAC_KEY` | The Base64-encoded EAB HMAC key to use when provisioning TLS certificates, if required. | None |
125
+ | `FORWARD_HEADERS` | Whether to forward X-Forwarded-* headers from the client. | Disabled when running with TLS; enabled otherwise |
126
+ | `DEBUG` | Set to `1` or `true` to enable debug logging. | Disabled |
126
127
 
127
128
  To prevent naming clashes with your application's own environment variables,
128
129
  Thruster's environment variables can optionally be prefixed with `THRUSTER_`.
@@ -2,7 +2,7 @@ require_relative "../../thruster/version"
2
2
 
3
3
  module AnyCable
4
4
  module Thruster
5
- VERSION = "0.1.13"
5
+ VERSION = "0.1.16"
6
6
 
7
7
  # Very basic validation to ensure the versions are in sync
8
8
  if ::Thruster::VERSION.split(".").take(2) != VERSION.split(".").take(2)
@@ -1,3 +1,3 @@
1
1
  module Thruster
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anycable-thruster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin McConnell
8
8
  - Vladimir Dementyev
9
9
  - Igor Platonov
10
- autorequire:
11
10
  bindir: exe
12
11
  cert_chain: []
13
- date: 2025-02-12 00:00:00.000000000 Z
12
+ date: 2025-06-04 00:00:00.000000000 Z
14
13
  dependencies: []
15
14
  description: A zero-config HTTP/2 proxy for lightweight production deployments with
16
15
  AnyCable real-time server included
@@ -32,7 +31,6 @@ licenses:
32
31
  metadata:
33
32
  homepage_uri: https://github.com/anycable/thruster
34
33
  rubygems_mfa_required: 'true'
35
- post_install_message:
36
34
  rdoc_options: []
37
35
  require_paths:
38
36
  - lib
@@ -47,8 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
45
  - !ruby/object:Gem::Version
48
46
  version: '0'
49
47
  requirements: []
50
- rubygems_version: 3.5.23
51
- signing_key:
48
+ rubygems_version: 3.6.5
52
49
  specification_version: 4
53
50
  summary: Zero-config HTTP/2 proxy with embedded AnyCable
54
51
  test_files: []