itsi 0.1.9 → 0.1.11
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 +4 -4
- data/Cargo.lock +11 -2
- data/Rakefile +5 -2
- data/crates/itsi_rb_helpers/src/lib.rs +27 -4
- data/crates/itsi_server/Cargo.toml +4 -1
- data/crates/itsi_server/src/lib.rs +69 -1
- data/crates/itsi_server/src/request/itsi_request.rs +2 -9
- data/crates/itsi_server/src/response/itsi_response.rs +2 -2
- data/crates/itsi_server/src/server/bind.rs +16 -12
- data/crates/itsi_server/src/server/itsi_server.rs +43 -49
- data/crates/itsi_server/src/server/listener.rs +9 -9
- data/crates/itsi_server/src/server/process_worker.rs +10 -3
- data/crates/itsi_server/src/server/serve_strategy/cluster_mode.rs +15 -9
- data/crates/itsi_server/src/server/serve_strategy/single_mode.rs +124 -111
- data/crates/itsi_server/src/server/signal.rs +1 -4
- data/crates/itsi_server/src/server/thread_worker.rs +52 -20
- data/crates/itsi_server/src/server/tls.rs +1 -1
- data/gems/scheduler/ext/itsi_rb_helpers/src/lib.rs +27 -4
- data/gems/scheduler/ext/itsi_server/Cargo.toml +4 -1
- data/gems/scheduler/ext/itsi_server/src/lib.rs +69 -1
- data/gems/scheduler/ext/itsi_server/src/request/itsi_request.rs +2 -9
- data/gems/scheduler/ext/itsi_server/src/response/itsi_response.rs +2 -2
- data/gems/scheduler/ext/itsi_server/src/server/bind.rs +16 -12
- data/gems/scheduler/ext/itsi_server/src/server/itsi_server.rs +43 -49
- data/gems/scheduler/ext/itsi_server/src/server/listener.rs +9 -9
- data/gems/scheduler/ext/itsi_server/src/server/process_worker.rs +10 -3
- data/gems/scheduler/ext/itsi_server/src/server/serve_strategy/cluster_mode.rs +15 -9
- data/gems/scheduler/ext/itsi_server/src/server/serve_strategy/single_mode.rs +124 -111
- data/gems/scheduler/ext/itsi_server/src/server/signal.rs +1 -4
- data/gems/scheduler/ext/itsi_server/src/server/thread_worker.rs +52 -20
- data/gems/scheduler/ext/itsi_server/src/server/tls.rs +1 -1
- data/gems/scheduler/lib/itsi/scheduler/version.rb +1 -1
- data/gems/server/Cargo.lock +11 -2
- data/gems/server/exe/itsi +53 -23
- data/gems/server/ext/itsi_rb_helpers/src/lib.rs +27 -4
- data/gems/server/ext/itsi_server/Cargo.toml +4 -1
- data/gems/server/ext/itsi_server/src/lib.rs +69 -1
- data/gems/server/ext/itsi_server/src/request/itsi_request.rs +2 -9
- data/gems/server/ext/itsi_server/src/response/itsi_response.rs +2 -2
- data/gems/server/ext/itsi_server/src/server/bind.rs +16 -12
- data/gems/server/ext/itsi_server/src/server/itsi_server.rs +43 -49
- data/gems/server/ext/itsi_server/src/server/listener.rs +9 -9
- data/gems/server/ext/itsi_server/src/server/process_worker.rs +10 -3
- data/gems/server/ext/itsi_server/src/server/serve_strategy/cluster_mode.rs +15 -9
- data/gems/server/ext/itsi_server/src/server/serve_strategy/single_mode.rs +124 -111
- data/gems/server/ext/itsi_server/src/server/signal.rs +1 -4
- data/gems/server/ext/itsi_server/src/server/thread_worker.rs +52 -20
- data/gems/server/ext/itsi_server/src/server/tls.rs +1 -1
- data/gems/server/lib/itsi/server/Itsi.rb +127 -0
- data/gems/server/lib/itsi/server/config.rb +36 -0
- data/gems/server/lib/itsi/server/options_dsl.rb +401 -0
- data/gems/server/lib/itsi/server/rack/handler/itsi.rb +18 -6
- data/gems/server/lib/itsi/server/rack_interface.rb +1 -5
- data/gems/server/lib/itsi/server/signal_trap.rb +0 -1
- data/gems/server/lib/itsi/server/version.rb +1 -1
- data/gems/server/lib/itsi/server.rb +7 -3
- data/gems/server/test/helpers/test_helper.rb +7 -5
- data/gems/server/test/test_itsi_server.rb +21 -2
- data/lib/itsi/version.rb +1 -1
- data/location_dsl.rb +381 -0
- data/sandbox/itsi_itsi_file/Itsi.rb +119 -0
- data/sandbox/itsi_sandbox_async/Gemfile +1 -1
- data/sandbox/itsi_sandbox_rack/Gemfile.lock +2 -2
- data/sandbox/itsi_sandbox_rails/Gemfile.lock +2 -2
- data/tasks.txt +27 -4
- metadata +14 -9
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itsi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wouter Coppieters
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-03-
|
10
|
+
date: 2025-03-17 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: itsi-scheduler
|
@@ -15,29 +15,29 @@ dependencies:
|
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 0.1.
|
18
|
+
version: 0.1.11
|
19
19
|
type: :runtime
|
20
20
|
prerelease: false
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
22
22
|
requirements:
|
23
23
|
- - "~>"
|
24
24
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.1.
|
25
|
+
version: 0.1.11
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: itsi-server
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
30
|
- - "~>"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.1.
|
32
|
+
version: 0.1.11
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.1.
|
40
|
-
description: Wrapper Gem for both the Itsi server and
|
39
|
+
version: 0.1.11
|
40
|
+
description: Wrapper Gem for both the Itsi server and the Itsi Fiber scheduler
|
41
41
|
email:
|
42
42
|
- wc@pico.net.nz
|
43
43
|
executables: []
|
@@ -230,6 +230,9 @@ files:
|
|
230
230
|
- gems/server/lib/itsi/index.html
|
231
231
|
- gems/server/lib/itsi/request.rb
|
232
232
|
- gems/server/lib/itsi/server.rb
|
233
|
+
- gems/server/lib/itsi/server/Itsi.rb
|
234
|
+
- gems/server/lib/itsi/server/config.rb
|
235
|
+
- gems/server/lib/itsi/server/options_dsl.rb
|
233
236
|
- gems/server/lib/itsi/server/rack/handler/itsi.rb
|
234
237
|
- gems/server/lib/itsi/server/rack_interface.rb
|
235
238
|
- gems/server/lib/itsi/server/scheduler_interface.rb
|
@@ -242,12 +245,14 @@ files:
|
|
242
245
|
- gems/server/test/test_itsi_server.rb
|
243
246
|
- lib/itsi.rb
|
244
247
|
- lib/itsi/version.rb
|
248
|
+
- location_dsl.rb
|
245
249
|
- sandbox/deploy/main.tf
|
246
250
|
- sandbox/deploy/outputs.tf
|
247
251
|
- sandbox/deploy/vars.tf
|
248
252
|
- sandbox/falcon_benchmark/Gemfile
|
249
253
|
- sandbox/falcon_benchmark/Gemfile.lock
|
250
254
|
- sandbox/falcon_benchmark/config.ru
|
255
|
+
- sandbox/itsi_itsi_file/Itsi.rb
|
251
256
|
- sandbox/itsi_sandbox_async/Gemfile
|
252
257
|
- sandbox/itsi_sandbox_async/Gemfile.lock
|
253
258
|
- sandbox/itsi_sandbox_async/config.ru
|
@@ -438,7 +443,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
438
443
|
requirements:
|
439
444
|
- - ">="
|
440
445
|
- !ruby/object:Gem::Version
|
441
|
-
version:
|
446
|
+
version: '2.7'
|
442
447
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
443
448
|
requirements:
|
444
449
|
- - ">="
|
@@ -447,5 +452,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
447
452
|
requirements: []
|
448
453
|
rubygems_version: 3.6.2
|
449
454
|
specification_version: 4
|
450
|
-
summary: Wrapper Gem for both the Itsi server and
|
455
|
+
summary: Wrapper Gem for both the Itsi server and the Itsi Fiber scheduler
|
451
456
|
test_files: []
|