loofah-activerecord 1.0.0.beta.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (561) hide show
  1. data/CHANGELOG.rdoc +1 -1
  2. data/Gemfile +1 -14
  3. data/Manifest.txt +0 -551
  4. data/README.rdoc +1 -1
  5. data/Rakefile +4 -6
  6. data/lib/loofah-activerecord.rb +1 -1
  7. data/lib/loofah-activerecord/active_record.rb +1 -1
  8. data/lib/loofah-activerecord/xss_foliate.rb +2 -2
  9. data/rails_test/Rakefile +2 -5
  10. metadata +16 -584
  11. data/rails_test/rails-1.2.6-active_record/README +0 -211
  12. data/rails_test/rails-1.2.6-active_record/Rakefile +0 -10
  13. data/rails_test/rails-1.2.6-active_record/app/controllers/application.rb +0 -7
  14. data/rails_test/rails-1.2.6-active_record/app/helpers/application_helper.rb +0 -3
  15. data/rails_test/rails-1.2.6-active_record/app/models/post.rb +0 -3
  16. data/rails_test/rails-1.2.6-active_record/config/boot.rb +0 -39
  17. data/rails_test/rails-1.2.6-active_record/config/database.yml +0 -22
  18. data/rails_test/rails-1.2.6-active_record/config/environment.rb +0 -61
  19. data/rails_test/rails-1.2.6-active_record/config/environments/development.rb +0 -21
  20. data/rails_test/rails-1.2.6-active_record/config/environments/production.rb +0 -18
  21. data/rails_test/rails-1.2.6-active_record/config/environments/test.rb +0 -19
  22. data/rails_test/rails-1.2.6-active_record/config/routes.rb +0 -23
  23. data/rails_test/rails-1.2.6-active_record/db/migrate/1_create_posts.rb +0 -11
  24. data/rails_test/rails-1.2.6-active_record/public/.htaccess +0 -40
  25. data/rails_test/rails-1.2.6-active_record/public/404.html +0 -30
  26. data/rails_test/rails-1.2.6-active_record/public/500.html +0 -30
  27. data/rails_test/rails-1.2.6-active_record/public/dispatch.cgi +0 -10
  28. data/rails_test/rails-1.2.6-active_record/public/dispatch.fcgi +0 -24
  29. data/rails_test/rails-1.2.6-active_record/public/dispatch.rb +0 -10
  30. data/rails_test/rails-1.2.6-active_record/public/favicon.ico +0 -0
  31. data/rails_test/rails-1.2.6-active_record/public/images/rails.png +0 -0
  32. data/rails_test/rails-1.2.6-active_record/public/index.html +0 -277
  33. data/rails_test/rails-1.2.6-active_record/public/javascripts/application.js +0 -2
  34. data/rails_test/rails-1.2.6-active_record/public/javascripts/controls.js +0 -833
  35. data/rails_test/rails-1.2.6-active_record/public/javascripts/dragdrop.js +0 -942
  36. data/rails_test/rails-1.2.6-active_record/public/javascripts/effects.js +0 -1088
  37. data/rails_test/rails-1.2.6-active_record/public/javascripts/prototype.js +0 -2515
  38. data/rails_test/rails-1.2.6-active_record/public/robots.txt +0 -1
  39. data/rails_test/rails-1.2.6-active_record/script/about +0 -3
  40. data/rails_test/rails-1.2.6-active_record/script/breakpointer +0 -3
  41. data/rails_test/rails-1.2.6-active_record/script/console +0 -3
  42. data/rails_test/rails-1.2.6-active_record/script/destroy +0 -3
  43. data/rails_test/rails-1.2.6-active_record/script/generate +0 -3
  44. data/rails_test/rails-1.2.6-active_record/script/performance/benchmarker +0 -3
  45. data/rails_test/rails-1.2.6-active_record/script/performance/profiler +0 -3
  46. data/rails_test/rails-1.2.6-active_record/script/plugin +0 -3
  47. data/rails_test/rails-1.2.6-active_record/script/process/inspector +0 -3
  48. data/rails_test/rails-1.2.6-active_record/script/process/reaper +0 -3
  49. data/rails_test/rails-1.2.6-active_record/script/process/spawner +0 -3
  50. data/rails_test/rails-1.2.6-active_record/script/runner +0 -3
  51. data/rails_test/rails-1.2.6-active_record/script/server +0 -3
  52. data/rails_test/rails-1.2.6-active_record/test/test_helper.rb +0 -28
  53. data/rails_test/rails-1.2.6-active_record/test/unit/posts_test.rb +0 -15
  54. data/rails_test/rails-1.2.6-xss_foliate/README +0 -211
  55. data/rails_test/rails-1.2.6-xss_foliate/Rakefile +0 -10
  56. data/rails_test/rails-1.2.6-xss_foliate/app/controllers/application.rb +0 -7
  57. data/rails_test/rails-1.2.6-xss_foliate/app/helpers/application_helper.rb +0 -3
  58. data/rails_test/rails-1.2.6-xss_foliate/app/models/post.rb +0 -2
  59. data/rails_test/rails-1.2.6-xss_foliate/config/boot.rb +0 -39
  60. data/rails_test/rails-1.2.6-xss_foliate/config/database.yml +0 -22
  61. data/rails_test/rails-1.2.6-xss_foliate/config/environment.rb +0 -63
  62. data/rails_test/rails-1.2.6-xss_foliate/config/environments/development.rb +0 -21
  63. data/rails_test/rails-1.2.6-xss_foliate/config/environments/production.rb +0 -18
  64. data/rails_test/rails-1.2.6-xss_foliate/config/environments/test.rb +0 -19
  65. data/rails_test/rails-1.2.6-xss_foliate/config/routes.rb +0 -23
  66. data/rails_test/rails-1.2.6-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  67. data/rails_test/rails-1.2.6-xss_foliate/public/.htaccess +0 -40
  68. data/rails_test/rails-1.2.6-xss_foliate/public/404.html +0 -30
  69. data/rails_test/rails-1.2.6-xss_foliate/public/500.html +0 -30
  70. data/rails_test/rails-1.2.6-xss_foliate/public/dispatch.cgi +0 -10
  71. data/rails_test/rails-1.2.6-xss_foliate/public/dispatch.fcgi +0 -24
  72. data/rails_test/rails-1.2.6-xss_foliate/public/dispatch.rb +0 -10
  73. data/rails_test/rails-1.2.6-xss_foliate/public/favicon.ico +0 -0
  74. data/rails_test/rails-1.2.6-xss_foliate/public/images/rails.png +0 -0
  75. data/rails_test/rails-1.2.6-xss_foliate/public/index.html +0 -277
  76. data/rails_test/rails-1.2.6-xss_foliate/public/javascripts/application.js +0 -2
  77. data/rails_test/rails-1.2.6-xss_foliate/public/javascripts/controls.js +0 -833
  78. data/rails_test/rails-1.2.6-xss_foliate/public/javascripts/dragdrop.js +0 -942
  79. data/rails_test/rails-1.2.6-xss_foliate/public/javascripts/effects.js +0 -1088
  80. data/rails_test/rails-1.2.6-xss_foliate/public/javascripts/prototype.js +0 -2515
  81. data/rails_test/rails-1.2.6-xss_foliate/public/robots.txt +0 -1
  82. data/rails_test/rails-1.2.6-xss_foliate/script/about +0 -3
  83. data/rails_test/rails-1.2.6-xss_foliate/script/breakpointer +0 -3
  84. data/rails_test/rails-1.2.6-xss_foliate/script/console +0 -3
  85. data/rails_test/rails-1.2.6-xss_foliate/script/destroy +0 -3
  86. data/rails_test/rails-1.2.6-xss_foliate/script/generate +0 -3
  87. data/rails_test/rails-1.2.6-xss_foliate/script/performance/benchmarker +0 -3
  88. data/rails_test/rails-1.2.6-xss_foliate/script/performance/profiler +0 -3
  89. data/rails_test/rails-1.2.6-xss_foliate/script/plugin +0 -3
  90. data/rails_test/rails-1.2.6-xss_foliate/script/process/inspector +0 -3
  91. data/rails_test/rails-1.2.6-xss_foliate/script/process/reaper +0 -3
  92. data/rails_test/rails-1.2.6-xss_foliate/script/process/spawner +0 -3
  93. data/rails_test/rails-1.2.6-xss_foliate/script/runner +0 -3
  94. data/rails_test/rails-1.2.6-xss_foliate/script/server +0 -3
  95. data/rails_test/rails-1.2.6-xss_foliate/test/test_helper.rb +0 -28
  96. data/rails_test/rails-1.2.6-xss_foliate/test/unit/posts_test.rb +0 -14
  97. data/rails_test/rails-2.0.5-active_record/README +0 -203
  98. data/rails_test/rails-2.0.5-active_record/Rakefile +0 -10
  99. data/rails_test/rails-2.0.5-active_record/app/controllers/application.rb +0 -10
  100. data/rails_test/rails-2.0.5-active_record/app/helpers/application_helper.rb +0 -3
  101. data/rails_test/rails-2.0.5-active_record/app/models/post.rb +0 -3
  102. data/rails_test/rails-2.0.5-active_record/config/boot.rb +0 -108
  103. data/rails_test/rails-2.0.5-active_record/config/database.yml +0 -22
  104. data/rails_test/rails-2.0.5-active_record/config/environment.rb +0 -59
  105. data/rails_test/rails-2.0.5-active_record/config/environments/development.rb +0 -18
  106. data/rails_test/rails-2.0.5-active_record/config/environments/production.rb +0 -19
  107. data/rails_test/rails-2.0.5-active_record/config/environments/test.rb +0 -22
  108. data/rails_test/rails-2.0.5-active_record/config/initializers/inflections.rb +0 -10
  109. data/rails_test/rails-2.0.5-active_record/config/initializers/loofah.rb +0 -1
  110. data/rails_test/rails-2.0.5-active_record/config/initializers/mime_types.rb +0 -5
  111. data/rails_test/rails-2.0.5-active_record/config/routes.rb +0 -35
  112. data/rails_test/rails-2.0.5-active_record/db/migrate/1_create_posts.rb +0 -11
  113. data/rails_test/rails-2.0.5-active_record/public/.htaccess +0 -40
  114. data/rails_test/rails-2.0.5-active_record/public/404.html +0 -30
  115. data/rails_test/rails-2.0.5-active_record/public/422.html +0 -30
  116. data/rails_test/rails-2.0.5-active_record/public/500.html +0 -30
  117. data/rails_test/rails-2.0.5-active_record/public/dispatch.cgi +0 -10
  118. data/rails_test/rails-2.0.5-active_record/public/dispatch.fcgi +0 -24
  119. data/rails_test/rails-2.0.5-active_record/public/dispatch.rb +0 -10
  120. data/rails_test/rails-2.0.5-active_record/public/favicon.ico +0 -0
  121. data/rails_test/rails-2.0.5-active_record/public/images/rails.png +0 -0
  122. data/rails_test/rails-2.0.5-active_record/public/index.html +0 -277
  123. data/rails_test/rails-2.0.5-active_record/public/javascripts/application.js +0 -2
  124. data/rails_test/rails-2.0.5-active_record/public/javascripts/controls.js +0 -963
  125. data/rails_test/rails-2.0.5-active_record/public/javascripts/dragdrop.js +0 -972
  126. data/rails_test/rails-2.0.5-active_record/public/javascripts/effects.js +0 -1120
  127. data/rails_test/rails-2.0.5-active_record/public/javascripts/prototype.js +0 -4225
  128. data/rails_test/rails-2.0.5-active_record/public/robots.txt +0 -5
  129. data/rails_test/rails-2.0.5-active_record/script/about +0 -3
  130. data/rails_test/rails-2.0.5-active_record/script/console +0 -3
  131. data/rails_test/rails-2.0.5-active_record/script/destroy +0 -3
  132. data/rails_test/rails-2.0.5-active_record/script/generate +0 -3
  133. data/rails_test/rails-2.0.5-active_record/script/performance/benchmarker +0 -3
  134. data/rails_test/rails-2.0.5-active_record/script/performance/profiler +0 -3
  135. data/rails_test/rails-2.0.5-active_record/script/performance/request +0 -3
  136. data/rails_test/rails-2.0.5-active_record/script/plugin +0 -3
  137. data/rails_test/rails-2.0.5-active_record/script/process/inspector +0 -3
  138. data/rails_test/rails-2.0.5-active_record/script/process/reaper +0 -3
  139. data/rails_test/rails-2.0.5-active_record/script/process/spawner +0 -3
  140. data/rails_test/rails-2.0.5-active_record/script/runner +0 -3
  141. data/rails_test/rails-2.0.5-active_record/script/server +0 -3
  142. data/rails_test/rails-2.0.5-active_record/test/test_helper.rb +0 -38
  143. data/rails_test/rails-2.0.5-active_record/test/unit/posts_test.rb +0 -15
  144. data/rails_test/rails-2.0.5-xss_foliate/README +0 -203
  145. data/rails_test/rails-2.0.5-xss_foliate/Rakefile +0 -10
  146. data/rails_test/rails-2.0.5-xss_foliate/app/controllers/application.rb +0 -10
  147. data/rails_test/rails-2.0.5-xss_foliate/app/helpers/application_helper.rb +0 -3
  148. data/rails_test/rails-2.0.5-xss_foliate/app/models/post.rb +0 -2
  149. data/rails_test/rails-2.0.5-xss_foliate/config/boot.rb +0 -108
  150. data/rails_test/rails-2.0.5-xss_foliate/config/database.yml +0 -22
  151. data/rails_test/rails-2.0.5-xss_foliate/config/environment.rb +0 -59
  152. data/rails_test/rails-2.0.5-xss_foliate/config/environments/development.rb +0 -18
  153. data/rails_test/rails-2.0.5-xss_foliate/config/environments/production.rb +0 -19
  154. data/rails_test/rails-2.0.5-xss_foliate/config/environments/test.rb +0 -22
  155. data/rails_test/rails-2.0.5-xss_foliate/config/initializers/inflections.rb +0 -10
  156. data/rails_test/rails-2.0.5-xss_foliate/config/initializers/loofah.rb +0 -2
  157. data/rails_test/rails-2.0.5-xss_foliate/config/initializers/mime_types.rb +0 -5
  158. data/rails_test/rails-2.0.5-xss_foliate/config/routes.rb +0 -35
  159. data/rails_test/rails-2.0.5-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  160. data/rails_test/rails-2.0.5-xss_foliate/public/.htaccess +0 -40
  161. data/rails_test/rails-2.0.5-xss_foliate/public/404.html +0 -30
  162. data/rails_test/rails-2.0.5-xss_foliate/public/422.html +0 -30
  163. data/rails_test/rails-2.0.5-xss_foliate/public/500.html +0 -30
  164. data/rails_test/rails-2.0.5-xss_foliate/public/dispatch.cgi +0 -10
  165. data/rails_test/rails-2.0.5-xss_foliate/public/dispatch.fcgi +0 -24
  166. data/rails_test/rails-2.0.5-xss_foliate/public/dispatch.rb +0 -10
  167. data/rails_test/rails-2.0.5-xss_foliate/public/favicon.ico +0 -0
  168. data/rails_test/rails-2.0.5-xss_foliate/public/images/rails.png +0 -0
  169. data/rails_test/rails-2.0.5-xss_foliate/public/index.html +0 -277
  170. data/rails_test/rails-2.0.5-xss_foliate/public/javascripts/application.js +0 -2
  171. data/rails_test/rails-2.0.5-xss_foliate/public/javascripts/controls.js +0 -963
  172. data/rails_test/rails-2.0.5-xss_foliate/public/javascripts/dragdrop.js +0 -972
  173. data/rails_test/rails-2.0.5-xss_foliate/public/javascripts/effects.js +0 -1120
  174. data/rails_test/rails-2.0.5-xss_foliate/public/javascripts/prototype.js +0 -4225
  175. data/rails_test/rails-2.0.5-xss_foliate/public/robots.txt +0 -5
  176. data/rails_test/rails-2.0.5-xss_foliate/script/about +0 -3
  177. data/rails_test/rails-2.0.5-xss_foliate/script/console +0 -3
  178. data/rails_test/rails-2.0.5-xss_foliate/script/destroy +0 -3
  179. data/rails_test/rails-2.0.5-xss_foliate/script/generate +0 -3
  180. data/rails_test/rails-2.0.5-xss_foliate/script/performance/benchmarker +0 -3
  181. data/rails_test/rails-2.0.5-xss_foliate/script/performance/profiler +0 -3
  182. data/rails_test/rails-2.0.5-xss_foliate/script/performance/request +0 -3
  183. data/rails_test/rails-2.0.5-xss_foliate/script/plugin +0 -3
  184. data/rails_test/rails-2.0.5-xss_foliate/script/process/inspector +0 -3
  185. data/rails_test/rails-2.0.5-xss_foliate/script/process/reaper +0 -3
  186. data/rails_test/rails-2.0.5-xss_foliate/script/process/spawner +0 -3
  187. data/rails_test/rails-2.0.5-xss_foliate/script/runner +0 -3
  188. data/rails_test/rails-2.0.5-xss_foliate/script/server +0 -3
  189. data/rails_test/rails-2.0.5-xss_foliate/test/test_helper.rb +0 -38
  190. data/rails_test/rails-2.0.5-xss_foliate/test/unit/posts_test.rb +0 -14
  191. data/rails_test/rails-2.1.2-active_record/README +0 -256
  192. data/rails_test/rails-2.1.2-active_record/Rakefile +0 -10
  193. data/rails_test/rails-2.1.2-active_record/app/controllers/application.rb +0 -15
  194. data/rails_test/rails-2.1.2-active_record/app/helpers/application_helper.rb +0 -3
  195. data/rails_test/rails-2.1.2-active_record/app/models/post.rb +0 -3
  196. data/rails_test/rails-2.1.2-active_record/config/boot.rb +0 -109
  197. data/rails_test/rails-2.1.2-active_record/config/database.yml +0 -22
  198. data/rails_test/rails-2.1.2-active_record/config/environment.rb +0 -67
  199. data/rails_test/rails-2.1.2-active_record/config/environments/development.rb +0 -17
  200. data/rails_test/rails-2.1.2-active_record/config/environments/production.rb +0 -22
  201. data/rails_test/rails-2.1.2-active_record/config/environments/test.rb +0 -22
  202. data/rails_test/rails-2.1.2-active_record/config/initializers/inflections.rb +0 -10
  203. data/rails_test/rails-2.1.2-active_record/config/initializers/loofah.rb +0 -1
  204. data/rails_test/rails-2.1.2-active_record/config/initializers/mime_types.rb +0 -5
  205. data/rails_test/rails-2.1.2-active_record/config/initializers/new_rails_defaults.rb +0 -17
  206. data/rails_test/rails-2.1.2-active_record/config/routes.rb +0 -43
  207. data/rails_test/rails-2.1.2-active_record/db/migrate/1_create_posts.rb +0 -11
  208. data/rails_test/rails-2.1.2-active_record/public/404.html +0 -30
  209. data/rails_test/rails-2.1.2-active_record/public/422.html +0 -30
  210. data/rails_test/rails-2.1.2-active_record/public/500.html +0 -30
  211. data/rails_test/rails-2.1.2-active_record/public/dispatch.cgi +0 -10
  212. data/rails_test/rails-2.1.2-active_record/public/dispatch.fcgi +0 -24
  213. data/rails_test/rails-2.1.2-active_record/public/dispatch.rb +0 -10
  214. data/rails_test/rails-2.1.2-active_record/public/favicon.ico +0 -0
  215. data/rails_test/rails-2.1.2-active_record/public/images/rails.png +0 -0
  216. data/rails_test/rails-2.1.2-active_record/public/index.html +0 -274
  217. data/rails_test/rails-2.1.2-active_record/public/javascripts/application.js +0 -2
  218. data/rails_test/rails-2.1.2-active_record/public/javascripts/controls.js +0 -963
  219. data/rails_test/rails-2.1.2-active_record/public/javascripts/dragdrop.js +0 -972
  220. data/rails_test/rails-2.1.2-active_record/public/javascripts/effects.js +0 -1120
  221. data/rails_test/rails-2.1.2-active_record/public/javascripts/prototype.js +0 -4225
  222. data/rails_test/rails-2.1.2-active_record/public/robots.txt +0 -5
  223. data/rails_test/rails-2.1.2-active_record/script/about +0 -4
  224. data/rails_test/rails-2.1.2-active_record/script/console +0 -3
  225. data/rails_test/rails-2.1.2-active_record/script/dbconsole +0 -3
  226. data/rails_test/rails-2.1.2-active_record/script/destroy +0 -3
  227. data/rails_test/rails-2.1.2-active_record/script/generate +0 -3
  228. data/rails_test/rails-2.1.2-active_record/script/performance/benchmarker +0 -3
  229. data/rails_test/rails-2.1.2-active_record/script/performance/profiler +0 -3
  230. data/rails_test/rails-2.1.2-active_record/script/performance/request +0 -3
  231. data/rails_test/rails-2.1.2-active_record/script/plugin +0 -3
  232. data/rails_test/rails-2.1.2-active_record/script/process/inspector +0 -3
  233. data/rails_test/rails-2.1.2-active_record/script/process/reaper +0 -3
  234. data/rails_test/rails-2.1.2-active_record/script/process/spawner +0 -3
  235. data/rails_test/rails-2.1.2-active_record/script/runner +0 -3
  236. data/rails_test/rails-2.1.2-active_record/script/server +0 -3
  237. data/rails_test/rails-2.1.2-active_record/test/test_helper.rb +0 -38
  238. data/rails_test/rails-2.1.2-active_record/test/unit/posts_test.rb +0 -15
  239. data/rails_test/rails-2.1.2-xss_foliate/README +0 -256
  240. data/rails_test/rails-2.1.2-xss_foliate/Rakefile +0 -10
  241. data/rails_test/rails-2.1.2-xss_foliate/app/controllers/application.rb +0 -15
  242. data/rails_test/rails-2.1.2-xss_foliate/app/helpers/application_helper.rb +0 -3
  243. data/rails_test/rails-2.1.2-xss_foliate/app/models/post.rb +0 -2
  244. data/rails_test/rails-2.1.2-xss_foliate/config/boot.rb +0 -109
  245. data/rails_test/rails-2.1.2-xss_foliate/config/database.yml +0 -22
  246. data/rails_test/rails-2.1.2-xss_foliate/config/environment.rb +0 -67
  247. data/rails_test/rails-2.1.2-xss_foliate/config/environments/development.rb +0 -17
  248. data/rails_test/rails-2.1.2-xss_foliate/config/environments/production.rb +0 -22
  249. data/rails_test/rails-2.1.2-xss_foliate/config/environments/test.rb +0 -22
  250. data/rails_test/rails-2.1.2-xss_foliate/config/initializers/inflections.rb +0 -10
  251. data/rails_test/rails-2.1.2-xss_foliate/config/initializers/loofah.rb +0 -2
  252. data/rails_test/rails-2.1.2-xss_foliate/config/initializers/mime_types.rb +0 -5
  253. data/rails_test/rails-2.1.2-xss_foliate/config/initializers/new_rails_defaults.rb +0 -17
  254. data/rails_test/rails-2.1.2-xss_foliate/config/routes.rb +0 -43
  255. data/rails_test/rails-2.1.2-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  256. data/rails_test/rails-2.1.2-xss_foliate/public/404.html +0 -30
  257. data/rails_test/rails-2.1.2-xss_foliate/public/422.html +0 -30
  258. data/rails_test/rails-2.1.2-xss_foliate/public/500.html +0 -30
  259. data/rails_test/rails-2.1.2-xss_foliate/public/dispatch.cgi +0 -10
  260. data/rails_test/rails-2.1.2-xss_foliate/public/dispatch.fcgi +0 -24
  261. data/rails_test/rails-2.1.2-xss_foliate/public/dispatch.rb +0 -10
  262. data/rails_test/rails-2.1.2-xss_foliate/public/favicon.ico +0 -0
  263. data/rails_test/rails-2.1.2-xss_foliate/public/images/rails.png +0 -0
  264. data/rails_test/rails-2.1.2-xss_foliate/public/index.html +0 -274
  265. data/rails_test/rails-2.1.2-xss_foliate/public/javascripts/application.js +0 -2
  266. data/rails_test/rails-2.1.2-xss_foliate/public/javascripts/controls.js +0 -963
  267. data/rails_test/rails-2.1.2-xss_foliate/public/javascripts/dragdrop.js +0 -972
  268. data/rails_test/rails-2.1.2-xss_foliate/public/javascripts/effects.js +0 -1120
  269. data/rails_test/rails-2.1.2-xss_foliate/public/javascripts/prototype.js +0 -4225
  270. data/rails_test/rails-2.1.2-xss_foliate/public/robots.txt +0 -5
  271. data/rails_test/rails-2.1.2-xss_foliate/script/about +0 -4
  272. data/rails_test/rails-2.1.2-xss_foliate/script/console +0 -3
  273. data/rails_test/rails-2.1.2-xss_foliate/script/dbconsole +0 -3
  274. data/rails_test/rails-2.1.2-xss_foliate/script/destroy +0 -3
  275. data/rails_test/rails-2.1.2-xss_foliate/script/generate +0 -3
  276. data/rails_test/rails-2.1.2-xss_foliate/script/performance/benchmarker +0 -3
  277. data/rails_test/rails-2.1.2-xss_foliate/script/performance/profiler +0 -3
  278. data/rails_test/rails-2.1.2-xss_foliate/script/performance/request +0 -3
  279. data/rails_test/rails-2.1.2-xss_foliate/script/plugin +0 -3
  280. data/rails_test/rails-2.1.2-xss_foliate/script/process/inspector +0 -3
  281. data/rails_test/rails-2.1.2-xss_foliate/script/process/reaper +0 -3
  282. data/rails_test/rails-2.1.2-xss_foliate/script/process/spawner +0 -3
  283. data/rails_test/rails-2.1.2-xss_foliate/script/runner +0 -3
  284. data/rails_test/rails-2.1.2-xss_foliate/script/server +0 -3
  285. data/rails_test/rails-2.1.2-xss_foliate/test/test_helper.rb +0 -38
  286. data/rails_test/rails-2.1.2-xss_foliate/test/unit/posts_test.rb +0 -14
  287. data/rails_test/rails-2.2.2-active_record/README +0 -256
  288. data/rails_test/rails-2.2.2-active_record/Rakefile +0 -10
  289. data/rails_test/rails-2.2.2-active_record/app/controllers/application.rb +0 -15
  290. data/rails_test/rails-2.2.2-active_record/app/helpers/application_helper.rb +0 -3
  291. data/rails_test/rails-2.2.2-active_record/app/models/post.rb +0 -3
  292. data/rails_test/rails-2.2.2-active_record/config/boot.rb +0 -109
  293. data/rails_test/rails-2.2.2-active_record/config/database.yml +0 -22
  294. data/rails_test/rails-2.2.2-active_record/config/environment.rb +0 -75
  295. data/rails_test/rails-2.2.2-active_record/config/environments/development.rb +0 -17
  296. data/rails_test/rails-2.2.2-active_record/config/environments/production.rb +0 -24
  297. data/rails_test/rails-2.2.2-active_record/config/environments/test.rb +0 -22
  298. data/rails_test/rails-2.2.2-active_record/config/initializers/inflections.rb +0 -10
  299. data/rails_test/rails-2.2.2-active_record/config/initializers/loofah.rb +0 -1
  300. data/rails_test/rails-2.2.2-active_record/config/initializers/mime_types.rb +0 -5
  301. data/rails_test/rails-2.2.2-active_record/config/initializers/new_rails_defaults.rb +0 -17
  302. data/rails_test/rails-2.2.2-active_record/config/locales/en.yml +0 -5
  303. data/rails_test/rails-2.2.2-active_record/config/routes.rb +0 -43
  304. data/rails_test/rails-2.2.2-active_record/db/migrate/1_create_posts.rb +0 -11
  305. data/rails_test/rails-2.2.2-active_record/public/404.html +0 -30
  306. data/rails_test/rails-2.2.2-active_record/public/422.html +0 -30
  307. data/rails_test/rails-2.2.2-active_record/public/500.html +0 -33
  308. data/rails_test/rails-2.2.2-active_record/public/dispatch.cgi +0 -10
  309. data/rails_test/rails-2.2.2-active_record/public/dispatch.fcgi +0 -24
  310. data/rails_test/rails-2.2.2-active_record/public/dispatch.rb +0 -10
  311. data/rails_test/rails-2.2.2-active_record/public/favicon.ico +0 -0
  312. data/rails_test/rails-2.2.2-active_record/public/images/rails.png +0 -0
  313. data/rails_test/rails-2.2.2-active_record/public/index.html +0 -274
  314. data/rails_test/rails-2.2.2-active_record/public/javascripts/application.js +0 -2
  315. data/rails_test/rails-2.2.2-active_record/public/javascripts/controls.js +0 -963
  316. data/rails_test/rails-2.2.2-active_record/public/javascripts/dragdrop.js +0 -973
  317. data/rails_test/rails-2.2.2-active_record/public/javascripts/effects.js +0 -1128
  318. data/rails_test/rails-2.2.2-active_record/public/javascripts/prototype.js +0 -4320
  319. data/rails_test/rails-2.2.2-active_record/public/robots.txt +0 -5
  320. data/rails_test/rails-2.2.2-active_record/script/about +0 -4
  321. data/rails_test/rails-2.2.2-active_record/script/console +0 -3
  322. data/rails_test/rails-2.2.2-active_record/script/dbconsole +0 -3
  323. data/rails_test/rails-2.2.2-active_record/script/destroy +0 -3
  324. data/rails_test/rails-2.2.2-active_record/script/generate +0 -3
  325. data/rails_test/rails-2.2.2-active_record/script/performance/benchmarker +0 -3
  326. data/rails_test/rails-2.2.2-active_record/script/performance/profiler +0 -3
  327. data/rails_test/rails-2.2.2-active_record/script/performance/request +0 -3
  328. data/rails_test/rails-2.2.2-active_record/script/plugin +0 -3
  329. data/rails_test/rails-2.2.2-active_record/script/process/inspector +0 -3
  330. data/rails_test/rails-2.2.2-active_record/script/process/reaper +0 -3
  331. data/rails_test/rails-2.2.2-active_record/script/process/spawner +0 -3
  332. data/rails_test/rails-2.2.2-active_record/script/runner +0 -3
  333. data/rails_test/rails-2.2.2-active_record/script/server +0 -3
  334. data/rails_test/rails-2.2.2-active_record/test/performance/browsing_test.rb +0 -9
  335. data/rails_test/rails-2.2.2-active_record/test/test_helper.rb +0 -38
  336. data/rails_test/rails-2.2.2-active_record/test/unit/posts_test.rb +0 -15
  337. data/rails_test/rails-2.2.2-xss_foliate/README +0 -256
  338. data/rails_test/rails-2.2.2-xss_foliate/Rakefile +0 -10
  339. data/rails_test/rails-2.2.2-xss_foliate/app/controllers/application.rb +0 -15
  340. data/rails_test/rails-2.2.2-xss_foliate/app/helpers/application_helper.rb +0 -3
  341. data/rails_test/rails-2.2.2-xss_foliate/app/models/post.rb +0 -2
  342. data/rails_test/rails-2.2.2-xss_foliate/config/boot.rb +0 -109
  343. data/rails_test/rails-2.2.2-xss_foliate/config/database.yml +0 -22
  344. data/rails_test/rails-2.2.2-xss_foliate/config/environment.rb +0 -75
  345. data/rails_test/rails-2.2.2-xss_foliate/config/environments/development.rb +0 -17
  346. data/rails_test/rails-2.2.2-xss_foliate/config/environments/production.rb +0 -24
  347. data/rails_test/rails-2.2.2-xss_foliate/config/environments/test.rb +0 -22
  348. data/rails_test/rails-2.2.2-xss_foliate/config/initializers/inflections.rb +0 -10
  349. data/rails_test/rails-2.2.2-xss_foliate/config/initializers/loofah.rb +0 -2
  350. data/rails_test/rails-2.2.2-xss_foliate/config/initializers/mime_types.rb +0 -5
  351. data/rails_test/rails-2.2.2-xss_foliate/config/initializers/new_rails_defaults.rb +0 -17
  352. data/rails_test/rails-2.2.2-xss_foliate/config/locales/en.yml +0 -5
  353. data/rails_test/rails-2.2.2-xss_foliate/config/routes.rb +0 -43
  354. data/rails_test/rails-2.2.2-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  355. data/rails_test/rails-2.2.2-xss_foliate/public/404.html +0 -30
  356. data/rails_test/rails-2.2.2-xss_foliate/public/422.html +0 -30
  357. data/rails_test/rails-2.2.2-xss_foliate/public/500.html +0 -33
  358. data/rails_test/rails-2.2.2-xss_foliate/public/dispatch.cgi +0 -10
  359. data/rails_test/rails-2.2.2-xss_foliate/public/dispatch.fcgi +0 -24
  360. data/rails_test/rails-2.2.2-xss_foliate/public/dispatch.rb +0 -10
  361. data/rails_test/rails-2.2.2-xss_foliate/public/favicon.ico +0 -0
  362. data/rails_test/rails-2.2.2-xss_foliate/public/images/rails.png +0 -0
  363. data/rails_test/rails-2.2.2-xss_foliate/public/index.html +0 -274
  364. data/rails_test/rails-2.2.2-xss_foliate/public/javascripts/application.js +0 -2
  365. data/rails_test/rails-2.2.2-xss_foliate/public/javascripts/controls.js +0 -963
  366. data/rails_test/rails-2.2.2-xss_foliate/public/javascripts/dragdrop.js +0 -973
  367. data/rails_test/rails-2.2.2-xss_foliate/public/javascripts/effects.js +0 -1128
  368. data/rails_test/rails-2.2.2-xss_foliate/public/javascripts/prototype.js +0 -4320
  369. data/rails_test/rails-2.2.2-xss_foliate/public/robots.txt +0 -5
  370. data/rails_test/rails-2.2.2-xss_foliate/script/about +0 -4
  371. data/rails_test/rails-2.2.2-xss_foliate/script/console +0 -3
  372. data/rails_test/rails-2.2.2-xss_foliate/script/dbconsole +0 -3
  373. data/rails_test/rails-2.2.2-xss_foliate/script/destroy +0 -3
  374. data/rails_test/rails-2.2.2-xss_foliate/script/generate +0 -3
  375. data/rails_test/rails-2.2.2-xss_foliate/script/performance/benchmarker +0 -3
  376. data/rails_test/rails-2.2.2-xss_foliate/script/performance/profiler +0 -3
  377. data/rails_test/rails-2.2.2-xss_foliate/script/performance/request +0 -3
  378. data/rails_test/rails-2.2.2-xss_foliate/script/plugin +0 -3
  379. data/rails_test/rails-2.2.2-xss_foliate/script/process/inspector +0 -3
  380. data/rails_test/rails-2.2.2-xss_foliate/script/process/reaper +0 -3
  381. data/rails_test/rails-2.2.2-xss_foliate/script/process/spawner +0 -3
  382. data/rails_test/rails-2.2.2-xss_foliate/script/runner +0 -3
  383. data/rails_test/rails-2.2.2-xss_foliate/script/server +0 -3
  384. data/rails_test/rails-2.2.2-xss_foliate/test/performance/browsing_test.rb +0 -9
  385. data/rails_test/rails-2.2.2-xss_foliate/test/test_helper.rb +0 -38
  386. data/rails_test/rails-2.2.2-xss_foliate/test/unit/posts_test.rb +0 -14
  387. data/rails_test/rails-2.3.8-active_record/README +0 -243
  388. data/rails_test/rails-2.3.8-active_record/Rakefile +0 -10
  389. data/rails_test/rails-2.3.8-active_record/app/controllers/application_controller.rb +0 -10
  390. data/rails_test/rails-2.3.8-active_record/app/helpers/application_helper.rb +0 -3
  391. data/rails_test/rails-2.3.8-active_record/app/models/post.rb +0 -3
  392. data/rails_test/rails-2.3.8-active_record/config/boot.rb +0 -110
  393. data/rails_test/rails-2.3.8-active_record/config/database.yml +0 -22
  394. data/rails_test/rails-2.3.8-active_record/config/environment.rb +0 -41
  395. data/rails_test/rails-2.3.8-active_record/config/environments/development.rb +0 -17
  396. data/rails_test/rails-2.3.8-active_record/config/environments/production.rb +0 -28
  397. data/rails_test/rails-2.3.8-active_record/config/environments/test.rb +0 -28
  398. data/rails_test/rails-2.3.8-active_record/config/initializers/backtrace_silencers.rb +0 -7
  399. data/rails_test/rails-2.3.8-active_record/config/initializers/cookie_verification_secret.rb +0 -7
  400. data/rails_test/rails-2.3.8-active_record/config/initializers/inflections.rb +0 -10
  401. data/rails_test/rails-2.3.8-active_record/config/initializers/loofah.rb +0 -1
  402. data/rails_test/rails-2.3.8-active_record/config/initializers/mime_types.rb +0 -5
  403. data/rails_test/rails-2.3.8-active_record/config/initializers/new_rails_defaults.rb +0 -21
  404. data/rails_test/rails-2.3.8-active_record/config/initializers/session_store.rb +0 -15
  405. data/rails_test/rails-2.3.8-active_record/config/locales/en.yml +0 -5
  406. data/rails_test/rails-2.3.8-active_record/config/routes.rb +0 -43
  407. data/rails_test/rails-2.3.8-active_record/db/migrate/1_create_posts.rb +0 -11
  408. data/rails_test/rails-2.3.8-active_record/db/seeds.rb +0 -7
  409. data/rails_test/rails-2.3.8-active_record/public/404.html +0 -30
  410. data/rails_test/rails-2.3.8-active_record/public/422.html +0 -30
  411. data/rails_test/rails-2.3.8-active_record/public/500.html +0 -30
  412. data/rails_test/rails-2.3.8-active_record/public/favicon.ico +0 -0
  413. data/rails_test/rails-2.3.8-active_record/public/images/rails.png +0 -0
  414. data/rails_test/rails-2.3.8-active_record/public/index.html +0 -275
  415. data/rails_test/rails-2.3.8-active_record/public/javascripts/application.js +0 -2
  416. data/rails_test/rails-2.3.8-active_record/public/javascripts/controls.js +0 -963
  417. data/rails_test/rails-2.3.8-active_record/public/javascripts/dragdrop.js +0 -973
  418. data/rails_test/rails-2.3.8-active_record/public/javascripts/effects.js +0 -1128
  419. data/rails_test/rails-2.3.8-active_record/public/javascripts/prototype.js +0 -4320
  420. data/rails_test/rails-2.3.8-active_record/public/robots.txt +0 -5
  421. data/rails_test/rails-2.3.8-active_record/script/about +0 -4
  422. data/rails_test/rails-2.3.8-active_record/script/console +0 -3
  423. data/rails_test/rails-2.3.8-active_record/script/dbconsole +0 -3
  424. data/rails_test/rails-2.3.8-active_record/script/destroy +0 -3
  425. data/rails_test/rails-2.3.8-active_record/script/generate +0 -3
  426. data/rails_test/rails-2.3.8-active_record/script/performance/benchmarker +0 -3
  427. data/rails_test/rails-2.3.8-active_record/script/performance/profiler +0 -3
  428. data/rails_test/rails-2.3.8-active_record/script/plugin +0 -3
  429. data/rails_test/rails-2.3.8-active_record/script/runner +0 -3
  430. data/rails_test/rails-2.3.8-active_record/script/server +0 -3
  431. data/rails_test/rails-2.3.8-active_record/test/performance/browsing_test.rb +0 -9
  432. data/rails_test/rails-2.3.8-active_record/test/test_helper.rb +0 -38
  433. data/rails_test/rails-2.3.8-active_record/test/unit/posts_test.rb +0 -15
  434. data/rails_test/rails-2.3.8-xss_foliate/README +0 -243
  435. data/rails_test/rails-2.3.8-xss_foliate/Rakefile +0 -10
  436. data/rails_test/rails-2.3.8-xss_foliate/app/controllers/application_controller.rb +0 -10
  437. data/rails_test/rails-2.3.8-xss_foliate/app/helpers/application_helper.rb +0 -3
  438. data/rails_test/rails-2.3.8-xss_foliate/app/models/post.rb +0 -2
  439. data/rails_test/rails-2.3.8-xss_foliate/config/boot.rb +0 -110
  440. data/rails_test/rails-2.3.8-xss_foliate/config/database.yml +0 -22
  441. data/rails_test/rails-2.3.8-xss_foliate/config/environment.rb +0 -41
  442. data/rails_test/rails-2.3.8-xss_foliate/config/environments/development.rb +0 -17
  443. data/rails_test/rails-2.3.8-xss_foliate/config/environments/production.rb +0 -28
  444. data/rails_test/rails-2.3.8-xss_foliate/config/environments/test.rb +0 -28
  445. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/backtrace_silencers.rb +0 -7
  446. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/cookie_verification_secret.rb +0 -7
  447. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/inflections.rb +0 -10
  448. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/loofah.rb +0 -2
  449. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/mime_types.rb +0 -5
  450. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/new_rails_defaults.rb +0 -21
  451. data/rails_test/rails-2.3.8-xss_foliate/config/initializers/session_store.rb +0 -15
  452. data/rails_test/rails-2.3.8-xss_foliate/config/locales/en.yml +0 -5
  453. data/rails_test/rails-2.3.8-xss_foliate/config/routes.rb +0 -43
  454. data/rails_test/rails-2.3.8-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  455. data/rails_test/rails-2.3.8-xss_foliate/db/seeds.rb +0 -7
  456. data/rails_test/rails-2.3.8-xss_foliate/public/404.html +0 -30
  457. data/rails_test/rails-2.3.8-xss_foliate/public/422.html +0 -30
  458. data/rails_test/rails-2.3.8-xss_foliate/public/500.html +0 -30
  459. data/rails_test/rails-2.3.8-xss_foliate/public/favicon.ico +0 -0
  460. data/rails_test/rails-2.3.8-xss_foliate/public/images/rails.png +0 -0
  461. data/rails_test/rails-2.3.8-xss_foliate/public/index.html +0 -275
  462. data/rails_test/rails-2.3.8-xss_foliate/public/javascripts/application.js +0 -2
  463. data/rails_test/rails-2.3.8-xss_foliate/public/javascripts/controls.js +0 -963
  464. data/rails_test/rails-2.3.8-xss_foliate/public/javascripts/dragdrop.js +0 -973
  465. data/rails_test/rails-2.3.8-xss_foliate/public/javascripts/effects.js +0 -1128
  466. data/rails_test/rails-2.3.8-xss_foliate/public/javascripts/prototype.js +0 -4320
  467. data/rails_test/rails-2.3.8-xss_foliate/public/robots.txt +0 -5
  468. data/rails_test/rails-2.3.8-xss_foliate/script/about +0 -4
  469. data/rails_test/rails-2.3.8-xss_foliate/script/console +0 -3
  470. data/rails_test/rails-2.3.8-xss_foliate/script/dbconsole +0 -3
  471. data/rails_test/rails-2.3.8-xss_foliate/script/destroy +0 -3
  472. data/rails_test/rails-2.3.8-xss_foliate/script/generate +0 -3
  473. data/rails_test/rails-2.3.8-xss_foliate/script/performance/benchmarker +0 -3
  474. data/rails_test/rails-2.3.8-xss_foliate/script/performance/profiler +0 -3
  475. data/rails_test/rails-2.3.8-xss_foliate/script/plugin +0 -3
  476. data/rails_test/rails-2.3.8-xss_foliate/script/runner +0 -3
  477. data/rails_test/rails-2.3.8-xss_foliate/script/server +0 -3
  478. data/rails_test/rails-2.3.8-xss_foliate/test/performance/browsing_test.rb +0 -9
  479. data/rails_test/rails-2.3.8-xss_foliate/test/test_helper.rb +0 -38
  480. data/rails_test/rails-2.3.8-xss_foliate/test/unit/posts_test.rb +0 -14
  481. data/rails_test/rails-3.0.0.beta4-active_record/README +0 -281
  482. data/rails_test/rails-3.0.0.beta4-active_record/Rakefile +0 -7
  483. data/rails_test/rails-3.0.0.beta4-active_record/app/controllers/application_controller.rb +0 -4
  484. data/rails_test/rails-3.0.0.beta4-active_record/app/helpers/application_helper.rb +0 -2
  485. data/rails_test/rails-3.0.0.beta4-active_record/app/models/post.rb +0 -3
  486. data/rails_test/rails-3.0.0.beta4-active_record/app/views/layouts/application.html.erb +0 -14
  487. data/rails_test/rails-3.0.0.beta4-active_record/config.ru +0 -4
  488. data/rails_test/rails-3.0.0.beta4-active_record/config/application.rb +0 -46
  489. data/rails_test/rails-3.0.0.beta4-active_record/config/boot.rb +0 -13
  490. data/rails_test/rails-3.0.0.beta4-active_record/config/database.yml +0 -22
  491. data/rails_test/rails-3.0.0.beta4-active_record/config/environment.rb +0 -5
  492. data/rails_test/rails-3.0.0.beta4-active_record/config/environments/development.rb +0 -19
  493. data/rails_test/rails-3.0.0.beta4-active_record/config/environments/production.rb +0 -46
  494. data/rails_test/rails-3.0.0.beta4-active_record/config/environments/test.rb +0 -32
  495. data/rails_test/rails-3.0.0.beta4-active_record/config/initializers/backtrace_silencers.rb +0 -7
  496. data/rails_test/rails-3.0.0.beta4-active_record/config/initializers/inflections.rb +0 -10
  497. data/rails_test/rails-3.0.0.beta4-active_record/config/initializers/mime_types.rb +0 -5
  498. data/rails_test/rails-3.0.0.beta4-active_record/config/initializers/secret_token.rb +0 -7
  499. data/rails_test/rails-3.0.0.beta4-active_record/config/initializers/session_store.rb +0 -8
  500. data/rails_test/rails-3.0.0.beta4-active_record/config/locales/en.yml +0 -5
  501. data/rails_test/rails-3.0.0.beta4-active_record/config/routes.rb +0 -58
  502. data/rails_test/rails-3.0.0.beta4-active_record/db/migrate/1_create_posts.rb +0 -11
  503. data/rails_test/rails-3.0.0.beta4-active_record/db/seeds.rb +0 -7
  504. data/rails_test/rails-3.0.0.beta4-active_record/public/404.html +0 -26
  505. data/rails_test/rails-3.0.0.beta4-active_record/public/422.html +0 -26
  506. data/rails_test/rails-3.0.0.beta4-active_record/public/500.html +0 -26
  507. data/rails_test/rails-3.0.0.beta4-active_record/public/favicon.ico +0 -0
  508. data/rails_test/rails-3.0.0.beta4-active_record/public/images/rails.png +0 -0
  509. data/rails_test/rails-3.0.0.beta4-active_record/public/index.html +0 -279
  510. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/application.js +0 -2
  511. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/controls.js +0 -965
  512. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/dragdrop.js +0 -974
  513. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/effects.js +0 -1123
  514. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/prototype.js +0 -4874
  515. data/rails_test/rails-3.0.0.beta4-active_record/public/javascripts/rails.js +0 -118
  516. data/rails_test/rails-3.0.0.beta4-active_record/public/robots.txt +0 -5
  517. data/rails_test/rails-3.0.0.beta4-active_record/script/rails +0 -6
  518. data/rails_test/rails-3.0.0.beta4-active_record/test/performance/browsing_test.rb +0 -9
  519. data/rails_test/rails-3.0.0.beta4-active_record/test/test_helper.rb +0 -13
  520. data/rails_test/rails-3.0.0.beta4-active_record/test/unit/posts_test.rb +0 -15
  521. data/rails_test/rails-3.0.0.beta4-xss_foliate/README +0 -281
  522. data/rails_test/rails-3.0.0.beta4-xss_foliate/Rakefile +0 -7
  523. data/rails_test/rails-3.0.0.beta4-xss_foliate/app/controllers/application_controller.rb +0 -4
  524. data/rails_test/rails-3.0.0.beta4-xss_foliate/app/helpers/application_helper.rb +0 -2
  525. data/rails_test/rails-3.0.0.beta4-xss_foliate/app/models/post.rb +0 -2
  526. data/rails_test/rails-3.0.0.beta4-xss_foliate/app/views/layouts/application.html.erb +0 -14
  527. data/rails_test/rails-3.0.0.beta4-xss_foliate/config.ru +0 -4
  528. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/application.rb +0 -46
  529. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/boot.rb +0 -13
  530. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/database.yml +0 -22
  531. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/environment.rb +0 -5
  532. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/environments/development.rb +0 -19
  533. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/environments/production.rb +0 -46
  534. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/environments/test.rb +0 -32
  535. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/backtrace_silencers.rb +0 -7
  536. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/inflections.rb +0 -10
  537. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/loofah.rb +0 -2
  538. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/mime_types.rb +0 -5
  539. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/secret_token.rb +0 -7
  540. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/initializers/session_store.rb +0 -8
  541. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/locales/en.yml +0 -5
  542. data/rails_test/rails-3.0.0.beta4-xss_foliate/config/routes.rb +0 -58
  543. data/rails_test/rails-3.0.0.beta4-xss_foliate/db/migrate/1_create_posts.rb +0 -11
  544. data/rails_test/rails-3.0.0.beta4-xss_foliate/db/seeds.rb +0 -7
  545. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/404.html +0 -26
  546. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/422.html +0 -26
  547. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/500.html +0 -26
  548. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/favicon.ico +0 -0
  549. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/images/rails.png +0 -0
  550. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/index.html +0 -279
  551. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/application.js +0 -2
  552. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/controls.js +0 -965
  553. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/dragdrop.js +0 -974
  554. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/effects.js +0 -1123
  555. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/prototype.js +0 -4874
  556. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/javascripts/rails.js +0 -118
  557. data/rails_test/rails-3.0.0.beta4-xss_foliate/public/robots.txt +0 -5
  558. data/rails_test/rails-3.0.0.beta4-xss_foliate/script/rails +0 -6
  559. data/rails_test/rails-3.0.0.beta4-xss_foliate/test/performance/browsing_test.rb +0 -9
  560. data/rails_test/rails-3.0.0.beta4-xss_foliate/test/test_helper.rb +0 -13
  561. data/rails_test/rails-3.0.0.beta4-xss_foliate/test/unit/posts_test.rb +0 -14
@@ -1,22 +0,0 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3-ruby (not necessary on OS X Leopard)
3
- development:
4
- adapter: sqlite3
5
- database: db/development.sqlite3
6
- pool: 5
7
- timeout: 5000
8
-
9
- # Warning: The database defined as "test" will be erased and
10
- # re-generated from your development database when you run "rake".
11
- # Do not set this db to the same as development or production.
12
- test:
13
- adapter: sqlite3
14
- database: db/test.sqlite3
15
- pool: 5
16
- timeout: 5000
17
-
18
- production:
19
- adapter: sqlite3
20
- database: db/production.sqlite3
21
- pool: 5
22
- timeout: 5000
@@ -1,75 +0,0 @@
1
- # Be sure to restart your server when you modify this file
2
-
3
- # Uncomment below to force Rails into production mode when
4
- # you don't control web/app server and can't set it the proper way
5
- # ENV['RAILS_ENV'] ||= 'production'
6
-
7
- # Specifies gem version of Rails to use when vendor/rails is not present
8
- RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
9
-
10
- # Bootstrap the Rails environment, frameworks, and default configuration
11
- require File.join(File.dirname(__FILE__), 'boot')
12
-
13
- Rails::Initializer.run do |config|
14
- # Settings in config/environments/* take precedence over those specified here.
15
- # Application configuration should go into files in config/initializers
16
- # -- all .rb files in that directory are automatically loaded.
17
- # See Rails::Configuration for more options.
18
-
19
- # Skip frameworks you're not going to use. To use Rails without a database
20
- # you must remove the Active Record framework.
21
- # config.frameworks -= [ :active_record, :active_resource, :action_mailer ]
22
-
23
- # Specify gems that this application depends on.
24
- # They can then be installed with "rake gems:install" on new installations.
25
- # You have to specify the :lib option for libraries, where the Gem name (sqlite3-ruby) differs from the file itself (sqlite3)
26
- # config.gem "bj"
27
- # config.gem "hpricot", :version => '0.6', :source => "http://code.whytheluckystiff.net"
28
- # config.gem "sqlite3-ruby", :lib => "sqlite3"
29
- # config.gem "aws-s3", :lib => "aws/s3"
30
-
31
- # Only load the plugins named here, in the order given. By default, all plugins
32
- # in vendor/plugins are loaded in alphabetical order.
33
- # :all can be used as a placeholder for all plugins not explicitly named
34
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
35
-
36
- # Add additional load paths for your own custom dirs
37
- # config.load_paths += %W( #{RAILS_ROOT}/extras )
38
-
39
- # Force all environments to use the same logger level
40
- # (by default production uses :info, the others :debug)
41
- # config.log_level = :debug
42
-
43
- # Make Time.zone default to the specified zone, and make Active Record store time values
44
- # in the database in UTC, and return them converted to the specified local zone.
45
- # Run "rake -D time" for a list of tasks for finding time zone names. Comment line to use default local time.
46
- config.time_zone = 'UTC'
47
-
48
- # The internationalization framework can be changed to have another default locale (standard is :en) or more load paths.
49
- # All files from config/locales/*.rb,yml are added automatically.
50
- # config.i18n.load_path << Dir[File.join(RAILS_ROOT, 'my', 'locales', '*.{rb,yml}')]
51
- # config.i18n.default_locale = :de
52
-
53
- # Your secret key for verifying cookie session data integrity.
54
- # If you change this key, all old sessions will become invalid!
55
- # Make sure the secret is at least 30 characters and all random,
56
- # no regular words or you'll be exposed to dictionary attacks.
57
- config.action_controller.session = {
58
- :session_key => '_rails-2.2.2-xss_foliate_session',
59
- :secret => '5de3cf96a4ccb5726c5aa298b40721d88af2e77b61e6b257e69710135b989aad682d11294096e3ebe0e8161dc710398e891d687dac0e149ee73ba4494dfc7c25'
60
- }
61
-
62
- # Use the database for sessions instead of the cookie-based default,
63
- # which shouldn't be used to store highly confidential information
64
- # (create the session table with "rake db:sessions:create")
65
- # config.action_controller.session_store = :active_record_store
66
-
67
- # Use SQL instead of Active Record's schema dumper when creating the test database.
68
- # This is necessary if your schema can't be completely dumped by the schema dumper,
69
- # like if you have constraints or database-specific column types
70
- # config.active_record.schema_format = :sql
71
-
72
- # Activate observers that should always be running
73
- # Please note that observers generated using script/generate observer need to have an _observer suffix
74
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
75
- end
@@ -1,17 +0,0 @@
1
- # Settings specified here will take precedence over those in config/environment.rb
2
-
3
- # In the development environment your application's code is reloaded on
4
- # every request. This slows down response time but is perfect for development
5
- # since you don't have to restart the webserver when you make code changes.
6
- config.cache_classes = false
7
-
8
- # Log error messages when you accidentally call methods on nil.
9
- config.whiny_nils = true
10
-
11
- # Show full error reports and disable caching
12
- config.action_controller.consider_all_requests_local = true
13
- config.action_view.debug_rjs = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Don't care if the mailer can't send
17
- config.action_mailer.raise_delivery_errors = false
@@ -1,24 +0,0 @@
1
- # Settings specified here will take precedence over those in config/environment.rb
2
-
3
- # The production environment is meant for finished, "live" apps.
4
- # Code is not reloaded between requests
5
- config.cache_classes = true
6
-
7
- # Enable threaded mode
8
- # config.threadsafe!
9
-
10
- # Use a different logger for distributed setups
11
- # config.logger = SyslogLogger.new
12
-
13
- # Full error reports are disabled and caching is turned on
14
- config.action_controller.consider_all_requests_local = false
15
- config.action_controller.perform_caching = true
16
-
17
- # Use a different cache store in production
18
- # config.cache_store = :mem_cache_store
19
-
20
- # Enable serving of images, stylesheets, and javascripts from an asset server
21
- # config.action_controller.asset_host = "http://assets.example.com"
22
-
23
- # Disable delivery errors, bad email addresses will be ignored
24
- # config.action_mailer.raise_delivery_errors = false
@@ -1,22 +0,0 @@
1
- # Settings specified here will take precedence over those in config/environment.rb
2
-
3
- # The test environment is used exclusively to run your application's
4
- # test suite. You never need to work with it otherwise. Remember that
5
- # your test database is "scratch space" for the test suite and is wiped
6
- # and recreated between test runs. Don't rely on the data there!
7
- config.cache_classes = true
8
-
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
11
-
12
- # Show full error reports and disable caching
13
- config.action_controller.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Disable request forgery protection in test environment
17
- config.action_controller.allow_forgery_protection = false
18
-
19
- # Tell Action Mailer not to deliver emails to the real world.
20
- # The :test delivery method accumulates sent emails in the
21
- # ActionMailer::Base.deliveries array.
22
- config.action_mailer.delivery_method = :test
@@ -1,10 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new inflection rules using the following format
4
- # (all these examples are active by default):
5
- # ActiveSupport::Inflector.inflections do |inflect|
6
- # inflect.plural /^(ox)$/i, '\1en'
7
- # inflect.singular /^(ox)en/i, '\1'
8
- # inflect.irregular 'person', 'people'
9
- # inflect.uncountable %w( fish sheep )
10
- # end
@@ -1,2 +0,0 @@
1
- require 'loofah-activerecord'
2
- Loofah::XssFoliate.xss_foliate_all_models
@@ -1,5 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Add new mime types for use in respond_to blocks:
4
- # Mime::Type.register "text/richtext", :rtf
5
- # Mime::Type.register_alias "text/html", :iphone
@@ -1,17 +0,0 @@
1
- # These settings change the behavior of Rails 2 apps and will be defaults
2
- # for Rails 3. You can remove this initializer when Rails 3 is released.
3
-
4
- if defined?(ActiveRecord)
5
- # Include Active Record class name as root for JSON serialized output.
6
- ActiveRecord::Base.include_root_in_json = true
7
-
8
- # Store the full class name (including module namespace) in STI type column.
9
- ActiveRecord::Base.store_full_sti_class = true
10
- end
11
-
12
- # Use ISO 8601 format for JSON serialized times and dates.
13
- ActiveSupport.use_standard_json_time_format = true
14
-
15
- # Don't escape HTML entities in JSON, leave that for the #json_escape helper.
16
- # if you're including raw json in an HTML page.
17
- ActiveSupport.escape_html_entities_in_json = false
@@ -1,5 +0,0 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
-
4
- en:
5
- hello: "Hello world"
@@ -1,43 +0,0 @@
1
- ActionController::Routing::Routes.draw do |map|
2
- # The priority is based upon order of creation: first created -> highest priority.
3
-
4
- # Sample of regular route:
5
- # map.connect 'products/:id', :controller => 'catalog', :action => 'view'
6
- # Keep in mind you can assign values other than :controller and :action
7
-
8
- # Sample of named route:
9
- # map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
10
- # This route can be invoked with purchase_url(:id => product.id)
11
-
12
- # Sample resource route (maps HTTP verbs to controller actions automatically):
13
- # map.resources :products
14
-
15
- # Sample resource route with options:
16
- # map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
17
-
18
- # Sample resource route with sub-resources:
19
- # map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
20
-
21
- # Sample resource route with more complex sub-resources
22
- # map.resources :products do |products|
23
- # products.resources :comments
24
- # products.resources :sales, :collection => { :recent => :get }
25
- # end
26
-
27
- # Sample resource route within a namespace:
28
- # map.namespace :admin do |admin|
29
- # # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
30
- # admin.resources :products
31
- # end
32
-
33
- # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
34
- # map.root :controller => "welcome"
35
-
36
- # See how all your routes lay out with "rake routes"
37
-
38
- # Install the default routes as the lowest priority.
39
- # Note: These default routes make all actions in every controller accessible via GET requests. You should
40
- # consider removing the them or commenting them out if you're using named routes and resources.
41
- map.connect ':controller/:action/:id'
42
- map.connect ':controller/:action/:id.:format'
43
- end
@@ -1,11 +0,0 @@
1
- class CreatePosts < ActiveRecord::Migration
2
- def self.up
3
- create_table :posts do |t|
4
- t.column :title, :string
5
- t.column :body, :text
6
- end
7
- end
8
-
9
- def self.down
10
- end
11
- end
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
-
6
- <head>
7
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
- <title>The page you were looking for doesn't exist (404)</title>
9
- <style type="text/css">
10
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
- div.dialog {
12
- width: 25em;
13
- padding: 0 4em;
14
- margin: 4em auto 0 auto;
15
- border: 1px solid #ccc;
16
- border-right-color: #999;
17
- border-bottom-color: #999;
18
- }
19
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
- </style>
21
- </head>
22
-
23
- <body>
24
- <!-- This file lives in public/404.html -->
25
- <div class="dialog">
26
- <h1>The page you were looking for doesn't exist.</h1>
27
- <p>You may have mistyped the address or the page may have moved.</p>
28
- </div>
29
- </body>
30
- </html>
@@ -1,30 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
-
6
- <head>
7
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
- <title>The change you wanted was rejected (422)</title>
9
- <style type="text/css">
10
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
- div.dialog {
12
- width: 25em;
13
- padding: 0 4em;
14
- margin: 4em auto 0 auto;
15
- border: 1px solid #ccc;
16
- border-right-color: #999;
17
- border-bottom-color: #999;
18
- }
19
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
- </style>
21
- </head>
22
-
23
- <body>
24
- <!-- This file lives in public/422.html -->
25
- <div class="dialog">
26
- <h1>The change you wanted was rejected.</h1>
27
- <p>Maybe you tried to change something you didn't have access to.</p>
28
- </div>
29
- </body>
30
- </html>
@@ -1,33 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
-
6
- <head>
7
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
8
- <title>We're sorry, but something went wrong (500)</title>
9
- <style type="text/css">
10
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
11
- div.dialog {
12
- width: 25em;
13
- padding: 0 4em;
14
- margin: 4em auto 0 auto;
15
- border: 1px solid #ccc;
16
- border-right-color: #999;
17
- border-bottom-color: #999;
18
- }
19
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
20
- </style>
21
- </head>
22
-
23
- <body>
24
- <!-- This file lives in public/500.html -->
25
- <div class="dialog">
26
- <h1>We're sorry, but something went wrong.</h1>
27
- <p>We've been notified about this issue and we'll take a look at it shortly.</p>
28
- <p><small>(If you're the administrator of this website, then please read
29
- the log file "<%=h RAILS_ENV %>.log"
30
- to find out what went wrong.)</small></p>
31
- </div>
32
- </body>
33
- </html>
@@ -1,10 +0,0 @@
1
- #!/usr/bin/ruby1.8
2
-
3
- require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
4
-
5
- # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
6
- # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
7
- require "dispatcher"
8
-
9
- ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
10
- Dispatcher.dispatch
@@ -1,24 +0,0 @@
1
- #!/usr/bin/ruby1.8
2
- #
3
- # You may specify the path to the FastCGI crash log (a log of unhandled
4
- # exceptions which forced the FastCGI instance to exit, great for debugging)
5
- # and the number of requests to process before running garbage collection.
6
- #
7
- # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
8
- # and the GC period is nil (turned off). A reasonable number of requests
9
- # could range from 10-100 depending on the memory footprint of your app.
10
- #
11
- # Example:
12
- # # Default log path, normal GC behavior.
13
- # RailsFCGIHandler.process!
14
- #
15
- # # Default log path, 50 requests between GC.
16
- # RailsFCGIHandler.process! nil, 50
17
- #
18
- # # Custom log path, normal GC behavior.
19
- # RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
20
- #
21
- require File.dirname(__FILE__) + "/../config/environment"
22
- require 'fcgi_handler'
23
-
24
- RailsFCGIHandler.process!
@@ -1,10 +0,0 @@
1
- #!/usr/bin/ruby1.8
2
-
3
- require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
4
-
5
- # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like:
6
- # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired
7
- require "dispatcher"
8
-
9
- ADDITIONAL_LOAD_PATHS.reverse.each { |dir| $:.unshift(dir) if File.directory?(dir) } if defined?(Apache::RubyRun)
10
- Dispatcher.dispatch
@@ -1,274 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
6
- <title>Ruby on Rails: Welcome aboard</title>
7
- <style type="text/css" media="screen">
8
- body {
9
- margin: 0;
10
- margin-bottom: 25px;
11
- padding: 0;
12
- background-color: #f0f0f0;
13
- font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
14
- font-size: 13px;
15
- color: #333;
16
- }
17
-
18
- h1 {
19
- font-size: 28px;
20
- color: #000;
21
- }
22
-
23
- a {color: #03c}
24
- a:hover {
25
- background-color: #03c;
26
- color: white;
27
- text-decoration: none;
28
- }
29
-
30
-
31
- #page {
32
- background-color: #f0f0f0;
33
- width: 750px;
34
- margin: 0;
35
- margin-left: auto;
36
- margin-right: auto;
37
- }
38
-
39
- #content {
40
- float: left;
41
- background-color: white;
42
- border: 3px solid #aaa;
43
- border-top: none;
44
- padding: 25px;
45
- width: 500px;
46
- }
47
-
48
- #sidebar {
49
- float: right;
50
- width: 175px;
51
- }
52
-
53
- #footer {
54
- clear: both;
55
- }
56
-
57
-
58
- #header, #about, #getting-started {
59
- padding-left: 75px;
60
- padding-right: 30px;
61
- }
62
-
63
-
64
- #header {
65
- background-image: url("images/rails.png");
66
- background-repeat: no-repeat;
67
- background-position: top left;
68
- height: 64px;
69
- }
70
- #header h1, #header h2 {margin: 0}
71
- #header h2 {
72
- color: #888;
73
- font-weight: normal;
74
- font-size: 16px;
75
- }
76
-
77
-
78
- #about h3 {
79
- margin: 0;
80
- margin-bottom: 10px;
81
- font-size: 14px;
82
- }
83
-
84
- #about-content {
85
- background-color: #ffd;
86
- border: 1px solid #fc0;
87
- margin-left: -11px;
88
- }
89
- #about-content table {
90
- margin-top: 10px;
91
- margin-bottom: 10px;
92
- font-size: 11px;
93
- border-collapse: collapse;
94
- }
95
- #about-content td {
96
- padding: 10px;
97
- padding-top: 3px;
98
- padding-bottom: 3px;
99
- }
100
- #about-content td.name {color: #555}
101
- #about-content td.value {color: #000}
102
-
103
- #about-content.failure {
104
- background-color: #fcc;
105
- border: 1px solid #f00;
106
- }
107
- #about-content.failure p {
108
- margin: 0;
109
- padding: 10px;
110
- }
111
-
112
-
113
- #getting-started {
114
- border-top: 1px solid #ccc;
115
- margin-top: 25px;
116
- padding-top: 15px;
117
- }
118
- #getting-started h1 {
119
- margin: 0;
120
- font-size: 20px;
121
- }
122
- #getting-started h2 {
123
- margin: 0;
124
- font-size: 14px;
125
- font-weight: normal;
126
- color: #333;
127
- margin-bottom: 25px;
128
- }
129
- #getting-started ol {
130
- margin-left: 0;
131
- padding-left: 0;
132
- }
133
- #getting-started li {
134
- font-size: 18px;
135
- color: #888;
136
- margin-bottom: 25px;
137
- }
138
- #getting-started li h2 {
139
- margin: 0;
140
- font-weight: normal;
141
- font-size: 18px;
142
- color: #333;
143
- }
144
- #getting-started li p {
145
- color: #555;
146
- font-size: 13px;
147
- }
148
-
149
-
150
- #search {
151
- margin: 0;
152
- padding-top: 10px;
153
- padding-bottom: 10px;
154
- font-size: 11px;
155
- }
156
- #search input {
157
- font-size: 11px;
158
- margin: 2px;
159
- }
160
- #search-text {width: 170px}
161
-
162
-
163
- #sidebar ul {
164
- margin-left: 0;
165
- padding-left: 0;
166
- }
167
- #sidebar ul h3 {
168
- margin-top: 25px;
169
- font-size: 16px;
170
- padding-bottom: 10px;
171
- border-bottom: 1px solid #ccc;
172
- }
173
- #sidebar li {
174
- list-style-type: none;
175
- }
176
- #sidebar ul.links li {
177
- margin-bottom: 5px;
178
- }
179
-
180
- </style>
181
- <script type="text/javascript" src="javascripts/prototype.js"></script>
182
- <script type="text/javascript" src="javascripts/effects.js"></script>
183
- <script type="text/javascript">
184
- function about() {
185
- if (Element.empty('about-content')) {
186
- new Ajax.Updater('about-content', 'rails/info/properties', {
187
- method: 'get',
188
- onFailure: function() {Element.classNames('about-content').add('failure')},
189
- onComplete: function() {new Effect.BlindDown('about-content', {duration: 0.25})}
190
- });
191
- } else {
192
- new Effect[Element.visible('about-content') ?
193
- 'BlindUp' : 'BlindDown']('about-content', {duration: 0.25});
194
- }
195
- }
196
-
197
- window.onload = function() {
198
- $('search-text').value = '';
199
- $('search').onsubmit = function() {
200
- $('search-text').value = 'site:rubyonrails.org ' + $F('search-text');
201
- }
202
- }
203
- </script>
204
- </head>
205
- <body>
206
- <div id="page">
207
- <div id="sidebar">
208
- <ul id="sidebar-items">
209
- <li>
210
- <form id="search" action="http://www.google.com/search" method="get">
211
- <input type="hidden" name="hl" value="en" />
212
- <input type="text" id="search-text" name="q" value="site:rubyonrails.org " />
213
- <input type="submit" value="Search" /> the Rails site
214
- </form>
215
- </li>
216
-
217
- <li>
218
- <h3>Join the community</h3>
219
- <ul class="links">
220
- <li><a href="http://www.rubyonrails.org/">Ruby on Rails</a></li>
221
- <li><a href="http://weblog.rubyonrails.org/">Official weblog</a></li>
222
- <li><a href="http://wiki.rubyonrails.org/">Wiki</a></li>
223
- </ul>
224
- </li>
225
-
226
- <li>
227
- <h3>Browse the documentation</h3>
228
- <ul class="links">
229
- <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
230
- <li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li>
231
- <li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li>
232
- </ul>
233
- </li>
234
- </ul>
235
- </div>
236
-
237
- <div id="content">
238
- <div id="header">
239
- <h1>Welcome aboard</h1>
240
- <h2>You&rsquo;re riding Ruby on Rails!</h2>
241
- </div>
242
-
243
- <div id="about">
244
- <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
245
- <div id="about-content" style="display: none"></div>
246
- </div>
247
-
248
- <div id="getting-started">
249
- <h1>Getting started</h1>
250
- <h2>Here&rsquo;s how to get rolling:</h2>
251
-
252
- <ol>
253
- <li>
254
- <h2>Use <tt>script/generate</tt> to create your models and controllers</h2>
255
- <p>To see all available options, run it without parameters.</p>
256
- </li>
257
-
258
- <li>
259
- <h2>Set up a default route and remove or rename this file</h2>
260
- <p>Routes are set up in config/routes.rb.</p>
261
- </li>
262
-
263
- <li>
264
- <h2>Create your database</h2>
265
- <p>Run <tt>rake db:migrate</tt> to create your database. If you're not using SQLite (the default), edit <tt>config/database.yml</tt> with your username and password.</p>
266
- </li>
267
- </ol>
268
- </div>
269
- </div>
270
-
271
- <div id="footer">&nbsp;</div>
272
- </div>
273
- </body>
274
- </html>