tina4ruby 3.11.14 → 3.11.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 +4 -4
- data/lib/tina4/dev_admin.rb +354 -0
- data/lib/tina4/frond.rb +62 -0
- data/lib/tina4/mcp.rb +175 -0
- data/lib/tina4/plan.rb +471 -0
- data/lib/tina4/project_index.rb +366 -0
- data/lib/tina4/public/js/tina4-dev-admin.js +937 -238
- data/lib/tina4/public/js/tina4-dev-admin.min.js +993 -209
- data/lib/tina4/request.rb +13 -0
- data/lib/tina4/version.rb +1 -1
- data/lib/tina4.rb +2 -0
- metadata +4 -2
data/lib/tina4/request.rb
CHANGED
|
@@ -200,6 +200,19 @@ module Tina4
|
|
|
200
200
|
json_body
|
|
201
201
|
elsif @content_type.include?("application/x-www-form-urlencoded")
|
|
202
202
|
parse_query_to_hash(body)
|
|
203
|
+
elsif @content_type.include?("multipart/form-data")
|
|
204
|
+
# Extract form fields from Rack's parsed multipart data.
|
|
205
|
+
# Files are handled separately by extract_files.
|
|
206
|
+
result = {}
|
|
207
|
+
form_hash = @env["rack.request.form_hash"] rescue nil
|
|
208
|
+
if form_hash
|
|
209
|
+
form_hash.each do |key, value|
|
|
210
|
+
# Skip file entries (handled by extract_files)
|
|
211
|
+
next if value.is_a?(Hash) && value[:tempfile]
|
|
212
|
+
result[key] = value
|
|
213
|
+
end
|
|
214
|
+
end
|
|
215
|
+
result
|
|
203
216
|
else
|
|
204
217
|
{}
|
|
205
218
|
end
|
data/lib/tina4/version.rb
CHANGED
data/lib/tina4.rb
CHANGED
|
@@ -40,6 +40,8 @@ require_relative "tina4/container"
|
|
|
40
40
|
require_relative "tina4/queue"
|
|
41
41
|
require_relative "tina4/service_runner"
|
|
42
42
|
require_relative "tina4/events"
|
|
43
|
+
require_relative "tina4/plan"
|
|
44
|
+
require_relative "tina4/project_index"
|
|
43
45
|
require_relative "tina4/dev_admin"
|
|
44
46
|
require_relative "tina4/messenger"
|
|
45
47
|
require_relative "tina4/dev_mailbox"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tina4ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.11.
|
|
4
|
+
version: 3.11.16
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tina4 Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rack
|
|
@@ -333,6 +333,8 @@ files:
|
|
|
333
333
|
- lib/tina4/middleware.rb
|
|
334
334
|
- lib/tina4/migration.rb
|
|
335
335
|
- lib/tina4/orm.rb
|
|
336
|
+
- lib/tina4/plan.rb
|
|
337
|
+
- lib/tina4/project_index.rb
|
|
336
338
|
- lib/tina4/public/css/tina4.css
|
|
337
339
|
- lib/tina4/public/css/tina4.min.css
|
|
338
340
|
- lib/tina4/public/favicon.ico
|