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.
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tina4
4
- VERSION = "3.11.14"
4
+ VERSION = "3.11.16"
5
5
  end
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.14
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-17 00:00:00.000000000 Z
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