Permalink
Browse files

Server starts on Rails 3.0

  • Loading branch information...
1 parent 2f32f63 commit 88be58c3b9c7bb1c14b1c3804f197595eb6caa7b @andmej committed Sep 29, 2011
Showing with 4,932 additions and 19,898 deletions.
  1. +2 −0 Gemfile
  2. +129 −0 Gemfile.lock
  3. +2 −5 Rakefile
  4. +1 −0 app/helpers/layout_helper.rb
  5. +2 −3 app/views/layouts/application.html.erb
  6. +1 −1 app/views/shared/_footer.html.erb
  7. +4 −0 config.ru
  8. +42 −0 config/application.rb
  9. +4 −108 config/boot.rb
  10. +2 −2 config/database.yml
  11. +4 −47 config/environment.rb
  12. +22 −13 config/environments/development.rb
  13. +41 −20 config/environments/production.rb
  14. +35 −32 config/environments/test.rb
  15. +2 −2 config/initializers/backtrace_silencers.rb
  16. +1 −1 config/initializers/inflections.rb
  17. +0 −21 config/initializers/new_rails_defaults.rb
  18. +7 −0 config/initializers/secret_token.rb
  19. +3 −10 config/initializers/session_store.rb
  20. +1 −1 config/locales/en.yml
  21. +2 −2 config/routes.rb
  22. 0 lib/tasks/.gitkeep
  23. +15 −19 public/404.html
  24. +15 −19 public/422.html
  25. +14 −18 public/500.html
  26. BIN public/images/active_scaffold/default/close_touch.png
  27. BIN public/images/active_scaffold/default/config.png
  28. BIN public/images/active_scaffold/default/gears.png
  29. +629 −130 public/javascripts/active_scaffold/default/active_scaffold.js
  30. +80 −77 public/javascripts/active_scaffold/default/dhtml_history.js
  31. +5 −3 public/javascripts/controls.js
  32. +7 −6 public/javascripts/dragdrop.js
  33. +8 −13 public/javascripts/effects.js
  34. +3,381 −1,700 public/javascripts/prototype.js
  35. +191 −0 public/javascripts/rails.js
  36. 0 public/stylesheets/.gitkeep
  37. +270 −22 public/stylesheets/active_scaffold/default/stylesheet.css
  38. +6 −0 script/rails
  39. +2 −2 test/performance/browsing_test.rb
  40. +2 −27 test/test_helper.rb
  41. 0 vendor/plugins/.gitkeep
  42. +0 −27 vendor/plugins/active_scaffold/.autotest
  43. +0 −152 vendor/plugins/active_scaffold/CHANGELOG
  44. +0 −20 vendor/plugins/active_scaffold/MIT-LICENSE
  45. +0 −32 vendor/plugins/active_scaffold/README
  46. +0 −24 vendor/plugins/active_scaffold/Rakefile
  47. +0 −17 vendor/plugins/active_scaffold/environment.rb
  48. BIN vendor/plugins/active_scaffold/frontends/default/images/add.gif
  49. BIN vendor/plugins/active_scaffold/frontends/default/images/arrow_down.gif
  50. BIN vendor/plugins/active_scaffold/frontends/default/images/arrow_up.gif
  51. BIN vendor/plugins/active_scaffold/frontends/default/images/close.gif
  52. BIN vendor/plugins/active_scaffold/frontends/default/images/cross.png
  53. BIN vendor/plugins/active_scaffold/frontends/default/images/indicator-small.gif
  54. BIN vendor/plugins/active_scaffold/frontends/default/images/indicator.gif
  55. BIN vendor/plugins/active_scaffold/frontends/default/images/magnifier.png
  56. +0 −532 vendor/plugins/active_scaffold/frontends/default/javascripts/active_scaffold.js
  57. +0 −867 vendor/plugins/active_scaffold/frontends/default/javascripts/dhtml_history.js
  58. +0 −117 vendor/plugins/active_scaffold/frontends/default/javascripts/form_enhancements.js
  59. +0 −370 vendor/plugins/active_scaffold/frontends/default/javascripts/rico_corner.js
  60. +0 −35 vendor/plugins/active_scaffold/frontends/default/stylesheets/stylesheet-ie.css
  61. +0 −845 vendor/plugins/active_scaffold/frontends/default/stylesheets/stylesheet.css
  62. +0 −36 vendor/plugins/active_scaffold/frontends/default/views/_add_existing_form.html.erb
  63. +0 −52 vendor/plugins/active_scaffold/frontends/default/views/_create_form.html.erb
  64. +0 −38 vendor/plugins/active_scaffold/frontends/default/views/_create_form_on_list.html.erb
  65. +0 −40 vendor/plugins/active_scaffold/frontends/default/views/_field_search.html.erb
  66. +0 −18 vendor/plugins/active_scaffold/frontends/default/views/_form.html.erb
  67. +0 −15 vendor/plugins/active_scaffold/frontends/default/views/_form_association.html.erb
  68. +0 −40 vendor/plugins/active_scaffold/frontends/default/views/_form_association_footer.html.erb
  69. +0 −15 vendor/plugins/active_scaffold/frontends/default/views/_form_attribute.html.erb
  70. +0 −2 vendor/plugins/active_scaffold/frontends/default/views/_form_hidden_attribute.html.erb
  71. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/_form_messages.html.erb
  72. +0 −19 vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform.html.erb
  73. +0 −10 vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform_header.html.erb
  74. +0 −31 vendor/plugins/active_scaffold/frontends/default/views/_horizontal_subform_record.html.erb
  75. +0 −23 vendor/plugins/active_scaffold/frontends/default/views/_list.html.erb
  76. +0 −26 vendor/plugins/active_scaffold/frontends/default/views/_list_actions.html.erb
  77. +0 −15 vendor/plugins/active_scaffold/frontends/default/views/_list_calculations.html.erb
  78. +0 −33 vendor/plugins/active_scaffold/frontends/default/views/_list_column_headings.html.erb
  79. +0 −14 vendor/plugins/active_scaffold/frontends/default/views/_list_header.html.erb
  80. +0 −10 vendor/plugins/active_scaffold/frontends/default/views/_list_inline_adapter.html.erb
  81. +0 −20 vendor/plugins/active_scaffold/frontends/default/views/_list_messages.html.erb
  82. +0 −11 vendor/plugins/active_scaffold/frontends/default/views/_list_pagination.html.erb
  83. +0 −28 vendor/plugins/active_scaffold/frontends/default/views/_list_pagination_links.html.erb
  84. +0 −19 vendor/plugins/active_scaffold/frontends/default/views/_list_record.html.erb
  85. +0 −9 vendor/plugins/active_scaffold/frontends/default/views/_list_record_columns.html.erb
  86. +0 −10 vendor/plugins/active_scaffold/frontends/default/views/_messages.html.erb
  87. +0 −35 vendor/plugins/active_scaffold/frontends/default/views/_nested.html.erb
  88. +0 −27 vendor/plugins/active_scaffold/frontends/default/views/_search.html.erb
  89. +0 −8 vendor/plugins/active_scaffold/frontends/default/views/_show.html.erb
  90. +0 −12 vendor/plugins/active_scaffold/frontends/default/views/_show_columns.html.erb
  91. +0 −9 vendor/plugins/active_scaffold/frontends/default/views/_update_actions.html.erb
  92. +0 −56 vendor/plugins/active_scaffold/frontends/default/views/_update_form.html.erb
  93. +0 −12 vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform.html.erb
  94. +0 −33 vendor/plugins/active_scaffold/frontends/default/views/_vertical_subform_record.html.erb
  95. +0 −16 vendor/plugins/active_scaffold/frontends/default/views/add_existing.js.rjs
  96. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/add_existing_form.html.erb
  97. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/create.html.erb
  98. +0 −13 vendor/plugins/active_scaffold/frontends/default/views/delete.html.erb
  99. +0 −10 vendor/plugins/active_scaffold/frontends/default/views/destroy.js.rjs
  100. +0 −20 vendor/plugins/active_scaffold/frontends/default/views/edit_associated.js.rjs
  101. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/field_search.html.erb
  102. +0 −1 vendor/plugins/active_scaffold/frontends/default/views/form_messages.js.rjs
  103. +0 −48 vendor/plugins/active_scaffold/frontends/default/views/list.html.erb
  104. +0 −1 vendor/plugins/active_scaffold/frontends/default/views/list.js.rjs
  105. +0 −28 vendor/plugins/active_scaffold/frontends/default/views/on_create.js.rjs
  106. +0 −18 vendor/plugins/active_scaffold/frontends/default/views/on_update.js.rjs
  107. +0 −14 vendor/plugins/active_scaffold/frontends/default/views/render_field.js.rjs
  108. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/search.html.erb
  109. +0 −5 vendor/plugins/active_scaffold/frontends/default/views/show.html.erb
  110. +0 −8 vendor/plugins/active_scaffold/frontends/default/views/update.html.erb
  111. +0 −13 vendor/plugins/active_scaffold/frontends/default/views/update_column.js.rjs
  112. +0 −1 vendor/plugins/active_scaffold/frontends/default/views/update_row.js.rjs
  113. +0 −18 vendor/plugins/active_scaffold/init.rb
  114. +0 −39 vendor/plugins/active_scaffold/install.rb
  115. +0 −36 vendor/plugins/active_scaffold/install_assets.rb
  116. +0 −134 vendor/plugins/active_scaffold/lib/active_record_permissions.rb
  117. +0 −217 vendor/plugins/active_scaffold/lib/active_scaffold.rb
  118. +0 −18 vendor/plugins/active_scaffold/lib/active_scaffold/actions/common_search.rb
  119. +0 −150 vendor/plugins/active_scaffold/lib/active_scaffold/actions/core.rb
  120. +0 −152 vendor/plugins/active_scaffold/lib/active_scaffold/actions/create.rb
  121. +0 −73 vendor/plugins/active_scaffold/lib/active_scaffold/actions/delete.rb
  122. +0 −60 vendor/plugins/active_scaffold/lib/active_scaffold/actions/field_search.rb
  123. +0 −87 vendor/plugins/active_scaffold/lib/active_scaffold/actions/list.rb
  124. +0 −73 vendor/plugins/active_scaffold/lib/active_scaffold/actions/mark.rb
  125. +0 −217 vendor/plugins/active_scaffold/lib/active_scaffold/actions/nested.rb
  126. +0 −54 vendor/plugins/active_scaffold/lib/active_scaffold/actions/search.rb
  127. +0 −54 vendor/plugins/active_scaffold/lib/active_scaffold/actions/show.rb
  128. +0 −17 vendor/plugins/active_scaffold/lib/active_scaffold/actions/subform.rb
  129. +0 −129 vendor/plugins/active_scaffold/lib/active_scaffold/actions/update.rb
  130. +0 −205 vendor/plugins/active_scaffold/lib/active_scaffold/attribute_params.rb
  131. +0 −54 vendor/plugins/active_scaffold/lib/active_scaffold/config/base.rb
  132. +0 −229 vendor/plugins/active_scaffold/lib/active_scaffold/config/core.rb
  133. +0 −43 vendor/plugins/active_scaffold/lib/active_scaffold/config/create.rb
  134. +0 −25 vendor/plugins/active_scaffold/lib/active_scaffold/config/delete.rb
  135. +0 −56 vendor/plugins/active_scaffold/lib/active_scaffold/config/field_search.rb
  136. +0 −46 vendor/plugins/active_scaffold/lib/active_scaffold/config/form.rb
  137. +0 −165 vendor/plugins/active_scaffold/lib/active_scaffold/config/list.rb
  138. +0 −35 vendor/plugins/active_scaffold/lib/active_scaffold/config/nested.rb
  139. +0 −74 vendor/plugins/active_scaffold/lib/active_scaffold/config/search.rb
  140. +0 −34 vendor/plugins/active_scaffold/lib/active_scaffold/config/show.rb
  141. +0 −35 vendor/plugins/active_scaffold/lib/active_scaffold/config/subform.rb
  142. +0 −40 vendor/plugins/active_scaffold/lib/active_scaffold/config/update.rb
  143. +0 −29 vendor/plugins/active_scaffold/lib/active_scaffold/configurable.rb
  144. +0 −173 vendor/plugins/active_scaffold/lib/active_scaffold/constraints.rb
  145. +0 −101 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_columns.rb
  146. +0 −142 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_link.rb
  147. +0 −47 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/action_links.rb
  148. +0 −45 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/actions.rb
  149. +0 −309 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/column.rb
  150. +0 −75 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/columns.rb
  151. +0 −24 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/error_message.rb
  152. +0 −62 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/set.rb
  153. +0 −159 vendor/plugins/active_scaffold/lib/active_scaffold/data_structures/sorting.rb
  154. +0 −289 vendor/plugins/active_scaffold/lib/active_scaffold/finder.rb
  155. +0 −40 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/association_helpers.rb
  156. +0 −40 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/controller_helpers.rb
  157. +0 −352 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/country_helpers.rb
  158. +0 −358 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/form_column_helpers.rb
  159. +0 −129 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/id_helpers.rb
  160. +0 −372 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/list_column_helpers.rb
  161. +0 −63 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/pagination_helpers.rb
  162. +0 −222 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/search_column_helpers.rb
  163. +0 −46 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/show_column_helpers.rb
  164. +0 −219 vendor/plugins/active_scaffold/lib/active_scaffold/helpers/view_helpers.rb
  165. +0 −72 vendor/plugins/active_scaffold/lib/active_scaffold/locale/de.rb
  166. +0 −75 vendor/plugins/active_scaffold/lib/active_scaffold/locale/en.rb
  167. +0 −73 vendor/plugins/active_scaffold/lib/active_scaffold/locale/es.yml
  168. +0 −70 vendor/plugins/active_scaffold/lib/active_scaffold/locale/fr.rb
  169. +0 −67 vendor/plugins/active_scaffold/lib/active_scaffold/locale/hu.yml
  170. +0 −68 vendor/plugins/active_scaffold/lib/active_scaffold/locale/ja.yml
  171. +0 −66 vendor/plugins/active_scaffold/lib/active_scaffold/locale/ru.yml
  172. +0 −38 vendor/plugins/active_scaffold/lib/active_scaffold/marked_model.rb
  173. +0 −52 vendor/plugins/active_scaffold/lib/bridges/bridge.rb
  174. +0 −11 vendor/plugins/active_scaffold/lib/bridges/calendar_date_select/bridge.rb
  175. +0 −87 vendor/plugins/active_scaffold/lib/bridges/calendar_date_select/lib/as_cds_bridge.rb
  176. +0 −10 vendor/plugins/active_scaffold/lib/bridges/dependent_protect/bridge.rb
  177. +0 −11 vendor/plugins/active_scaffold/lib/bridges/dependent_protect/lib/dependent_protect_bridge.rb
  178. +0 −12 vendor/plugins/active_scaffold/lib/bridges/file_column/bridge.rb
  179. +0 −46 vendor/plugins/active_scaffold/lib/bridges/file_column/lib/as_file_column_bridge.rb
  180. +0 −51 vendor/plugins/active_scaffold/lib/bridges/file_column/lib/file_column_helpers.rb
  181. +0 −32 vendor/plugins/active_scaffold/lib/bridges/file_column/lib/form_ui.rb
  182. +0 −26 vendor/plugins/active_scaffold/lib/bridges/file_column/lib/list_ui.rb
  183. +0 −43 vendor/plugins/active_scaffold/lib/bridges/file_column/test/functional/file_column_keep_test.rb
  184. +0 −9 vendor/plugins/active_scaffold/lib/bridges/file_column/test/mock_model.rb
  185. +0 −15 vendor/plugins/active_scaffold/lib/bridges/file_column/test/test_helper.rb
  186. +0 −13 vendor/plugins/active_scaffold/lib/bridges/paperclip/bridge.rb
  187. +0 −20 vendor/plugins/active_scaffold/lib/bridges/paperclip/lib/form_ui.rb
  188. +0 −16 vendor/plugins/active_scaffold/lib/bridges/paperclip/lib/list_ui.rb
  189. +0 −32 vendor/plugins/active_scaffold/lib/bridges/paperclip/lib/paperclip_bridge.rb
  190. +0 −18 vendor/plugins/active_scaffold/lib/bridges/paperclip/lib/paperclip_bridge_helpers.rb
  191. +0 −5 vendor/plugins/active_scaffold/lib/bridges/semantic_attributes/bridge.rb
  192. +0 −20 vendor/plugins/active_scaffold/lib/bridges/semantic_attributes/lib/semantic_attributes_bridge.rb
  193. +0 −5 vendor/plugins/active_scaffold/lib/bridges/tiny_mce/bridge.rb
  194. +0 −57 vendor/plugins/active_scaffold/lib/bridges/tiny_mce/lib/tiny_mce_bridge.rb
  195. +0 −9 vendor/plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/bridge.rb
  196. +0 −14 vendor/plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/lib/form_ui.rb
  197. +0 −15 ...plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/lib/unobtrusive_date_picker_bridge.rb
  198. +0 −16 vendor/plugins/active_scaffold/lib/bridges/unobtrusive_date_picker/lib/view_helpers.rb
  199. +0 −9 vendor/plugins/active_scaffold/lib/bridges/validation_reflection/bridge.rb
  200. +0 −19 vendor/plugins/active_scaffold/lib/bridges/validation_reflection/lib/validation_reflection_bridge.rb
  201. +0 −54 vendor/plugins/active_scaffold/lib/dhtml_confirm.rb
  202. +0 −20 vendor/plugins/active_scaffold/lib/extensions/action_controller_rendering.rb
  203. +0 −99 vendor/plugins/active_scaffold/lib/extensions/action_view_rendering.rb
  204. +0 −7 vendor/plugins/active_scaffold/lib/extensions/array.rb
  205. +0 −17 vendor/plugins/active_scaffold/lib/extensions/component_response_with_namespacing.rb
  206. +0 −33 vendor/plugins/active_scaffold/lib/extensions/generic_view_paths.rb
  207. +0 −10 vendor/plugins/active_scaffold/lib/extensions/localize.rb
  208. +0 −7 vendor/plugins/active_scaffold/lib/extensions/nil_id_in_url_params.rb
  209. +0 −26 vendor/plugins/active_scaffold/lib/extensions/paginator_extensions.rb
  210. +0 −27 vendor/plugins/active_scaffold/lib/extensions/resources.rb
  211. +0 −62 vendor/plugins/active_scaffold/lib/extensions/reverse_associations.rb
  212. +0 −8 vendor/plugins/active_scaffold/lib/extensions/to_label.rb
  213. +0 −61 vendor/plugins/active_scaffold/lib/extensions/unsaved_associated.rb
  214. +0 −20 vendor/plugins/active_scaffold/lib/extensions/unsaved_record.rb
  215. +0 −46 vendor/plugins/active_scaffold/lib/extensions/usa_state.rb
  216. +0 −136 vendor/plugins/active_scaffold/lib/paginator.rb
  217. +0 −68 vendor/plugins/active_scaffold/lib/responds_to_parent.rb
  218. +0 −33 vendor/plugins/active_scaffold/public/blank.html
  219. +0 −136 vendor/plugins/active_scaffold/shoulda_macros/macros.rb
  220. +0 −34 vendor/plugins/active_scaffold/test/bridges/active_scaffold_dependent_protect_test.rb
  221. +0 −90 vendor/plugins/active_scaffold/test/bridges/bridge_test.rb
  222. +0 −81 vendor/plugins/active_scaffold/test/bridges/company.rb
  223. +0 −68 vendor/plugins/active_scaffold/test/bridges/paperclip_test.rb
  224. +0 −27 vendor/plugins/active_scaffold/test/bridges/tiny_mce_test.rb
  225. +0 −49 vendor/plugins/active_scaffold/test/bridges/unobtrusive_date_picker_test.rb
  226. +0 −57 vendor/plugins/active_scaffold/test/bridges/validation_reflection_test.rb
  227. +0 −15 vendor/plugins/active_scaffold/test/config/base_test.rb
  228. +0 −55 vendor/plugins/active_scaffold/test/config/create_test.rb
  229. +0 −74 vendor/plugins/active_scaffold/test/config/list_test.rb
  230. +0 −43 vendor/plugins/active_scaffold/test/config/show_test.rb
  231. +0 −17 vendor/plugins/active_scaffold/test/config/update_test.rb
  232. +0 −36 vendor/plugins/active_scaffold/test/const_mocker.rb
  233. +0 −113 vendor/plugins/active_scaffold/test/data_structures/action_columns_test.rb
  234. +0 −78 vendor/plugins/active_scaffold/test/data_structures/action_link_test.rb
  235. +0 −78 vendor/plugins/active_scaffold/test/data_structures/action_links_test.rb
  236. +0 −25 vendor/plugins/active_scaffold/test/data_structures/actions_test.rb
  237. +0 −42 vendor/plugins/active_scaffold/test/data_structures/association_column_test.rb
  238. +0 −185 vendor/plugins/active_scaffold/test/data_structures/column_test.rb
  239. +0 −69 vendor/plugins/active_scaffold/test/data_structures/columns_test.rb
  240. +0 −28 vendor/plugins/active_scaffold/test/data_structures/error_message_test.rb
  241. +0 −86 vendor/plugins/active_scaffold/test/data_structures/set_test.rb
  242. +0 −126 vendor/plugins/active_scaffold/test/data_structures/sorting_test.rb
  243. +0 −24 vendor/plugins/active_scaffold/test/data_structures/standard_column_test.rb
  244. +0 −23 vendor/plugins/active_scaffold/test/data_structures/virtual_column_test.rb
  245. +0 −45 vendor/plugins/active_scaffold/test/extensions/active_record_test.rb
  246. +0 −12 vendor/plugins/active_scaffold/test/extensions/array_test.rb
  247. +0 −31 vendor/plugins/active_scaffold/test/helpers/form_column_helpers_test.rb
  248. +0 −31 vendor/plugins/active_scaffold/test/helpers/list_column_helpers_test.rb
  249. +0 −55 vendor/plugins/active_scaffold/test/helpers/pagination_helpers_test.rb
  250. +0 −154 vendor/plugins/active_scaffold/test/misc/active_record_permissions_test.rb
  251. +0 −146 vendor/plugins/active_scaffold/test/misc/attribute_params_test.rb
  252. +0 −96 vendor/plugins/active_scaffold/test/misc/configurable_test.rb
  253. +0 −193 vendor/plugins/active_scaffold/test/misc/constraints_test.rb
  254. +0 −92 vendor/plugins/active_scaffold/test/misc/finder_test.rb
  255. +0 −12 vendor/plugins/active_scaffold/test/misc/lang_test.rb
  256. +0 −2 vendor/plugins/active_scaffold/test/mock_app/.gitignore
  257. +0 −10 vendor/plugins/active_scaffold/test/mock_app/app/controllers/application_controller.rb
  258. +0 −3 vendor/plugins/active_scaffold/test/mock_app/app/helpers/application_helper.rb
  259. +0 −110 vendor/plugins/active_scaffold/test/mock_app/config/boot.rb
  260. +0 −16 vendor/plugins/active_scaffold/test/mock_app/config/database.yml
  261. +0 −43 vendor/plugins/active_scaffold/test/mock_app/config/environment.rb
  262. +0 −17 vendor/plugins/active_scaffold/test/mock_app/config/environments/development.rb
  263. +0 −28 vendor/plugins/active_scaffold/test/mock_app/config/environments/production.rb
  264. +0 −28 vendor/plugins/active_scaffold/test/mock_app/config/environments/test.rb
  265. +0 −7 vendor/plugins/active_scaffold/test/mock_app/config/initializers/backtrace_silencers.rb
  266. +0 −10 vendor/plugins/active_scaffold/test/mock_app/config/initializers/inflections.rb
  267. +0 −5 vendor/plugins/active_scaffold/test/mock_app/config/initializers/mime_types.rb
  268. +0 −19 vendor/plugins/active_scaffold/test/mock_app/config/initializers/new_rails_defaults.rb
  269. +0 −15 vendor/plugins/active_scaffold/test/mock_app/config/initializers/session_store.rb
  270. +0 −5 vendor/plugins/active_scaffold/test/mock_app/config/locales/en.yml
  271. +0 −43 vendor/plugins/active_scaffold/test/mock_app/config/routes.rb
  272. +0 −1 vendor/plugins/active_scaffold/test/mock_app/db/test.sqlite3
  273. +0 −33 vendor/plugins/active_scaffold/test/mock_app/public/blank.html
  274. +0 −2 vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/DO_NOT_EDIT
  275. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/add.gif
  276. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/arrow_down.gif
  277. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/arrow_up.gif
  278. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/close.gif
  279. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/cross.png
  280. BIN ...r/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/indicator-small.gif
  281. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/indicator.gif
  282. BIN vendor/plugins/active_scaffold/test/mock_app/public/images/active_scaffold/default/magnifier.png
  283. +0 −2 vendor/plugins/active_scaffold/test/mock_app/public/javascripts/active_scaffold/DO_NOT_EDIT
  284. +0 −532 ...ugins/active_scaffold/test/mock_app/public/javascripts/active_scaffold/default/active_scaffold.js
  285. +0 −867 ...plugins/active_scaffold/test/mock_app/public/javascripts/active_scaffold/default/dhtml_history.js
  286. +0 −117 ...ins/active_scaffold/test/mock_app/public/javascripts/active_scaffold/default/form_enhancements.js
  287. +0 −370 ...r/plugins/active_scaffold/test/mock_app/public/javascripts/active_scaffold/default/rico_corner.js
  288. +0 −2 vendor/plugins/active_scaffold/test/mock_app/public/stylesheets/active_scaffold/DO_NOT_EDIT
  289. +0 −35 ...lugins/active_scaffold/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet-ie.css
  290. +0 −845 ...r/plugins/active_scaffold/test/mock_app/public/stylesheets/active_scaffold/default/stylesheet.css
  291. +0 −55 vendor/plugins/active_scaffold/test/model_stub.rb
  292. +0 −8 vendor/plugins/active_scaffold/test/run_all.rb
  293. +0 −39 vendor/plugins/active_scaffold/test/test_helper.rb
  294. +0 −13 vendor/plugins/active_scaffold/uninstall.rb
View
@@ -3,6 +3,7 @@
source 'http://rubygems.org'
gem 'rails', '3.0.6'
+gem 'mysql2', '~> 0.2.11'
gem 'twitter'
gem 'RedCloth'
@@ -11,3 +12,4 @@ source 'http://gems.github.com/'
gem 'augustl-redclothcoderay', :require => 'redclothcoderay'
gem 'authlogic'
gem 'paperclip'
+gem 'active_scaffold', :git => 'git://github.com/activescaffold/active_scaffold.git', :branch => 'rails-3.0'
View
@@ -0,0 +1,129 @@
+GIT
+ remote: git://github.com/activescaffold/active_scaffold.git
+ revision: 377095b753ae6d847b42f42b994a8de6b3708e33
+ branch: rails-3.0
+ specs:
+ active_scaffold (3.0.23)
+ rails (~> 3.0.0)
+ render_component_vho
+ verification
+
+GEM
+ remote: http://rubygems.org/
+ remote: http://gems.github.com/
+ specs:
+ RedCloth (4.2.8)
+ abstract (1.0.0)
+ actionmailer (3.0.6)
+ actionpack (= 3.0.6)
+ mail (~> 2.2.15)
+ actionpack (3.0.6)
+ activemodel (= 3.0.6)
+ activesupport (= 3.0.6)
+ builder (~> 2.1.2)
+ erubis (~> 2.6.6)
+ i18n (~> 0.5.0)
+ rack (~> 1.2.1)
+ rack-mount (~> 0.6.14)
+ rack-test (~> 0.5.7)
+ tzinfo (~> 0.3.23)
+ activemodel (3.0.6)
+ activesupport (= 3.0.6)
+ builder (~> 2.1.2)
+ i18n (~> 0.5.0)
+ activerecord (3.0.6)
+ activemodel (= 3.0.6)
+ activesupport (= 3.0.6)
+ arel (~> 2.0.2)
+ tzinfo (~> 0.3.23)
+ activeresource (3.0.6)
+ activemodel (= 3.0.6)
+ activesupport (= 3.0.6)
+ activesupport (3.0.6)
+ addressable (2.2.6)
+ arel (2.0.10)
+ augustl-redclothcoderay (0.3.5)
+ RedCloth
+ coderay
+ authlogic (2.1.6)
+ activesupport
+ builder (2.1.2)
+ cocaine (0.2.0)
+ coderay (1.0.0)
+ erubis (2.6.6)
+ abstract (>= 1.0.0)
+ faraday (0.7.4)
+ addressable (~> 2.2.6)
+ multipart-post (~> 1.1.0)
+ rack (< 2, >= 1.1.0)
+ faraday_middleware (0.7.0)
+ faraday (~> 0.7.3)
+ hashie (1.1.0)
+ i18n (0.5.0)
+ mail (2.2.19)
+ activesupport (>= 2.3.6)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ multi_json (1.0.3)
+ multi_xml (0.4.1)
+ multipart-post (1.1.3)
+ mysql2 (0.2.13)
+ paperclip (2.4.2)
+ activerecord (>= 2.3.0)
+ activesupport (>= 2.3.2)
+ cocaine (>= 0.0.2)
+ mime-types
+ polyglot (0.3.2)
+ rack (1.2.4)
+ rack-mount (0.6.14)
+ rack (>= 1.0.0)
+ rack-test (0.5.7)
+ rack (>= 1.0)
+ rails (3.0.6)
+ actionmailer (= 3.0.6)
+ actionpack (= 3.0.6)
+ activerecord (= 3.0.6)
+ activeresource (= 3.0.6)
+ activesupport (= 3.0.6)
+ bundler (~> 1.0)
+ railties (= 3.0.6)
+ railties (3.0.6)
+ actionpack (= 3.0.6)
+ activesupport (= 3.0.6)
+ rake (>= 0.8.7)
+ thor (~> 0.14.4)
+ rake (0.9.2)
+ render_component_vho (3.0.3)
+ railties (~> 3.0.0)
+ simple_oauth (0.1.5)
+ thor (0.14.6)
+ treetop (1.4.10)
+ polyglot
+ polyglot (>= 0.3.1)
+ twitter (1.7.2)
+ faraday (~> 0.7.4)
+ faraday_middleware (~> 0.7.0)
+ hashie (~> 1.1.0)
+ multi_json (~> 1.0.0)
+ multi_xml (~> 0.4.0)
+ simple_oauth (~> 0.1.5)
+ tzinfo (0.3.29)
+ verification (1.0.1)
+ actionpack (~> 3.0.0)
+ activesupport (~> 3.0.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ RedCloth
+ active_scaffold!
+ augustl-redclothcoderay
+ authlogic
+ coderay
+ mysql2 (~> 0.2.11)
+ paperclip
+ rails (= 3.0.6)
+ twitter
View
@@ -1,10 +1,7 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
-
+require File.expand_path('../config/application', __FILE__)
require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-require 'tasks/rails'
+AndrEsmejia::Application.load_tasks
@@ -1,3 +1,4 @@
+# encoding: utf-8
# These helper methods can be called in your template to set variables to be used in the layout
# This module should be included in all views globally,
# to do so you may need to add this line to your ApplicationController
@@ -1,6 +1,5 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
<head>
<title><%= h(yield(:title) || "Andrés Mejía - Fantastic Ruby on Rails developer") %></title>
<%= stylesheet_link_tag 'application' %>
@@ -1,7 +1,7 @@
<div id="footer">
<div id="latest-tweets">
<h1>Latest tweets</h1>
- <%= render :partial => "shared/latest_tweets", :locals => { :tweets => Twitter::Search.new.from("andmej").fetch.results } %>
+ <%= render :partial => "shared/latest_tweets", :locals => { :tweets => Twitter::Search.new.from("andmej").fetch } %>
</div>
<div id="latest-posts">
View
@@ -0,0 +1,4 @@
+# This file is used by Rack-based servers to start the application.
+
+require ::File.expand_path('../config/environment', __FILE__)
+run AndrEsmejia::Application
View
@@ -0,0 +1,42 @@
+require File.expand_path('../boot', __FILE__)
+
+require 'rails/all'
+
+# If you have a Gemfile, require the gems listed there, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(:default, Rails.env) if defined?(Bundler)
+
+module AndrEsmejia
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+
+ # Custom directories with classes and modules you want to be autoloadable.
+ # config.autoload_paths += %W(#{config.root}/extras)
+
+ # Only load the plugins named here, in the order given (default is alphabetical).
+ # :all can be used as a placeholder for all plugins not explicitly named.
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
+
+ # Activate observers that should always be running.
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
+
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
+ config.time_zone = 'Bogota'
+
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
+ # config.i18n.default_locale = :de
+
+ # JavaScript files you want as :defaults (application.js is always included).
+ # config.action_view.javascript_expansions[:defaults] = %w(jquery rails)
+
+ # Configure the default encoding used in templates for Ruby 1.9.
+ config.encoding = "utf-8"
+
+ # Configure sensitive parameters which will be filtered from the log file.
+ config.filter_parameters += [:password]
+ end
+end
View
@@ -1,110 +1,6 @@
-# Don't change this file!
-# Configure your app in config/environment.rb and config/environments/*.rb
+require 'rubygems'
-RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
+# Set up gems listed in the Gemfile.
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
-module Rails
- class << self
- def boot!
- unless booted?
- preinitialize
- pick_boot.run
- end
- end
-
- def booted?
- defined? Rails::Initializer
- end
-
- def pick_boot
- (vendor_rails? ? VendorBoot : GemBoot).new
- end
-
- def vendor_rails?
- File.exist?("#{RAILS_ROOT}/vendor/rails")
- end
-
- def preinitialize
- load(preinitializer_path) if File.exist?(preinitializer_path)
- end
-
- def preinitializer_path
- "#{RAILS_ROOT}/config/preinitializer.rb"
- end
- end
-
- class Boot
- def run
- load_initializer
- Rails::Initializer.run(:set_load_path)
- end
- end
-
- class VendorBoot < Boot
- def load_initializer
- require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
- Rails::Initializer.run(:install_gem_spec_stubs)
- Rails::GemDependency.add_frozen_gem_path
- end
- end
-
- class GemBoot < Boot
- def load_initializer
- self.class.load_rubygems
- load_rails_gem
- require 'initializer'
- end
-
- def load_rails_gem
- if version = self.class.gem_version
- gem 'rails', version
- else
- gem 'rails'
- end
- rescue Gem::LoadError => load_error
- $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
- exit 1
- end
-
- class << self
- def rubygems_version
- Gem::RubyGemsVersion rescue nil
- end
-
- def gem_version
- if defined? RAILS_GEM_VERSION
- RAILS_GEM_VERSION
- elsif ENV.include?('RAILS_GEM_VERSION')
- ENV['RAILS_GEM_VERSION']
- else
- parse_gem_version(read_environment_rb)
- end
- end
-
- def load_rubygems
- min_version = '1.3.2'
- require 'rubygems'
- unless rubygems_version >= min_version
- $stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
- exit 1
- end
-
- rescue LoadError
- $stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
- exit 1
- end
-
- def parse_gem_version(text)
- $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
- end
-
- private
- def read_environment_rb
- File.read("#{RAILS_ROOT}/config/environment.rb")
- end
- end
- end
-end
-
-# All that for this:
-Rails.boot!
+require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
View
@@ -1,11 +1,11 @@
development:
- adapter: mysql
+ adapter: mysql2
database: andr.esmejia_development
user: root
password:
test:
- adapter: mysql
+ adapter: mysql2
database: andr.esmejia_test
user: root
password:
Oops, something went wrong.

0 comments on commit 88be58c

Please sign in to comment.