Permalink
Browse files

google app engine deployable jruby sinatra application

  • Loading branch information...
1 parent 6cd66b6 commit 5d36d2bc8619d0b26d38939eff099e14478f5d5c Sammy Zahabi committed Apr 18, 2009
Showing with 43,613 additions and 0 deletions.
  1. +27 −0 Capfile
  2. +10 −0 app.rb
  3. +22 −0 appengine-web.xml
  4. +15 −0 config.ru
  5. +96 −0 config/warble.rb
  6. BIN lib/appengine-api-1.0-sdk-1.2.0.jar
  7. BIN lib/jruby-core.jar
  8. BIN lib/jruby-rack-0.9.4.jar
  9. BIN lib/ruby-stdlib.jar
  10. +24 −0 lib/split-jruby.sh
  11. BIN test.war
  12. +10 −0 tmp/war/WEB-INF/app.rb
  13. +22 −0 tmp/war/WEB-INF/appengine-web.xml
  14. +14 −0 tmp/war/WEB-INF/config.ru
  15. +62 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/CHANGELOG
  16. +18 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/COPYING
  17. +284 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/README
  18. +262 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/Rakefile
  19. +1,018 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/fast_xs/FastXsService.java
  20. +4 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/fast_xs/extconf.rb
  21. +194 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/fast_xs/fast_xs.c
  22. +1,301 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/HpricotScanService.java
  23. +6 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/extconf.rb
  24. +76 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_common.rl
  25. +882 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_gram.c
  26. +9 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_gram.h
  27. +6,261 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_scan.c
  28. +79 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_scan.h
  29. +369 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_scan.java.rl
  30. +279 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/hpricot_scan.rl
  31. +5 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/ext/hpricot_scan/test.rb
  32. +176 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/extras/mingw-rbconfig.rb
  33. +26 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot.rb
  34. +63 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/blankslate.rb
  35. +215 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/builder.rb
  36. +510 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/elements.rb
  37. +672 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/htmlinfo.rb
  38. +107 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/inspect.rb
  39. +37 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/modules.rb
  40. +298 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/parse.rb
  41. +232 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/tag.rb
  42. +164 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/tags.rb
  43. +832 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/traverse.rb
  44. +94 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/hpricot/xchar.rb
  45. BIN tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/universal-java1.6/fast_xs.jar
  46. BIN tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/lib/universal-java1.6/hpricot_scan.jar
  47. +17 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/basic.xhtml
  48. +2,266 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/boingboing.html
  49. +3,653 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/cy0.html
  50. +400 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/immob.html
  51. +1,320 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/pace_application.html
  52. +16 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/tenderlove.html
  53. +220 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/uswebgen.html
  54. +1,054 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/utf8.html
  55. +1,723 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/week9.html
  56. +19 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/files/why.xml
  57. +7 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/load_files.rb
  58. +77 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_alter.rb
  59. +37 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_builder.rb
  60. +386 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_parser.rb
  61. +25 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_paths.rb
  62. +66 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_preserved.rb
  63. +28 −0 tmp/war/WEB-INF/gems/gems/hpricot-0.6.164-java/test/test_xml.rb
  64. +18 −0 tmp/war/WEB-INF/gems/gems/pipe-0.1.3/History.txt
  65. +5 −0 tmp/war/WEB-INF/gems/gems/pipe-0.1.3/Manifest.txt
  66. +97 −0 tmp/war/WEB-INF/gems/gems/pipe-0.1.3/README.txt
  67. +13 −0 tmp/war/WEB-INF/gems/gems/pipe-0.1.3/Rakefile
  68. +39 −0 tmp/war/WEB-INF/gems/gems/pipe-0.1.3/lib/pipe.rb
  69. +8 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/AUTHORS
  70. +18 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/COPYING
  71. +18 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/KNOWN-ISSUES
  72. +324 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/RDOX
  73. +306 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/README
  74. +188 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/Rakefile
  75. +129 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/SPEC
  76. +172 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/bin/rackup
  77. +111 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/contrib/rack_logo.svg
  78. +4 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/example/lobster.ru
  79. +14 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/example/protectedlobster.rb
  80. +8 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/example/protectedlobster.ru
  81. +86 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack.rb
  82. +22 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/adapter/camping.rb
  83. +28 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/abstract/handler.rb
  84. +37 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/abstract/request.rb
  85. +58 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/basic.rb
  86. +124 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/digest/md5.rb
  87. +51 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/digest/nonce.rb
  88. +55 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/digest/params.rb
  89. +40 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/digest/request.rb
  90. +438 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/auth/openid.rb
  91. +67 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/builder.rb
  92. +36 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/cascade.rb
  93. +61 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/commonlogger.rb
  94. +43 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/conditionalget.rb
  95. +25 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/content_length.rb
  96. +87 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/deflater.rb
  97. +150 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/directory.rb
  98. +85 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/file.rb
  99. +48 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler.rb
  100. +57 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/cgi.rb
  101. +8 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/evented_mongrel.rb
  102. +86 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/fastcgi.rb
  103. +52 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/lsws.rb
  104. +82 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/mongrel.rb
  105. +57 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/scgi.rb
  106. +8 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/swiftiplied_mongrel.rb
  107. +15 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/thin.rb
  108. +61 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/handler/webrick.rb
  109. +19 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/head.rb
  110. +465 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/lint.rb
  111. +65 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/lobster.rb
  112. +27 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/methodoverride.rb
  113. +204 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/mime.rb
  114. +160 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/mock.rb
  115. +57 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/recursive.rb
  116. +64 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/reloader.rb
  117. +218 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/request.rb
  118. +171 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/response.rb
  119. +153 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/session/abstract/id.rb
  120. +89 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/session/cookie.rb
  121. +97 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/session/memcache.rb
  122. +73 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/session/pool.rb
  123. +348 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/showexceptions.rb
  124. +106 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/showstatus.rb
  125. +38 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/static.rb
  126. +48 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/urlmap.rb
  127. +347 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/lib/rack/utils.rb
  128. +20 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/cgi/lighttpd.conf
  129. +9 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/cgi/test
  130. +8 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/cgi/test.fcgi
  131. +7 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/cgi/test.ru
  132. +69 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_auth_basic.rb
  133. +169 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_auth_digest.rb
  134. +137 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_auth_openid.rb
  135. +84 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_builder.rb
  136. +51 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_camping.rb
  137. +50 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_cascade.rb
  138. +89 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_cgi.rb
  139. +32 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_commonlogger.rb
  140. +41 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_conditionalget.rb
  141. +43 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_content_length.rb
  142. +105 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_deflater.rb
  143. +61 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_directory.rb
  144. +89 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_fastcgi.rb
  145. +64 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_file.rb
  146. +24 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_handler.rb
  147. +30 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_head.rb
  148. +380 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_lint.rb
  149. +45 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_lobster.rb
  150. +60 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_methodoverride.rb
  151. +152 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_mock.rb
  152. +189 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_mongrel.rb
  153. +77 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_recursive.rb
  154. +446 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_request.rb
  155. +174 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_response.rb
  156. +82 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_session_cookie.rb
  157. +132 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_session_memcache.rb
  158. +84 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_session_pool.rb
  159. +21 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_showexceptions.rb
  160. +72 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_showstatus.rb
  161. +37 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_static.rb
  162. +90 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_thin.rb
  163. +175 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_urlmap.rb
  164. +176 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_utils.rb
  165. +123 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/spec_rack_webrick.rb
  166. +57 −0 tmp/war/WEB-INF/gems/gems/rack-0.9.1/test/testrequest.rb
  167. +41 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/AUTHORS
  168. +287 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/CHANGES
  169. +22 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/LICENSE
  170. +483 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/README.rdoc
  171. +136 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/Rakefile
  172. +282 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/app_test.rb
  173. +262 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/application_test.rb
  174. +101 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/builder_test.rb
  175. +12 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/compat_test.rb
  176. +62 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/custom_error_test.rb
  177. +136 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/erb_test.rb
  178. +78 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/events_test.rb
  179. +30 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/filter_test.rb
  180. +233 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/haml_test.rb
  181. +30 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/helper.rb
  182. +72 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/mapped_error_test.rb
  183. +45 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/pipeline_test.rb
  184. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/public/foo.xml
  185. +57 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/sass_test.rb
  186. +42 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/sessions_test.rb
  187. +133 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/streaming_test.rb
  188. +19 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/sym_params_test.rb
  189. +30 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/template_test.rb
  190. +47 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/use_in_file_templates_test.rb
  191. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo.builder
  192. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo.erb
  193. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo.haml
  194. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo.sass
  195. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo_layout.erb
  196. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/foo_layout.haml
  197. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/foo.builder
  198. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/foo.erb
  199. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/foo.haml
  200. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/foo.sass
  201. +3 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/layout.builder
  202. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/layout.erb
  203. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/layout.haml
  204. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/layout_test/layout.sass
  205. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/no_layout/no_layout.builder
  206. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/compat/views/no_layout/no_layout.haml
  207. +8 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra.rb
  208. +1,026 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/base.rb
  209. +250 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/compat.rb
  210. BIN tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/images/404.png
  211. BIN tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/images/500.png
  212. +47 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/main.rb
  213. +126 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/test.rb
  214. +19 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/test/bacon.rb
  215. +13 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/test/rspec.rb
  216. +11 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/test/spec.rb
  217. +13 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/lib/sinatra/test/unit.rb
  218. +115 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/sinatra.gemspec
  219. +130 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/base_test.rb
  220. +64 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/builder_test.rb
  221. +3 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/data/reload_app_file.rb
  222. +81 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/erb_test.rb
  223. +84 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/extensions_test.rb
  224. +99 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/filter_test.rb
  225. +68 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/haml_test.rb
  226. +81 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/helper.rb
  227. +497 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/helpers_test.rb
  228. +160 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/mapped_error_test.rb
  229. +68 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/middleware_test.rb
  230. +374 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/options_test.rb
  231. +68 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/reload_test.rb
  232. +18 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/request_test.rb
  233. +42 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/response_test.rb
  234. +98 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/result_test.rb
  235. +712 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/routing_test.rb
  236. +36 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/sass_test.rb
  237. +41 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/server_test.rb
  238. +13 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/sinatra_test.rb
  239. +80 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/static_test.rb
  240. +88 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/templates_test.rb
  241. +144 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/test_test.rb
  242. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/hello.builder
  243. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/hello.erb
  244. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/hello.haml
  245. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/hello.sass
  246. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/hello.test
  247. +3 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/layout2.builder
  248. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/layout2.erb
  249. +2 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/layout2.haml
  250. +1 −0 tmp/war/WEB-INF/gems/gems/sinatra-0.9.1.1/test/views/layout2.test
  251. +31 −0 tmp/war/WEB-INF/gems/specifications/hpricot-0.6.164-java.gemspec
  252. +39 −0 tmp/war/WEB-INF/gems/specifications/pipe-0.1.3.gemspec
  253. +33 −0 tmp/war/WEB-INF/gems/specifications/rack-0.9.1.gemspec
  254. +35 −0 tmp/war/WEB-INF/gems/specifications/sinatra-0.9.1.1.gemspec
  255. BIN tmp/war/WEB-INF/lib/appengine-api-1.0-sdk-1.2.0.jar
  256. BIN tmp/war/WEB-INF/lib/jruby-core.jar
  257. BIN tmp/war/WEB-INF/lib/jruby-rack-0.9.4.jar
  258. BIN tmp/war/WEB-INF/lib/ruby-stdlib.jar
  259. +24 −0 tmp/war/WEB-INF/lib/split-jruby.sh
  260. +65 −0 tmp/war/WEB-INF/web.xml
View
27 Capfile
@@ -0,0 +1,27 @@
+load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+
+set :application, "montrealwebpresence.net"
+set :user, "szahabi "
+set :repository, "git@github.com:Thamster/peyepr.git"
+set :checkout, :export
+
+set :deploy_to, "/home/#{user}/#{application}/capTemp"
+set :deploy_via, :remote_cache
+
+set :scm, :git
+set :git_shallow_clone,1
+set :branch, "master"
+
+role :app, application
+role :web, application
+
+set :runner, user
+set :use_sudo, false
+
+namespace :deploy do
+ desc "Restart Application"
+ task :restart do
+ run "touch #{current_path}/tmp/restart.txt"
+ end
+end
+
View
10 app.rb
@@ -0,0 +1,10 @@
+require 'rubygems'
+require 'sinatra'
+require 'pipe'
+
+get '/' do
+ Pipe.create do
+ feed "http://www.reddit.com/r/programming/.rss", :title => /clojure/i
+ end
+end
+
View
@@ -0,0 +1,22 @@
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>peyepr</application>
+ <version>1</version>
+ <static-files />
+ <resource-files />
+ <sessions-enabled>false</sessions-enabled>
+ <system-properties>
+ <property name="jruby.management.enabled" value="false" />
+ <property name="os.arch" value="" />
+ <property name="jruby.compile.mode" value="JIT"/> <!-- JIT|FORCE|OFF -->
+ <property name="jruby.compile.fastest" value="true"/>
+ <property name="jruby.compile.frameless" value="true"/>
+ <property name="jruby.compile.positionless" value="true"/>
+ <property name="jruby.compile.threadless" value="false"/>
+ <property name="jruby.compile.fastops" value="false"/>
+ <property name="jruby.compile.fastcase" value="false"/>
+ <property name="jruby.compile.chainsize" value="500"/>
+ <property name="jruby.compile.lazyHandles" value="false"/>
+ <property name="jruby.compile.peephole" value="true"/>
+ </system-properties>
+</appengine-web-app>
+
View
@@ -0,0 +1,15 @@
+require 'rubygems'
+gem 'sinatra', '=0.3.2'
+require 'sinatra'
+
+root_dir = File.dirname(__FILE__)
+
+set :environment, :production
+set :root, root_dir
+set :app_file, File.join(root_dir, 'app.rb')
+disable :run
+
+require 'app'
+
+run Sinatra::Application
+
View
@@ -0,0 +1,96 @@
+# Disable automatic framework detection by uncommenting/setting to false
+# Warbler.framework_detection = false
+
+# Warbler web application assembly configuration file
+Warbler::Config.new do |config|
+ # Temporary directory where the application is staged
+ # config.staging_dir = "tmp/war"
+
+ # Application directories to be included in the webapp.
+ config.dirs = %w(lib public views)
+
+ # Additional files/directories to include, above those in config.dirs
+ # config.includes = FileList["db"]
+ config.includes = FileList["appengine-web.xml", "app.rb", "config.ru"]
+ # Additional files/directories to exclude
+ # config.excludes = FileList["lib/tasks/*"]
+
+ # Additional Java .jar files to include. Note that if .jar files are placed
+ # in lib (and not otherwise excluded) then they need not be mentioned here.
+ # JRuby and JRuby-Rack are pre-loaded in this list. Be sure to include your
+ # own versions if you directly set the value
+ # config.java_libs += FileList["lib/java/*.jar"]
+
+ # Loose Java classes and miscellaneous files to be placed in WEB-INF/classes.
+ # config.java_classes = FileList["target/classes/**.*"]
+
+ # One or more pathmaps defining how the java classes should be copied into
+ # WEB-INF/classes. The example pathmap below accompanies the java_classes
+ # configuration above. See http://rake.rubyforge.org/classes/String.html#M000017
+ # for details of how to specify a pathmap.
+ # config.pathmaps.java_classes << "%{target/classes/,}p"
+
+ # Gems to be included. You need to tell Warbler which gems your application needs
+ # so that they can be packaged in the war file.
+ # The Rails gems are included by default unless the vendor/rails directory is present.
+ # config.gems += ["activerecord-jdbcmysql-adapter", "jruby-openssl"]
+ # config.gems << "tzinfo"
+ config.gems = ['sinatra', 'pipe']
+
+ # Uncomment this if you don't want to package rails gem.
+ # config.gems -= ["rails"]
+
+ # The most recent versions of gems are used.
+ # You can specify versions of gems by using a hash assignment:
+ # config.gems["rails"] = "2.0.2"
+
+ # You can also use regexps or Gem::Dependency objects for flexibility or
+ # fine-grained control.
+ # config.gems << /^merb-/
+ # config.gems << Gem::Dependency.new("merb-core", "= 0.9.3")
+
+ # Include gem dependencies not mentioned specifically
+ config.gem_dependencies = true
+
+ # Files to be included in the root of the webapp. Note that files in public
+ # will have the leading 'public/' part of the path stripped during staging.
+ # config.public_html = FileList["public/**/*", "doc/**/*"]
+
+ # Pathmaps for controlling how public HTML files are copied into the .war
+ # config.pathmaps.public_html = ["%{public/,}p"]
+
+ # Name of the war file (without the .war) -- defaults to the basename
+ # of RAILS_ROOT
+ config.war_name = "test"
+
+ # Name of the MANIFEST.MF template for the war file. Defaults to the
+ # MANIFEST.MF normally generated by `jar cf`.
+ # config.manifest_file = "config/MANIFEST.MF"
+
+ # Value of RAILS_ENV for the webapp -- default as shown below
+ # config.webxml.rails.env = ENV['RAILS_ENV'] || 'production'
+
+ # Application booter to use, one of :rack, :rails, or :merb. (Default :rails)
+ # config.webxml.booter = :rack
+ config.webxml.booter = :rack
+
+ # When using the :rack booter, "Rackup" script to use.
+ # The script is evaluated in a Rack::Builder to load the application.
+ # Examples:
+ # config.webxml.rackup = %{require './lib/demo'; run Rack::Adapter::Camping.new(Demo)}
+ # config.webxml.rackup = require 'cgi' && CGI::escapeHTML(File.read("config.ru"))
+
+ # Control the pool of Rails runtimes. Leaving unspecified means
+ # the pool will grow as needed to service requests. It is recommended
+ # that you fix these values when running a production server!
+ # config.webxml.jruby.min.runtimes = 2
+ # config.webxml.jruby.max.runtimes = 4
+ config.webxml.jruby.min.runtimes = 1
+ config.webxml.jruby.max.runtimes = 1
+ config.webxml.jruby.init.serial = true
+
+ # JNDI data source name
+ # config.webxml.jndi = 'jdbc/rails'
+ config.java_libs = []
+end
+
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
View
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+rm -rf jruby-core.jar
+rm -rf ruby-stdlib.jar
+rm -rf tmp_unpack
+mkdir tmp_unpack
+cd tmp_unpack
+jar xf ../jruby-complete.jar
+cd ..
+mkdir jruby-core
+mv tmp_unpack/org jruby-core/
+mv tmp_unpack/com jruby-core/
+mv tmp_unpack/jline jruby-core/
+mv tmp_unpack/jay jruby-core/
+mv tmp_unpack/jruby jruby-core/
+cd jruby-core
+jar cf ../jruby-core.jar .
+cd ../tmp_unpack
+jar cf ../ruby-stdlib.jar .
+cd ..
+rm -rf jruby-core
+rm -rf tmp_unpack
+rm -rf jruby-complete.jar
+
View
BIN test.war
Binary file not shown.
View
@@ -0,0 +1,10 @@
+require 'rubygems'
+require 'sinatra'
+require 'pipe'
+
+get '/' do
+ Pipe.create do
+ feed "http://www.reddit.com/r/programming/.rss", :title => /clojure/i
+ end
+end
+
@@ -0,0 +1,22 @@
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>peyepr</application>
+ <version>1</version>
+ <static-files />
+ <resource-files />
+ <sessions-enabled>false</sessions-enabled>
+ <system-properties>
+ <property name="jruby.management.enabled" value="false" />
+ <property name="os.arch" value="" />
+ <property name="jruby.compile.mode" value="JIT"/> <!-- JIT|FORCE|OFF -->
+ <property name="jruby.compile.fastest" value="true"/>
+ <property name="jruby.compile.frameless" value="true"/>
+ <property name="jruby.compile.positionless" value="true"/>
+ <property name="jruby.compile.threadless" value="false"/>
+ <property name="jruby.compile.fastops" value="false"/>
+ <property name="jruby.compile.fastcase" value="false"/>
+ <property name="jruby.compile.chainsize" value="500"/>
+ <property name="jruby.compile.lazyHandles" value="false"/>
+ <property name="jruby.compile.peephole" value="true"/>
+ </system-properties>
+</appengine-web-app>
+
View
@@ -0,0 +1,14 @@
+require 'rubygems'
+require 'sinatra'
+
+root_dir = File.dirname(__FILE__)
+
+set :environment, :production
+set :root, root_dir
+set :app_file, File.join(root_dir, 'app.rb')
+disable :run
+
+require 'app'
+
+run Sinatra::Application
+
@@ -0,0 +1,62 @@
+= 0.6
+=== 15th June, 2007
+* Hpricot for JRuby -- nice work Ola Bini!
+* Inline Markaby for Hpricot documents.
+* XML tags and attributes are no longer downcased like HTML is.
+* new syntax for grabbing everything between two elements using a Range in the search method: (doc/("font".."font/br")) or in nodes_at like so: (doc/"font").nodes_at("*".."br"). Only works with either a pair of siblings or a set of a parent and a sibling.
+* Ignore self-closing endings on tags (such as form) which are containers. Treat them like open parent tags. Reported by Jonathan Nichols on the hpricot list.
+* Escaping of attributes, yanked from Jim Weirich and Sam Ruby's work in Builder.
+* Element#raw_attributes gives unescaped data. Element#attributes gives escaped.
+* Added: Elements#attr, Elements#remove_attr, Elements#remove_class.
+* Added: Traverse#preceding, Traverse#following, Traverse#previous, Traverse#next.
+
+= 0.5
+=== 31rd January, 2007
+
+* support for a[text()="Click Me!"] and h3[text()*="space"] and the like.
+* Hpricot.buffer_size accessor for increasing Hpricot's buffer if you're encountering huge ASP.NET viewstate attribs.
+* some support for colons in tag names (not full namespace support yet.)
+* Element.to_original_html will attempt to preserve the original HTML while merging your changes.
+* Element.to_plain_text converts an element's contents to a simple text format.
+* Element.inner_text removes all tags and returns text nodes concatenated into a single string.
+* no @raw_string variable kept for comments, text, and cdata -- as it's redundant.
+* xpath-style indices (//p/a[1]) but keep in mind that they aren't zero-based.
+* node_position is the index among all sibling nodes, while position is the position among children of identical type.
+* comment() and text() search criteria, like: //p/text(), which selects all text inside paragraph tags.
+* every element has css_path and xpath methods which return respective absolute paths.
+* more flexibility all around: in parsing attributes, tags, comments and cdata.
+
+= 0.4
+=== 11th August, 2006
+
+* The :fixup_tags option will try to sort out the hierarchy so elements end up with the right parents.
+* Elements such as *script* and *style* (identified as having CDATA contents) receive a single text node as their children now. Previously, Hpricot was parsing out tags found in scripts.
+* Better scanning of partially quoted attributes (found by Brent Beardsly on http://uswebgen.com/)
+* Better scanning of unquoted attributes -- thanks to Aaron Patterson for the test cases!
+* Some tags were being output in the empty tag style, although browsers hated that. FIXED!
+* Added Elements#at for finding single elements.
+* Added Elem::Trav#[] and Elem::Trav#[]= for reading and writing attributes.
+
+= 0.3
+=== 7th July, 2006
+
+* Fixed negative string size error on empty tokens. (news.bbc.co.uk)
+* Allow the parser to accept just text nodes. (such as: <tt>Hpricot.parse('TEXT')</tt>)
+* from JQuery to Hpricot::Elements: remove, empty, append, prepend, before, after, wrap, set,
+ html(...), to_html, to_s.
+* on containers: to_html, replace_child, insert_before, insert_after, innerHTML=.
+* Hpricot(...) is an alias for parse.
+* open up all properties to setters, let people do as they may.
+* use to_html for the full html of a node or set of elements.
+* doctypes were messed.
+
+= 0.2
+=== 4th July, 2006
+
+* Rewrote the HTree parser to be simpler, more adequate for the common man. Will add encoding back in later.
+
+= 0.1
+=== 3rd July, 2006
+
+* For whatever reason, wrote this HTML parser in C.
+ I guess Ragel is addictive and I want to improve HTree.
@@ -0,0 +1,18 @@
+Copyright (c) 2006 why the lucky stiff
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to
+deal in the Software without restriction, including without limitation the
+rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Oops, something went wrong.

0 comments on commit 5d36d2b

Please sign in to comment.