syntropy 0.18 → 0.18.1

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: fccb5bf3768ed14e90b4bb5e67fd5cb87b2cf4290fd2b17474a9cb1e06678d34
4
- data.tar.gz: bd23da91cb9ad10ab3bb2efcd7c7e48359809b4e21305303f8b1c02138745e7c
3
+ metadata.gz: d1748e9bb0cb68467f64598d1adfdef654790ab934285a0269cb622aeedf1783
4
+ data.tar.gz: de07940425a73e41073454a0fce3dd6d8309868fbe8cc3e8476061a99780093b
5
5
  SHA512:
6
- metadata.gz: e0ad7ab962b0dee33b3a3d4b8c67392f3230c274921e584192330743fec83abbdbfb03af86dacc4e4104348c854337838db209fa310e259d21a076b5c2e2bb9a
7
- data.tar.gz: b3ecca8901ff9743ee26200ee713ed08fe9a5ed23dd299cfefa2f0f9f49210bd21ad3c9a389f42c4b34bc8c396325a7050e31f281d8392edec4621043b843433
6
+ metadata.gz: b9ed5c3adc822135af00b789a0d735efd34bc8977bd84cb85f43f5a37f07c55e8abf44648eebbd3c206b740ef5158dc24e72195925cb4034a448e1510aa4b7d7
7
+ data.tar.gz: ec1aa4e1101aa4ff7acc7186b3b0a07755a2baef5b5bfefd5934d743b5dfe5fd7c1589296cb40a5ba691dacefa43db32348f9697b52ceba2036a94fcd055908a
data/CHANGELOG.md CHANGED
@@ -21,7 +21,7 @@
21
21
  - Implement applet mounting and loading
22
22
  - Remove Papercraft dependency
23
23
  - Add support for Papercraft XML templates, using `#template_xml`
24
- - Update Papercraft, TPapercraft
24
+ - Update Papercraft, TP2
25
25
 
26
26
  # 0.15 2025-08-31
27
27
 
@@ -67,17 +67,17 @@
67
67
 
68
68
  ## 0.9.1 2025-07-08
69
69
 
70
- - Update TPapercraft
70
+ - Update TP2
71
71
 
72
72
  ## 0.9 2025-07-08
73
73
 
74
- - Update TPapercraft
74
+ - Update TP2
75
75
  - Add `Module.app` method for loading arbitrary apps
76
76
  - Set `Module@machine`
77
77
 
78
78
  ## 0.8.4 2025-07-07
79
79
 
80
- - Update TPapercraft
80
+ - Update TP2
81
81
  - Fix Router#path_parent to not break on double slash
82
82
 
83
83
  ## 0.8.3 2025-07-06
data/README.md CHANGED
@@ -38,7 +38,7 @@ Syntropy is based on:
38
38
 
39
39
  - [UringMachine](https://github.com/digital-fabric/uringmachine) - a lean mean
40
40
  [io_uring](https://unixism.net/loti/what_is_io_uring.html) machine for Ruby.
41
- - [TPapercraft](https://github.com/digital-fabric/tp2) - an io_uring-based web server for
41
+ - [TP2](https://github.com/digital-fabric/tp2) - an io_uring-based web server for
42
42
  concurrent Ruby apps.
43
43
  - [Qeweney](https://github.com/digital-fabric/qeweney) a uniform interface for
44
44
  working with HTTP requests and responses.
data/TODO.md CHANGED
@@ -88,7 +88,7 @@ end
88
88
  ## Response: cookies and headers
89
89
 
90
90
  We need a way to inject cookies into the response. This probably should be done
91
- in the TPapercraft code:
91
+ in the TP2 code:
92
92
 
93
93
  ```ruby
94
94
  @@default_set_cookie_attr = 'HttpOnly'
data/bin/syntropy CHANGED
@@ -75,11 +75,11 @@ env[:banner] = false
75
75
 
76
76
  # We set Syntropy.machine so we can reference it from anywhere
77
77
  env[:machine] = Syntropy.machine = UM.new
78
- env[:logger] = env[:logger] && TPapercraft::Logger.new(env[:machine], **env)
78
+ env[:logger] = env[:logger] && TP2::Logger.new(env[:machine], **env)
79
79
 
80
80
  require 'syntropy/version'
81
81
  require 'syntropy/dev_mode' if env[:dev_mode]
82
82
 
83
83
  env[:logger]&.info(message: "Running Syntropy version #{Syntropy::VERSION}")
84
84
  app = Syntropy::App.load(env)
85
- TPapercraft.run(env) { app.call(it) }
85
+ TP2.run(env) { app.call(it) }
data/lib/syntropy/app.rb CHANGED
@@ -302,7 +302,7 @@ module Syntropy
302
302
  # @return [void]
303
303
  def start
304
304
  @machine.spin do
305
- # we do startup stuff asynchronously, in order to first let TPapercraft do its
305
+ # we do startup stuff asynchronously, in order to first let TP2 do its
306
306
  # setup tasks
307
307
  @machine.sleep 0.2
308
308
  route_count = @routing_tree.static_map.size + @routing_tree.dynamic_map.size
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Syntropy
4
- VERSION = '0.18'
4
+ VERSION = '0.18.1'
5
5
  end
data/syntropy.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
 
24
24
  s.add_dependency 'extralite', '2.13'
25
25
  s.add_dependency 'json', '2.13.2'
26
- s.add_dependency 'papercraft', '2.13'
26
+ s.add_dependency 'papercraft', '2.13'
27
27
  s.add_dependency 'qeweney', '0.22'
28
28
  s.add_dependency 'tp2', '0.16'
29
29
  s.add_dependency 'uringmachine', '0.18'
@@ -33,5 +33,4 @@ Gem::Specification.new do |s|
33
33
 
34
34
  s.add_development_dependency 'minitest', '5.25.5'
35
35
  s.add_development_dependency 'rake', '13.3.0'
36
-
37
36
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: syntropy
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.18'
4
+ version: 0.18.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner