webroar 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1735) hide show
  1. data/Rakefile +1 -1
  2. data/bin/webroar +2 -1
  3. data/bin/webroar-analyzer +1 -1
  4. data/conf/mime_type.yml +165 -0
  5. data/doc/user-guide.html +37 -17
  6. data/doc/user-guide.txt +11 -6
  7. data/lib/command_runner.rb +1 -1
  8. data/lib/constant.rb +1 -1
  9. data/lib/dependencies.rb +1 -1
  10. data/lib/installer.rb +118 -162
  11. data/lib/user_interaction.rb +132 -0
  12. data/lib/webroar_command.rb +1 -1
  13. data/src/admin_panel/app/controllers/admin_controller.rb +1 -1
  14. data/src/admin_panel/app/controllers/application_controller.rb +1 -1
  15. data/src/admin_panel/app/controllers/application_specification_controller.rb +49 -45
  16. data/src/admin_panel/app/controllers/exceptions_controller.rb +1 -1
  17. data/src/admin_panel/app/controllers/graph_controller.rb +116 -22
  18. data/src/admin_panel/app/controllers/mail_specification_controller.rb +11 -107
  19. data/src/admin_panel/app/controllers/server_specification_controller.rb +6 -8
  20. data/src/admin_panel/app/helpers/admin_helper.rb +8 -7
  21. data/src/admin_panel/app/helpers/application_helper.rb +1 -39
  22. data/src/admin_panel/app/helpers/exceptions_helper.rb +1 -1
  23. data/src/admin_panel/app/helpers/graph_helper.rb +1 -1
  24. data/src/admin_panel/app/models/app.rb +39 -3
  25. data/src/admin_panel/app/models/app_exception.rb +1 -1
  26. data/src/admin_panel/app/models/app_time_sample.rb +2 -2
  27. data/src/admin_panel/app/models/application_specification.rb +34 -10
  28. data/src/admin_panel/app/models/mail_specification.rb +139 -0
  29. data/src/admin_panel/app/models/pseudo_model.rb +1 -1
  30. data/src/admin_panel/app/models/resource_usage.rb +3 -3
  31. data/src/admin_panel/app/models/server_specification.rb +5 -5
  32. data/src/admin_panel/app/models/url_breakup_time_sample.rb +1 -1
  33. data/src/admin_panel/app/models/url_time_sample.rb +6 -6
  34. data/src/admin_panel/app/models/user.rb +1 -1
  35. data/src/admin_panel/app/views/admin/_add_div.html.erb +1 -1
  36. data/src/admin_panel/app/views/admin/_application_table.html.erb +1 -1
  37. data/src/admin_panel/app/views/admin/change_password_form.html.erb +1 -1
  38. data/src/admin_panel/app/views/admin/configuration.html.erb +1 -8
  39. data/src/admin_panel/app/views/admin/home.html.erb +1 -1
  40. data/src/admin_panel/app/views/admin/index.html.erb +1 -1
  41. data/src/admin_panel/app/views/application_specification/{_application_form.html.erb → _application_specification_form.html.erb} +29 -29
  42. data/src/admin_panel/app/views/application_specification/add_application_form.html.erb +3 -3
  43. data/src/admin_panel/app/views/application_specification/edit_application_form.html.erb +3 -3
  44. data/src/admin_panel/app/views/exceptions/_close_exception_list_partial.html.erb +1 -1
  45. data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +1 -1
  46. data/src/admin_panel/app/views/exceptions/_exceptions_listing_partial.html.erb +1 -1
  47. data/src/admin_panel/app/views/exceptions/_ignored_exception_list_partial.html.erb +1 -1
  48. data/src/admin_panel/app/views/exceptions/_link_partial.html.erb +1 -1
  49. data/src/admin_panel/app/views/exceptions/_show.html.erb +1 -1
  50. data/src/admin_panel/app/views/exceptions/index.html.erb +2 -2
  51. data/src/admin_panel/app/views/graph/_database_usage_graph.html.erb +1 -1
  52. data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
  53. data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +1 -1
  54. data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +1 -1
  55. data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +1 -1
  56. data/src/admin_panel/app/views/graph/_get_url_breakup_data.html.erb +1 -1
  57. data/src/admin_panel/app/views/graph/_get_url_data.html.erb +1 -1
  58. data/src/admin_panel/app/views/graph/_graph_page.html.erb +1 -1
  59. data/src/admin_panel/app/views/graph/_javascript_partial.html.erb +21 -0
  60. data/src/admin_panel/app/views/graph/_pie.html.erb +1 -1
  61. data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
  62. data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
  63. data/src/admin_panel/app/views/graph/_resource_usage_graph_app.html.erb +1 -1
  64. data/src/admin_panel/app/views/graph/_resource_usage_graph_server.html.erb +1 -1
  65. data/src/admin_panel/app/views/graph/_slider_partial.html.erb +20 -0
  66. data/src/admin_panel/app/views/graph/_throughput_graph.html.erb +1 -1
  67. data/src/admin_panel/app/views/graph/_url_breakup_graph.html.erb +1 -1
  68. data/src/admin_panel/app/views/graph/_url_calls_graph.html.erb +1 -1
  69. data/src/admin_panel/app/views/graph/index.html.erb +1 -1
  70. data/src/admin_panel/app/views/layouts/application.html.erb +27 -25
  71. data/src/admin_panel/app/views/layouts/index.html.erb +2 -2
  72. data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +1 -1
  73. data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +1 -1
  74. data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +1 -1
  75. data/src/admin_panel/config/environment.rb +2 -1
  76. data/src/admin_panel/config/initializers/application_constants.rb +5 -2
  77. data/src/admin_panel/config/initializers/ssl.rb +1 -1
  78. data/src/admin_panel/db/migrate/20081020052652_create_apps.rb +1 -1
  79. data/src/admin_panel/db/migrate/20081020052934_create_resource_usages.rb +1 -1
  80. data/src/admin_panel/db/migrate/20081020053129_create_app_time_samples.rb +1 -1
  81. data/src/admin_panel/db/migrate/20081020053411_create_url_time_samples.rb +1 -1
  82. data/src/admin_panel/db/migrate/20081020053624_create_url_breakup_time_samples.rb +1 -1
  83. data/src/admin_panel/db/migrate/20081021005144_add_constraints.rb +1 -1
  84. data/src/admin_panel/db/migrate/20090407052622_create_app_exceptions.rb +1 -1
  85. data/src/admin_panel/lib/asset_tag_helper_ext.rb +18 -0
  86. data/src/admin_panel/lib/control.rb +1 -1
  87. data/src/admin_panel/lib/graph_controller_extensions/database_analytics.rb +1 -1
  88. data/src/admin_panel/lib/graph_controller_extensions/resource_usage_analytics.rb +1 -1
  89. data/src/admin_panel/lib/graph_controller_extensions/throughput_analytics.rb +1 -1
  90. data/src/admin_panel/lib/graph_controller_extensions/url_analytics.rb +9 -5
  91. data/src/admin_panel/lib/graph_controller_extensions/url_breakup_analytics.rb +20 -14
  92. data/src/admin_panel/lib/scgi.rb +1 -1
  93. data/src/admin_panel/lib/yaml_writer.rb +34 -21
  94. data/src/admin_panel/public/favicon.ico +0 -0
  95. data/src/admin_panel/public/images/close.gif +0 -0
  96. data/src/admin_panel/public/images/external.gif +0 -0
  97. data/src/admin_panel/public/javascripts/application.js +17 -17
  98. data/src/admin_panel/public/javascripts/swfobject.js +4 -4
  99. data/src/admin_panel/public/open-flash-chart.swf +0 -0
  100. data/src/admin_panel/public/stylesheets/netscape/login.css +1 -1
  101. data/src/admin_panel/public/stylesheets/netscape/style.css +96 -101
  102. data/src/admin_panel/public/stylesheets/other/login.css +1 -1
  103. data/src/admin_panel/public/stylesheets/other/style.css +97 -100
  104. data/src/admin_panel/public/stylesheets/safari/login.css +1 -1
  105. data/src/admin_panel/public/stylesheets/safari/style.css +97 -101
  106. data/src/admin_panel/test/functional/admin_controller_test.rb +10 -10
  107. data/src/admin_panel/test/functional/application_specification_controller_test.rb +7 -5
  108. data/src/admin_panel/test/functional/exceptions_controller_test.rb +2 -1
  109. data/src/admin_panel/test/functional/graph_controller_test.rb +3 -3
  110. data/src/admin_panel/test/test_helper.rb +1 -1
  111. data/src/admin_panel/test/unit/app_exception_test.rb +2 -1
  112. data/src/admin_panel/test/unit/app_test.rb +5 -4
  113. data/src/admin_panel/test/unit/app_time_sample_test.rb +4 -2
  114. data/src/admin_panel/test/unit/helpers/exceptions_helper_test.rb +1 -1
  115. data/src/admin_panel/test/unit/resource_usage_test.rb +6 -2
  116. data/src/admin_panel/test/unit/url_breakup_time_sample_test.rb +1 -1
  117. data/src/admin_panel/test/unit/url_time_sample_test.rb +3 -2
  118. data/src/admin_panel/vendor/plugins/open_flash_chart_2/CHANGES +29 -0
  119. data/src/admin_panel/vendor/plugins/open_flash_chart_2/MIT-LICENSE +0 -2
  120. data/src/admin_panel/vendor/plugins/open_flash_chart_2/README +6 -56
  121. data/src/admin_panel/vendor/plugins/open_flash_chart_2/TODO +2 -7
  122. data/src/admin_panel/vendor/plugins/open_flash_chart_2/install.rb +1 -1
  123. data/src/admin_panel/vendor/plugins/open_flash_chart_2/lib/open_flash_chart_2.rb +242 -513
  124. data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/VERSION.txt +2 -0
  125. data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/open-flash-chart.swf +0 -0
  126. data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/swfobject.js +4 -4
  127. data/src/admin_panel/vendor/plugins/open_flash_chart_2/tasks/open_flash_chart_tasks.rake +14 -6
  128. data/src/head/wr_access_log.c +6 -6
  129. data/src/head/wr_access_log.h +1 -1
  130. data/src/head/wr_application.c +57 -23
  131. data/src/head/wr_application.h +1 -1
  132. data/src/head/wr_config.h +28 -3
  133. data/src/head/wr_configurator.c +61 -7
  134. data/src/head/wr_configurator.h +4 -3
  135. data/src/head/wr_connection.c +23 -19
  136. data/src/head/wr_connection.h +4 -3
  137. data/src/head/wr_controller.c +38 -191
  138. data/src/head/wr_controller.h +4 -4
  139. data/src/head/wr_main.c +87 -5
  140. data/src/head/wr_request.c +172 -156
  141. data/src/head/wr_request.h +4 -13
  142. data/src/head/wr_resolver.c +58 -7
  143. data/src/head/wr_resolver.h +1 -1
  144. data/src/head/wr_server.c +7 -1
  145. data/src/head/wr_server.h +2 -1
  146. data/src/head/wr_worker.c +66 -60
  147. data/src/head/wr_worker.h +1 -1
  148. data/src/helper/wr_helper.h +2 -1
  149. data/src/helper/wr_logger.c +9 -1
  150. data/src/helper/wr_logger.h +2 -1
  151. data/src/helper/wr_macro.h +3 -1
  152. data/src/helper/wr_msg_queue_client.c +129 -0
  153. data/src/helper/wr_msg_queue_client.h +44 -0
  154. data/src/helper/wr_queue.c +1 -1
  155. data/src/helper/wr_queue.h +1 -1
  156. data/src/helper/wr_scgi.c +291 -261
  157. data/src/helper/wr_scgi.h +42 -54
  158. data/src/helper/wr_string.c +53 -1
  159. data/src/helper/wr_string.h +30 -12
  160. data/src/helper/wr_util.c +80 -1
  161. data/src/helper/wr_util.h +17 -1
  162. data/src/helper/wr_yaml_parser.c +1 -1
  163. data/src/helper/wr_yaml_parser.h +1 -1
  164. data/src/ruby_lib/analyzer/db_connect.rb +8 -5
  165. data/src/ruby_lib/analyzer/logger.rb +3 -2
  166. data/src/ruby_lib/analyzer/message_analyzer.rb +8 -15
  167. data/src/ruby_lib/analyzer/message_reader.rb +4 -3
  168. data/src/ruby_lib/analyzer/process_helper.rb +1 -1
  169. data/src/ruby_lib/analyzer/resources_analyzer.rb +21 -5
  170. data/src/ruby_lib/analyzer/user_defined_exception.rb +1 -1
  171. data/src/ruby_lib/analyzer/webroar_analyzer.rb +1 -1
  172. data/src/ruby_lib/analyzer/webroar_analyzer_script_runner.rb +10 -9
  173. data/src/ruby_lib/exception_tracker/instrumentation/action_controller.rb +1 -1
  174. data/src/ruby_lib/exception_tracker/instrumentation/instrumentation.rb +1 -1
  175. data/src/ruby_lib/exception_tracker/instrumentation/rails.rb +1 -1
  176. data/src/ruby_lib/exception_tracker/webroar_exception.rb +1 -1
  177. data/src/ruby_lib/mailer/smtpmail.rb +7 -4
  178. data/src/ruby_lib/profiler/instrumentation/action_controller.rb +1 -1
  179. data/src/ruby_lib/profiler/instrumentation/active_record.rb +1 -1
  180. data/src/ruby_lib/profiler/instrumentation/instrumentation.rb +1 -1
  181. data/src/ruby_lib/profiler/instrumentation/rails.rb +1 -1
  182. data/src/ruby_lib/profiler/message_dispatcher.rb +9 -10
  183. data/src/ruby_lib/profiler/webroar_profiling.rb +1 -1
  184. data/src/ruby_lib/rack/adapter/rack.rb +1 -1
  185. data/src/ruby_lib/rack/adapter/rails.rb +2 -2
  186. data/src/ruby_lib/ruby_interface/adapter.rb +1 -1
  187. data/src/ruby_lib/ruby_interface/client.rb +1 -1
  188. data/src/ruby_lib/ruby_interface/constants.rb +1 -1
  189. data/src/ruby_lib/ruby_interface/deflater.rb +9 -0
  190. data/src/ruby_lib/ruby_interface/logger.rb +1 -1
  191. data/src/ruby_lib/ruby_interface/request_body.rb +1 -1
  192. data/src/ruby_lib/ruby_interface/request_handler.rb +1 -1
  193. data/src/ruby_lib/ruby_interface/ruby_interface.rb +1 -1
  194. data/src/ruby_lib/ruby_interface/utils.rb +1 -1
  195. data/src/ruby_lib/ruby_interface/version.rb +2 -2
  196. data/src/ruby_lib/webroar_app_loader.rb +1 -1
  197. data/src/worker/wkr_controller.c +58 -60
  198. data/src/worker/wkr_http.c +48 -27
  199. data/src/worker/wkr_http.h +2 -1
  200. data/src/worker/wkr_http_request.c +29 -29
  201. data/src/worker/wkr_http_request.h +2 -2
  202. data/src/worker/wkr_http_response.c +175 -102
  203. data/src/worker/wkr_http_response.h +10 -4
  204. data/src/worker/wkr_main.c +137 -21
  205. data/src/worker/wkr_static.c +509 -0
  206. data/src/worker/wkr_static.h +40 -0
  207. data/src/worker/worker.c +5 -5
  208. data/src/worker/worker.h +7 -5
  209. data/tasks/compile.rake +10 -6
  210. data/tasks/gem.rake +16 -4
  211. data/tasks/test.rake +6 -2
  212. data/test/spec/access_log_spec.rb +1 -1
  213. data/test/spec/analytics_spec.rb +1 -1
  214. data/test/spec/conditional_spec.rb +1 -1
  215. data/test/spec/connection_keep_alive_spec.rb +1 -1
  216. data/test/spec/content_encoding_spec.rb +1 -1
  217. data/test/spec/heart_beat_spec.rb +1 -1
  218. data/test/spec/host_name_spec.rb +1 -1
  219. data/test/spec/http_request_parser_spec.rb +1 -1
  220. data/test/spec/http_spec.rb +1 -1
  221. data/test/spec/spec_helper.rb +8 -8
  222. data/test/spec/test_app/app/controllers/application_controller.rb +1 -1
  223. data/test/spec/test_app/app/controllers/test_controller.rb +1 -1
  224. data/test/spec/test_app/app/controllers/users_controller.rb +1 -1
  225. data/test/spec/test_app/app/helpers/application_helper.rb +1 -1
  226. data/test/spec/test_app/app/helpers/test_helper.rb +1 -1
  227. data/test/spec/test_app/app/helpers/users_helper.rb +1 -1
  228. data/test/spec/test_app/app/models/user.rb +1 -1
  229. data/test/spec/test_app/app/views/layouts/users.html.erb +1 -1
  230. data/test/spec/test_app/app/views/test/post_data.html.erb +1 -1
  231. data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
  232. data/test/spec/test_app/app/views/users/edit.html.erb +1 -1
  233. data/test/spec/test_app/app/views/users/index.html.erb +1 -1
  234. data/test/spec/test_app/app/views/users/new.html.erb +1 -1
  235. data/test/spec/test_app/app/views/users/show.html.erb +1 -1
  236. data/test/spec/test_app/db/migrate/20090602102438_create_users.rb +1 -1
  237. data/test/spec/upload_helper.rb +1 -1
  238. data/test/spec/webroar_command_spec.rb +1 -1
  239. data/test/unit/queue_test.c +1 -1
  240. data/test/unit/scgi_test.c +69 -66
  241. data/test/unit/test.c +1 -1
  242. data/test/unit/test.h +1 -1
  243. data/test/unit/ut_test.c +1 -1
  244. data/test/unit/ut_test.h +1 -1
  245. data/test/unit/util_test.c +1 -1
  246. data/test/unit/yaml_test.c +1 -1
  247. metadata +378 -1847
  248. data/src/admin_panel/public/blank_iframe.html +0 -2
  249. data/src/admin_panel/public/images/calendar_date_select/calendar.gif +0 -0
  250. data/src/admin_panel/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  251. data/src/admin_panel/public/javascripts/calendar_date_select/format_american.js +0 -34
  252. data/src/admin_panel/public/javascripts/calendar_date_select/format_db.js +0 -27
  253. data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  254. data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  255. data/src/admin_panel/public/javascripts/calendar_date_select/format_finnish.js +0 -32
  256. data/src/admin_panel/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
  257. data/src/admin_panel/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  258. data/src/admin_panel/public/javascripts/calendar_date_select/format_italian.js +0 -24
  259. data/src/admin_panel/public/javascripts/calendar_date_select/locale/de.js +0 -11
  260. data/src/admin_panel/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  261. data/src/admin_panel/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  262. data/src/admin_panel/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  263. data/src/admin_panel/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  264. data/src/admin_panel/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  265. data/src/admin_panel/public/stylesheets/calendar_date_select/blue.css +0 -130
  266. data/src/admin_panel/public/stylesheets/calendar_date_select/default.css +0 -135
  267. data/src/admin_panel/public/stylesheets/calendar_date_select/plain.css +0 -128
  268. data/src/admin_panel/public/stylesheets/calendar_date_select/red.css +0 -135
  269. data/src/admin_panel/public/stylesheets/calendar_date_select/silver.css +0 -133
  270. data/src/admin_panel/vendor/rails/actionmailer/CHANGELOG +0 -358
  271. data/src/admin_panel/vendor/rails/actionmailer/MIT-LICENSE +0 -21
  272. data/src/admin_panel/vendor/rails/actionmailer/README +0 -149
  273. data/src/admin_panel/vendor/rails/actionmailer/Rakefile +0 -98
  274. data/src/admin_panel/vendor/rails/actionmailer/install.rb +0 -30
  275. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -30
  276. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/base.rb +0 -705
  277. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +0 -113
  278. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -17
  279. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part.rb +0 -107
  280. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +0 -55
  281. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -61
  282. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +0 -64
  283. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +0 -68
  284. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -7
  285. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +0 -1466
  286. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +0 -10
  287. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +0 -426
  288. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -46
  289. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +0 -46
  290. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +0 -41
  291. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +0 -67
  292. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +0 -63
  293. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +0 -581
  294. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +0 -960
  295. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +0 -9
  296. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +0 -1130
  297. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +0 -3
  298. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +0 -578
  299. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +0 -495
  300. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +0 -6
  301. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +0 -3
  302. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +0 -248
  303. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +0 -132
  304. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -1476
  305. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +0 -379
  306. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +0 -118
  307. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +0 -58
  308. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +0 -49
  309. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +0 -261
  310. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +0 -280
  311. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +0 -337
  312. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +0 -39
  313. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +0 -5
  314. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +0 -17
  315. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/version.rb +0 -9
  316. data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer.rb +0 -62
  317. data/src/admin_panel/vendor/rails/actionmailer/lib/actionmailer.rb +0 -1
  318. data/src/admin_panel/vendor/rails/actionmailer/test/abstract_unit.rb +0 -65
  319. data/src/admin_panel/vendor/rails/actionmailer/test/asset_host_test.rb +0 -54
  320. data/src/admin_panel/vendor/rails/actionmailer/test/delivery_method_test.rb +0 -51
  321. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb +0 -1
  322. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb +0 -1
  323. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb +0 -1
  324. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +0 -1
  325. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb +0 -1
  326. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb +0 -1
  327. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -1
  328. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -1
  329. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -1
  330. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -1
  331. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -5
  332. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -5
  333. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb +0 -1
  334. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb +0 -1
  335. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb +0 -1
  336. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -1
  337. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email +0 -14
  338. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -20
  339. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -32
  340. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -29
  341. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -114
  342. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -70
  343. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -59
  344. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -19
  345. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -20
  346. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -66
  347. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -47
  348. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -28
  349. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -14
  350. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +0 -104
  351. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -100
  352. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -14
  353. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -1
  354. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -3
  355. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +0 -1
  356. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb +0 -2
  357. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +0 -6
  358. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +0 -6
  359. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -1
  360. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -10
  361. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -2
  362. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -1
  363. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +0 -1
  364. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +0 -2
  365. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +0 -2
  366. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.html.erb +0 -3
  367. data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -5
  368. data/src/admin_panel/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -95
  369. data/src/admin_panel/vendor/rails/actionmailer/test/mail_layout_test.rb +0 -123
  370. data/src/admin_panel/vendor/rails/actionmailer/test/mail_render_test.rb +0 -116
  371. data/src/admin_panel/vendor/rails/actionmailer/test/mail_service_test.rb +0 -1078
  372. data/src/admin_panel/vendor/rails/actionmailer/test/quoting_test.rb +0 -99
  373. data/src/admin_panel/vendor/rails/actionmailer/test/test_helper_test.rb +0 -129
  374. data/src/admin_panel/vendor/rails/actionmailer/test/tmail_test.rb +0 -22
  375. data/src/admin_panel/vendor/rails/actionmailer/test/url_test.rb +0 -76
  376. data/src/admin_panel/vendor/rails/actionpack/CHANGELOG +0 -5156
  377. data/src/admin_panel/vendor/rails/actionpack/MIT-LICENSE +0 -21
  378. data/src/admin_panel/vendor/rails/actionpack/README +0 -409
  379. data/src/admin_panel/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -24
  380. data/src/admin_panel/vendor/rails/actionpack/Rakefile +0 -158
  381. data/src/admin_panel/vendor/rails/actionpack/install.rb +0 -30
  382. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -39
  383. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +0 -21
  384. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +0 -150
  385. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +0 -146
  386. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +0 -632
  387. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +0 -127
  388. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/base.rb +0 -1414
  389. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +0 -107
  390. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +0 -169
  391. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +0 -120
  392. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +0 -152
  393. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +0 -97
  394. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -70
  395. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +0 -112
  396. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -22
  397. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -24
  398. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -15
  399. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +0 -77
  400. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cookies.rb +0 -94
  401. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +0 -118
  402. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/failsafe.rb +0 -52
  403. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/filters.rb +0 -680
  404. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -163
  405. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/headers.rb +0 -33
  406. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/helpers.rb +0 -225
  407. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +0 -304
  408. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/integration.rb +0 -687
  409. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/layout.rb +0 -281
  410. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +0 -119
  411. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middlewares.rb +0 -13
  412. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +0 -193
  413. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_type.rb +0 -212
  414. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_types.rb +0 -21
  415. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/params_parser.rb +0 -71
  416. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/performance_test.rb +0 -15
  417. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +0 -204
  418. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -104
  419. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/reloader.rb +0 -14
  420. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request.rb +0 -489
  421. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +0 -108
  422. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rescue.rb +0 -183
  423. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/resources.rb +0 -678
  424. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/response.rb +0 -232
  425. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb +0 -28
  426. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +0 -197
  427. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +0 -130
  428. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +0 -167
  429. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route.rb +0 -265
  430. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +0 -488
  431. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +0 -49
  432. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +0 -343
  433. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing.rb +0 -385
  434. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +0 -181
  435. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -221
  436. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +0 -51
  437. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session_management.rb +0 -54
  438. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -88
  439. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/streaming.rb +0 -179
  440. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -24
  441. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -26
  442. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +0 -11
  443. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -29
  444. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -2
  445. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -10
  446. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +0 -21
  447. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -2
  448. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_case.rb +0 -204
  449. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_process.rb +0 -572
  450. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/translation.rb +0 -13
  451. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +0 -44
  452. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +0 -216
  453. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -68
  454. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +0 -537
  455. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +0 -173
  456. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -828
  457. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -105
  458. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
  459. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +0 -16
  460. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/adapter/camping.rb +0 -22
  461. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/handler.rb +0 -37
  462. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/request.rb +0 -37
  463. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/basic.rb +0 -58
  464. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/md5.rb +0 -124
  465. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/nonce.rb +0 -51
  466. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/params.rb +0 -55
  467. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/request.rb +0 -40
  468. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/openid.rb +0 -480
  469. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/builder.rb +0 -63
  470. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/cascade.rb +0 -36
  471. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/chunked.rb +0 -49
  472. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/commonlogger.rb +0 -61
  473. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/conditionalget.rb +0 -45
  474. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_length.rb +0 -29
  475. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_type.rb +0 -23
  476. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/deflater.rb +0 -85
  477. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/directory.rb +0 -153
  478. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/file.rb +0 -88
  479. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/cgi.rb +0 -61
  480. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/evented_mongrel.rb +0 -8
  481. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb +0 -89
  482. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb +0 -55
  483. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb +0 -84
  484. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/scgi.rb +0 -59
  485. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/swiftiplied_mongrel.rb +0 -8
  486. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/thin.rb +0 -18
  487. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb +0 -67
  488. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler.rb +0 -48
  489. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/head.rb +0 -19
  490. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lint.rb +0 -462
  491. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lobster.rb +0 -65
  492. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lock.rb +0 -16
  493. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb +0 -27
  494. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mime.rb +0 -204
  495. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mock.rb +0 -160
  496. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/recursive.rb +0 -57
  497. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/reloader.rb +0 -64
  498. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/request.rb +0 -241
  499. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/response.rb +0 -179
  500. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/abstract/id.rb +0 -142
  501. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/cookie.rb +0 -91
  502. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/memcache.rb +0 -109
  503. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/pool.rb +0 -100
  504. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showexceptions.rb +0 -349
  505. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showstatus.rb +0 -106
  506. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/static.rb +0 -38
  507. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb +0 -55
  508. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/utils.rb +0 -392
  509. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb +0 -89
  510. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/verification.rb +0 -130
  511. data/src/admin_panel/vendor/rails/actionpack/lib/action_controller.rb +0 -116
  512. data/src/admin_panel/vendor/rails/actionpack/lib/action_pack/version.rb +0 -9
  513. data/src/admin_panel/vendor/rails/actionpack/lib/action_pack.rb +0 -24
  514. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/base.rb +0 -357
  515. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/erb/util.rb +0 -38
  516. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +0 -305
  517. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +0 -682
  518. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +0 -198
  519. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +0 -54
  520. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +0 -39
  521. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +0 -136
  522. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +0 -976
  523. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +0 -38
  524. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +0 -1039
  525. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +0 -530
  526. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +0 -481
  527. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +0 -208
  528. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +0 -303
  529. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +0 -1305
  530. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -20
  531. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +0 -58
  532. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +0 -251
  533. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +0 -226
  534. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +0 -150
  535. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +0 -578
  536. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +0 -39
  537. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +0 -638
  538. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers.rb +0 -57
  539. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/inline_template.rb +0 -19
  540. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/locale/en.yml +0 -110
  541. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/partials.rb +0 -240
  542. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/paths.rb +0 -69
  543. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +0 -117
  544. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable.rb +0 -95
  545. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +0 -47
  546. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template.rb +0 -257
  547. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_error.rb +0 -99
  548. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handler.rb +0 -34
  549. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +0 -17
  550. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +0 -22
  551. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +0 -13
  552. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers.rb +0 -48
  553. data/src/admin_panel/vendor/rails/actionpack/lib/action_view/test_case.rb +0 -87
  554. data/src/admin_panel/vendor/rails/actionpack/lib/action_view.rb +0 -58
  555. data/src/admin_panel/vendor/rails/actionpack/lib/actionpack.rb +0 -1
  556. data/src/admin_panel/vendor/rails/actionpack/test/abstract_unit.rb +0 -45
  557. data/src/admin_panel/vendor/rails/actionpack/test/active_record_unit.rb +0 -104
  558. data/src/admin_panel/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +0 -174
  559. data/src/admin_panel/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +0 -188
  560. data/src/admin_panel/vendor/rails/actionpack/test/adv_attr_test.rb +0 -20
  561. data/src/admin_panel/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +0 -516
  562. data/src/admin_panel/vendor/rails/actionpack/test/controller/addresses_render_test.rb +0 -37
  563. data/src/admin_panel/vendor/rails/actionpack/test/controller/assert_select_test.rb +0 -734
  564. data/src/admin_panel/vendor/rails/actionpack/test/controller/base_test.rb +0 -217
  565. data/src/admin_panel/vendor/rails/actionpack/test/controller/benchmark_test.rb +0 -32
  566. data/src/admin_panel/vendor/rails/actionpack/test/controller/caching_test.rb +0 -690
  567. data/src/admin_panel/vendor/rails/actionpack/test/controller/capture_test.rb +0 -66
  568. data/src/admin_panel/vendor/rails/actionpack/test/controller/content_type_test.rb +0 -168
  569. data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
  570. data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
  571. data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
  572. data/src/admin_panel/vendor/rails/actionpack/test/controller/cookie_test.rb +0 -111
  573. data/src/admin_panel/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +0 -32
  574. data/src/admin_panel/vendor/rails/actionpack/test/controller/dispatcher_test.rb +0 -103
  575. data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -33
  576. data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_models.rb +0 -19
  577. data/src/admin_panel/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -49
  578. data/src/admin_panel/vendor/rails/actionpack/test/controller/filters_test.rb +0 -885
  579. data/src/admin_panel/vendor/rails/actionpack/test/controller/flash_test.rb +0 -142
  580. data/src/admin_panel/vendor/rails/actionpack/test/controller/header_test.rb +0 -14
  581. data/src/admin_panel/vendor/rails/actionpack/test/controller/helper_test.rb +0 -224
  582. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +0 -15
  583. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +0 -148
  584. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +0 -89
  585. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +0 -273
  586. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -238
  587. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -50
  588. data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -131
  589. data/src/admin_panel/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +0 -88
  590. data/src/admin_panel/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +0 -178
  591. data/src/admin_panel/vendor/rails/actionpack/test/controller/integration_test.rb +0 -417
  592. data/src/admin_panel/vendor/rails/actionpack/test/controller/layout_test.rb +0 -204
  593. data/src/admin_panel/vendor/rails/actionpack/test/controller/logging_test.rb +0 -46
  594. data/src/admin_panel/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +0 -90
  595. data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_responds_test.rb +0 -536
  596. data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_type_test.rb +0 -93
  597. data/src/admin_panel/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +0 -293
  598. data/src/admin_panel/vendor/rails/actionpack/test/controller/rack_test.rb +0 -294
  599. data/src/admin_panel/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -139
  600. data/src/admin_panel/vendor/rails/actionpack/test/controller/redirect_test.rb +0 -282
  601. data/src/admin_panel/vendor/rails/actionpack/test/controller/render_test.rb +0 -1752
  602. data/src/admin_panel/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +0 -45
  603. data/src/admin_panel/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +0 -223
  604. data/src/admin_panel/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +0 -120
  605. data/src/admin_panel/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +0 -184
  606. data/src/admin_panel/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +0 -88
  607. data/src/admin_panel/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +0 -246
  608. data/src/admin_panel/vendor/rails/actionpack/test/controller/request_test.rb +0 -407
  609. data/src/admin_panel/vendor/rails/actionpack/test/controller/rescue_test.rb +0 -536
  610. data/src/admin_panel/vendor/rails/actionpack/test/controller/resources_test.rb +0 -1341
  611. data/src/admin_panel/vendor/rails/actionpack/test/controller/routing_test.rb +0 -2557
  612. data/src/admin_panel/vendor/rails/actionpack/test/controller/selector_test.rb +0 -628
  613. data/src/admin_panel/vendor/rails/actionpack/test/controller/send_file_test.rb +0 -161
  614. data/src/admin_panel/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +0 -239
  615. data/src/admin_panel/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +0 -127
  616. data/src/admin_panel/vendor/rails/actionpack/test/controller/session/test_session_test.rb +0 -58
  617. data/src/admin_panel/vendor/rails/actionpack/test/controller/test_test.rb +0 -692
  618. data/src/admin_panel/vendor/rails/actionpack/test/controller/translation_test.rb +0 -26
  619. data/src/admin_panel/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +0 -359
  620. data/src/admin_panel/vendor/rails/actionpack/test/controller/verification_test.rb +0 -270
  621. data/src/admin_panel/vendor/rails/actionpack/test/controller/view_paths_test.rb +0 -141
  622. data/src/admin_panel/vendor/rails/actionpack/test/controller/webservice_test.rb +0 -260
  623. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb +0 -1
  624. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb +0 -1
  625. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -1
  626. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +0 -3
  627. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb +0 -1
  628. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/companies.yml +0 -24
  629. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/company.rb +0 -10
  630. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -1
  631. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -1
  632. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -1
  633. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -1
  634. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb +0 -1
  635. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -49
  636. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developer.rb +0 -9
  637. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers/_developer.erb +0 -1
  638. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers.yml +0 -21
  639. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -13
  640. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/_game.erb +0 -1
  641. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -1
  642. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb +0 -1
  643. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb +0 -3
  644. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +0 -3
  645. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs +0 -6
  646. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +0 -5
  647. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb +0 -2
  648. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +0 -1
  649. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb +0 -2
  650. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs +0 -1
  651. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb +0 -1
  652. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -5
  653. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -3
  654. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -3
  655. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +0 -1
  656. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml +0 -0
  657. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -1
  658. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -1
  659. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -1
  660. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -1
  661. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -1
  662. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -1
  663. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb +0 -2
  664. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb +0 -3
  665. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -3
  666. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb +0 -1
  667. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb +0 -3
  668. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -1
  669. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -2
  670. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb +0 -2
  671. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -2
  672. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascot.rb +0 -3
  673. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb +0 -1
  674. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots.yml +0 -4
  675. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
  676. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/boundary_problem_file +0 -10
  677. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +0 -5
  678. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/empty +0 -10
  679. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/hello.txt +0 -1
  680. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -10
  681. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
  682. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
  683. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/none +0 -9
  684. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -5
  685. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -10
  686. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -1
  687. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +0 -1
  688. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +0 -1
  689. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +0 -1
  690. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +0 -1
  691. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +0 -1
  692. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +0 -1
  693. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +0 -1
  694. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/project.rb +0 -3
  695. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects/_project.erb +0 -1
  696. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects.yml +0 -7
  697. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/404.html +0 -1
  698. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.da.html +0 -1
  699. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.html +0 -1
  700. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
  701. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -1
  702. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -1
  703. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js +0 -1
  704. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js +0 -1
  705. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js +0 -1
  706. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js +0 -1
  707. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -1
  708. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js +0 -1
  709. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js +0 -1
  710. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -1
  711. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -1
  712. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css +0 -1
  713. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css +0 -1
  714. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb +0 -1
  715. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies/_reply.erb +0 -1
  716. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies.yml +0 -15
  717. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/reply.rb +0 -7
  718. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -1
  719. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -1
  720. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +0 -1
  721. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +0 -1
  722. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +0 -1
  723. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +0 -1
  724. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +0 -1
  725. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +0 -1
  726. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -1
  727. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -1
  728. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -1
  729. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -1
  730. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -1
  731. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -1
  732. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -1
  733. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/shared.html.erb +0 -1
  734. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb +0 -5
  735. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_counter.html.erb +0 -1
  736. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer.erb +0 -1
  737. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb +0 -1
  738. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -1
  739. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb +0 -1
  740. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_form.erb +0 -1
  741. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +0 -1
  742. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -2
  743. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -1
  744. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb +0 -1
  745. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb +0 -3
  746. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +0 -3
  747. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb +0 -1
  748. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_one.html.erb +0 -1
  749. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -1
  750. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -1
  751. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -1
  752. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +0 -1
  753. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -1
  754. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb +0 -1
  755. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -2
  756. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_raise.html.erb +0 -1
  757. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_two.html.erb +0 -1
  758. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -2
  759. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +0 -1
  760. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -4
  761. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -2
  762. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +0 -3
  763. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +0 -2
  764. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -2
  765. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dont_pick_me +0 -1
  766. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -1
  767. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -6
  768. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -1
  769. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -1
  770. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -1
  771. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -1
  772. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -1
  773. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs +0 -1
  774. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello.builder +0 -4
  775. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb +0 -1
  776. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -1
  777. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb +0 -1
  778. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -3
  779. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +0 -4
  780. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -1
  781. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -11
  782. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb +0 -1
  783. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder +0 -2
  784. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -1
  785. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/nested_layout.erb +0 -3
  786. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +0 -4
  787. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -4
  788. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs +0 -1
  789. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb +0 -1
  790. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -1
  791. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -1
  792. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs +0 -1
  793. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +0 -1
  794. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +0 -1
  795. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +0 -1
  796. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -1
  797. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb +0 -1
  798. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/template.erb +0 -1
  799. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -9
  800. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +0 -1
  801. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb +0 -1
  802. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +0 -2
  803. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topic.rb +0 -3
  804. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb +0 -1
  805. data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics.yml +0 -22
  806. data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +0 -44
  807. data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_test.rb +0 -302
  808. data/src/admin_panel/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -713
  809. data/src/admin_panel/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +0 -286
  810. data/src/admin_panel/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +0 -86
  811. data/src/admin_panel/vendor/rails/actionpack/test/template/compiled_templates_test.rb +0 -203
  812. data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +0 -120
  813. data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_test.rb +0 -2469
  814. data/src/admin_panel/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -24
  815. data/src/admin_panel/vendor/rails/actionpack/test/template/form_helper_test.rb +0 -1176
  816. data/src/admin_panel/vendor/rails/actionpack/test/template/form_options_helper_test.rb +0 -751
  817. data/src/admin_panel/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +0 -327
  818. data/src/admin_panel/vendor/rails/actionpack/test/template/javascript_helper_test.rb +0 -106
  819. data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +0 -69
  820. data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -128
  821. data/src/admin_panel/vendor/rails/actionpack/test/template/prototype_helper_test.rb +0 -639
  822. data/src/admin_panel/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +0 -58
  823. data/src/admin_panel/vendor/rails/actionpack/test/template/render_test.rb +0 -290
  824. data/src/admin_panel/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +0 -48
  825. data/src/admin_panel/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -90
  826. data/src/admin_panel/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -97
  827. data/src/admin_panel/vendor/rails/actionpack/test/template/test_test.rb +0 -54
  828. data/src/admin_panel/vendor/rails/actionpack/test/template/text_helper_test.rb +0 -520
  829. data/src/admin_panel/vendor/rails/actionpack/test/template/translation_helper_test.rb +0 -32
  830. data/src/admin_panel/vendor/rails/actionpack/test/template/url_helper_test.rb +0 -614
  831. data/src/admin_panel/vendor/rails/actionpack/test/testing_sandbox.rb +0 -15
  832. data/src/admin_panel/vendor/rails/actionpack/test/view/test_case_test.rb +0 -8
  833. data/src/admin_panel/vendor/rails/activerecord/CHANGELOG +0 -5832
  834. data/src/admin_panel/vendor/rails/activerecord/README +0 -351
  835. data/src/admin_panel/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -36
  836. data/src/admin_panel/vendor/rails/activerecord/Rakefile +0 -253
  837. data/src/admin_panel/vendor/rails/activerecord/examples/associations.png +0 -0
  838. data/src/admin_panel/vendor/rails/activerecord/install.rb +0 -30
  839. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/aggregations.rb +0 -261
  840. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/association_preload.rb +0 -389
  841. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +0 -470
  842. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +0 -279
  843. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +0 -58
  844. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -49
  845. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +0 -127
  846. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -121
  847. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +0 -256
  848. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +0 -124
  849. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +0 -31
  850. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations.rb +0 -2169
  851. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +0 -388
  852. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/autosave_association.rb +0 -349
  853. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/base.rb +0 -3155
  854. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/batches.rb +0 -73
  855. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/calculations.rb +0 -317
  856. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/callbacks.rb +0 -360
  857. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +0 -371
  858. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +0 -139
  859. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +0 -289
  860. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +0 -94
  861. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -69
  862. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +0 -708
  863. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +0 -434
  864. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -234
  865. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +0 -617
  866. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +0 -1050
  867. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +0 -34
  868. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -438
  869. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dirty.rb +0 -183
  870. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +0 -41
  871. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +0 -25
  872. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/fixtures.rb +0 -993
  873. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +0 -26
  874. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locale/en.yml +0 -54
  875. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +0 -181
  876. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -77
  877. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/migration.rb +0 -566
  878. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/named_scope.rb +0 -197
  879. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +0 -329
  880. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/observer.rb +0 -197
  881. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/query_cache.rb +0 -33
  882. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/reflection.rb +0 -320
  883. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema.rb +0 -51
  884. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -179
  885. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serialization.rb +0 -100
  886. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +0 -99
  887. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +0 -353
  888. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/session_store.rb +0 -318
  889. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/test_case.rb +0 -66
  890. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/timestamp.rb +0 -41
  891. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/transactions.rb +0 -235
  892. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/validations.rb +0 -1066
  893. data/src/admin_panel/vendor/rails/activerecord/lib/active_record/version.rb +0 -9
  894. data/src/admin_panel/vendor/rails/activerecord/lib/active_record.rb +0 -84
  895. data/src/admin_panel/vendor/rails/activerecord/lib/activerecord.rb +0 -1
  896. data/src/admin_panel/vendor/rails/activerecord/test/assets/flowers.jpg +0 -0
  897. data/src/admin_panel/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +0 -24
  898. data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +0 -100
  899. data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +0 -24
  900. data/src/admin_panel/vendor/rails/activerecord/test/cases/adapter_test.rb +0 -133
  901. data/src/admin_panel/vendor/rails/activerecord/test/cases/aggregations_test.rb +0 -167
  902. data/src/admin_panel/vendor/rails/activerecord/test/cases/ar_schema_test.rb +0 -32
  903. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +0 -345
  904. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +0 -161
  905. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +0 -131
  906. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +0 -36
  907. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +0 -130
  908. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +0 -145
  909. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_test.rb +0 -822
  910. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/extension_test.rb +0 -62
  911. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +0 -822
  912. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +0 -1062
  913. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +0 -279
  914. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +0 -309
  915. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +0 -192
  916. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +0 -88
  917. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +0 -712
  918. data/src/admin_panel/vendor/rails/activerecord/test/cases/associations_test.rb +0 -262
  919. data/src/admin_panel/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +0 -305
  920. data/src/admin_panel/vendor/rails/activerecord/test/cases/autosave_association_test.rb +0 -901
  921. data/src/admin_panel/vendor/rails/activerecord/test/cases/base_test.rb +0 -2107
  922. data/src/admin_panel/vendor/rails/activerecord/test/cases/batches_test.rb +0 -61
  923. data/src/admin_panel/vendor/rails/activerecord/test/cases/binary_test.rb +0 -30
  924. data/src/admin_panel/vendor/rails/activerecord/test/cases/calculations_test.rb +0 -348
  925. data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +0 -38
  926. data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_test.rb +0 -438
  927. data/src/admin_panel/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +0 -32
  928. data/src/admin_panel/vendor/rails/activerecord/test/cases/column_alias_test.rb +0 -17
  929. data/src/admin_panel/vendor/rails/activerecord/test/cases/column_definition_test.rb +0 -36
  930. data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_pool_test.rb +0 -25
  931. data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +0 -8
  932. data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +0 -56
  933. data/src/admin_panel/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +0 -80
  934. data/src/admin_panel/vendor/rails/activerecord/test/cases/database_statements_test.rb +0 -12
  935. data/src/admin_panel/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +0 -204
  936. data/src/admin_panel/vendor/rails/activerecord/test/cases/date_time_test.rb +0 -37
  937. data/src/admin_panel/vendor/rails/activerecord/test/cases/default_test_firebird.rb +0 -16
  938. data/src/admin_panel/vendor/rails/activerecord/test/cases/defaults_test.rb +0 -111
  939. data/src/admin_panel/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +0 -30
  940. data/src/admin_panel/vendor/rails/activerecord/test/cases/dirty_test.rb +0 -306
  941. data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +0 -76
  942. data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_test.rb +0 -1083
  943. data/src/admin_panel/vendor/rails/activerecord/test/cases/fixtures_test.rb +0 -651
  944. data/src/admin_panel/vendor/rails/activerecord/test/cases/helper.rb +0 -69
  945. data/src/admin_panel/vendor/rails/activerecord/test/cases/i18n_test.rb +0 -41
  946. data/src/admin_panel/vendor/rails/activerecord/test/cases/inheritance_test.rb +0 -262
  947. data/src/admin_panel/vendor/rails/activerecord/test/cases/invalid_date_test.rb +0 -24
  948. data/src/admin_panel/vendor/rails/activerecord/test/cases/json_serialization_test.rb +0 -205
  949. data/src/admin_panel/vendor/rails/activerecord/test/cases/lifecycle_test.rb +0 -193
  950. data/src/admin_panel/vendor/rails/activerecord/test/cases/locking_test.rb +0 -322
  951. data/src/admin_panel/vendor/rails/activerecord/test/cases/method_scoping_test.rb +0 -694
  952. data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test.rb +0 -1495
  953. data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +0 -124
  954. data/src/admin_panel/vendor/rails/activerecord/test/cases/mixin_test.rb +0 -96
  955. data/src/admin_panel/vendor/rails/activerecord/test/cases/modules_test.rb +0 -39
  956. data/src/admin_panel/vendor/rails/activerecord/test/cases/multiple_db_test.rb +0 -85
  957. data/src/admin_panel/vendor/rails/activerecord/test/cases/named_scope_test.rb +0 -359
  958. data/src/admin_panel/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +0 -509
  959. data/src/admin_panel/vendor/rails/activerecord/test/cases/pk_test.rb +0 -101
  960. data/src/admin_panel/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +0 -103
  961. data/src/admin_panel/vendor/rails/activerecord/test/cases/query_cache_test.rb +0 -123
  962. data/src/admin_panel/vendor/rails/activerecord/test/cases/readonly_test.rb +0 -107
  963. data/src/admin_panel/vendor/rails/activerecord/test/cases/reflection_test.rb +0 -194
  964. data/src/admin_panel/vendor/rails/activerecord/test/cases/reload_models_test.rb +0 -22
  965. data/src/admin_panel/vendor/rails/activerecord/test/cases/repair_helper.rb +0 -50
  966. data/src/admin_panel/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +0 -176
  967. data/src/admin_panel/vendor/rails/activerecord/test/cases/sanitize_test.rb +0 -25
  968. data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +0 -75
  969. data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +0 -183
  970. data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +0 -102
  971. data/src/admin_panel/vendor/rails/activerecord/test/cases/serialization_test.rb +0 -47
  972. data/src/admin_panel/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +0 -17
  973. data/src/admin_panel/vendor/rails/activerecord/test/cases/transactions_test.rb +0 -522
  974. data/src/admin_panel/vendor/rails/activerecord/test/cases/unconnected_test.rb +0 -32
  975. data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +0 -915
  976. data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_test.rb +0 -1602
  977. data/src/admin_panel/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +0 -220
  978. data/src/admin_panel/vendor/rails/activerecord/test/config.rb +0 -5
  979. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +0 -18
  980. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +0 -18
  981. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +0 -18
  982. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +0 -26
  983. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +0 -26
  984. data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +0 -25
  985. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -25
  986. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -26
  987. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -27
  988. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +0 -25
  989. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -21
  990. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -27
  991. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -21
  992. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -25
  993. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -25
  994. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -18
  995. data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -23
  996. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -28
  997. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
  998. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
  999. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
  1000. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_addresses.yml +0 -5
  1001. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -4
  1002. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/authors.yml +0 -9
  1003. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/binaries.yml +0 -132
  1004. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/books.yml +0 -7
  1005. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -9
  1006. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -4
  1007. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories.yml +0 -14
  1008. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -7
  1009. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -23
  1010. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -17
  1011. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/clubs.yml +0 -6
  1012. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/comments.yml +0 -59
  1013. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/companies.yml +0 -56
  1014. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/computers.yml +0 -4
  1015. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/courses.yml +0 -7
  1016. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/customers.yml +0 -26
  1017. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers.yml +0 -21
  1018. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -17
  1019. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/edges.yml +0 -6
  1020. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -14
  1021. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
  1022. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
  1023. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -3
  1024. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -2
  1025. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -10
  1026. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/items.yml +0 -4
  1027. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/jobs.yml +0 -7
  1028. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -3
  1029. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mateys.yml +0 -4
  1030. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/member_types.yml +0 -6
  1031. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/members.yml +0 -6
  1032. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/memberships.yml +0 -20
  1033. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/minimalistics.yml +0 -2
  1034. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -6
  1035. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -29
  1036. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/movies.yml +0 -7
  1037. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -1
  1038. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -1
  1039. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -1
  1040. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -1
  1041. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/organizations.yml +0 -5
  1042. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/owners.yml +0 -7
  1043. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots.yml +0 -27
  1044. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +0 -7
  1045. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/people.yml +0 -15
  1046. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pets.yml +0 -14
  1047. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pirates.yml +0 -9
  1048. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/posts.yml +0 -49
  1049. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/price_estimates.yml +0 -7
  1050. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/projects.yml +0 -7
  1051. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/readers.yml +0 -9
  1052. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/references.yml +0 -17
  1053. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +0 -5
  1054. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +0 -11
  1055. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +0 -14
  1056. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +0 -8
  1057. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +0 -7
  1058. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/ships.yml +0 -5
  1059. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/sponsors.yml +0 -9
  1060. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscribers.yml +0 -7
  1061. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscriptions.yml +0 -12
  1062. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -28
  1063. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tags.yml +0 -7
  1064. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -7
  1065. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/topics.yml +0 -42
  1066. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/toys.yml +0 -4
  1067. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/treasures.yml +0 -10
  1068. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -4
  1069. data/src/admin_panel/vendor/rails/activerecord/test/fixtures/warehouse-things.yml +0 -3
  1070. data/src/admin_panel/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +0 -10
  1071. data/src/admin_panel/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +0 -15
  1072. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +0 -9
  1073. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +0 -12
  1074. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +0 -7
  1075. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +0 -12
  1076. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +0 -7
  1077. data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +0 -7
  1078. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +0 -12
  1079. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +0 -9
  1080. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +0 -12
  1081. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +0 -9
  1082. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +0 -8
  1083. data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +0 -12
  1084. data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +0 -9
  1085. data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +0 -9
  1086. data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +0 -12
  1087. data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +0 -12
  1088. data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +0 -9
  1089. data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +0 -12
  1090. data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +0 -12
  1091. data/src/admin_panel/vendor/rails/activerecord/test/models/author.rb +0 -141
  1092. data/src/admin_panel/vendor/rails/activerecord/test/models/auto_id.rb +0 -4
  1093. data/src/admin_panel/vendor/rails/activerecord/test/models/binary.rb +0 -2
  1094. data/src/admin_panel/vendor/rails/activerecord/test/models/bird.rb +0 -3
  1095. data/src/admin_panel/vendor/rails/activerecord/test/models/book.rb +0 -4
  1096. data/src/admin_panel/vendor/rails/activerecord/test/models/categorization.rb +0 -5
  1097. data/src/admin_panel/vendor/rails/activerecord/test/models/category.rb +0 -34
  1098. data/src/admin_panel/vendor/rails/activerecord/test/models/citation.rb +0 -6
  1099. data/src/admin_panel/vendor/rails/activerecord/test/models/club.rb +0 -13
  1100. data/src/admin_panel/vendor/rails/activerecord/test/models/column_name.rb +0 -3
  1101. data/src/admin_panel/vendor/rails/activerecord/test/models/comment.rb +0 -25
  1102. data/src/admin_panel/vendor/rails/activerecord/test/models/company.rb +0 -159
  1103. data/src/admin_panel/vendor/rails/activerecord/test/models/company_in_module.rb +0 -61
  1104. data/src/admin_panel/vendor/rails/activerecord/test/models/computer.rb +0 -3
  1105. data/src/admin_panel/vendor/rails/activerecord/test/models/contact.rb +0 -16
  1106. data/src/admin_panel/vendor/rails/activerecord/test/models/course.rb +0 -3
  1107. data/src/admin_panel/vendor/rails/activerecord/test/models/customer.rb +0 -73
  1108. data/src/admin_panel/vendor/rails/activerecord/test/models/default.rb +0 -2
  1109. data/src/admin_panel/vendor/rails/activerecord/test/models/developer.rb +0 -91
  1110. data/src/admin_panel/vendor/rails/activerecord/test/models/edge.rb +0 -5
  1111. data/src/admin_panel/vendor/rails/activerecord/test/models/entrant.rb +0 -3
  1112. data/src/admin_panel/vendor/rails/activerecord/test/models/event.rb +0 -3
  1113. data/src/admin_panel/vendor/rails/activerecord/test/models/guid.rb +0 -2
  1114. data/src/admin_panel/vendor/rails/activerecord/test/models/item.rb +0 -7
  1115. data/src/admin_panel/vendor/rails/activerecord/test/models/job.rb +0 -5
  1116. data/src/admin_panel/vendor/rails/activerecord/test/models/joke.rb +0 -3
  1117. data/src/admin_panel/vendor/rails/activerecord/test/models/keyboard.rb +0 -3
  1118. data/src/admin_panel/vendor/rails/activerecord/test/models/legacy_thing.rb +0 -3
  1119. data/src/admin_panel/vendor/rails/activerecord/test/models/matey.rb +0 -4
  1120. data/src/admin_panel/vendor/rails/activerecord/test/models/member.rb +0 -12
  1121. data/src/admin_panel/vendor/rails/activerecord/test/models/member_detail.rb +0 -5
  1122. data/src/admin_panel/vendor/rails/activerecord/test/models/member_type.rb +0 -3
  1123. data/src/admin_panel/vendor/rails/activerecord/test/models/membership.rb +0 -9
  1124. data/src/admin_panel/vendor/rails/activerecord/test/models/minimalistic.rb +0 -2
  1125. data/src/admin_panel/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +0 -3
  1126. data/src/admin_panel/vendor/rails/activerecord/test/models/movie.rb +0 -5
  1127. data/src/admin_panel/vendor/rails/activerecord/test/models/order.rb +0 -4
  1128. data/src/admin_panel/vendor/rails/activerecord/test/models/organization.rb +0 -4
  1129. data/src/admin_panel/vendor/rails/activerecord/test/models/owner.rb +0 -5
  1130. data/src/admin_panel/vendor/rails/activerecord/test/models/parrot.rb +0 -16
  1131. data/src/admin_panel/vendor/rails/activerecord/test/models/person.rb +0 -16
  1132. data/src/admin_panel/vendor/rails/activerecord/test/models/pet.rb +0 -5
  1133. data/src/admin_panel/vendor/rails/activerecord/test/models/pirate.rb +0 -63
  1134. data/src/admin_panel/vendor/rails/activerecord/test/models/post.rb +0 -100
  1135. data/src/admin_panel/vendor/rails/activerecord/test/models/price_estimate.rb +0 -3
  1136. data/src/admin_panel/vendor/rails/activerecord/test/models/project.rb +0 -30
  1137. data/src/admin_panel/vendor/rails/activerecord/test/models/reader.rb +0 -4
  1138. data/src/admin_panel/vendor/rails/activerecord/test/models/reference.rb +0 -4
  1139. data/src/admin_panel/vendor/rails/activerecord/test/models/reply.rb +0 -45
  1140. data/src/admin_panel/vendor/rails/activerecord/test/models/ship.rb +0 -10
  1141. data/src/admin_panel/vendor/rails/activerecord/test/models/ship_part.rb +0 -5
  1142. data/src/admin_panel/vendor/rails/activerecord/test/models/sponsor.rb +0 -4
  1143. data/src/admin_panel/vendor/rails/activerecord/test/models/subject.rb +0 -4
  1144. data/src/admin_panel/vendor/rails/activerecord/test/models/subscriber.rb +0 -8
  1145. data/src/admin_panel/vendor/rails/activerecord/test/models/subscription.rb +0 -4
  1146. data/src/admin_panel/vendor/rails/activerecord/test/models/tag.rb +0 -7
  1147. data/src/admin_panel/vendor/rails/activerecord/test/models/tagging.rb +0 -10
  1148. data/src/admin_panel/vendor/rails/activerecord/test/models/task.rb +0 -3
  1149. data/src/admin_panel/vendor/rails/activerecord/test/models/topic.rb +0 -81
  1150. data/src/admin_panel/vendor/rails/activerecord/test/models/toy.rb +0 -4
  1151. data/src/admin_panel/vendor/rails/activerecord/test/models/treasure.rb +0 -6
  1152. data/src/admin_panel/vendor/rails/activerecord/test/models/vertex.rb +0 -9
  1153. data/src/admin_panel/vendor/rails/activerecord/test/models/warehouse_thing.rb +0 -5
  1154. data/src/admin_panel/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +0 -12
  1155. data/src/admin_panel/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +0 -103
  1156. data/src/admin_panel/vendor/rails/activerecord/test/schema/schema.rb +0 -473
  1157. data/src/admin_panel/vendor/rails/activerecord/test/schema/schema2.rb +0 -6
  1158. data/src/admin_panel/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +0 -25
  1159. data/src/admin_panel/vendor/rails/activeresource/CHANGELOG +0 -267
  1160. data/src/admin_panel/vendor/rails/activeresource/README +0 -165
  1161. data/src/admin_panel/vendor/rails/activeresource/Rakefile +0 -138
  1162. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/base.rb +0 -1077
  1163. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/connection.rb +0 -218
  1164. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +0 -120
  1165. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +0 -23
  1166. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +0 -34
  1167. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats.rb +0 -14
  1168. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/http_mock.rb +0 -207
  1169. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/validations.rb +0 -274
  1170. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/version.rb +0 -9
  1171. data/src/admin_panel/vendor/rails/activeresource/lib/active_resource.rb +0 -44
  1172. data/src/admin_panel/vendor/rails/activeresource/lib/activeresource.rb +0 -1
  1173. data/src/admin_panel/vendor/rails/activeresource/test/abstract_unit.rb +0 -23
  1174. data/src/admin_panel/vendor/rails/activeresource/test/authorization_test.rb +0 -122
  1175. data/src/admin_panel/vendor/rails/activeresource/test/base/custom_methods_test.rb +0 -100
  1176. data/src/admin_panel/vendor/rails/activeresource/test/base/equality_test.rb +0 -52
  1177. data/src/admin_panel/vendor/rails/activeresource/test/base/load_test.rb +0 -146
  1178. data/src/admin_panel/vendor/rails/activeresource/test/base_errors_test.rb +0 -48
  1179. data/src/admin_panel/vendor/rails/activeresource/test/base_test.rb +0 -891
  1180. data/src/admin_panel/vendor/rails/activeresource/test/connection_test.rb +0 -196
  1181. data/src/admin_panel/vendor/rails/activeresource/test/fixtures/beast.rb +0 -14
  1182. data/src/admin_panel/vendor/rails/activeresource/test/fixtures/customer.rb +0 -3
  1183. data/src/admin_panel/vendor/rails/activeresource/test/fixtures/person.rb +0 -3
  1184. data/src/admin_panel/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -4
  1185. data/src/admin_panel/vendor/rails/activeresource/test/format_test.rb +0 -112
  1186. data/src/admin_panel/vendor/rails/activeresource/test/setter_trap.rb +0 -26
  1187. data/src/admin_panel/vendor/rails/activesupport/CHANGELOG +0 -1309
  1188. data/src/admin_panel/vendor/rails/activesupport/README +0 -43
  1189. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +0 -72
  1190. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/base64.rb +0 -33
  1191. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/basic_object.rb +0 -24
  1192. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +0 -127
  1193. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +0 -20
  1194. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +0 -14
  1195. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +0 -72
  1196. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +0 -132
  1197. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +0 -52
  1198. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +0 -104
  1199. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +0 -47
  1200. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache.rb +0 -228
  1201. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/callbacks.rb +0 -279
  1202. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +0 -53
  1203. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +0 -196
  1204. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +0 -20
  1205. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +0 -106
  1206. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +0 -12
  1207. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +0 -24
  1208. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +0 -15
  1209. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +0 -16
  1210. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +0 -4
  1211. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +0 -19
  1212. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +0 -37
  1213. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -6
  1214. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +0 -58
  1215. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -23
  1216. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -5
  1217. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +0 -54
  1218. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +0 -47
  1219. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -140
  1220. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -50
  1221. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -4
  1222. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +0 -42
  1223. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +0 -230
  1224. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +0 -107
  1225. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -10
  1226. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +0 -126
  1227. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +0 -96
  1228. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -12
  1229. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +0 -43
  1230. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -116
  1231. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +0 -45
  1232. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +0 -46
  1233. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +0 -5
  1234. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +0 -24
  1235. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +0 -27
  1236. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +0 -7
  1237. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +0 -237
  1238. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +0 -23
  1239. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -19
  1240. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +0 -25
  1241. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +0 -143
  1242. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +0 -52
  1243. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +0 -35
  1244. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +0 -40
  1245. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +0 -14
  1246. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -29
  1247. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -20
  1248. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +0 -45
  1249. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +0 -9
  1250. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
  1251. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -7
  1252. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -13
  1253. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -59
  1254. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -24
  1255. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -5
  1256. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -38
  1257. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +0 -145
  1258. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +0 -74
  1259. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
  1260. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -32
  1261. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +0 -58
  1262. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +0 -121
  1263. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -30
  1264. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +0 -90
  1265. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -23
  1266. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +0 -23
  1267. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +0 -39
  1268. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +0 -23
  1269. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -17
  1270. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -44
  1271. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +0 -19
  1272. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -81
  1273. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -9
  1274. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +0 -15
  1275. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +0 -80
  1276. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +0 -74
  1277. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +0 -13
  1278. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +0 -90
  1279. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -5
  1280. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -14
  1281. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -7
  1282. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -12
  1283. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +0 -25
  1284. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +0 -1
  1285. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +0 -32
  1286. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +0 -27
  1287. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +0 -30
  1288. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +0 -15
  1289. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -11
  1290. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +0 -41
  1291. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +0 -82
  1292. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +0 -13
  1293. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -28
  1294. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +0 -26
  1295. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +0 -167
  1296. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +0 -23
  1297. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +0 -81
  1298. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -35
  1299. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +0 -11
  1300. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -22
  1301. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -14
  1302. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -13
  1303. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +0 -303
  1304. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +0 -90
  1305. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +0 -86
  1306. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -42
  1307. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +0 -36
  1308. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +0 -16
  1309. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext.rb +0 -4
  1310. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/dependencies.rb +0 -625
  1311. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/deprecation.rb +0 -196
  1312. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/duration.rb +0 -98
  1313. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/gzip.rb +0 -25
  1314. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflections.rb +0 -56
  1315. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflector.rb +0 -406
  1316. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/decoding.rb +0 -82
  1317. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +0 -21
  1318. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +0 -21
  1319. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -12
  1320. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -5
  1321. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +0 -46
  1322. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -5
  1323. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -5
  1324. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -6
  1325. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -5
  1326. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -36
  1327. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -5
  1328. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +0 -21
  1329. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -5
  1330. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoding.rb +0 -31
  1331. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -10
  1332. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json.rb +0 -23
  1333. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/locale/en.yml +0 -33
  1334. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/memoizable.rb +0 -100
  1335. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +0 -70
  1336. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_verifier.rb +0 -46
  1337. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +0 -701
  1338. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +0 -8
  1339. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +0 -71
  1340. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte.rb +0 -33
  1341. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/option_merger.rb +0 -23
  1342. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +0 -106
  1343. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -19
  1344. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/rescuable.rb +0 -108
  1345. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/secure_random.rb +0 -199
  1346. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +0 -21
  1347. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/test_case.rb +0 -39
  1348. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +0 -65
  1349. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +0 -21
  1350. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/default.rb +0 -9
  1351. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +0 -55
  1352. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/performance.rb +0 -452
  1353. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +0 -91
  1354. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +0 -334
  1355. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +0 -404
  1356. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
  1357. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +0 -113
  1358. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +0 -20
  1359. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +0 -250
  1360. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +0 -115
  1361. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +0 -139
  1362. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +0 -63
  1363. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +0 -328
  1364. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +0 -13
  1365. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +0 -20
  1366. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +0 -20
  1367. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +0 -5
  1368. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +0 -27
  1369. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +0 -214
  1370. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +0 -53
  1371. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +0 -199
  1372. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +0 -5
  1373. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +0 -100
  1374. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +0 -125
  1375. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +0 -1
  1376. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +0 -3
  1377. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +0 -568
  1378. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.6.5/memcache.rb +0 -935
  1379. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +0 -47
  1380. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +0 -228
  1381. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +0 -55
  1382. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +0 -219
  1383. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +0 -40
  1384. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +0 -18
  1385. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +0 -25
  1386. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +0 -22
  1387. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +0 -23
  1388. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -166
  1389. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -86
  1390. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +0 -23
  1391. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +0 -23
  1392. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +0 -283
  1393. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +0 -136
  1394. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +0 -204
  1395. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +0 -161
  1396. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +0 -27
  1397. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +0 -274
  1398. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -149
  1399. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +0 -194
  1400. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +0 -22
  1401. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +0 -35
  1402. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +0 -232
  1403. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +0 -139
  1404. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +0 -144
  1405. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +0 -131
  1406. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +0 -282
  1407. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +0 -30
  1408. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +0 -74
  1409. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +0 -205
  1410. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +0 -171
  1411. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +0 -288
  1412. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +0 -196
  1413. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +0 -67
  1414. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +0 -73
  1415. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +0 -161
  1416. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +0 -20
  1417. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +0 -33
  1418. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +0 -30
  1419. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +0 -27
  1420. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +0 -87
  1421. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +0 -165
  1422. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +0 -30
  1423. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +0 -163
  1424. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +0 -20
  1425. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +0 -163
  1426. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +0 -30
  1427. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +0 -20
  1428. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +0 -25
  1429. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -163
  1430. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -31
  1431. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +0 -18
  1432. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +0 -163
  1433. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +0 -18
  1434. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +0 -164
  1435. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +0 -24
  1436. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +0 -18
  1437. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +0 -34
  1438. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +0 -35
  1439. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +0 -33
  1440. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +0 -59
  1441. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +0 -47
  1442. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +0 -78
  1443. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +0 -121
  1444. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +0 -30
  1445. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -65
  1446. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +0 -33
  1447. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +0 -164
  1448. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +0 -163
  1449. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -165
  1450. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +0 -165
  1451. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +0 -270
  1452. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -23
  1453. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -18
  1454. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +0 -187
  1455. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +0 -35
  1456. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +0 -29
  1457. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +0 -193
  1458. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +0 -185
  1459. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +0 -37
  1460. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +0 -185
  1461. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +0 -16
  1462. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +0 -228
  1463. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +0 -185
  1464. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +0 -163
  1465. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +0 -188
  1466. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +0 -13
  1467. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +0 -232
  1468. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +0 -181
  1469. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +0 -197
  1470. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +0 -179
  1471. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +0 -276
  1472. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +0 -163
  1473. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +0 -218
  1474. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +0 -168
  1475. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +0 -268
  1476. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +0 -13
  1477. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +0 -288
  1478. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +0 -211
  1479. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +0 -170
  1480. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +0 -181
  1481. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +0 -232
  1482. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +0 -187
  1483. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +0 -176
  1484. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +0 -215
  1485. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +0 -13
  1486. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +0 -13
  1487. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +0 -173
  1488. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +0 -165
  1489. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +0 -172
  1490. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +0 -183
  1491. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +0 -170
  1492. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +0 -212
  1493. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +0 -13
  1494. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +0 -202
  1495. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +0 -23
  1496. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +0 -22
  1497. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +0 -28
  1498. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +0 -20
  1499. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +0 -25
  1500. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +0 -25
  1501. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -26
  1502. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -20
  1503. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +0 -27
  1504. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +0 -52
  1505. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +0 -51
  1506. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +0 -44
  1507. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +0 -98
  1508. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +0 -56
  1509. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +0 -292
  1510. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +0 -508
  1511. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +0 -56
  1512. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +0 -40
  1513. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +0 -94
  1514. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +0 -198
  1515. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +0 -129
  1516. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +0 -33
  1517. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor.rb +0 -29
  1518. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/version.rb +0 -9
  1519. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -58
  1520. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +0 -133
  1521. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +0 -77
  1522. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +0 -108
  1523. data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini.rb +0 -31
  1524. data/src/admin_panel/vendor/rails/activesupport/lib/active_support.rb +0 -59
  1525. data/src/admin_panel/vendor/rails/activesupport/lib/activesupport.rb +0 -1
  1526. data/src/admin_panel/vendor/rails/railties/CHANGELOG +0 -2156
  1527. data/src/admin_panel/vendor/rails/railties/MIT-LICENSE +0 -20
  1528. data/src/admin_panel/vendor/rails/railties/README +0 -243
  1529. data/src/admin_panel/vendor/rails/railties/Rakefile +0 -364
  1530. data/src/admin_panel/vendor/rails/railties/bin/about +0 -4
  1531. data/src/admin_panel/vendor/rails/railties/bin/console +0 -3
  1532. data/src/admin_panel/vendor/rails/railties/bin/dbconsole +0 -3
  1533. data/src/admin_panel/vendor/rails/railties/bin/destroy +0 -3
  1534. data/src/admin_panel/vendor/rails/railties/bin/generate +0 -3
  1535. data/src/admin_panel/vendor/rails/railties/bin/performance/benchmarker +0 -3
  1536. data/src/admin_panel/vendor/rails/railties/bin/performance/profiler +0 -3
  1537. data/src/admin_panel/vendor/rails/railties/bin/plugin +0 -3
  1538. data/src/admin_panel/vendor/rails/railties/bin/rails +0 -20
  1539. data/src/admin_panel/vendor/rails/railties/bin/runner +0 -3
  1540. data/src/admin_panel/vendor/rails/railties/bin/server +0 -3
  1541. data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info.rb +0 -129
  1542. data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -9
  1543. data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -2
  1544. data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -2
  1545. data/src/admin_panel/vendor/rails/railties/configs/databases/frontbase.yml +0 -28
  1546. data/src/admin_panel/vendor/rails/railties/configs/databases/ibm_db.yml +0 -62
  1547. data/src/admin_panel/vendor/rails/railties/configs/databases/mysql.yml +0 -60
  1548. data/src/admin_panel/vendor/rails/railties/configs/databases/oracle.yml +0 -39
  1549. data/src/admin_panel/vendor/rails/railties/configs/databases/postgresql.yml +0 -51
  1550. data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite2.yml +0 -19
  1551. data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite3.yml +0 -22
  1552. data/src/admin_panel/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +0 -7
  1553. data/src/admin_panel/vendor/rails/railties/configs/initializers/inflections.rb +0 -10
  1554. data/src/admin_panel/vendor/rails/railties/configs/initializers/mime_types.rb +0 -5
  1555. data/src/admin_panel/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +0 -19
  1556. data/src/admin_panel/vendor/rails/railties/configs/initializers/session_store.rb +0 -15
  1557. data/src/admin_panel/vendor/rails/railties/configs/locales/en.yml +0 -5
  1558. data/src/admin_panel/vendor/rails/railties/configs/routes.rb +0 -43
  1559. data/src/admin_panel/vendor/rails/railties/dispatches/config.ru +0 -7
  1560. data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.fcgi +0 -24
  1561. data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.rb +0 -10
  1562. data/src/admin_panel/vendor/rails/railties/dispatches/gateway.cgi +0 -97
  1563. data/src/admin_panel/vendor/rails/railties/doc/README_FOR_APP +0 -2
  1564. data/src/admin_panel/vendor/rails/railties/environments/boot.rb +0 -110
  1565. data/src/admin_panel/vendor/rails/railties/environments/development.rb +0 -17
  1566. data/src/admin_panel/vendor/rails/railties/environments/environment.rb +0 -41
  1567. data/src/admin_panel/vendor/rails/railties/environments/production.rb +0 -28
  1568. data/src/admin_panel/vendor/rails/railties/environments/test.rb +0 -28
  1569. data/src/admin_panel/vendor/rails/railties/fresh_rakefile +0 -10
  1570. data/src/admin_panel/vendor/rails/railties/helpers/application_controller.rb +0 -10
  1571. data/src/admin_panel/vendor/rails/railties/helpers/application_helper.rb +0 -3
  1572. data/src/admin_panel/vendor/rails/railties/helpers/performance_test.rb +0 -9
  1573. data/src/admin_panel/vendor/rails/railties/helpers/test_helper.rb +0 -38
  1574. data/src/admin_panel/vendor/rails/railties/html/404.html +0 -30
  1575. data/src/admin_panel/vendor/rails/railties/html/422.html +0 -30
  1576. data/src/admin_panel/vendor/rails/railties/html/500.html +0 -30
  1577. data/src/admin_panel/vendor/rails/railties/html/favicon.ico +0 -0
  1578. data/src/admin_panel/vendor/rails/railties/html/images/rails.png +0 -0
  1579. data/src/admin_panel/vendor/rails/railties/html/index.html +0 -275
  1580. data/src/admin_panel/vendor/rails/railties/html/javascripts/application.js +0 -2
  1581. data/src/admin_panel/vendor/rails/railties/html/javascripts/controls.js +0 -963
  1582. data/src/admin_panel/vendor/rails/railties/html/javascripts/dragdrop.js +0 -973
  1583. data/src/admin_panel/vendor/rails/railties/html/javascripts/effects.js +0 -1128
  1584. data/src/admin_panel/vendor/rails/railties/html/javascripts/prototype.js +0 -4320
  1585. data/src/admin_panel/vendor/rails/railties/html/robots.txt +0 -5
  1586. data/src/admin_panel/vendor/rails/railties/lib/code_statistics.rb +0 -107
  1587. data/src/admin_panel/vendor/rails/railties/lib/commands/about.rb +0 -3
  1588. data/src/admin_panel/vendor/rails/railties/lib/commands/console.rb +0 -45
  1589. data/src/admin_panel/vendor/rails/railties/lib/commands/dbconsole.rb +0 -83
  1590. data/src/admin_panel/vendor/rails/railties/lib/commands/destroy.rb +0 -6
  1591. data/src/admin_panel/vendor/rails/railties/lib/commands/generate.rb +0 -6
  1592. data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/listener +0 -86
  1593. data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/tracker +0 -69
  1594. data/src/admin_panel/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -24
  1595. data/src/admin_panel/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -50
  1596. data/src/admin_panel/vendor/rails/railties/lib/commands/plugin.rb +0 -968
  1597. data/src/admin_panel/vendor/rails/railties/lib/commands/runner.rb +0 -54
  1598. data/src/admin_panel/vendor/rails/railties/lib/commands/server.rb +0 -114
  1599. data/src/admin_panel/vendor/rails/railties/lib/commands/update.rb +0 -4
  1600. data/src/admin_panel/vendor/rails/railties/lib/commands.rb +0 -17
  1601. data/src/admin_panel/vendor/rails/railties/lib/console_app.rb +0 -30
  1602. data/src/admin_panel/vendor/rails/railties/lib/console_sandbox.rb +0 -6
  1603. data/src/admin_panel/vendor/rails/railties/lib/console_with_helpers.rb +0 -5
  1604. data/src/admin_panel/vendor/rails/railties/lib/dispatcher.rb +0 -24
  1605. data/src/admin_panel/vendor/rails/railties/lib/fcgi_handler.rb +0 -239
  1606. data/src/admin_panel/vendor/rails/railties/lib/initializer.rb +0 -1105
  1607. data/src/admin_panel/vendor/rails/railties/lib/performance_test_help.rb +0 -5
  1608. data/src/admin_panel/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +0 -54
  1609. data/src/admin_panel/vendor/rails/railties/lib/rails/gem_builder.rb +0 -21
  1610. data/src/admin_panel/vendor/rails/railties/lib/rails/gem_dependency.rb +0 -282
  1611. data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/loader.rb +0 -191
  1612. data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/locator.rb +0 -100
  1613. data/src/admin_panel/vendor/rails/railties/lib/rails/plugin.rb +0 -167
  1614. data/src/admin_panel/vendor/rails/railties/lib/rails/rack/debugger.rb +0 -21
  1615. data/src/admin_panel/vendor/rails/railties/lib/rails/rack/log_tailer.rb +0 -35
  1616. data/src/admin_panel/vendor/rails/railties/lib/rails/rack/metal.rb +0 -51
  1617. data/src/admin_panel/vendor/rails/railties/lib/rails/rack/static.rb +0 -46
  1618. data/src/admin_panel/vendor/rails/railties/lib/rails/rack.rb +0 -8
  1619. data/src/admin_panel/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +0 -140
  1620. data/src/admin_panel/vendor/rails/railties/lib/rails/version.rb +0 -9
  1621. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/base.rb +0 -266
  1622. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/commands.rb +0 -621
  1623. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +0 -46
  1624. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -9
  1625. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -258
  1626. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/git.rb +0 -16
  1627. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +0 -8
  1628. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +0 -7
  1629. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +0 -401
  1630. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +0 -30
  1631. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -43
  1632. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -7
  1633. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -8
  1634. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
  1635. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +0 -4
  1636. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -2
  1637. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/USAGE +0 -24
  1638. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +0 -25
  1639. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +0 -2
  1640. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +0 -4
  1641. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -8
  1642. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +0 -16
  1643. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +0 -10
  1644. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -16
  1645. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -30
  1646. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -3
  1647. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
  1648. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -15
  1649. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -20
  1650. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -3
  1651. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
  1652. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE +0 -8
  1653. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +0 -8
  1654. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +0 -12
  1655. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -29
  1656. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -20
  1657. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -11
  1658. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -27
  1659. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +0 -45
  1660. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -19
  1661. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -16
  1662. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +0 -5
  1663. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -8
  1664. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -13
  1665. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +0 -16
  1666. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -2
  1667. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -8
  1668. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/USAGE +0 -8
  1669. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +0 -16
  1670. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +0 -9
  1671. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -25
  1672. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -39
  1673. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -20
  1674. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -13
  1675. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -23
  1676. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
  1677. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
  1678. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
  1679. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +0 -1
  1680. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
  1681. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
  1682. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +0 -3
  1683. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +0 -1
  1684. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
  1685. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +0 -23
  1686. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +0 -76
  1687. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -2
  1688. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +0 -8
  1689. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -2
  1690. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +0 -4
  1691. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +0 -29
  1692. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -102
  1693. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -85
  1694. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -45
  1695. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
  1696. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +0 -4
  1697. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +0 -17
  1698. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -54
  1699. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +0 -18
  1700. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +0 -24
  1701. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +0 -17
  1702. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +0 -10
  1703. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -10
  1704. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -18
  1705. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -16
  1706. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -249
  1707. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -53
  1708. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/options.rb +0 -150
  1709. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +0 -29
  1710. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -7
  1711. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -12
  1712. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts.rb +0 -89
  1713. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +0 -24
  1714. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -46
  1715. data/src/admin_panel/vendor/rails/railties/lib/rails_generator/spec.rb +0 -44
  1716. data/src/admin_panel/vendor/rails/railties/lib/rails_generator.rb +0 -43
  1717. data/src/admin_panel/vendor/rails/railties/lib/railties_path.rb +0 -1
  1718. data/src/admin_panel/vendor/rails/railties/lib/ruby_version_check.rb +0 -17
  1719. data/src/admin_panel/vendor/rails/railties/lib/rubyprof_ext.rb +0 -35
  1720. data/src/admin_panel/vendor/rails/railties/lib/source_annotation_extractor.rb +0 -102
  1721. data/src/admin_panel/vendor/rails/railties/lib/tasks/annotations.rake +0 -20
  1722. data/src/admin_panel/vendor/rails/railties/lib/tasks/databases.rake +0 -423
  1723. data/src/admin_panel/vendor/rails/railties/lib/tasks/documentation.rake +0 -88
  1724. data/src/admin_panel/vendor/rails/railties/lib/tasks/framework.rake +0 -143
  1725. data/src/admin_panel/vendor/rails/railties/lib/tasks/gems.rake +0 -65
  1726. data/src/admin_panel/vendor/rails/railties/lib/tasks/log.rake +0 -9
  1727. data/src/admin_panel/vendor/rails/railties/lib/tasks/middleware.rake +0 -7
  1728. data/src/admin_panel/vendor/rails/railties/lib/tasks/misc.rake +0 -63
  1729. data/src/admin_panel/vendor/rails/railties/lib/tasks/rails.rb +0 -8
  1730. data/src/admin_panel/vendor/rails/railties/lib/tasks/routes.rake +0 -17
  1731. data/src/admin_panel/vendor/rails/railties/lib/tasks/statistics.rake +0 -17
  1732. data/src/admin_panel/vendor/rails/railties/lib/tasks/testing.rake +0 -139
  1733. data/src/admin_panel/vendor/rails/railties/lib/tasks/tmp.rake +0 -37
  1734. data/src/admin_panel/vendor/rails/railties/lib/test_help.rb +0 -35
  1735. data/src/admin_panel/vendor/rails/railties/lib/webrick_server.rb +0 -156
@@ -1,2107 +0,0 @@
1
- require "cases/helper"
2
- require 'models/author'
3
- require 'models/topic'
4
- require 'models/reply'
5
- require 'models/category'
6
- require 'models/company'
7
- require 'models/customer'
8
- require 'models/developer'
9
- require 'models/project'
10
- require 'models/default'
11
- require 'models/auto_id'
12
- require 'models/column_name'
13
- require 'models/subscriber'
14
- require 'models/keyboard'
15
- require 'models/post'
16
- require 'models/comment'
17
- require 'models/minimalistic'
18
- require 'models/warehouse_thing'
19
- require 'models/parrot'
20
- require 'rexml/document'
21
-
22
- class Category < ActiveRecord::Base; end
23
- class Categorization < ActiveRecord::Base; end
24
- class Smarts < ActiveRecord::Base; end
25
- class CreditCard < ActiveRecord::Base
26
- class PinNumber < ActiveRecord::Base
27
- class CvvCode < ActiveRecord::Base; end
28
- class SubCvvCode < CvvCode; end
29
- end
30
- class SubPinNumber < PinNumber; end
31
- class Brand < Category; end
32
- end
33
- class MasterCreditCard < ActiveRecord::Base; end
34
- class Post < ActiveRecord::Base; end
35
- class Computer < ActiveRecord::Base; end
36
- class NonExistentTable < ActiveRecord::Base; end
37
- class TestOracleDefault < ActiveRecord::Base; end
38
-
39
- class LoosePerson < ActiveRecord::Base
40
- self.table_name = 'people'
41
- self.abstract_class = true
42
- attr_protected :credit_rating, :administrator
43
- end
44
-
45
- class LooseDescendant < LoosePerson
46
- attr_protected :phone_number
47
- end
48
-
49
- class LooseDescendantSecond< LoosePerson
50
- attr_protected :phone_number
51
- attr_protected :name
52
- end
53
-
54
- class TightPerson < ActiveRecord::Base
55
- self.table_name = 'people'
56
- attr_accessible :name, :address
57
- end
58
-
59
- class TightDescendant < TightPerson
60
- attr_accessible :phone_number
61
- end
62
-
63
- class ReadonlyTitlePost < Post
64
- attr_readonly :title
65
- end
66
-
67
- class Booleantest < ActiveRecord::Base; end
68
-
69
- class Task < ActiveRecord::Base
70
- attr_protected :starting
71
- end
72
-
73
- class TopicWithProtectedContentAndAccessibleAuthorName < ActiveRecord::Base
74
- self.table_name = 'topics'
75
- attr_accessible :author_name
76
- attr_protected :content
77
- end
78
-
79
- class BasicsTest < ActiveRecord::TestCase
80
- fixtures :topics, :companies, :developers, :projects, :computers, :accounts, :minimalistics, 'warehouse-things', :authors, :categorizations, :categories, :posts
81
-
82
- def test_table_exists
83
- assert !NonExistentTable.table_exists?
84
- assert Topic.table_exists?
85
- end
86
-
87
- def test_set_attributes
88
- topic = Topic.find(1)
89
- topic.attributes = { "title" => "Budget", "author_name" => "Jason" }
90
- topic.save
91
- assert_equal("Budget", topic.title)
92
- assert_equal("Jason", topic.author_name)
93
- assert_equal(topics(:first).author_email_address, Topic.find(1).author_email_address)
94
- end
95
-
96
- def test_integers_as_nil
97
- test = AutoId.create('value' => '')
98
- assert_nil AutoId.find(test.id).value
99
- end
100
-
101
- def test_set_attributes_with_block
102
- topic = Topic.new do |t|
103
- t.title = "Budget"
104
- t.author_name = "Jason"
105
- end
106
-
107
- assert_equal("Budget", topic.title)
108
- assert_equal("Jason", topic.author_name)
109
- end
110
-
111
- def test_respond_to?
112
- topic = Topic.find(1)
113
- assert topic.respond_to?("title")
114
- assert topic.respond_to?("title?")
115
- assert topic.respond_to?("title=")
116
- assert topic.respond_to?(:title)
117
- assert topic.respond_to?(:title?)
118
- assert topic.respond_to?(:title=)
119
- assert topic.respond_to?("author_name")
120
- assert topic.respond_to?("attribute_names")
121
- assert !topic.respond_to?("nothingness")
122
- assert !topic.respond_to?(:nothingness)
123
- end
124
-
125
- def test_array_content
126
- topic = Topic.new
127
- topic.content = %w( one two three )
128
- topic.save
129
-
130
- assert_equal(%w( one two three ), Topic.find(topic.id).content)
131
- end
132
-
133
- def test_read_attributes_before_type_cast
134
- category = Category.new({:name=>"Test categoty", :type => nil})
135
- category_attrs = {"name"=>"Test categoty", "type" => nil, "categorizations_count" => nil}
136
- assert_equal category_attrs , category.attributes_before_type_cast
137
- end
138
-
139
- if current_adapter?(:MysqlAdapter)
140
- def test_read_attributes_before_type_cast_on_boolean
141
- bool = Booleantest.create({ "value" => false })
142
- assert_equal "0", bool.reload.attributes_before_type_cast["value"]
143
- end
144
- end
145
-
146
- def test_read_attributes_before_type_cast_on_datetime
147
- developer = Developer.find(:first)
148
- assert_equal developer.created_at.to_s(:db) , developer.attributes_before_type_cast["created_at"]
149
- end
150
-
151
- def test_hash_content
152
- topic = Topic.new
153
- topic.content = { "one" => 1, "two" => 2 }
154
- topic.save
155
-
156
- assert_equal 2, Topic.find(topic.id).content["two"]
157
-
158
- topic.content_will_change!
159
- topic.content["three"] = 3
160
- topic.save
161
-
162
- assert_equal 3, Topic.find(topic.id).content["three"]
163
- end
164
-
165
- def test_update_array_content
166
- topic = Topic.new
167
- topic.content = %w( one two three )
168
-
169
- topic.content.push "four"
170
- assert_equal(%w( one two three four ), topic.content)
171
-
172
- topic.save
173
-
174
- topic = Topic.find(topic.id)
175
- topic.content << "five"
176
- assert_equal(%w( one two three four five ), topic.content)
177
- end
178
-
179
- def test_case_sensitive_attributes_hash
180
- # DB2 is not case-sensitive
181
- return true if current_adapter?(:DB2Adapter)
182
-
183
- assert_equal @loaded_fixtures['computers']['workstation'].to_hash, Computer.find(:first).attributes
184
- end
185
-
186
- def test_create
187
- topic = Topic.new
188
- topic.title = "New Topic"
189
- topic.save
190
- topic_reloaded = Topic.find(topic.id)
191
- assert_equal("New Topic", topic_reloaded.title)
192
- end
193
-
194
- def test_save!
195
- topic = Topic.new(:title => "New Topic")
196
- assert topic.save!
197
-
198
- reply = Reply.new
199
- assert_raise(ActiveRecord::RecordInvalid) { reply.save! }
200
- end
201
-
202
- def test_save_null_string_attributes
203
- topic = Topic.find(1)
204
- topic.attributes = { "title" => "null", "author_name" => "null" }
205
- topic.save!
206
- topic.reload
207
- assert_equal("null", topic.title)
208
- assert_equal("null", topic.author_name)
209
- end
210
-
211
- def test_save_nil_string_attributes
212
- topic = Topic.find(1)
213
- topic.title = nil
214
- topic.save!
215
- topic.reload
216
- assert_nil topic.title
217
- end
218
-
219
- def test_save_for_record_with_only_primary_key
220
- minimalistic = Minimalistic.new
221
- assert_nothing_raised { minimalistic.save }
222
- end
223
-
224
- def test_save_for_record_with_only_primary_key_that_is_provided
225
- assert_nothing_raised { Minimalistic.create!(:id => 2) }
226
- end
227
-
228
- def test_hashes_not_mangled
229
- new_topic = { :title => "New Topic" }
230
- new_topic_values = { :title => "AnotherTopic" }
231
-
232
- topic = Topic.new(new_topic)
233
- assert_equal new_topic[:title], topic.title
234
-
235
- topic.attributes= new_topic_values
236
- assert_equal new_topic_values[:title], topic.title
237
- end
238
-
239
- def test_create_many
240
- topics = Topic.create([ { "title" => "first" }, { "title" => "second" }])
241
- assert_equal 2, topics.size
242
- assert_equal "first", topics.first.title
243
- end
244
-
245
- def test_create_columns_not_equal_attributes
246
- topic = Topic.new
247
- topic.title = 'Another New Topic'
248
- topic.send :write_attribute, 'does_not_exist', 'test'
249
- assert_nothing_raised { topic.save }
250
- end
251
-
252
- def test_create_through_factory
253
- topic = Topic.create("title" => "New Topic")
254
- topicReloaded = Topic.find(topic.id)
255
- assert_equal(topic, topicReloaded)
256
- end
257
-
258
- def test_create_through_factory_with_block
259
- topic = Topic.create("title" => "New Topic") do |t|
260
- t.author_name = "David"
261
- end
262
- topicReloaded = Topic.find(topic.id)
263
- assert_equal("New Topic", topic.title)
264
- assert_equal("David", topic.author_name)
265
- end
266
-
267
- def test_create_many_through_factory_with_block
268
- topics = Topic.create([ { "title" => "first" }, { "title" => "second" }]) do |t|
269
- t.author_name = "David"
270
- end
271
- assert_equal 2, topics.size
272
- topic1, topic2 = Topic.find(topics[0].id), Topic.find(topics[1].id)
273
- assert_equal "first", topic1.title
274
- assert_equal "David", topic1.author_name
275
- assert_equal "second", topic2.title
276
- assert_equal "David", topic2.author_name
277
- end
278
-
279
- def test_update
280
- topic = Topic.new
281
- topic.title = "Another New Topic"
282
- topic.written_on = "2003-12-12 23:23:00"
283
- topic.save
284
- topicReloaded = Topic.find(topic.id)
285
- assert_equal("Another New Topic", topicReloaded.title)
286
-
287
- topicReloaded.title = "Updated topic"
288
- topicReloaded.save
289
-
290
- topicReloadedAgain = Topic.find(topic.id)
291
-
292
- assert_equal("Updated topic", topicReloadedAgain.title)
293
- end
294
-
295
- def test_update_columns_not_equal_attributes
296
- topic = Topic.new
297
- topic.title = "Still another topic"
298
- topic.save
299
-
300
- topicReloaded = Topic.find(topic.id)
301
- topicReloaded.title = "A New Topic"
302
- topicReloaded.send :write_attribute, 'does_not_exist', 'test'
303
- assert_nothing_raised { topicReloaded.save }
304
- end
305
-
306
- def test_update_for_record_with_only_primary_key
307
- minimalistic = minimalistics(:first)
308
- assert_nothing_raised { minimalistic.save }
309
- end
310
-
311
- def test_write_attribute
312
- topic = Topic.new
313
- topic.send(:write_attribute, :title, "Still another topic")
314
- assert_equal "Still another topic", topic.title
315
-
316
- topic.send(:write_attribute, "title", "Still another topic: part 2")
317
- assert_equal "Still another topic: part 2", topic.title
318
- end
319
-
320
- def test_read_attribute
321
- topic = Topic.new
322
- topic.title = "Don't change the topic"
323
- assert_equal "Don't change the topic", topic.send(:read_attribute, "title")
324
- assert_equal "Don't change the topic", topic["title"]
325
-
326
- assert_equal "Don't change the topic", topic.send(:read_attribute, :title)
327
- assert_equal "Don't change the topic", topic[:title]
328
- end
329
-
330
- def test_read_attribute_when_false
331
- topic = topics(:first)
332
- topic.approved = false
333
- assert !topic.approved?, "approved should be false"
334
- topic.approved = "false"
335
- assert !topic.approved?, "approved should be false"
336
- end
337
-
338
- def test_read_attribute_when_true
339
- topic = topics(:first)
340
- topic.approved = true
341
- assert topic.approved?, "approved should be true"
342
- topic.approved = "true"
343
- assert topic.approved?, "approved should be true"
344
- end
345
-
346
- def test_read_write_boolean_attribute
347
- topic = Topic.new
348
- # puts ""
349
- # puts "New Topic"
350
- # puts topic.inspect
351
- topic.approved = "false"
352
- # puts "Expecting false"
353
- # puts topic.inspect
354
- assert !topic.approved?, "approved should be false"
355
- topic.approved = "false"
356
- # puts "Expecting false"
357
- # puts topic.inspect
358
- assert !topic.approved?, "approved should be false"
359
- topic.approved = "true"
360
- # puts "Expecting true"
361
- # puts topic.inspect
362
- assert topic.approved?, "approved should be true"
363
- topic.approved = "true"
364
- # puts "Expecting true"
365
- # puts topic.inspect
366
- assert topic.approved?, "approved should be true"
367
- # puts ""
368
- end
369
-
370
- def test_query_attribute_string
371
- [nil, "", " "].each do |value|
372
- assert_equal false, Topic.new(:author_name => value).author_name?
373
- end
374
-
375
- assert_equal true, Topic.new(:author_name => "Name").author_name?
376
- end
377
-
378
- def test_query_attribute_number
379
- [nil, 0, "0"].each do |value|
380
- assert_equal false, Developer.new(:salary => value).salary?
381
- end
382
-
383
- assert_equal true, Developer.new(:salary => 1).salary?
384
- assert_equal true, Developer.new(:salary => "1").salary?
385
- end
386
-
387
- def test_query_attribute_boolean
388
- [nil, "", false, "false", "f", 0].each do |value|
389
- assert_equal false, Topic.new(:approved => value).approved?
390
- end
391
-
392
- [true, "true", "1", 1].each do |value|
393
- assert_equal true, Topic.new(:approved => value).approved?
394
- end
395
- end
396
-
397
- def test_query_attribute_with_custom_fields
398
- object = Company.find_by_sql(<<-SQL).first
399
- SELECT c1.*, c2.ruby_type as string_value, c2.rating as int_value
400
- FROM companies c1, companies c2
401
- WHERE c1.firm_id = c2.id
402
- AND c1.id = 2
403
- SQL
404
-
405
- assert_equal "Firm", object.string_value
406
- assert object.string_value?
407
-
408
- object.string_value = " "
409
- assert !object.string_value?
410
-
411
- assert_equal 1, object.int_value.to_i
412
- assert object.int_value?
413
-
414
- object.int_value = "0"
415
- assert !object.int_value?
416
- end
417
-
418
-
419
- def test_reader_for_invalid_column_names
420
- Topic.send(:define_read_method, "mumub-jumbo".to_sym, "mumub-jumbo", nil)
421
- assert !Topic.generated_methods.include?("mumub-jumbo")
422
- end
423
-
424
- def test_non_attribute_access_and_assignment
425
- topic = Topic.new
426
- assert !topic.respond_to?("mumbo")
427
- assert_raise(NoMethodError) { topic.mumbo }
428
- assert_raise(NoMethodError) { topic.mumbo = 5 }
429
- end
430
-
431
- def test_preserving_date_objects
432
- if current_adapter?(:SybaseAdapter, :OracleAdapter)
433
- # Sybase ctlib does not (yet?) support the date type; use datetime instead.
434
- # Oracle treats all dates/times as Time.
435
- assert_kind_of(
436
- Time, Topic.find(1).last_read,
437
- "The last_read attribute should be of the Time class"
438
- )
439
- else
440
- assert_kind_of(
441
- Date, Topic.find(1).last_read,
442
- "The last_read attribute should be of the Date class"
443
- )
444
- end
445
- end
446
-
447
- def test_preserving_time_objects
448
- assert_kind_of(
449
- Time, Topic.find(1).bonus_time,
450
- "The bonus_time attribute should be of the Time class"
451
- )
452
-
453
- assert_kind_of(
454
- Time, Topic.find(1).written_on,
455
- "The written_on attribute should be of the Time class"
456
- )
457
-
458
- # For adapters which support microsecond resolution.
459
- if current_adapter?(:PostgreSQLAdapter)
460
- assert_equal 11, Topic.find(1).written_on.sec
461
- assert_equal 223300, Topic.find(1).written_on.usec
462
- assert_equal 9900, Topic.find(2).written_on.usec
463
- end
464
- end
465
-
466
- def test_custom_mutator
467
- topic = Topic.find(1)
468
- # This mutator is protected in the class definition
469
- topic.send(:approved=, true)
470
- assert topic.instance_variable_get("@custom_approved")
471
- end
472
-
473
- def test_delete
474
- topic = Topic.find(1)
475
- assert_equal topic, topic.delete, 'topic.delete did not return self'
476
- assert topic.frozen?, 'topic not frozen after delete'
477
- assert_raise(ActiveRecord::RecordNotFound) { Topic.find(topic.id) }
478
- end
479
-
480
- def test_delete_doesnt_run_callbacks
481
- Topic.find(1).delete
482
- assert_not_nil Topic.find(2)
483
- end
484
-
485
- def test_destroy
486
- topic = Topic.find(1)
487
- assert_equal topic, topic.destroy, 'topic.destroy did not return self'
488
- assert topic.frozen?, 'topic not frozen after destroy'
489
- assert_raise(ActiveRecord::RecordNotFound) { Topic.find(topic.id) }
490
- end
491
-
492
- def test_record_not_found_exception
493
- assert_raise(ActiveRecord::RecordNotFound) { topicReloaded = Topic.find(99999) }
494
- end
495
-
496
- def test_initialize_with_attributes
497
- topic = Topic.new({
498
- "title" => "initialized from attributes", "written_on" => "2003-12-12 23:23"
499
- })
500
-
501
- assert_equal("initialized from attributes", topic.title)
502
- end
503
-
504
- def test_initialize_with_invalid_attribute
505
- begin
506
- topic = Topic.new({ "title" => "test",
507
- "last_read(1i)" => "2005", "last_read(2i)" => "2", "last_read(3i)" => "31"})
508
- rescue ActiveRecord::MultiparameterAssignmentErrors => ex
509
- assert_equal(1, ex.errors.size)
510
- assert_equal("last_read", ex.errors[0].attribute)
511
- end
512
- end
513
-
514
- def test_load
515
- topics = Topic.find(:all, :order => 'id')
516
- assert_equal(4, topics.size)
517
- assert_equal(topics(:first).title, topics.first.title)
518
- end
519
-
520
- def test_load_with_condition
521
- topics = Topic.find(:all, :conditions => "author_name = 'Mary'")
522
-
523
- assert_equal(1, topics.size)
524
- assert_equal(topics(:second).title, topics.first.title)
525
- end
526
-
527
- def test_table_name_guesses
528
- classes = [Category, Smarts, CreditCard, CreditCard::PinNumber, CreditCard::PinNumber::CvvCode, CreditCard::SubPinNumber, CreditCard::Brand, MasterCreditCard]
529
-
530
- assert_equal "topics", Topic.table_name
531
-
532
- assert_equal "categories", Category.table_name
533
- assert_equal "smarts", Smarts.table_name
534
- assert_equal "credit_cards", CreditCard.table_name
535
- assert_equal "credit_card_pin_numbers", CreditCard::PinNumber.table_name
536
- assert_equal "credit_card_pin_number_cvv_codes", CreditCard::PinNumber::CvvCode.table_name
537
- assert_equal "credit_card_pin_numbers", CreditCard::SubPinNumber.table_name
538
- assert_equal "categories", CreditCard::Brand.table_name
539
- assert_equal "master_credit_cards", MasterCreditCard.table_name
540
-
541
- ActiveRecord::Base.pluralize_table_names = false
542
- classes.each(&:reset_table_name)
543
-
544
- assert_equal "category", Category.table_name
545
- assert_equal "smarts", Smarts.table_name
546
- assert_equal "credit_card", CreditCard.table_name
547
- assert_equal "credit_card_pin_number", CreditCard::PinNumber.table_name
548
- assert_equal "credit_card_pin_number_cvv_code", CreditCard::PinNumber::CvvCode.table_name
549
- assert_equal "credit_card_pin_number", CreditCard::SubPinNumber.table_name
550
- assert_equal "category", CreditCard::Brand.table_name
551
- assert_equal "master_credit_card", MasterCreditCard.table_name
552
-
553
- ActiveRecord::Base.pluralize_table_names = true
554
- classes.each(&:reset_table_name)
555
-
556
- ActiveRecord::Base.table_name_prefix = "test_"
557
- Category.reset_table_name
558
- assert_equal "test_categories", Category.table_name
559
- ActiveRecord::Base.table_name_suffix = "_test"
560
- Category.reset_table_name
561
- assert_equal "test_categories_test", Category.table_name
562
- ActiveRecord::Base.table_name_prefix = ""
563
- Category.reset_table_name
564
- assert_equal "categories_test", Category.table_name
565
- ActiveRecord::Base.table_name_suffix = ""
566
- Category.reset_table_name
567
- assert_equal "categories", Category.table_name
568
-
569
- ActiveRecord::Base.pluralize_table_names = false
570
- ActiveRecord::Base.table_name_prefix = "test_"
571
- Category.reset_table_name
572
- assert_equal "test_category", Category.table_name
573
- ActiveRecord::Base.table_name_suffix = "_test"
574
- Category.reset_table_name
575
- assert_equal "test_category_test", Category.table_name
576
- ActiveRecord::Base.table_name_prefix = ""
577
- Category.reset_table_name
578
- assert_equal "category_test", Category.table_name
579
- ActiveRecord::Base.table_name_suffix = ""
580
- Category.reset_table_name
581
- assert_equal "category", Category.table_name
582
-
583
- ActiveRecord::Base.pluralize_table_names = true
584
- classes.each(&:reset_table_name)
585
- end
586
-
587
- def test_destroy_all
588
- original_count = Topic.count
589
- topics_by_mary = Topic.count(:conditions => mary = "author_name = 'Mary'")
590
-
591
- Topic.destroy_all mary
592
- assert_equal original_count - topics_by_mary, Topic.count
593
- end
594
-
595
- def test_destroy_many
596
- assert_equal 3, Client.count
597
- Client.destroy([2, 3])
598
- assert_equal 1, Client.count
599
- end
600
-
601
- def test_delete_many
602
- original_count = Topic.count
603
- Topic.delete(deleting = [1, 2])
604
- assert_equal original_count - deleting.size, Topic.count
605
- end
606
-
607
- def test_boolean_attributes
608
- assert ! Topic.find(1).approved?
609
- assert Topic.find(2).approved?
610
- end
611
-
612
- def test_increment_counter
613
- Topic.increment_counter("replies_count", 1)
614
- assert_equal 2, Topic.find(1).replies_count
615
-
616
- Topic.increment_counter("replies_count", 1)
617
- assert_equal 3, Topic.find(1).replies_count
618
- end
619
-
620
- def test_decrement_counter
621
- Topic.decrement_counter("replies_count", 2)
622
- assert_equal -1, Topic.find(2).replies_count
623
-
624
- Topic.decrement_counter("replies_count", 2)
625
- assert_equal -2, Topic.find(2).replies_count
626
- end
627
-
628
- def test_update_counter
629
- category = categories(:general)
630
- assert_nil category.categorizations_count
631
- assert_equal 2, category.categorizations.count
632
-
633
- Category.update_counters(category.id, "categorizations_count" => category.categorizations.count)
634
- category.reload
635
- assert_not_nil category.categorizations_count
636
- assert_equal 2, category.categorizations_count
637
-
638
- Category.update_counters(category.id, "categorizations_count" => category.categorizations.count)
639
- category.reload
640
- assert_not_nil category.categorizations_count
641
- assert_equal 4, category.categorizations_count
642
-
643
- category_2 = categories(:technology)
644
- count_1, count_2 = (category.categorizations_count || 0), (category_2.categorizations_count || 0)
645
- Category.update_counters([category.id, category_2.id], "categorizations_count" => 2)
646
- category.reload; category_2.reload
647
- assert_equal count_1 + 2, category.categorizations_count
648
- assert_equal count_2 + 2, category_2.categorizations_count
649
- end
650
-
651
- def test_update_all
652
- assert_equal Topic.count, Topic.update_all("content = 'bulk updated!'")
653
- assert_equal "bulk updated!", Topic.find(1).content
654
- assert_equal "bulk updated!", Topic.find(2).content
655
-
656
- assert_equal Topic.count, Topic.update_all(['content = ?', 'bulk updated again!'])
657
- assert_equal "bulk updated again!", Topic.find(1).content
658
- assert_equal "bulk updated again!", Topic.find(2).content
659
-
660
- assert_equal Topic.count, Topic.update_all(['content = ?', nil])
661
- assert_nil Topic.find(1).content
662
- end
663
-
664
- def test_update_all_with_hash
665
- assert_not_nil Topic.find(1).last_read
666
- assert_equal Topic.count, Topic.update_all(:content => 'bulk updated with hash!', :last_read => nil)
667
- assert_equal "bulk updated with hash!", Topic.find(1).content
668
- assert_equal "bulk updated with hash!", Topic.find(2).content
669
- assert_nil Topic.find(1).last_read
670
- assert_nil Topic.find(2).last_read
671
- end
672
-
673
- def test_update_all_with_non_standard_table_name
674
- assert_equal 1, WarehouseThing.update_all(['value = ?', 0], ['id = ?', 1])
675
- assert_equal 0, WarehouseThing.find(1).value
676
- end
677
-
678
- if current_adapter?(:MysqlAdapter)
679
- def test_update_all_with_order_and_limit
680
- assert_equal 1, Topic.update_all("content = 'bulk updated!'", nil, :limit => 1, :order => 'id DESC')
681
- end
682
- end
683
-
684
- def test_update_all_ignores_order_without_limit_from_association
685
- author = authors(:david)
686
- assert_nothing_raised do
687
- assert_equal author.posts_with_comments_and_categories.length, author.posts_with_comments_and_categories.update_all([ "body = ?", "bulk update!" ])
688
- end
689
- end
690
-
691
- def test_update_all_with_order_and_limit_updates_subset_only
692
- author = authors(:david)
693
- assert_nothing_raised do
694
- assert_equal 1, author.posts_sorted_by_id_limited.size
695
- assert_equal 2, author.posts_sorted_by_id_limited.find(:all, :limit => 2).size
696
- assert_equal 1, author.posts_sorted_by_id_limited.update_all([ "body = ?", "bulk update!" ])
697
- assert_equal "bulk update!", posts(:welcome).body
698
- assert_not_equal "bulk update!", posts(:thinking).body
699
- end
700
- end
701
-
702
- def test_update_many
703
- topic_data = { 1 => { "content" => "1 updated" }, 2 => { "content" => "2 updated" } }
704
- updated = Topic.update(topic_data.keys, topic_data.values)
705
-
706
- assert_equal 2, updated.size
707
- assert_equal "1 updated", Topic.find(1).content
708
- assert_equal "2 updated", Topic.find(2).content
709
- end
710
-
711
- def test_delete_all
712
- assert Topic.count > 0
713
-
714
- assert_equal Topic.count, Topic.delete_all
715
- end
716
-
717
- def test_update_by_condition
718
- Topic.update_all "content = 'bulk updated!'", ["approved = ?", true]
719
- assert_equal "Have a nice day", Topic.find(1).content
720
- assert_equal "bulk updated!", Topic.find(2).content
721
- end
722
-
723
- def test_attribute_present
724
- t = Topic.new
725
- t.title = "hello there!"
726
- t.written_on = Time.now
727
- assert t.attribute_present?("title")
728
- assert t.attribute_present?("written_on")
729
- assert !t.attribute_present?("content")
730
- end
731
-
732
- def test_attribute_keys_on_new_instance
733
- t = Topic.new
734
- assert_equal nil, t.title, "The topics table has a title column, so it should be nil"
735
- assert_raise(NoMethodError) { t.title2 }
736
- end
737
-
738
- def test_class_name
739
- assert_equal "Firm", ActiveRecord::Base.class_name("firms")
740
- assert_equal "Category", ActiveRecord::Base.class_name("categories")
741
- assert_equal "AccountHolder", ActiveRecord::Base.class_name("account_holder")
742
-
743
- ActiveRecord::Base.pluralize_table_names = false
744
- assert_equal "Firms", ActiveRecord::Base.class_name( "firms" )
745
- ActiveRecord::Base.pluralize_table_names = true
746
-
747
- ActiveRecord::Base.table_name_prefix = "test_"
748
- assert_equal "Firm", ActiveRecord::Base.class_name( "test_firms" )
749
- ActiveRecord::Base.table_name_suffix = "_tests"
750
- assert_equal "Firm", ActiveRecord::Base.class_name( "test_firms_tests" )
751
- ActiveRecord::Base.table_name_prefix = ""
752
- assert_equal "Firm", ActiveRecord::Base.class_name( "firms_tests" )
753
- ActiveRecord::Base.table_name_suffix = ""
754
- assert_equal "Firm", ActiveRecord::Base.class_name( "firms" )
755
- end
756
-
757
- def test_null_fields
758
- assert_nil Topic.find(1).parent_id
759
- assert_nil Topic.create("title" => "Hey you").parent_id
760
- end
761
-
762
- def test_default_values
763
- topic = Topic.new
764
- assert topic.approved?
765
- assert_nil topic.written_on
766
- assert_nil topic.bonus_time
767
- assert_nil topic.last_read
768
-
769
- topic.save
770
-
771
- topic = Topic.find(topic.id)
772
- assert topic.approved?
773
- assert_nil topic.last_read
774
-
775
- # Oracle has some funky default handling, so it requires a bit of
776
- # extra testing. See ticket #2788.
777
- if current_adapter?(:OracleAdapter)
778
- test = TestOracleDefault.new
779
- assert_equal "X", test.test_char
780
- assert_equal "hello", test.test_string
781
- assert_equal 3, test.test_int
782
- end
783
- end
784
-
785
- # Oracle, and Sybase do not have a TIME datatype.
786
- unless current_adapter?(:OracleAdapter, :SybaseAdapter)
787
- def test_utc_as_time_zone
788
- Topic.default_timezone = :utc
789
- attributes = { "bonus_time" => "5:42:00AM" }
790
- topic = Topic.find(1)
791
- topic.attributes = attributes
792
- assert_equal Time.utc(2000, 1, 1, 5, 42, 0), topic.bonus_time
793
- Topic.default_timezone = :local
794
- end
795
-
796
- def test_utc_as_time_zone_and_new
797
- Topic.default_timezone = :utc
798
- attributes = { "bonus_time(1i)"=>"2000",
799
- "bonus_time(2i)"=>"1",
800
- "bonus_time(3i)"=>"1",
801
- "bonus_time(4i)"=>"10",
802
- "bonus_time(5i)"=>"35",
803
- "bonus_time(6i)"=>"50" }
804
- topic = Topic.new(attributes)
805
- assert_equal Time.utc(2000, 1, 1, 10, 35, 50), topic.bonus_time
806
- Topic.default_timezone = :local
807
- end
808
- end
809
-
810
- def test_default_values_on_empty_strings
811
- topic = Topic.new
812
- topic.approved = nil
813
- topic.last_read = nil
814
-
815
- topic.save
816
-
817
- topic = Topic.find(topic.id)
818
- assert_nil topic.last_read
819
-
820
- # Sybase adapter does not allow nulls in boolean columns
821
- if current_adapter?(:SybaseAdapter)
822
- assert topic.approved == false
823
- else
824
- assert_nil topic.approved
825
- end
826
- end
827
-
828
- def test_equality
829
- assert_equal Topic.find(1), Topic.find(2).topic
830
- end
831
-
832
- def test_equality_of_new_records
833
- assert_not_equal Topic.new, Topic.new
834
- end
835
-
836
- def test_hashing
837
- assert_equal [ Topic.find(1) ], [ Topic.find(2).topic ] & [ Topic.find(1) ]
838
- end
839
-
840
- def test_delete_new_record
841
- client = Client.new
842
- client.delete
843
- assert client.frozen?
844
- end
845
-
846
- def test_delete_record_with_associations
847
- client = Client.find(3)
848
- client.delete
849
- assert client.frozen?
850
- assert_kind_of Firm, client.firm
851
- assert_raise(ActiveSupport::FrozenObjectError) { client.name = "something else" }
852
- end
853
-
854
- def test_destroy_new_record
855
- client = Client.new
856
- client.destroy
857
- assert client.frozen?
858
- end
859
-
860
- def test_destroy_record_with_associations
861
- client = Client.find(3)
862
- client.destroy
863
- assert client.frozen?
864
- assert_kind_of Firm, client.firm
865
- assert_raise(ActiveSupport::FrozenObjectError) { client.name = "something else" }
866
- end
867
-
868
- def test_update_attribute
869
- assert !Topic.find(1).approved?
870
- Topic.find(1).update_attribute("approved", true)
871
- assert Topic.find(1).approved?
872
-
873
- Topic.find(1).update_attribute(:approved, false)
874
- assert !Topic.find(1).approved?
875
- end
876
-
877
- def test_update_attributes
878
- topic = Topic.find(1)
879
- assert !topic.approved?
880
- assert_equal "The First Topic", topic.title
881
-
882
- topic.update_attributes("approved" => true, "title" => "The First Topic Updated")
883
- topic.reload
884
- assert topic.approved?
885
- assert_equal "The First Topic Updated", topic.title
886
-
887
- topic.update_attributes(:approved => false, :title => "The First Topic")
888
- topic.reload
889
- assert !topic.approved?
890
- assert_equal "The First Topic", topic.title
891
- end
892
-
893
- def test_update_attributes!
894
- reply = Reply.find(2)
895
- assert_equal "The Second Topic of the day", reply.title
896
- assert_equal "Have a nice day", reply.content
897
-
898
- reply.update_attributes!("title" => "The Second Topic of the day updated", "content" => "Have a nice evening")
899
- reply.reload
900
- assert_equal "The Second Topic of the day updated", reply.title
901
- assert_equal "Have a nice evening", reply.content
902
-
903
- reply.update_attributes!(:title => "The Second Topic of the day", :content => "Have a nice day")
904
- reply.reload
905
- assert_equal "The Second Topic of the day", reply.title
906
- assert_equal "Have a nice day", reply.content
907
-
908
- assert_raise(ActiveRecord::RecordInvalid) { reply.update_attributes!(:title => nil, :content => "Have a nice evening") }
909
- end
910
-
911
- def test_mass_assignment_should_raise_exception_if_accessible_and_protected_attribute_writers_are_both_used
912
- topic = TopicWithProtectedContentAndAccessibleAuthorName.new
913
- assert_raise(RuntimeError) { topic.attributes = { "author_name" => "me" } }
914
- assert_raise(RuntimeError) { topic.attributes = { "content" => "stuff" } }
915
- end
916
-
917
- def test_mass_assignment_protection
918
- firm = Firm.new
919
- firm.attributes = { "name" => "Next Angle", "rating" => 5 }
920
- assert_equal 1, firm.rating
921
- end
922
-
923
- def test_mass_assignment_protection_against_class_attribute_writers
924
- [:logger, :configurations, :primary_key_prefix_type, :table_name_prefix, :table_name_suffix, :pluralize_table_names, :colorize_logging,
925
- :default_timezone, :schema_format, :lock_optimistically, :record_timestamps].each do |method|
926
- assert Task.respond_to?(method)
927
- assert Task.respond_to?("#{method}=")
928
- assert Task.new.respond_to?(method)
929
- assert !Task.new.respond_to?("#{method}=")
930
- end
931
- end
932
-
933
- def test_customized_primary_key_remains_protected
934
- subscriber = Subscriber.new(:nick => 'webster123', :name => 'nice try')
935
- assert_nil subscriber.id
936
-
937
- keyboard = Keyboard.new(:key_number => 9, :name => 'nice try')
938
- assert_nil keyboard.id
939
- end
940
-
941
- def test_customized_primary_key_remains_protected_when_referred_to_as_id
942
- subscriber = Subscriber.new(:id => 'webster123', :name => 'nice try')
943
- assert_nil subscriber.id
944
-
945
- keyboard = Keyboard.new(:id => 9, :name => 'nice try')
946
- assert_nil keyboard.id
947
- end
948
-
949
- def test_mass_assigning_invalid_attribute
950
- firm = Firm.new
951
-
952
- assert_raise(ActiveRecord::UnknownAttributeError) do
953
- firm.attributes = { "id" => 5, "type" => "Client", "i_dont_even_exist" => 20 }
954
- end
955
- end
956
-
957
- def test_mass_assignment_protection_on_defaults
958
- firm = Firm.new
959
- firm.attributes = { "id" => 5, "type" => "Client" }
960
- assert_nil firm.id
961
- assert_equal "Firm", firm[:type]
962
- end
963
-
964
- def test_mass_assignment_accessible
965
- reply = Reply.new("title" => "hello", "content" => "world", "approved" => true)
966
- reply.save
967
-
968
- assert reply.approved?
969
-
970
- reply.approved = false
971
- reply.save
972
-
973
- assert !reply.approved?
974
- end
975
-
976
- def test_mass_assignment_protection_inheritance
977
- assert_nil LoosePerson.accessible_attributes
978
- assert_equal Set.new([ 'credit_rating', 'administrator' ]), LoosePerson.protected_attributes
979
-
980
- assert_nil LooseDescendant.accessible_attributes
981
- assert_equal Set.new([ 'credit_rating', 'administrator', 'phone_number' ]), LooseDescendant.protected_attributes
982
-
983
- assert_nil LooseDescendantSecond.accessible_attributes
984
- assert_equal Set.new([ 'credit_rating', 'administrator', 'phone_number', 'name' ]), LooseDescendantSecond.protected_attributes, 'Running attr_protected twice in one class should merge the protections'
985
-
986
- assert_nil TightPerson.protected_attributes
987
- assert_equal Set.new([ 'name', 'address' ]), TightPerson.accessible_attributes
988
-
989
- assert_nil TightDescendant.protected_attributes
990
- assert_equal Set.new([ 'name', 'address', 'phone_number' ]), TightDescendant.accessible_attributes
991
- end
992
-
993
- def test_readonly_attributes
994
- assert_equal Set.new([ 'title' , 'comments_count' ]), ReadonlyTitlePost.readonly_attributes
995
-
996
- post = ReadonlyTitlePost.create(:title => "cannot change this", :body => "changeable")
997
- post.reload
998
- assert_equal "cannot change this", post.title
999
-
1000
- post.update_attributes(:title => "try to change", :body => "changed")
1001
- post.reload
1002
- assert_equal "cannot change this", post.title
1003
- assert_equal "changed", post.body
1004
- end
1005
-
1006
- def test_multiparameter_attributes_on_date
1007
- attributes = { "last_read(1i)" => "2004", "last_read(2i)" => "6", "last_read(3i)" => "24" }
1008
- topic = Topic.find(1)
1009
- topic.attributes = attributes
1010
- # note that extra #to_date call allows test to pass for Oracle, which
1011
- # treats dates/times the same
1012
- assert_date_from_db Date.new(2004, 6, 24), topic.last_read.to_date
1013
- end
1014
-
1015
- def test_multiparameter_attributes_on_date_with_empty_date
1016
- attributes = { "last_read(1i)" => "2004", "last_read(2i)" => "6", "last_read(3i)" => "" }
1017
- topic = Topic.find(1)
1018
- topic.attributes = attributes
1019
- # note that extra #to_date call allows test to pass for Oracle, which
1020
- # treats dates/times the same
1021
- assert_date_from_db Date.new(2004, 6, 1), topic.last_read.to_date
1022
- end
1023
-
1024
- def test_multiparameter_attributes_on_date_with_all_empty
1025
- attributes = { "last_read(1i)" => "", "last_read(2i)" => "", "last_read(3i)" => "" }
1026
- topic = Topic.find(1)
1027
- topic.attributes = attributes
1028
- assert_nil topic.last_read
1029
- end
1030
-
1031
- def test_multiparameter_attributes_on_time
1032
- attributes = {
1033
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1034
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1035
- }
1036
- topic = Topic.find(1)
1037
- topic.attributes = attributes
1038
- assert_equal Time.local(2004, 6, 24, 16, 24, 0), topic.written_on
1039
- end
1040
-
1041
- def test_multiparameter_attributes_on_time_with_old_date
1042
- attributes = {
1043
- "written_on(1i)" => "1850", "written_on(2i)" => "6", "written_on(3i)" => "24",
1044
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1045
- }
1046
- topic = Topic.find(1)
1047
- topic.attributes = attributes
1048
- # testing against to_s(:db) representation because either a Time or a DateTime might be returned, depending on platform
1049
- assert_equal "1850-06-24 16:24:00", topic.written_on.to_s(:db)
1050
- end
1051
-
1052
- def test_multiparameter_attributes_on_time_with_utc
1053
- ActiveRecord::Base.default_timezone = :utc
1054
- attributes = {
1055
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1056
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1057
- }
1058
- topic = Topic.find(1)
1059
- topic.attributes = attributes
1060
- assert_equal Time.utc(2004, 6, 24, 16, 24, 0), topic.written_on
1061
- ensure
1062
- ActiveRecord::Base.default_timezone = :local
1063
- end
1064
-
1065
- def test_multiparameter_attributes_on_time_with_time_zone_aware_attributes
1066
- ActiveRecord::Base.time_zone_aware_attributes = true
1067
- ActiveRecord::Base.default_timezone = :utc
1068
- Time.zone = ActiveSupport::TimeZone[-28800]
1069
- attributes = {
1070
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1071
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1072
- }
1073
- topic = Topic.find(1)
1074
- topic.attributes = attributes
1075
- assert_equal Time.utc(2004, 6, 24, 23, 24, 0), topic.written_on
1076
- assert_equal Time.utc(2004, 6, 24, 16, 24, 0), topic.written_on.time
1077
- assert_equal Time.zone, topic.written_on.time_zone
1078
- ensure
1079
- ActiveRecord::Base.time_zone_aware_attributes = false
1080
- ActiveRecord::Base.default_timezone = :local
1081
- Time.zone = nil
1082
- end
1083
-
1084
- def test_multiparameter_attributes_on_time_with_time_zone_aware_attributes_false
1085
- ActiveRecord::Base.time_zone_aware_attributes = false
1086
- Time.zone = ActiveSupport::TimeZone[-28800]
1087
- attributes = {
1088
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1089
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1090
- }
1091
- topic = Topic.find(1)
1092
- topic.attributes = attributes
1093
- assert_equal Time.local(2004, 6, 24, 16, 24, 0), topic.written_on
1094
- assert_equal false, topic.written_on.respond_to?(:time_zone)
1095
- ensure
1096
- Time.zone = nil
1097
- end
1098
-
1099
- def test_multiparameter_attributes_on_time_with_skip_time_zone_conversion_for_attributes
1100
- ActiveRecord::Base.time_zone_aware_attributes = true
1101
- ActiveRecord::Base.default_timezone = :utc
1102
- Time.zone = ActiveSupport::TimeZone[-28800]
1103
- Topic.skip_time_zone_conversion_for_attributes = [:written_on]
1104
- attributes = {
1105
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1106
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => "00"
1107
- }
1108
- topic = Topic.find(1)
1109
- topic.attributes = attributes
1110
- assert_equal Time.utc(2004, 6, 24, 16, 24, 0), topic.written_on
1111
- assert_equal false, topic.written_on.respond_to?(:time_zone)
1112
- ensure
1113
- ActiveRecord::Base.time_zone_aware_attributes = false
1114
- ActiveRecord::Base.default_timezone = :local
1115
- Time.zone = nil
1116
- Topic.skip_time_zone_conversion_for_attributes = []
1117
- end
1118
-
1119
- def test_multiparameter_attributes_on_time_only_column_with_time_zone_aware_attributes_does_not_do_time_zone_conversion
1120
- ActiveRecord::Base.time_zone_aware_attributes = true
1121
- ActiveRecord::Base.default_timezone = :utc
1122
- Time.zone = ActiveSupport::TimeZone[-28800]
1123
- attributes = {
1124
- "bonus_time(1i)" => "2000", "bonus_time(2i)" => "1", "bonus_time(3i)" => "1",
1125
- "bonus_time(4i)" => "16", "bonus_time(5i)" => "24"
1126
- }
1127
- topic = Topic.find(1)
1128
- topic.attributes = attributes
1129
- assert_equal Time.utc(2000, 1, 1, 16, 24, 0), topic.bonus_time
1130
- assert topic.bonus_time.utc?
1131
- ensure
1132
- ActiveRecord::Base.time_zone_aware_attributes = false
1133
- ActiveRecord::Base.default_timezone = :local
1134
- Time.zone = nil
1135
- end
1136
-
1137
- def test_multiparameter_attributes_on_time_with_empty_seconds
1138
- attributes = {
1139
- "written_on(1i)" => "2004", "written_on(2i)" => "6", "written_on(3i)" => "24",
1140
- "written_on(4i)" => "16", "written_on(5i)" => "24", "written_on(6i)" => ""
1141
- }
1142
- topic = Topic.find(1)
1143
- topic.attributes = attributes
1144
- assert_equal Time.local(2004, 6, 24, 16, 24, 0), topic.written_on
1145
- end
1146
-
1147
- def test_multiparameter_mass_assignment_protector
1148
- task = Task.new
1149
- time = Time.mktime(2000, 1, 1, 1)
1150
- task.starting = time
1151
- attributes = { "starting(1i)" => "2004", "starting(2i)" => "6", "starting(3i)" => "24" }
1152
- task.attributes = attributes
1153
- assert_equal time, task.starting
1154
- end
1155
-
1156
- def test_multiparameter_assignment_of_aggregation
1157
- customer = Customer.new
1158
- address = Address.new("The Street", "The City", "The Country")
1159
- attributes = { "address(1)" => address.street, "address(2)" => address.city, "address(3)" => address.country }
1160
- customer.attributes = attributes
1161
- assert_equal address, customer.address
1162
- end
1163
-
1164
- def test_attributes_on_dummy_time
1165
- # Oracle, and Sybase do not have a TIME datatype.
1166
- return true if current_adapter?(:OracleAdapter, :SybaseAdapter)
1167
-
1168
- attributes = {
1169
- "bonus_time" => "5:42:00AM"
1170
- }
1171
- topic = Topic.find(1)
1172
- topic.attributes = attributes
1173
- assert_equal Time.local(2000, 1, 1, 5, 42, 0), topic.bonus_time
1174
- end
1175
-
1176
- def test_boolean
1177
- b_nil = Booleantest.create({ "value" => nil })
1178
- nil_id = b_nil.id
1179
- b_false = Booleantest.create({ "value" => false })
1180
- false_id = b_false.id
1181
- b_true = Booleantest.create({ "value" => true })
1182
- true_id = b_true.id
1183
-
1184
- b_nil = Booleantest.find(nil_id)
1185
- assert_nil b_nil.value
1186
- b_false = Booleantest.find(false_id)
1187
- assert !b_false.value?
1188
- b_true = Booleantest.find(true_id)
1189
- assert b_true.value?
1190
- end
1191
-
1192
- def test_boolean_cast_from_string
1193
- b_blank = Booleantest.create({ "value" => "" })
1194
- blank_id = b_blank.id
1195
- b_false = Booleantest.create({ "value" => "0" })
1196
- false_id = b_false.id
1197
- b_true = Booleantest.create({ "value" => "1" })
1198
- true_id = b_true.id
1199
-
1200
- b_blank = Booleantest.find(blank_id)
1201
- assert_nil b_blank.value
1202
- b_false = Booleantest.find(false_id)
1203
- assert !b_false.value?
1204
- b_true = Booleantest.find(true_id)
1205
- assert b_true.value?
1206
- end
1207
-
1208
- def test_new_record_returns_boolean
1209
- assert_equal Topic.new.new_record?, true
1210
- assert_equal Topic.find(1).new_record?, false
1211
- end
1212
-
1213
- def test_clone
1214
- topic = Topic.find(1)
1215
- cloned_topic = nil
1216
- assert_nothing_raised { cloned_topic = topic.clone }
1217
- assert_equal topic.title, cloned_topic.title
1218
- assert cloned_topic.new_record?
1219
-
1220
- # test if the attributes have been cloned
1221
- topic.title = "a"
1222
- cloned_topic.title = "b"
1223
- assert_equal "a", topic.title
1224
- assert_equal "b", cloned_topic.title
1225
-
1226
- # test if the attribute values have been cloned
1227
- topic.title = {"a" => "b"}
1228
- cloned_topic = topic.clone
1229
- cloned_topic.title["a"] = "c"
1230
- assert_equal "b", topic.title["a"]
1231
-
1232
- #test if attributes set as part of after_initialize are cloned correctly
1233
- assert_equal topic.author_email_address, cloned_topic.author_email_address
1234
-
1235
- # test if saved clone object differs from original
1236
- cloned_topic.save
1237
- assert !cloned_topic.new_record?
1238
- assert cloned_topic.id != topic.id
1239
- end
1240
-
1241
- def test_clone_with_aggregate_of_same_name_as_attribute
1242
- dev = DeveloperWithAggregate.find(1)
1243
- assert_kind_of DeveloperSalary, dev.salary
1244
-
1245
- clone = nil
1246
- assert_nothing_raised { clone = dev.clone }
1247
- assert_kind_of DeveloperSalary, clone.salary
1248
- assert_equal dev.salary.amount, clone.salary.amount
1249
- assert clone.new_record?
1250
-
1251
- # test if the attributes have been cloned
1252
- original_amount = clone.salary.amount
1253
- dev.salary.amount = 1
1254
- assert_equal original_amount, clone.salary.amount
1255
-
1256
- assert clone.save
1257
- assert !clone.new_record?
1258
- assert clone.id != dev.id
1259
- end
1260
-
1261
- def test_clone_preserves_subtype
1262
- clone = nil
1263
- assert_nothing_raised { clone = Company.find(3).clone }
1264
- assert_kind_of Client, clone
1265
- end
1266
-
1267
- def test_bignum
1268
- company = Company.find(1)
1269
- company.rating = 2147483647
1270
- company.save
1271
- company = Company.find(1)
1272
- assert_equal 2147483647, company.rating
1273
- end
1274
-
1275
- # TODO: extend defaults tests to other databases!
1276
- if current_adapter?(:PostgreSQLAdapter)
1277
- def test_default
1278
- default = Default.new
1279
-
1280
- # fixed dates / times
1281
- assert_equal Date.new(2004, 1, 1), default.fixed_date
1282
- assert_equal Time.local(2004, 1,1,0,0,0,0), default.fixed_time
1283
-
1284
- # char types
1285
- assert_equal 'Y', default.char1
1286
- assert_equal 'a varchar field', default.char2
1287
- assert_equal 'a text field', default.char3
1288
- end
1289
-
1290
- class Geometric < ActiveRecord::Base; end
1291
- def test_geometric_content
1292
-
1293
- # accepted format notes:
1294
- # ()'s aren't required
1295
- # values can be a mix of float or integer
1296
-
1297
- g = Geometric.new(
1298
- :a_point => '(5.0, 6.1)',
1299
- #:a_line => '((2.0, 3), (5.5, 7.0))' # line type is currently unsupported in postgresql
1300
- :a_line_segment => '(2.0, 3), (5.5, 7.0)',
1301
- :a_box => '2.0, 3, 5.5, 7.0',
1302
- :a_path => '[(2.0, 3), (5.5, 7.0), (8.5, 11.0)]', # [ ] is an open path
1303
- :a_polygon => '((2.0, 3), (5.5, 7.0), (8.5, 11.0))',
1304
- :a_circle => '<(5.3, 10.4), 2>'
1305
- )
1306
-
1307
- assert g.save
1308
-
1309
- # Reload and check that we have all the geometric attributes.
1310
- h = Geometric.find(g.id)
1311
-
1312
- assert_equal '(5,6.1)', h.a_point
1313
- assert_equal '[(2,3),(5.5,7)]', h.a_line_segment
1314
- assert_equal '(5.5,7),(2,3)', h.a_box # reordered to store upper right corner then bottom left corner
1315
- assert_equal '[(2,3),(5.5,7),(8.5,11)]', h.a_path
1316
- assert_equal '((2,3),(5.5,7),(8.5,11))', h.a_polygon
1317
- assert_equal '<(5.3,10.4),2>', h.a_circle
1318
-
1319
- # use a geometric function to test for an open path
1320
- objs = Geometric.find_by_sql ["select isopen(a_path) from geometrics where id = ?", g.id]
1321
- assert_equal objs[0].isopen, 't'
1322
-
1323
- # test alternate formats when defining the geometric types
1324
-
1325
- g = Geometric.new(
1326
- :a_point => '5.0, 6.1',
1327
- #:a_line => '((2.0, 3), (5.5, 7.0))' # line type is currently unsupported in postgresql
1328
- :a_line_segment => '((2.0, 3), (5.5, 7.0))',
1329
- :a_box => '(2.0, 3), (5.5, 7.0)',
1330
- :a_path => '((2.0, 3), (5.5, 7.0), (8.5, 11.0))', # ( ) is a closed path
1331
- :a_polygon => '2.0, 3, 5.5, 7.0, 8.5, 11.0',
1332
- :a_circle => '((5.3, 10.4), 2)'
1333
- )
1334
-
1335
- assert g.save
1336
-
1337
- # Reload and check that we have all the geometric attributes.
1338
- h = Geometric.find(g.id)
1339
-
1340
- assert_equal '(5,6.1)', h.a_point
1341
- assert_equal '[(2,3),(5.5,7)]', h.a_line_segment
1342
- assert_equal '(5.5,7),(2,3)', h.a_box # reordered to store upper right corner then bottom left corner
1343
- assert_equal '((2,3),(5.5,7),(8.5,11))', h.a_path
1344
- assert_equal '((2,3),(5.5,7),(8.5,11))', h.a_polygon
1345
- assert_equal '<(5.3,10.4),2>', h.a_circle
1346
-
1347
- # use a geometric function to test for an closed path
1348
- objs = Geometric.find_by_sql ["select isclosed(a_path) from geometrics where id = ?", g.id]
1349
- assert_equal objs[0].isclosed, 't'
1350
- end
1351
- end
1352
-
1353
- class NumericData < ActiveRecord::Base
1354
- self.table_name = 'numeric_data'
1355
- end
1356
-
1357
- def test_numeric_fields
1358
- m = NumericData.new(
1359
- :bank_balance => 1586.43,
1360
- :big_bank_balance => BigDecimal("1000234000567.95"),
1361
- :world_population => 6000000000,
1362
- :my_house_population => 3
1363
- )
1364
- assert m.save
1365
-
1366
- m1 = NumericData.find(m.id)
1367
- assert_not_nil m1
1368
-
1369
- # As with migration_test.rb, we should make world_population >= 2**62
1370
- # to cover 64-bit platforms and test it is a Bignum, but the main thing
1371
- # is that it's an Integer.
1372
- assert_kind_of Integer, m1.world_population
1373
- assert_equal 6000000000, m1.world_population
1374
-
1375
- assert_kind_of Fixnum, m1.my_house_population
1376
- assert_equal 3, m1.my_house_population
1377
-
1378
- assert_kind_of BigDecimal, m1.bank_balance
1379
- assert_equal BigDecimal("1586.43"), m1.bank_balance
1380
-
1381
- assert_kind_of BigDecimal, m1.big_bank_balance
1382
- assert_equal BigDecimal("1000234000567.95"), m1.big_bank_balance
1383
- end
1384
-
1385
- def test_auto_id
1386
- auto = AutoId.new
1387
- auto.save
1388
- assert (auto.id > 0)
1389
- end
1390
-
1391
- def quote_column_name(name)
1392
- "<#{name}>"
1393
- end
1394
-
1395
- def test_quote_keys
1396
- ar = AutoId.new
1397
- source = {"foo" => "bar", "baz" => "quux"}
1398
- actual = ar.send(:quote_columns, self, source)
1399
- inverted = actual.invert
1400
- assert_equal("<foo>", inverted["bar"])
1401
- assert_equal("<baz>", inverted["quux"])
1402
- end
1403
-
1404
- def test_sql_injection_via_find
1405
- assert_raise(ActiveRecord::RecordNotFound, ActiveRecord::StatementInvalid) do
1406
- Topic.find("123456 OR id > 0")
1407
- end
1408
- end
1409
-
1410
- def test_column_name_properly_quoted
1411
- col_record = ColumnName.new
1412
- col_record.references = 40
1413
- assert col_record.save
1414
- col_record.references = 41
1415
- assert col_record.save
1416
- assert_not_nil c2 = ColumnName.find(col_record.id)
1417
- assert_equal(41, c2.references)
1418
- end
1419
-
1420
- def test_quoting_arrays
1421
- replies = Reply.find(:all, :conditions => [ "id IN (?)", topics(:first).replies.collect(&:id) ])
1422
- assert_equal topics(:first).replies.size, replies.size
1423
-
1424
- replies = Reply.find(:all, :conditions => [ "id IN (?)", [] ])
1425
- assert_equal 0, replies.size
1426
- end
1427
-
1428
- MyObject = Struct.new :attribute1, :attribute2
1429
-
1430
- def test_serialized_attribute
1431
- myobj = MyObject.new('value1', 'value2')
1432
- topic = Topic.create("content" => myobj)
1433
- Topic.serialize("content", MyObject)
1434
- assert_equal(myobj, topic.content)
1435
- end
1436
-
1437
- def test_serialized_time_attribute
1438
- myobj = Time.local(2008,1,1,1,0)
1439
- topic = Topic.create("content" => myobj).reload
1440
- assert_equal(myobj, topic.content)
1441
- end
1442
-
1443
- def test_serialized_string_attribute
1444
- myobj = "Yes"
1445
- topic = Topic.create("content" => myobj).reload
1446
- assert_equal(myobj, topic.content)
1447
- end
1448
-
1449
- def test_nil_serialized_attribute_with_class_constraint
1450
- myobj = MyObject.new('value1', 'value2')
1451
- topic = Topic.new
1452
- assert_nil topic.content
1453
- end
1454
-
1455
- def test_should_raise_exception_on_serialized_attribute_with_type_mismatch
1456
- myobj = MyObject.new('value1', 'value2')
1457
- topic = Topic.new(:content => myobj)
1458
- assert topic.save
1459
- Topic.serialize(:content, Hash)
1460
- assert_raise(ActiveRecord::SerializationTypeMismatch) { Topic.find(topic.id).content }
1461
- ensure
1462
- Topic.serialize(:content)
1463
- end
1464
-
1465
- def test_serialized_attribute_with_class_constraint
1466
- settings = { "color" => "blue" }
1467
- Topic.serialize(:content, Hash)
1468
- topic = Topic.new(:content => settings)
1469
- assert topic.save
1470
- assert_equal(settings, Topic.find(topic.id).content)
1471
- ensure
1472
- Topic.serialize(:content)
1473
- end
1474
-
1475
- def test_quote
1476
- author_name = "\\ \001 ' \n \\n \""
1477
- topic = Topic.create('author_name' => author_name)
1478
- assert_equal author_name, Topic.find(topic.id).author_name
1479
- end
1480
-
1481
- if RUBY_VERSION < '1.9'
1482
- def test_quote_chars
1483
- with_kcode('UTF8') do
1484
- str = 'The Narrator'
1485
- topic = Topic.create(:author_name => str)
1486
- assert_equal str, topic.author_name
1487
-
1488
- assert_kind_of ActiveSupport::Multibyte.proxy_class, str.mb_chars
1489
- topic = Topic.find_by_author_name(str.mb_chars)
1490
-
1491
- assert_kind_of Topic, topic
1492
- assert_equal str, topic.author_name, "The right topic should have been found by name even with name passed as Chars"
1493
- end
1494
- end
1495
- end
1496
-
1497
- def test_class_level_destroy
1498
- should_be_destroyed_reply = Reply.create("title" => "hello", "content" => "world")
1499
- Topic.find(1).replies << should_be_destroyed_reply
1500
-
1501
- Topic.destroy(1)
1502
- assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1) }
1503
- assert_raise(ActiveRecord::RecordNotFound) { Reply.find(should_be_destroyed_reply.id) }
1504
- end
1505
-
1506
- def test_class_level_delete
1507
- should_be_destroyed_reply = Reply.create("title" => "hello", "content" => "world")
1508
- Topic.find(1).replies << should_be_destroyed_reply
1509
-
1510
- Topic.delete(1)
1511
- assert_raise(ActiveRecord::RecordNotFound) { Topic.find(1) }
1512
- assert_nothing_raised { Reply.find(should_be_destroyed_reply.id) }
1513
- end
1514
-
1515
- def test_increment_attribute
1516
- assert_equal 50, accounts(:signals37).credit_limit
1517
- accounts(:signals37).increment! :credit_limit
1518
- assert_equal 51, accounts(:signals37, :reload).credit_limit
1519
-
1520
- accounts(:signals37).increment(:credit_limit).increment!(:credit_limit)
1521
- assert_equal 53, accounts(:signals37, :reload).credit_limit
1522
- end
1523
-
1524
- def test_increment_nil_attribute
1525
- assert_nil topics(:first).parent_id
1526
- topics(:first).increment! :parent_id
1527
- assert_equal 1, topics(:first).parent_id
1528
- end
1529
-
1530
- def test_increment_attribute_by
1531
- assert_equal 50, accounts(:signals37).credit_limit
1532
- accounts(:signals37).increment! :credit_limit, 5
1533
- assert_equal 55, accounts(:signals37, :reload).credit_limit
1534
-
1535
- accounts(:signals37).increment(:credit_limit, 1).increment!(:credit_limit, 3)
1536
- assert_equal 59, accounts(:signals37, :reload).credit_limit
1537
- end
1538
-
1539
- def test_decrement_attribute
1540
- assert_equal 50, accounts(:signals37).credit_limit
1541
-
1542
- accounts(:signals37).decrement!(:credit_limit)
1543
- assert_equal 49, accounts(:signals37, :reload).credit_limit
1544
-
1545
- accounts(:signals37).decrement(:credit_limit).decrement!(:credit_limit)
1546
- assert_equal 47, accounts(:signals37, :reload).credit_limit
1547
- end
1548
-
1549
- def test_decrement_attribute_by
1550
- assert_equal 50, accounts(:signals37).credit_limit
1551
- accounts(:signals37).decrement! :credit_limit, 5
1552
- assert_equal 45, accounts(:signals37, :reload).credit_limit
1553
-
1554
- accounts(:signals37).decrement(:credit_limit, 1).decrement!(:credit_limit, 3)
1555
- assert_equal 41, accounts(:signals37, :reload).credit_limit
1556
- end
1557
-
1558
- def test_toggle_attribute
1559
- assert !topics(:first).approved?
1560
- topics(:first).toggle!(:approved)
1561
- assert topics(:first).approved?
1562
- topic = topics(:first)
1563
- topic.toggle(:approved)
1564
- assert !topic.approved?
1565
- topic.reload
1566
- assert topic.approved?
1567
- end
1568
-
1569
- def test_reload
1570
- t1 = Topic.find(1)
1571
- t2 = Topic.find(1)
1572
- t1.title = "something else"
1573
- t1.save
1574
- t2.reload
1575
- assert_equal t1.title, t2.title
1576
- end
1577
-
1578
- def test_define_attr_method_with_value
1579
- k = Class.new( ActiveRecord::Base )
1580
- k.send(:define_attr_method, :table_name, "foo")
1581
- assert_equal "foo", k.table_name
1582
- end
1583
-
1584
- def test_define_attr_method_with_block
1585
- k = Class.new( ActiveRecord::Base )
1586
- k.send(:define_attr_method, :primary_key) { "sys_" + original_primary_key }
1587
- assert_equal "sys_id", k.primary_key
1588
- end
1589
-
1590
- def test_set_table_name_with_value
1591
- k = Class.new( ActiveRecord::Base )
1592
- k.table_name = "foo"
1593
- assert_equal "foo", k.table_name
1594
- k.set_table_name "bar"
1595
- assert_equal "bar", k.table_name
1596
- end
1597
-
1598
- def test_set_table_name_with_block
1599
- k = Class.new( ActiveRecord::Base )
1600
- k.set_table_name { "ks" }
1601
- assert_equal "ks", k.table_name
1602
- end
1603
-
1604
- def test_set_primary_key_with_value
1605
- k = Class.new( ActiveRecord::Base )
1606
- k.primary_key = "foo"
1607
- assert_equal "foo", k.primary_key
1608
- k.set_primary_key "bar"
1609
- assert_equal "bar", k.primary_key
1610
- end
1611
-
1612
- def test_set_primary_key_with_block
1613
- k = Class.new( ActiveRecord::Base )
1614
- k.set_primary_key { "sys_" + original_primary_key }
1615
- assert_equal "sys_id", k.primary_key
1616
- end
1617
-
1618
- def test_set_inheritance_column_with_value
1619
- k = Class.new( ActiveRecord::Base )
1620
- k.inheritance_column = "foo"
1621
- assert_equal "foo", k.inheritance_column
1622
- k.set_inheritance_column "bar"
1623
- assert_equal "bar", k.inheritance_column
1624
- end
1625
-
1626
- def test_set_inheritance_column_with_block
1627
- k = Class.new( ActiveRecord::Base )
1628
- k.set_inheritance_column { original_inheritance_column + "_id" }
1629
- assert_equal "type_id", k.inheritance_column
1630
- end
1631
-
1632
- def test_count_with_join
1633
- res = Post.count_by_sql "SELECT COUNT(*) FROM posts LEFT JOIN comments ON posts.id=comments.post_id WHERE posts.#{QUOTED_TYPE} = 'Post'"
1634
-
1635
- res2 = Post.count(:conditions => "posts.#{QUOTED_TYPE} = 'Post'", :joins => "LEFT JOIN comments ON posts.id=comments.post_id")
1636
- assert_equal res, res2
1637
-
1638
- res3 = nil
1639
- assert_nothing_raised do
1640
- res3 = Post.count(:conditions => "posts.#{QUOTED_TYPE} = 'Post'",
1641
- :joins => "LEFT JOIN comments ON posts.id=comments.post_id")
1642
- end
1643
- assert_equal res, res3
1644
-
1645
- res4 = Post.count_by_sql "SELECT COUNT(p.id) FROM posts p, comments co WHERE p.#{QUOTED_TYPE} = 'Post' AND p.id=co.post_id"
1646
- res5 = nil
1647
- assert_nothing_raised do
1648
- res5 = Post.count(:conditions => "p.#{QUOTED_TYPE} = 'Post' AND p.id=co.post_id",
1649
- :joins => "p, comments co",
1650
- :select => "p.id")
1651
- end
1652
-
1653
- assert_equal res4, res5
1654
-
1655
- unless current_adapter?(:SQLite2Adapter, :DeprecatedSQLiteAdapter)
1656
- res6 = Post.count_by_sql "SELECT COUNT(DISTINCT p.id) FROM posts p, comments co WHERE p.#{QUOTED_TYPE} = 'Post' AND p.id=co.post_id"
1657
- res7 = nil
1658
- assert_nothing_raised do
1659
- res7 = Post.count(:conditions => "p.#{QUOTED_TYPE} = 'Post' AND p.id=co.post_id",
1660
- :joins => "p, comments co",
1661
- :select => "p.id",
1662
- :distinct => true)
1663
- end
1664
- assert_equal res6, res7
1665
- end
1666
- end
1667
-
1668
- def test_clear_association_cache_stored
1669
- firm = Firm.find(1)
1670
- assert_kind_of Firm, firm
1671
-
1672
- firm.clear_association_cache
1673
- assert_equal Firm.find(1).clients.collect{ |x| x.name }.sort, firm.clients.collect{ |x| x.name }.sort
1674
- end
1675
-
1676
- def test_clear_association_cache_new_record
1677
- firm = Firm.new
1678
- client_stored = Client.find(3)
1679
- client_new = Client.new
1680
- client_new.name = "The Joneses"
1681
- clients = [ client_stored, client_new ]
1682
-
1683
- firm.clients << clients
1684
- assert_equal clients.map(&:name).to_set, firm.clients.map(&:name).to_set
1685
-
1686
- firm.clear_association_cache
1687
- assert_equal clients.map(&:name).to_set, firm.clients.map(&:name).to_set
1688
- end
1689
-
1690
- def test_interpolate_sql
1691
- assert_nothing_raised { Category.new.send(:interpolate_sql, 'foo@bar') }
1692
- assert_nothing_raised { Category.new.send(:interpolate_sql, 'foo bar) baz') }
1693
- assert_nothing_raised { Category.new.send(:interpolate_sql, 'foo bar} baz') }
1694
- end
1695
-
1696
- def test_scoped_find_conditions
1697
- scoped_developers = Developer.with_scope(:find => { :conditions => 'salary > 90000' }) do
1698
- Developer.find(:all, :conditions => 'id < 5')
1699
- end
1700
- assert !scoped_developers.include?(developers(:david)) # David's salary is less than 90,000
1701
- assert_equal 3, scoped_developers.size
1702
- end
1703
-
1704
- def test_scoped_find_limit_offset
1705
- scoped_developers = Developer.with_scope(:find => { :limit => 3, :offset => 2 }) do
1706
- Developer.find(:all, :order => 'id')
1707
- end
1708
- assert !scoped_developers.include?(developers(:david))
1709
- assert !scoped_developers.include?(developers(:jamis))
1710
- assert_equal 3, scoped_developers.size
1711
-
1712
- # Test without scoped find conditions to ensure we get the whole thing
1713
- developers = Developer.find(:all, :order => 'id')
1714
- assert_equal Developer.count, developers.size
1715
- end
1716
-
1717
- def test_scoped_find_order
1718
- # Test order in scope
1719
- scoped_developers = Developer.with_scope(:find => { :limit => 1, :order => 'salary DESC' }) do
1720
- Developer.find(:all)
1721
- end
1722
- assert_equal 'Jamis', scoped_developers.first.name
1723
- assert scoped_developers.include?(developers(:jamis))
1724
- # Test scope without order and order in find
1725
- scoped_developers = Developer.with_scope(:find => { :limit => 1 }) do
1726
- Developer.find(:all, :order => 'salary DESC')
1727
- end
1728
- # Test scope order + find order, find has priority
1729
- scoped_developers = Developer.with_scope(:find => { :limit => 3, :order => 'id DESC' }) do
1730
- Developer.find(:all, :order => 'salary ASC')
1731
- end
1732
- assert scoped_developers.include?(developers(:poor_jamis))
1733
- assert scoped_developers.include?(developers(:david))
1734
- assert scoped_developers.include?(developers(:dev_10))
1735
- # Test without scoped find conditions to ensure we get the right thing
1736
- developers = Developer.find(:all, :order => 'id', :limit => 1)
1737
- assert scoped_developers.include?(developers(:david))
1738
- end
1739
-
1740
- def test_scoped_find_limit_offset_including_has_many_association
1741
- topics = Topic.with_scope(:find => {:limit => 1, :offset => 1, :include => :replies}) do
1742
- Topic.find(:all, :order => "topics.id")
1743
- end
1744
- assert_equal 1, topics.size
1745
- assert_equal 2, topics.first.id
1746
- end
1747
-
1748
- def test_scoped_find_order_including_has_many_association
1749
- developers = Developer.with_scope(:find => { :order => 'developers.salary DESC', :include => :projects }) do
1750
- Developer.find(:all)
1751
- end
1752
- assert developers.size >= 2
1753
- for i in 1...developers.size
1754
- assert developers[i-1].salary >= developers[i].salary
1755
- end
1756
- end
1757
-
1758
- def test_scoped_find_with_group_and_having
1759
- developers = Developer.with_scope(:find => { :group => 'salary', :having => "SUM(salary) > 10000", :select => "SUM(salary) as salary" }) do
1760
- Developer.find(:all)
1761
- end
1762
- assert_equal 3, developers.size
1763
- end
1764
-
1765
- def test_find_last
1766
- last = Developer.find :last
1767
- assert_equal last, Developer.find(:first, :order => 'id desc')
1768
- end
1769
-
1770
- def test_last
1771
- assert_equal Developer.find(:first, :order => 'id desc'), Developer.last
1772
- end
1773
-
1774
- def test_all_with_conditions
1775
- assert_equal Developer.find(:all, :order => 'id desc'), Developer.all(:order => 'id desc')
1776
- end
1777
-
1778
- def test_find_ordered_last
1779
- last = Developer.find :last, :order => 'developers.salary ASC'
1780
- assert_equal last, Developer.find(:all, :order => 'developers.salary ASC').last
1781
- end
1782
-
1783
- def test_find_reverse_ordered_last
1784
- last = Developer.find :last, :order => 'developers.salary DESC'
1785
- assert_equal last, Developer.find(:all, :order => 'developers.salary DESC').last
1786
- end
1787
-
1788
- def test_find_multiple_ordered_last
1789
- last = Developer.find :last, :order => 'developers.name, developers.salary DESC'
1790
- assert_equal last, Developer.find(:all, :order => 'developers.name, developers.salary DESC').last
1791
- end
1792
-
1793
- def test_find_symbol_ordered_last
1794
- last = Developer.find :last, :order => :salary
1795
- assert_equal last, Developer.find(:all, :order => :salary).last
1796
- end
1797
-
1798
- def test_find_scoped_ordered_last
1799
- last_developer = Developer.with_scope(:find => { :order => 'developers.salary ASC' }) do
1800
- Developer.find(:last)
1801
- end
1802
- assert_equal last_developer, Developer.find(:all, :order => 'developers.salary ASC').last
1803
- end
1804
-
1805
- def test_abstract_class
1806
- assert !ActiveRecord::Base.abstract_class?
1807
- assert LoosePerson.abstract_class?
1808
- assert !LooseDescendant.abstract_class?
1809
- end
1810
-
1811
- def test_base_class
1812
- assert_equal LoosePerson, LoosePerson.base_class
1813
- assert_equal LooseDescendant, LooseDescendant.base_class
1814
- assert_equal TightPerson, TightPerson.base_class
1815
- assert_equal TightPerson, TightDescendant.base_class
1816
-
1817
- assert_equal Post, Post.base_class
1818
- assert_equal Post, SpecialPost.base_class
1819
- assert_equal Post, StiPost.base_class
1820
- assert_equal SubStiPost, SubStiPost.base_class
1821
- end
1822
-
1823
- def test_descends_from_active_record
1824
- # Tries to call Object.abstract_class?
1825
- assert_raise(NoMethodError) do
1826
- ActiveRecord::Base.descends_from_active_record?
1827
- end
1828
-
1829
- # Abstract subclass of AR::Base.
1830
- assert LoosePerson.descends_from_active_record?
1831
-
1832
- # Concrete subclass of an abstract class.
1833
- assert LooseDescendant.descends_from_active_record?
1834
-
1835
- # Concrete subclass of AR::Base.
1836
- assert TightPerson.descends_from_active_record?
1837
-
1838
- # Concrete subclass of a concrete class but has no type column.
1839
- assert TightDescendant.descends_from_active_record?
1840
-
1841
- # Concrete subclass of AR::Base.
1842
- assert Post.descends_from_active_record?
1843
-
1844
- # Abstract subclass of a concrete class which has a type column.
1845
- # This is pathological, as you'll never have Sub < Abstract < Concrete.
1846
- assert !StiPost.descends_from_active_record?
1847
-
1848
- # Concrete subclasses an abstract class which has a type column.
1849
- assert !SubStiPost.descends_from_active_record?
1850
- end
1851
-
1852
- def test_find_on_abstract_base_class_doesnt_use_type_condition
1853
- old_class = LooseDescendant
1854
- Object.send :remove_const, :LooseDescendant
1855
-
1856
- descendant = old_class.create! :first_name => 'bob'
1857
- assert_not_nil LoosePerson.find(descendant.id), "Should have found instance of LooseDescendant when finding abstract LoosePerson: #{descendant.inspect}"
1858
- ensure
1859
- unless Object.const_defined?(:LooseDescendant)
1860
- Object.const_set :LooseDescendant, old_class
1861
- end
1862
- end
1863
-
1864
- def test_assert_queries
1865
- query = lambda { ActiveRecord::Base.connection.execute 'select count(*) from developers' }
1866
- assert_queries(2) { 2.times { query.call } }
1867
- assert_queries 1, &query
1868
- assert_no_queries { assert true }
1869
- end
1870
-
1871
- def test_to_xml
1872
- xml = REXML::Document.new(topics(:first).to_xml(:indent => 0))
1873
- bonus_time_in_current_timezone = topics(:first).bonus_time.xmlschema
1874
- written_on_in_current_timezone = topics(:first).written_on.xmlschema
1875
- last_read_in_current_timezone = topics(:first).last_read.xmlschema
1876
-
1877
- assert_equal "topic", xml.root.name
1878
- assert_equal "The First Topic" , xml.elements["//title"].text
1879
- assert_equal "David" , xml.elements["//author-name"].text
1880
-
1881
- assert_equal "1", xml.elements["//id"].text
1882
- assert_equal "integer" , xml.elements["//id"].attributes['type']
1883
-
1884
- assert_equal "1", xml.elements["//replies-count"].text
1885
- assert_equal "integer" , xml.elements["//replies-count"].attributes['type']
1886
-
1887
- assert_equal written_on_in_current_timezone, xml.elements["//written-on"].text
1888
- assert_equal "datetime" , xml.elements["//written-on"].attributes['type']
1889
-
1890
- assert_equal "--- Have a nice day\n" , xml.elements["//content"].text
1891
- assert_equal "yaml" , xml.elements["//content"].attributes['type']
1892
-
1893
- assert_equal "david@loudthinking.com", xml.elements["//author-email-address"].text
1894
-
1895
- assert_equal nil, xml.elements["//parent-id"].text
1896
- assert_equal "integer", xml.elements["//parent-id"].attributes['type']
1897
- assert_equal "true", xml.elements["//parent-id"].attributes['nil']
1898
-
1899
- if current_adapter?(:SybaseAdapter, :OracleAdapter)
1900
- assert_equal last_read_in_current_timezone, xml.elements["//last-read"].text
1901
- assert_equal "datetime" , xml.elements["//last-read"].attributes['type']
1902
- else
1903
- assert_equal "2004-04-15", xml.elements["//last-read"].text
1904
- assert_equal "date" , xml.elements["//last-read"].attributes['type']
1905
- end
1906
-
1907
- # Oracle and DB2 don't have true boolean or time-only fields
1908
- unless current_adapter?(:OracleAdapter, :DB2Adapter)
1909
- assert_equal "false", xml.elements["//approved"].text
1910
- assert_equal "boolean" , xml.elements["//approved"].attributes['type']
1911
-
1912
- assert_equal bonus_time_in_current_timezone, xml.elements["//bonus-time"].text
1913
- assert_equal "datetime" , xml.elements["//bonus-time"].attributes['type']
1914
- end
1915
- end
1916
-
1917
- def test_to_xml_skipping_attributes
1918
- xml = topics(:first).to_xml(:indent => 0, :skip_instruct => true, :except => [:title, :replies_count])
1919
- assert_equal "<topic>", xml.first(7)
1920
- assert !xml.include?(%(<title>The First Topic</title>))
1921
- assert xml.include?(%(<author-name>David</author-name>))
1922
-
1923
- xml = topics(:first).to_xml(:indent => 0, :skip_instruct => true, :except => [:title, :author_name, :replies_count])
1924
- assert !xml.include?(%(<title>The First Topic</title>))
1925
- assert !xml.include?(%(<author-name>David</author-name>))
1926
- end
1927
-
1928
- def test_to_xml_including_has_many_association
1929
- xml = topics(:first).to_xml(:indent => 0, :skip_instruct => true, :include => :replies, :except => :replies_count)
1930
- assert_equal "<topic>", xml.first(7)
1931
- assert xml.include?(%(<replies type="array"><reply>))
1932
- assert xml.include?(%(<title>The Second Topic of the day</title>))
1933
- end
1934
-
1935
- def test_array_to_xml_including_has_many_association
1936
- xml = [ topics(:first), topics(:second) ].to_xml(:indent => 0, :skip_instruct => true, :include => :replies)
1937
- assert xml.include?(%(<replies type="array"><reply>))
1938
- end
1939
-
1940
- def test_array_to_xml_including_methods
1941
- xml = [ topics(:first), topics(:second) ].to_xml(:indent => 0, :skip_instruct => true, :methods => [ :topic_id ])
1942
- assert xml.include?(%(<topic-id type="integer">#{topics(:first).topic_id}</topic-id>)), xml
1943
- assert xml.include?(%(<topic-id type="integer">#{topics(:second).topic_id}</topic-id>)), xml
1944
- end
1945
-
1946
- def test_array_to_xml_including_has_one_association
1947
- xml = [ companies(:first_firm), companies(:rails_core) ].to_xml(:indent => 0, :skip_instruct => true, :include => :account)
1948
- assert xml.include?(companies(:first_firm).account.to_xml(:indent => 0, :skip_instruct => true))
1949
- assert xml.include?(companies(:rails_core).account.to_xml(:indent => 0, :skip_instruct => true))
1950
- end
1951
-
1952
- def test_array_to_xml_including_belongs_to_association
1953
- xml = [ companies(:first_client), companies(:second_client), companies(:another_client) ].to_xml(:indent => 0, :skip_instruct => true, :include => :firm)
1954
- assert xml.include?(companies(:first_client).to_xml(:indent => 0, :skip_instruct => true))
1955
- assert xml.include?(companies(:second_client).firm.to_xml(:indent => 0, :skip_instruct => true))
1956
- assert xml.include?(companies(:another_client).firm.to_xml(:indent => 0, :skip_instruct => true))
1957
- end
1958
-
1959
- def test_to_xml_including_belongs_to_association
1960
- xml = companies(:first_client).to_xml(:indent => 0, :skip_instruct => true, :include => :firm)
1961
- assert !xml.include?("<firm>")
1962
-
1963
- xml = companies(:second_client).to_xml(:indent => 0, :skip_instruct => true, :include => :firm)
1964
- assert xml.include?("<firm>")
1965
- end
1966
-
1967
- def test_to_xml_including_multiple_associations
1968
- xml = companies(:first_firm).to_xml(:indent => 0, :skip_instruct => true, :include => [ :clients, :account ])
1969
- assert_equal "<firm>", xml.first(6)
1970
- assert xml.include?(%(<account>))
1971
- assert xml.include?(%(<clients type="array"><client>))
1972
- end
1973
-
1974
- def test_to_xml_including_multiple_associations_with_options
1975
- xml = companies(:first_firm).to_xml(
1976
- :indent => 0, :skip_instruct => true,
1977
- :include => { :clients => { :only => :name } }
1978
- )
1979
-
1980
- assert_equal "<firm>", xml.first(6)
1981
- assert xml.include?(%(<client><name>Summit</name></client>))
1982
- assert xml.include?(%(<clients type="array"><client>))
1983
- end
1984
-
1985
- def test_to_xml_including_methods
1986
- xml = Company.new.to_xml(:methods => :arbitrary_method, :skip_instruct => true)
1987
- assert_equal "<company>", xml.first(9)
1988
- assert xml.include?(%(<arbitrary-method>I am Jack's profound disappointment</arbitrary-method>))
1989
- end
1990
-
1991
- def test_to_xml_with_block
1992
- value = "Rockin' the block"
1993
- xml = Company.new.to_xml(:skip_instruct => true) do |xml|
1994
- xml.tag! "arbitrary-element", value
1995
- end
1996
- assert_equal "<company>", xml.first(9)
1997
- assert xml.include?(%(<arbitrary-element>#{value}</arbitrary-element>))
1998
- end
1999
-
2000
- def test_type_name_with_module_should_handle_beginning
2001
- assert_equal 'ActiveRecord::Person', ActiveRecord::Base.send(:type_name_with_module, 'Person')
2002
- assert_equal '::Person', ActiveRecord::Base.send(:type_name_with_module, '::Person')
2003
- end
2004
-
2005
- def test_to_param_should_return_string
2006
- assert_kind_of String, Client.find(:first).to_param
2007
- end
2008
-
2009
- def test_inspect_class
2010
- assert_equal 'ActiveRecord::Base', ActiveRecord::Base.inspect
2011
- assert_equal 'LoosePerson(abstract)', LoosePerson.inspect
2012
- assert_match(/^Topic\(id: integer, title: string/, Topic.inspect)
2013
- end
2014
-
2015
- def test_inspect_instance
2016
- topic = topics(:first)
2017
- assert_equal %(#<Topic id: 1, title: "The First Topic", author_name: "David", author_email_address: "david@loudthinking.com", written_on: "#{topic.written_on.to_s(:db)}", bonus_time: "#{topic.bonus_time.to_s(:db)}", last_read: "#{topic.last_read.to_s(:db)}", content: "Have a nice day", approved: false, replies_count: 1, parent_id: nil, type: nil>), topic.inspect
2018
- end
2019
-
2020
- def test_inspect_new_instance
2021
- assert_match /Topic id: nil/, Topic.new.inspect
2022
- end
2023
-
2024
- def test_inspect_limited_select_instance
2025
- assert_equal %(#<Topic id: 1>), Topic.find(:first, :select => 'id', :conditions => 'id = 1').inspect
2026
- assert_equal %(#<Topic id: 1, title: "The First Topic">), Topic.find(:first, :select => 'id, title', :conditions => 'id = 1').inspect
2027
- end
2028
-
2029
- def test_inspect_class_without_table
2030
- assert_equal "NonExistentTable(Table doesn't exist)", NonExistentTable.inspect
2031
- end
2032
-
2033
- def test_attribute_for_inspect
2034
- t = topics(:first)
2035
- t.title = "The First Topic Now Has A Title With\nNewlines And More Than 50 Characters"
2036
-
2037
- assert_equal %("#{t.written_on.to_s(:db)}"), t.attribute_for_inspect(:written_on)
2038
- assert_equal '"The First Topic Now Has A Title With\nNewlines And M..."', t.attribute_for_inspect(:title)
2039
- end
2040
-
2041
- def test_becomes
2042
- assert_kind_of Reply, topics(:first).becomes(Reply)
2043
- assert_equal "The First Topic", topics(:first).becomes(Reply).title
2044
- end
2045
-
2046
- def test_silence_sets_log_level_to_error_in_block
2047
- original_logger = ActiveRecord::Base.logger
2048
- log = StringIO.new
2049
- ActiveRecord::Base.logger = Logger.new(log)
2050
- ActiveRecord::Base.logger.level = Logger::DEBUG
2051
- ActiveRecord::Base.silence do
2052
- ActiveRecord::Base.logger.warn "warn"
2053
- ActiveRecord::Base.logger.error "error"
2054
- end
2055
- assert_equal "error\n", log.string
2056
- ensure
2057
- ActiveRecord::Base.logger = original_logger
2058
- end
2059
-
2060
- def test_silence_sets_log_level_back_to_level_before_yield
2061
- original_logger = ActiveRecord::Base.logger
2062
- log = StringIO.new
2063
- ActiveRecord::Base.logger = Logger.new(log)
2064
- ActiveRecord::Base.logger.level = Logger::WARN
2065
- ActiveRecord::Base.silence do
2066
- end
2067
- assert_equal Logger::WARN, ActiveRecord::Base.logger.level
2068
- ensure
2069
- ActiveRecord::Base.logger = original_logger
2070
- end
2071
-
2072
- def test_benchmark_with_log_level
2073
- original_logger = ActiveRecord::Base.logger
2074
- log = StringIO.new
2075
- ActiveRecord::Base.logger = Logger.new(log)
2076
- ActiveRecord::Base.logger.level = Logger::WARN
2077
- ActiveRecord::Base.benchmark("Debug Topic Count", Logger::DEBUG) { Topic.count }
2078
- ActiveRecord::Base.benchmark("Warn Topic Count", Logger::WARN) { Topic.count }
2079
- ActiveRecord::Base.benchmark("Error Topic Count", Logger::ERROR) { Topic.count }
2080
- assert_no_match /Debug Topic Count/, log.string
2081
- assert_match /Warn Topic Count/, log.string
2082
- assert_match /Error Topic Count/, log.string
2083
- ensure
2084
- ActiveRecord::Base.logger = original_logger
2085
- end
2086
-
2087
- def test_benchmark_with_use_silence
2088
- original_logger = ActiveRecord::Base.logger
2089
- log = StringIO.new
2090
- ActiveRecord::Base.logger = Logger.new(log)
2091
- ActiveRecord::Base.benchmark("Logging", Logger::DEBUG, true) { ActiveRecord::Base.logger.debug "Loud" }
2092
- ActiveRecord::Base.benchmark("Logging", Logger::DEBUG, false) { ActiveRecord::Base.logger.debug "Quiet" }
2093
- assert_no_match /Loud/, log.string
2094
- assert_match /Quiet/, log.string
2095
- ensure
2096
- ActiveRecord::Base.logger = original_logger
2097
- end
2098
-
2099
- def test_create_with_custom_timestamps
2100
- custom_datetime = 1.hour.ago.beginning_of_day
2101
-
2102
- %w(created_at created_on updated_at updated_on).each do |attribute|
2103
- parrot = LiveParrot.create(:name => "colombian", attribute => custom_datetime)
2104
- assert_equal custom_datetime, parrot[attribute]
2105
- end
2106
- end
2107
- end