@blazetrails/rack
Modular web server interface, mirroring Ruby's Rack
| Measure | Value |
|---|---|
| Rails counterpart | rack v3.2.8 |
| API methods matched | 100% (602 of 602) |
| Rails tests matched | 100% (944 of 944) (8 permanent) |
| Ruby files ported | 45 |
| Ruby files unported | 0 |
| Measured at | fe89b44726 |
Gaps by file
No gaps recorded for this package.
Missing methods
None recorded for this package.
Unported Ruby files
Every compared Ruby file has a TypeScript file.
Deviation receipts
JSDoc receipt tags in the package's source, by the receipt each carries.
| Tag | PERMANENT | CONVERGEABLE | none |
|---|---|---|---|
@noRailsEquivalent | 12 | 0 | 0 |
@missingRailsCall | 1 | 0 | 0 |
@missingRailsArgs | 5 | 0 | 0 |
@missingRailsName | 10 | 0 | 0 |
@inventedArm | 0 | 1 | 0 |
@perf | 1 | 0 | 0 |
@internal | 0 | 0 | 81 |
Permanently skipped tests
A String has no encoding tag either (2)
Method visibility is compile-time only (Module#private, basic_obj_respond_to's pub) (1)
Ratified deviations
Each rule below is ratified in the repository's CLAUDE.md files. The first paragraph is quoted; the link opens the full section at this build's commit.
Method visibility is compile-time only (Module#private, basic_obj_respond_to's pub)
Ruby's basic_obj_respond_to (vendor/ruby/v3.3.11/vm_method.c:2864-2879) takes a pub flag and hands it to method_boundp (:1788-1818), so respond_to?(:m) and respond_to?(:m, true) can answer differently for the same receiver, and Kernel#public_send (vm_eval.c:1350) raises NoMethodError "private method '…' called for …" where send dispatches. Visibility is a property of the method entry, readable at run time.
A String has no encoding tag either
str.encoding, force_encoding and String#b read or change a per-object encoding. A JS string has none, and trails adds none: the carrier that would hold it is the carrier this section rejects. ruby-compat tags a Uint8Array only. A Rails body that branches on a String's encoding ports the UTF-8 arm, and a test asserting str.encoding is permanently unportable for that assertion.