RubyGems Navigation menu

sinatra-inertia 0.1.5

A Sinatra extension that implements the full Inertia.js v2 wire protocol: page-object responses, version mismatch detection (409 + X-Inertia-Location), partial reloads, deferred / lazy / always / optional / merge props, encrypted history, redirect 303 handling, and error/flash session sweeps. Pure Sinatra-compatible: depends only on `sinatra` and `rack`. Runs on MRI Ruby and on the homura Cloudflare Workers + Opal stack.

Gemfile:
=

install:
=

Versions:

  1. 0.1.5 June 25, 2026 (17 KB)
  2. 0.1.4 May 02, 2026 (17 KB)
  3. 0.1.3 April 29, 2026 (16.5 KB)
  4. 0.1.2 April 29, 2026 (16 KB)
  5. 0.1.1 April 29, 2026 (16 KB)
Show all versions (6 total)

Runtime Dependencies (2):

rack >= 2.0, < 4.0
sinatra >= 3.0, < 5.0

Owners:

Pushed by:

GitHub

Authors:

  • Kazuhiro Homma

SHA 256 checksum:

=

Total downloads 1,263

For this version 297

Version Released:

License:

MIT

Required Ruby Version: >= 3.1.0

Links: