Skip to content

v0.2.0

Choose a tag to compare

@ursm ursm released this 23 May 02:18
· 7 commits to main since this release
887aa10

Added

  • Ration::Rails::SSE — opt-in Rails controller concern (third rung of the layer ladder). Adds an sse_stream { |y| ... } helper that bundles the standard SSE response setup: text/event-stream / no-cache headers, request.env['puma.mark_as_io_bound']&.call for Puma 8 worker-release, and the response_body = Enumerator.new wrapper. Loaded with require 'ration/rails'.

Changed

  • README: moved the app-server caveat (N-connections-need-N-workers on thread-pool servers) into a callout right under "Why" so it's seen before it bites.
  • README: clarified that poll_interval: (Postgres/Redis backends) governs shutdown-wake only, not delivery latency — LISTEN/NOTIFY is push-driven, events arrive immediately.

Internal

  • Test suite: 71 runs / 123 assertions / 0 failures across Ruby 3.3 / 3.4 / 4.0.