File tree Expand file tree Collapse file tree 9 files changed +5
-50
lines changed
Expand file tree Collapse file tree 9 files changed +5
-50
lines changed Original file line number Diff line number Diff line change @@ -38,5 +38,6 @@ As an executable jar within Jetty:
3838| Sinatra | Demo Index | http://localhost:8080/ | http://localhost:8080/sinatra |
3939| Sinatra | Info | http://localhost:8080/info | http://localhost:8080/sinatra/info |
4040| Sinatra | Snoop Dump | http://localhost:8080/env | http://localhost:8080/sinatra/env |
41+ | Sinatra | Streaming Demo | http://localhost:8080/stream | http://localhost:8080/sinatra/stream |
4142| Camping | Demo Index | http://localhost:8080/ | http://localhost:8080/camping |
4243| Camping | Snoop Dump | http://localhost:8080/snoop | http://localhost:8080/camping/snoop |
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ source 'https://rubygems.org'
33ruby '~> 3.1.0'
44
55gem 'sinatra'
6- gem 'webrick'
7- gem 'rack' , '~> 2.2.20'
6+ gem 'rack' , '~> 2.2'
87
98gem 'warbler' , '~> 2.1'
109gem 'jruby-jars' , '< 10'
Original file line number Diff line number Diff line change 2828 rake (~> 13.0 , >= 13.0.3 )
2929 rexml (~> 3.0 )
3030 rubyzip (>= 3.0.0 )
31- webrick (1.9.1 )
3231
3332PLATFORMS
3433 java
3534 x86_64-linux
3635
3736DEPENDENCIES
3837 jruby-jars (< 10 )
39- rack (~> 2.2.20 )
38+ rack (~> 2.2 )
4039 sinatra
4140 warbler (~> 2.1 )
42- webrick
4341
4442RUBY VERSION
4543 ruby 3.1.7p0 (jruby 9.4.14.0)
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require './lib/env'
77require './lib/stream'
88
99set :run , false
10- set :public , './public'
10+ set :public_folder , './public'
1111set :views , './views'
1212set :environment , :production
1313run Sinatra ::Application
Original file line number Diff line number Diff line change 11# Warbler web application assembly configuration file
22Warbler ::Config . new do |config |
33 config . features += [ 'executable' ]
4- config . includes = FileList [ "appengine-web.xml" , "datastore-indexes.xml" ]
54
65 if ENV [ 'JRUBY_RACK_SRC' ]
76 config . java_libs . delete_if { |f | f =~ /jruby-rack[^\/ ]+\. jar/ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33 < head >
44 < meta http-equiv ="Content-Type " content ="text/html; charset=utf-8 ">
55 < title > Sinatra JRuby-Rack Multipart/Streaming Demo</ title >
6- < link rel ="stylesheet " href ="http://yui.yahooapis.com/2.8.0r4/build/reset/reset-min.css " type ="text/css " media ="screen, projection ">
76 < link rel ="stylesheet " href ="style.css " type ="text/css " media ="screen, projection ">
87 < link rel ="shortcut icon " href ="favicon.ico ">
9- < script type ="text/javascript " src ="http ://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js "> </ script >
8+ < script type ="text/javascript " src ="https ://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js "> </ script >
109 < script type ="text/javascript " src ="js/DUI.js "> </ script >
1110 < script type ="text/javascript " src ="js/Stream.js "> </ script >
1211 </ head >
You can’t perform that action at this time.
0 commit comments