Skip to content

Commit 2e2da55

Browse files
committed
Update streaming example.
1 parent ecb69fa commit 2e2da55

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

examples/streaming/config.ru

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
2-
require "trenni/template"
3-
TEMPLATE = Trenni::Template.load(<<~'HTML')
2+
require "xrb/template"
3+
TEMPLATE = XRB::Template.load(<<~'HTML')
44
<!DOCTYPE html><html><head><title>99 bottles of beer</title></head><body>
55
<?r 99.downto(1) do |i| ?>
66
<p>#{i} bottles of beer on the wall</br>

examples/streaming/gems.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
source "https://rubygems.org"
77

8-
gem "trenni", "~> 3.14"
9-
gem "rack", "3.0.0"
8+
gem "xrb"
9+
gem "rack", "~> 3"
1010
gem "falcon", path: "../../"
11-
# gem 'protocol-http', path: '../../../protocol-http'
11+

0 commit comments

Comments
 (0)