syntropy 0.39.0 → 0.41.0
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/CHANGELOG.md +8 -0
- data/TODO.md +44 -142
- data/cmd/console.rb +0 -2
- data/cmd/new/template/config/production.rb +2 -1
- data/cmd/new.rb +1 -1
- data/cmd/serve.rb +26 -0
- data/examples/agent/Dockerfile +25 -0
- data/examples/agent/Gemfile +3 -0
- data/examples/agent/README.md +40 -0
- data/examples/agent/TODO.md +5 -0
- data/examples/agent/app/_layout/default.rb +15 -0
- data/examples/agent/app/_lib/storage.rb +13 -0
- data/examples/agent/app/_schema/2026-01-01-initial.rb +9 -0
- data/examples/agent/app/assets/agent.js +63 -0
- data/examples/agent/app/assets/minigfm.js +207 -0
- data/examples/agent/app/assets/model.js +45 -0
- data/examples/agent/app/assets/style.css +25 -0
- data/examples/agent/app/assets/tools.js +74 -0
- data/examples/agent/app/assets/ui.js +50 -0
- data/examples/agent/app/index.rb +19 -0
- data/examples/agent/app/test.rb +7 -0
- data/examples/agent/config/Caddyfile +5 -0
- data/examples/agent/config/development.rb +5 -0
- data/examples/agent/config/production.rb +5 -0
- data/examples/agent/config/test.rb +5 -0
- data/examples/agent/docker-compose.yml +71 -0
- data/examples/agent/response_example.json +108 -0
- data/examples/agent/test/test_app.rb +14 -0
- data/examples/blog/app/foo.rb +1 -0
- data/examples/blog/config/production.rb +2 -1
- data/lib/syntropy/app.rb +6 -2
- data/lib/syntropy/applets/builtin/auto_refresh/watch.js +1 -1
- data/lib/syntropy/applets/builtin/auto_refresh/watch.sse.rb +7 -0
- data/lib/syntropy/dev_mode.rb +8 -3
- data/lib/syntropy/http/client.rb +17 -1
- data/lib/syntropy/http/client_connection.rb +16 -0
- data/lib/syntropy/http/io_extensions.rb +32 -4
- data/lib/syntropy/http/server.rb +55 -24
- data/lib/syntropy/http/server_connection.rb +75 -4
- data/lib/syntropy/logger.rb +8 -0
- data/lib/syntropy/markdown.rb +44 -20
- data/lib/syntropy/module_loader.rb +29 -16
- data/lib/syntropy/request/request_info.rb +1 -1
- data/lib/syntropy/request/response.rb +75 -6
- data/lib/syntropy/request/validation.rb +6 -0
- data/lib/syntropy/storage/connection_pool.rb +34 -0
- data/lib/syntropy/test.rb +4 -4
- data/lib/syntropy/version.rb +1 -1
- data/lib/syntropy.rb +7 -1
- data/syntropy.gemspec +4 -4
- data/test/test_markdown.rb +3 -3
- data/test/test_module_loader.rb +4 -1
- metadata +34 -11
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.
|
|
4
|
+
version: 0.41.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sharon Rosner
|
|
@@ -15,42 +15,42 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 3.0.1
|
|
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:
|
|
25
|
+
version: 3.0.1
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: papercraft
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - "~>"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.2.
|
|
32
|
+
version: 3.2.2
|
|
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: 3.2.
|
|
39
|
+
version: 3.2.2
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: uringmachine
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 1.0.
|
|
46
|
+
version: 1.0.4
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.0.
|
|
53
|
+
version: 1.0.4
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: json
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -125,16 +125,16 @@ dependencies:
|
|
|
125
125
|
name: rake
|
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
|
127
127
|
requirements:
|
|
128
|
-
- - "
|
|
128
|
+
- - ">="
|
|
129
129
|
- !ruby/object:Gem::Version
|
|
130
|
-
version:
|
|
130
|
+
version: '0'
|
|
131
131
|
type: :development
|
|
132
132
|
prerelease: false
|
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
134
134
|
requirements:
|
|
135
|
-
- - "
|
|
135
|
+
- - ">="
|
|
136
136
|
- !ruby/object:Gem::Version
|
|
137
|
-
version:
|
|
137
|
+
version: '0'
|
|
138
138
|
- !ruby/object:Gem::Dependency
|
|
139
139
|
name: solargraph
|
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -191,6 +191,28 @@ files:
|
|
|
191
191
|
- cmd/test.rb
|
|
192
192
|
- cmd/version.rb
|
|
193
193
|
- docker-compose.yml
|
|
194
|
+
- examples/agent/Dockerfile
|
|
195
|
+
- examples/agent/Gemfile
|
|
196
|
+
- examples/agent/README.md
|
|
197
|
+
- examples/agent/TODO.md
|
|
198
|
+
- examples/agent/app/_layout/default.rb
|
|
199
|
+
- examples/agent/app/_lib/storage.rb
|
|
200
|
+
- examples/agent/app/_schema/2026-01-01-initial.rb
|
|
201
|
+
- examples/agent/app/assets/agent.js
|
|
202
|
+
- examples/agent/app/assets/minigfm.js
|
|
203
|
+
- examples/agent/app/assets/model.js
|
|
204
|
+
- examples/agent/app/assets/style.css
|
|
205
|
+
- examples/agent/app/assets/tools.js
|
|
206
|
+
- examples/agent/app/assets/ui.js
|
|
207
|
+
- examples/agent/app/index.rb
|
|
208
|
+
- examples/agent/app/test.rb
|
|
209
|
+
- examples/agent/config/Caddyfile
|
|
210
|
+
- examples/agent/config/development.rb
|
|
211
|
+
- examples/agent/config/production.rb
|
|
212
|
+
- examples/agent/config/test.rb
|
|
213
|
+
- examples/agent/docker-compose.yml
|
|
214
|
+
- examples/agent/response_example.json
|
|
215
|
+
- examples/agent/test/test_app.rb
|
|
194
216
|
- examples/basic/bad.rb
|
|
195
217
|
- examples/basic/card.rb
|
|
196
218
|
- examples/basic/counter.js
|
|
@@ -205,6 +227,7 @@ files:
|
|
|
205
227
|
- examples/blog/app/_lib/storage.rb
|
|
206
228
|
- examples/blog/app/_schema/2026-01-01-initial.rb
|
|
207
229
|
- examples/blog/app/assets/style.css
|
|
230
|
+
- examples/blog/app/foo.rb
|
|
208
231
|
- examples/blog/app/index.rb
|
|
209
232
|
- examples/blog/app/posts/[id]/edit.rb
|
|
210
233
|
- examples/blog/app/posts/[id]/index.rb
|