webroar 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/webroar +2 -1
- data/bin/webroar-analyzer +1 -1
- data/conf/mime_type.yml +165 -0
- data/doc/user-guide.html +37 -17
- data/doc/user-guide.txt +11 -6
- data/lib/command_runner.rb +1 -1
- data/lib/constant.rb +1 -1
- data/lib/dependencies.rb +1 -1
- data/lib/installer.rb +118 -162
- data/lib/user_interaction.rb +132 -0
- data/lib/webroar_command.rb +1 -1
- data/src/admin_panel/app/controllers/admin_controller.rb +1 -1
- data/src/admin_panel/app/controllers/application_controller.rb +1 -1
- data/src/admin_panel/app/controllers/application_specification_controller.rb +49 -45
- data/src/admin_panel/app/controllers/exceptions_controller.rb +1 -1
- data/src/admin_panel/app/controllers/graph_controller.rb +116 -22
- data/src/admin_panel/app/controllers/mail_specification_controller.rb +11 -107
- data/src/admin_panel/app/controllers/server_specification_controller.rb +6 -8
- data/src/admin_panel/app/helpers/admin_helper.rb +8 -7
- data/src/admin_panel/app/helpers/application_helper.rb +1 -39
- data/src/admin_panel/app/helpers/exceptions_helper.rb +1 -1
- data/src/admin_panel/app/helpers/graph_helper.rb +1 -1
- data/src/admin_panel/app/models/app.rb +39 -3
- data/src/admin_panel/app/models/app_exception.rb +1 -1
- data/src/admin_panel/app/models/app_time_sample.rb +2 -2
- data/src/admin_panel/app/models/application_specification.rb +34 -10
- data/src/admin_panel/app/models/mail_specification.rb +139 -0
- data/src/admin_panel/app/models/pseudo_model.rb +1 -1
- data/src/admin_panel/app/models/resource_usage.rb +3 -3
- data/src/admin_panel/app/models/server_specification.rb +5 -5
- data/src/admin_panel/app/models/url_breakup_time_sample.rb +1 -1
- data/src/admin_panel/app/models/url_time_sample.rb +6 -6
- data/src/admin_panel/app/models/user.rb +1 -1
- data/src/admin_panel/app/views/admin/_add_div.html.erb +1 -1
- data/src/admin_panel/app/views/admin/_application_table.html.erb +1 -1
- data/src/admin_panel/app/views/admin/change_password_form.html.erb +1 -1
- data/src/admin_panel/app/views/admin/configuration.html.erb +1 -8
- data/src/admin_panel/app/views/admin/home.html.erb +1 -1
- data/src/admin_panel/app/views/admin/index.html.erb +1 -1
- data/src/admin_panel/app/views/application_specification/{_application_form.html.erb → _application_specification_form.html.erb} +29 -29
- data/src/admin_panel/app/views/application_specification/add_application_form.html.erb +3 -3
- data/src/admin_panel/app/views/application_specification/edit_application_form.html.erb +3 -3
- data/src/admin_panel/app/views/exceptions/_close_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_exceptions_listing_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_ignored_exception_list_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_link_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_show.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/index.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_database_usage_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_url_breakup_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_url_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_graph_page.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_javascript_partial.html.erb +21 -0
- data/src/admin_panel/app/views/graph/_pie.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_resource_usage_graph_app.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_resource_usage_graph_server.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_slider_partial.html.erb +20 -0
- data/src/admin_panel/app/views/graph/_throughput_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_url_breakup_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_url_calls_graph.html.erb +1 -1
- data/src/admin_panel/app/views/graph/index.html.erb +1 -1
- data/src/admin_panel/app/views/layouts/application.html.erb +27 -25
- data/src/admin_panel/app/views/layouts/index.html.erb +2 -2
- data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +1 -1
- data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +1 -1
- data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +1 -1
- data/src/admin_panel/config/environment.rb +2 -1
- data/src/admin_panel/config/initializers/application_constants.rb +5 -2
- data/src/admin_panel/config/initializers/ssl.rb +1 -1
- data/src/admin_panel/db/migrate/20081020052652_create_apps.rb +1 -1
- data/src/admin_panel/db/migrate/20081020052934_create_resource_usages.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053129_create_app_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053411_create_url_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081020053624_create_url_breakup_time_samples.rb +1 -1
- data/src/admin_panel/db/migrate/20081021005144_add_constraints.rb +1 -1
- data/src/admin_panel/db/migrate/20090407052622_create_app_exceptions.rb +1 -1
- data/src/admin_panel/lib/asset_tag_helper_ext.rb +18 -0
- data/src/admin_panel/lib/control.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/database_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/resource_usage_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/throughput_analytics.rb +1 -1
- data/src/admin_panel/lib/graph_controller_extensions/url_analytics.rb +9 -5
- data/src/admin_panel/lib/graph_controller_extensions/url_breakup_analytics.rb +20 -14
- data/src/admin_panel/lib/scgi.rb +1 -1
- data/src/admin_panel/lib/yaml_writer.rb +34 -21
- data/src/admin_panel/public/favicon.ico +0 -0
- data/src/admin_panel/public/images/close.gif +0 -0
- data/src/admin_panel/public/images/external.gif +0 -0
- data/src/admin_panel/public/javascripts/application.js +17 -17
- data/src/admin_panel/public/javascripts/swfobject.js +4 -4
- data/src/admin_panel/public/open-flash-chart.swf +0 -0
- data/src/admin_panel/public/stylesheets/netscape/login.css +1 -1
- data/src/admin_panel/public/stylesheets/netscape/style.css +96 -101
- data/src/admin_panel/public/stylesheets/other/login.css +1 -1
- data/src/admin_panel/public/stylesheets/other/style.css +97 -100
- data/src/admin_panel/public/stylesheets/safari/login.css +1 -1
- data/src/admin_panel/public/stylesheets/safari/style.css +97 -101
- data/src/admin_panel/test/functional/admin_controller_test.rb +10 -10
- data/src/admin_panel/test/functional/application_specification_controller_test.rb +7 -5
- data/src/admin_panel/test/functional/exceptions_controller_test.rb +2 -1
- data/src/admin_panel/test/functional/graph_controller_test.rb +3 -3
- data/src/admin_panel/test/test_helper.rb +1 -1
- data/src/admin_panel/test/unit/app_exception_test.rb +2 -1
- data/src/admin_panel/test/unit/app_test.rb +5 -4
- data/src/admin_panel/test/unit/app_time_sample_test.rb +4 -2
- data/src/admin_panel/test/unit/helpers/exceptions_helper_test.rb +1 -1
- data/src/admin_panel/test/unit/resource_usage_test.rb +6 -2
- data/src/admin_panel/test/unit/url_breakup_time_sample_test.rb +1 -1
- data/src/admin_panel/test/unit/url_time_sample_test.rb +3 -2
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/CHANGES +29 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/MIT-LICENSE +0 -2
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/README +6 -56
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/TODO +2 -7
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/install.rb +1 -1
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/lib/open_flash_chart_2.rb +242 -513
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/VERSION.txt +2 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/open-flash-chart.swf +0 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/requirements/swfobject.js +4 -4
- data/src/admin_panel/vendor/plugins/open_flash_chart_2/tasks/open_flash_chart_tasks.rake +14 -6
- data/src/head/wr_access_log.c +6 -6
- data/src/head/wr_access_log.h +1 -1
- data/src/head/wr_application.c +57 -23
- data/src/head/wr_application.h +1 -1
- data/src/head/wr_config.h +28 -3
- data/src/head/wr_configurator.c +61 -7
- data/src/head/wr_configurator.h +4 -3
- data/src/head/wr_connection.c +23 -19
- data/src/head/wr_connection.h +4 -3
- data/src/head/wr_controller.c +38 -191
- data/src/head/wr_controller.h +4 -4
- data/src/head/wr_main.c +87 -5
- data/src/head/wr_request.c +172 -156
- data/src/head/wr_request.h +4 -13
- data/src/head/wr_resolver.c +58 -7
- data/src/head/wr_resolver.h +1 -1
- data/src/head/wr_server.c +7 -1
- data/src/head/wr_server.h +2 -1
- data/src/head/wr_worker.c +66 -60
- data/src/head/wr_worker.h +1 -1
- data/src/helper/wr_helper.h +2 -1
- data/src/helper/wr_logger.c +9 -1
- data/src/helper/wr_logger.h +2 -1
- data/src/helper/wr_macro.h +3 -1
- data/src/helper/wr_msg_queue_client.c +129 -0
- data/src/helper/wr_msg_queue_client.h +44 -0
- data/src/helper/wr_queue.c +1 -1
- data/src/helper/wr_queue.h +1 -1
- data/src/helper/wr_scgi.c +291 -261
- data/src/helper/wr_scgi.h +42 -54
- data/src/helper/wr_string.c +53 -1
- data/src/helper/wr_string.h +30 -12
- data/src/helper/wr_util.c +80 -1
- data/src/helper/wr_util.h +17 -1
- data/src/helper/wr_yaml_parser.c +1 -1
- data/src/helper/wr_yaml_parser.h +1 -1
- data/src/ruby_lib/analyzer/db_connect.rb +8 -5
- data/src/ruby_lib/analyzer/logger.rb +3 -2
- data/src/ruby_lib/analyzer/message_analyzer.rb +8 -15
- data/src/ruby_lib/analyzer/message_reader.rb +4 -3
- data/src/ruby_lib/analyzer/process_helper.rb +1 -1
- data/src/ruby_lib/analyzer/resources_analyzer.rb +21 -5
- data/src/ruby_lib/analyzer/user_defined_exception.rb +1 -1
- data/src/ruby_lib/analyzer/webroar_analyzer.rb +1 -1
- data/src/ruby_lib/analyzer/webroar_analyzer_script_runner.rb +10 -9
- data/src/ruby_lib/exception_tracker/instrumentation/action_controller.rb +1 -1
- data/src/ruby_lib/exception_tracker/instrumentation/instrumentation.rb +1 -1
- data/src/ruby_lib/exception_tracker/instrumentation/rails.rb +1 -1
- data/src/ruby_lib/exception_tracker/webroar_exception.rb +1 -1
- data/src/ruby_lib/mailer/smtpmail.rb +7 -4
- data/src/ruby_lib/profiler/instrumentation/action_controller.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/active_record.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/instrumentation.rb +1 -1
- data/src/ruby_lib/profiler/instrumentation/rails.rb +1 -1
- data/src/ruby_lib/profiler/message_dispatcher.rb +9 -10
- data/src/ruby_lib/profiler/webroar_profiling.rb +1 -1
- data/src/ruby_lib/rack/adapter/rack.rb +1 -1
- data/src/ruby_lib/rack/adapter/rails.rb +2 -2
- data/src/ruby_lib/ruby_interface/adapter.rb +1 -1
- data/src/ruby_lib/ruby_interface/client.rb +1 -1
- data/src/ruby_lib/ruby_interface/constants.rb +1 -1
- data/src/ruby_lib/ruby_interface/deflater.rb +9 -0
- data/src/ruby_lib/ruby_interface/logger.rb +1 -1
- data/src/ruby_lib/ruby_interface/request_body.rb +1 -1
- data/src/ruby_lib/ruby_interface/request_handler.rb +1 -1
- data/src/ruby_lib/ruby_interface/ruby_interface.rb +1 -1
- data/src/ruby_lib/ruby_interface/utils.rb +1 -1
- data/src/ruby_lib/ruby_interface/version.rb +2 -2
- data/src/ruby_lib/webroar_app_loader.rb +1 -1
- data/src/worker/wkr_controller.c +58 -60
- data/src/worker/wkr_http.c +48 -27
- data/src/worker/wkr_http.h +2 -1
- data/src/worker/wkr_http_request.c +29 -29
- data/src/worker/wkr_http_request.h +2 -2
- data/src/worker/wkr_http_response.c +175 -102
- data/src/worker/wkr_http_response.h +10 -4
- data/src/worker/wkr_main.c +137 -21
- data/src/worker/wkr_static.c +509 -0
- data/src/worker/wkr_static.h +40 -0
- data/src/worker/worker.c +5 -5
- data/src/worker/worker.h +7 -5
- data/tasks/compile.rake +10 -6
- data/tasks/gem.rake +16 -4
- data/tasks/test.rake +6 -2
- data/test/spec/access_log_spec.rb +1 -1
- data/test/spec/analytics_spec.rb +1 -1
- data/test/spec/conditional_spec.rb +1 -1
- data/test/spec/connection_keep_alive_spec.rb +1 -1
- data/test/spec/content_encoding_spec.rb +1 -1
- data/test/spec/heart_beat_spec.rb +1 -1
- data/test/spec/host_name_spec.rb +1 -1
- data/test/spec/http_request_parser_spec.rb +1 -1
- data/test/spec/http_spec.rb +1 -1
- data/test/spec/spec_helper.rb +8 -8
- data/test/spec/test_app/app/controllers/application_controller.rb +1 -1
- data/test/spec/test_app/app/controllers/test_controller.rb +1 -1
- data/test/spec/test_app/app/controllers/users_controller.rb +1 -1
- data/test/spec/test_app/app/helpers/application_helper.rb +1 -1
- data/test/spec/test_app/app/helpers/test_helper.rb +1 -1
- data/test/spec/test_app/app/helpers/users_helper.rb +1 -1
- data/test/spec/test_app/app/models/user.rb +1 -1
- data/test/spec/test_app/app/views/layouts/users.html.erb +1 -1
- data/test/spec/test_app/app/views/test/post_data.html.erb +1 -1
- data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
- data/test/spec/test_app/app/views/users/edit.html.erb +1 -1
- data/test/spec/test_app/app/views/users/index.html.erb +1 -1
- data/test/spec/test_app/app/views/users/new.html.erb +1 -1
- data/test/spec/test_app/app/views/users/show.html.erb +1 -1
- data/test/spec/test_app/db/migrate/20090602102438_create_users.rb +1 -1
- data/test/spec/upload_helper.rb +1 -1
- data/test/spec/webroar_command_spec.rb +1 -1
- data/test/unit/queue_test.c +1 -1
- data/test/unit/scgi_test.c +69 -66
- data/test/unit/test.c +1 -1
- data/test/unit/test.h +1 -1
- data/test/unit/ut_test.c +1 -1
- data/test/unit/ut_test.h +1 -1
- data/test/unit/util_test.c +1 -1
- data/test/unit/yaml_test.c +1 -1
- metadata +378 -1847
- data/src/admin_panel/public/blank_iframe.html +0 -2
- data/src/admin_panel/public/images/calendar_date_select/calendar.gif +0 -0
- data/src/admin_panel/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
- data/src/admin_panel/public/javascripts/calendar_date_select/format_american.js +0 -34
- data/src/admin_panel/public/javascripts/calendar_date_select/format_db.js +0 -27
- data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
- data/src/admin_panel/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
- data/src/admin_panel/public/javascripts/calendar_date_select/format_finnish.js +0 -32
- data/src/admin_panel/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
- data/src/admin_panel/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
- data/src/admin_panel/public/javascripts/calendar_date_select/format_italian.js +0 -24
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/de.js +0 -11
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/fi.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/fr.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/pl.js +0 -10
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/pt.js +0 -11
- data/src/admin_panel/public/javascripts/calendar_date_select/locale/ru.js +0 -10
- data/src/admin_panel/public/stylesheets/calendar_date_select/blue.css +0 -130
- data/src/admin_panel/public/stylesheets/calendar_date_select/default.css +0 -135
- data/src/admin_panel/public/stylesheets/calendar_date_select/plain.css +0 -128
- data/src/admin_panel/public/stylesheets/calendar_date_select/red.css +0 -135
- data/src/admin_panel/public/stylesheets/calendar_date_select/silver.css +0 -133
- data/src/admin_panel/vendor/rails/actionmailer/CHANGELOG +0 -358
- data/src/admin_panel/vendor/rails/actionmailer/MIT-LICENSE +0 -21
- data/src/admin_panel/vendor/rails/actionmailer/README +0 -149
- data/src/admin_panel/vendor/rails/actionmailer/Rakefile +0 -98
- data/src/admin_panel/vendor/rails/actionmailer/install.rb +0 -30
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -30
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/base.rb +0 -705
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +0 -113
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -17
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part.rb +0 -107
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +0 -55
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -61
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_case.rb +0 -64
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +0 -68
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -7
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb +0 -1466
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/text_format.rb +0 -10
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb +0 -426
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb +0 -46
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb +0 -46
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb +0 -41
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb +0 -67
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb +0 -63
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb +0 -581
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb +0 -960
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb +0 -9
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb +0 -1130
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb +0 -578
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb +0 -495
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb +0 -248
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb +0 -132
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb +0 -1476
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb +0 -379
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb +0 -118
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb +0 -58
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb +0 -49
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb +0 -261
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb +0 -280
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb +0 -337
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb +0 -39
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +0 -17
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer/version.rb +0 -9
- data/src/admin_panel/vendor/rails/actionmailer/lib/action_mailer.rb +0 -62
- data/src/admin_panel/vendor/rails/actionmailer/lib/actionmailer.rb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/abstract_unit.rb +0 -65
- data/src/admin_panel/vendor/rails/actionmailer/test/asset_host_test.rb +0 -54
- data/src/admin_panel/vendor/rails/actionmailer/test/delivery_method_test.rb +0 -51
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/asset_host_mailer/email_with_asset.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/hello.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/auto_layout_mailer/multipart.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/logout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/explicit_layout_mailer/signup.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/auto_layout_mailer.text.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/layouts/spam.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -20
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -32
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -29
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -114
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -70
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -59
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -19
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -20
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -66
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -47
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -28
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_invalid_characters_in_content_type +0 -104
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -100
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -14
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/_subtemplate.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/body_ivar.erb +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.html.haml +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml +0 -6
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -10
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/included_subtemplate.text.plain.erb +0 -1
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.builder +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/rxml_template.rxml +0 -2
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -5
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -95
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_layout_test.rb +0 -123
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_render_test.rb +0 -116
- data/src/admin_panel/vendor/rails/actionmailer/test/mail_service_test.rb +0 -1078
- data/src/admin_panel/vendor/rails/actionmailer/test/quoting_test.rb +0 -99
- data/src/admin_panel/vendor/rails/actionmailer/test/test_helper_test.rb +0 -129
- data/src/admin_panel/vendor/rails/actionmailer/test/tmail_test.rb +0 -22
- data/src/admin_panel/vendor/rails/actionmailer/test/url_test.rb +0 -76
- data/src/admin_panel/vendor/rails/actionpack/CHANGELOG +0 -5156
- data/src/admin_panel/vendor/rails/actionpack/MIT-LICENSE +0 -21
- data/src/admin_panel/vendor/rails/actionpack/README +0 -409
- data/src/admin_panel/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -24
- data/src/admin_panel/vendor/rails/actionpack/Rakefile +0 -158
- data/src/admin_panel/vendor/rails/actionpack/install.rb +0 -30
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +0 -150
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +0 -146
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +0 -632
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +0 -127
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/base.rb +0 -1414
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +0 -107
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/actions.rb +0 -169
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/fragments.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/pages.rb +0 -152
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching/sweeping.rb +0 -97
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -70
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +0 -112
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +0 -77
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/cookies.rb +0 -94
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/dispatcher.rb +0 -118
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/failsafe.rb +0 -52
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/filters.rb +0 -680
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -163
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/headers.rb +0 -33
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/helpers.rb +0 -225
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +0 -304
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/integration.rb +0 -687
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/layout.rb +0 -281
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middleware_stack.rb +0 -119
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/middlewares.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +0 -193
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_type.rb +0 -212
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/mime_types.rb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/params_parser.rb +0 -71
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/performance_test.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -104
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/reloader.rb +0 -14
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request.rb +0 -489
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/request_forgery_protection.rb +0 -108
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rescue.rb +0 -183
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/resources.rb +0 -678
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/response.rb +0 -232
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/rewindable_input.rb +0 -28
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/builder.rb +0 -197
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/optimisations.rb +0 -130
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/recognition_optimisation.rb +0 -167
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route.rb +0 -265
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/route_set.rb +0 -488
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/routing_ext.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing/segments.rb +0 -343
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/routing.rb +0 -385
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/abstract_store.rb +0 -181
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -221
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +0 -51
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/session_management.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/streaming.rb +0 -179
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -26
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +0 -11
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -29
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -10
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +0 -21
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_case.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/test_process.rb +0 -572
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/translation.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/uploaded_file.rb +0 -44
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +0 -216
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -68
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +0 -537
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +0 -173
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -828
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -105
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner.rb +0 -16
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/adapter/camping.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/handler.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/abstract/request.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/basic.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/md5.rb +0 -124
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/nonce.rb +0 -51
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/params.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/digest/request.rb +0 -40
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/auth/openid.rb +0 -480
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/builder.rb +0 -63
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/cascade.rb +0 -36
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/chunked.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/commonlogger.rb +0 -61
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/conditionalget.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_length.rb +0 -29
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/content_type.rb +0 -23
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/deflater.rb +0 -85
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/directory.rb +0 -153
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/file.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/cgi.rb +0 -61
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/evented_mongrel.rb +0 -8
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/lsws.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb +0 -84
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/scgi.rb +0 -59
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/swiftiplied_mongrel.rb +0 -8
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/thin.rb +0 -18
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler/webrick.rb +0 -67
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/handler.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/head.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lint.rb +0 -462
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lobster.rb +0 -65
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/lock.rb +0 -16
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb +0 -27
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mime.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/mock.rb +0 -160
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/recursive.rb +0 -57
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/reloader.rb +0 -64
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/request.rb +0 -241
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/response.rb +0 -179
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/abstract/id.rb +0 -142
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/cookie.rb +0 -91
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/memcache.rb +0 -109
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/session/pool.rb +0 -100
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showexceptions.rb +0 -349
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/showstatus.rb +0 -106
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/static.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb +0 -55
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack/utils.rb +0 -392
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/vendor/rack-1.0/rack.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller/verification.rb +0 -130
- data/src/admin_panel/vendor/rails/actionpack/lib/action_controller.rb +0 -116
- data/src/admin_panel/vendor/rails/actionpack/lib/action_pack/version.rb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/lib/action_pack.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/base.rb +0 -357
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/erb/util.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +0 -305
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +0 -682
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/atom_feed_helper.rb +0 -198
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +0 -136
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +0 -976
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +0 -38
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +0 -1039
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +0 -530
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +0 -481
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +0 -208
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +0 -303
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +0 -1305
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -20
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/sanitize_helper.rb +0 -251
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +0 -226
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +0 -150
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +0 -578
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/translation_helper.rb +0 -39
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +0 -638
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/helpers.rb +0 -57
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/inline_template.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/locale/en.yml +0 -110
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/partials.rb +0 -240
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/paths.rb +0 -69
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/reloadable_template.rb +0 -117
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable.rb +0 -95
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/renderable_partial.rb +0 -47
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template.rb +0 -257
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_error.rb +0 -99
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handler.rb +0 -34
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/builder.rb +0 -17
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/erb.rb +0 -22
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers/rjs.rb +0 -13
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/template_handlers.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view/test_case.rb +0 -87
- data/src/admin_panel/vendor/rails/actionpack/lib/action_view.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/lib/actionpack.rb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/abstract_unit.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/test/active_record_unit.rb +0 -104
- data/src/admin_panel/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +0 -174
- data/src/admin_panel/vendor/rails/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +0 -188
- data/src/admin_panel/vendor/rails/actionpack/test/adv_attr_test.rb +0 -20
- data/src/admin_panel/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +0 -516
- data/src/admin_panel/vendor/rails/actionpack/test/controller/addresses_render_test.rb +0 -37
- data/src/admin_panel/vendor/rails/actionpack/test/controller/assert_select_test.rb +0 -734
- data/src/admin_panel/vendor/rails/actionpack/test/controller/base_test.rb +0 -217
- data/src/admin_panel/vendor/rails/actionpack/test/controller/benchmark_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/controller/caching_test.rb +0 -690
- data/src/admin_panel/vendor/rails/actionpack/test/controller/capture_test.rb +0 -66
- data/src/admin_panel/vendor/rails/actionpack/test/controller/content_type_test.rb +0 -168
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/controller/cookie_test.rb +0 -111
- data/src/admin_panel/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/controller/dispatcher_test.rb +0 -103
- data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -33
- data/src/admin_panel/vendor/rails/actionpack/test/controller/fake_models.rb +0 -19
- data/src/admin_panel/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -49
- data/src/admin_panel/vendor/rails/actionpack/test/controller/filters_test.rb +0 -885
- data/src/admin_panel/vendor/rails/actionpack/test/controller/flash_test.rb +0 -142
- data/src/admin_panel/vendor/rails/actionpack/test/controller/header_test.rb +0 -14
- data/src/admin_panel/vendor/rails/actionpack/test/controller/helper_test.rb +0 -224
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/cdata_node_test.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +0 -148
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +0 -89
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/sanitizer_test.rb +0 -273
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -238
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -50
- data/src/admin_panel/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -131
- data/src/admin_panel/vendor/rails/actionpack/test/controller/http_basic_authentication_test.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/test/controller/http_digest_authentication_test.rb +0 -178
- data/src/admin_panel/vendor/rails/actionpack/test/controller/integration_test.rb +0 -417
- data/src/admin_panel/vendor/rails/actionpack/test/controller/layout_test.rb +0 -204
- data/src/admin_panel/vendor/rails/actionpack/test/controller/logging_test.rb +0 -46
- data/src/admin_panel/vendor/rails/actionpack/test/controller/middleware_stack_test.rb +0 -90
- data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_responds_test.rb +0 -536
- data/src/admin_panel/vendor/rails/actionpack/test/controller/mime_type_test.rb +0 -93
- data/src/admin_panel/vendor/rails/actionpack/test/controller/polymorphic_routes_test.rb +0 -293
- data/src/admin_panel/vendor/rails/actionpack/test/controller/rack_test.rb +0 -294
- data/src/admin_panel/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -139
- data/src/admin_panel/vendor/rails/actionpack/test/controller/redirect_test.rb +0 -282
- data/src/admin_panel/vendor/rails/actionpack/test/controller/render_test.rb +0 -1752
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/json_params_parsing_test.rb +0 -45
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/multipart_params_parsing_test.rb +0 -223
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/query_string_parsing_test.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/url_encoded_params_parsing_test.rb +0 -184
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request/xml_params_parsing_test.rb +0 -88
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request_forgery_protection_test.rb +0 -246
- data/src/admin_panel/vendor/rails/actionpack/test/controller/request_test.rb +0 -407
- data/src/admin_panel/vendor/rails/actionpack/test/controller/rescue_test.rb +0 -536
- data/src/admin_panel/vendor/rails/actionpack/test/controller/resources_test.rb +0 -1341
- data/src/admin_panel/vendor/rails/actionpack/test/controller/routing_test.rb +0 -2557
- data/src/admin_panel/vendor/rails/actionpack/test/controller/selector_test.rb +0 -628
- data/src/admin_panel/vendor/rails/actionpack/test/controller/send_file_test.rb +0 -161
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +0 -239
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/mem_cache_store_test.rb +0 -127
- data/src/admin_panel/vendor/rails/actionpack/test/controller/session/test_session_test.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/test/controller/test_test.rb +0 -692
- data/src/admin_panel/vendor/rails/actionpack/test/controller/translation_test.rb +0 -26
- data/src/admin_panel/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +0 -359
- data/src/admin_panel/vendor/rails/actionpack/test/controller/verification_test.rb +0 -270
- data/src/admin_panel/vendor/rails/actionpack/test/controller/view_paths_test.rb +0 -141
- data/src/admin_panel/vendor/rails/actionpack/test/controller/webservice_test.rb +0 -260
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/_top_level_partial_only.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/alternate_helpers/foo_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/bad_customers/_bad_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/companies.yml +0 -24
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/company.rb +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/customers/_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -49
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developer.rb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers/_developer.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers.yml +0 -21
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -13
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/_game.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/fun/serious/games/_game.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/_partial.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs +0 -6
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/fragment_cached.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/inline_fragment_cached.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/good_customers/_good_customer.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/hello.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/alt/layouts/alt.rhtml +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/_column.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/block_with_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/default_html.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/partial_with_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/xhr.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascot.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots/_mascot.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/mascots.yml +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/boundary_problem_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/bracketed_param +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/empty +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/hello.txt +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/none +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -10
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/override2/layouts/test/sub.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/post.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/layouts/super_post.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/post/index.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/post_test/super_post/index.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/project.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects/_project.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/projects.yml +0 -7
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/404.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.da.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/500.html +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/controls.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/dragdrop.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/effects.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/prototype.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/subdir/subdir.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/javascripts/version.1.0.js +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/subdir/subdir.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/public/stylesheets/version.1.0.css +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/quiz/questions/_question.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies/_reply.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/replies.yml +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/reply.rb +0 -7
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/missing.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.iphone.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/shared.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/symlink_parent/symlinked_layout.erb +0 -5
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_counter.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_counter.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_customer_with_var.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_form.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_labelling_form.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_block_with_args.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_layout_for_partial.html.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_local_inspector.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_one.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_for_use_in_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_partial_with_only_html_version.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_raise.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/_two.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/calling_partial_with_layout.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_concatenated.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/content_for_with_parameter.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dont_pick_me +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -6
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/greeting.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.da.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world.pt-BR.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_from_rxml.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -11
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/hyphen-ated.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/implicit_content_type.atom.builder +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/nested_layout.erb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -4
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_explicit_html_template.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_from_template.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template.js.rjs +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.da.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_html_template_from_xhr_request.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_implicit_js_template_without_layout.js.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/sub_template_raise.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/template.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -9
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/using_layout_around_block_with_args.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/test/utf8.html.erb +0 -2
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topic.rb +0 -3
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics/_topic.html.erb +0 -1
- data/src/admin_panel/vendor/rails/actionpack/test/fixtures/topics.yml +0 -22
- data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_i18n_test.rb +0 -44
- data/src/admin_panel/vendor/rails/actionpack/test/template/active_record_helper_test.rb +0 -302
- data/src/admin_panel/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -713
- data/src/admin_panel/vendor/rails/actionpack/test/template/atom_feed_helper_test.rb +0 -286
- data/src/admin_panel/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +0 -86
- data/src/admin_panel/vendor/rails/actionpack/test/template/compiled_templates_test.rb +0 -203
- data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_i18n_test.rb +0 -120
- data/src/admin_panel/vendor/rails/actionpack/test/template/date_helper_test.rb +0 -2469
- data/src/admin_panel/vendor/rails/actionpack/test/template/erb_util_test.rb +0 -24
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_helper_test.rb +0 -1176
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_options_helper_test.rb +0 -751
- data/src/admin_panel/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +0 -327
- data/src/admin_panel/vendor/rails/actionpack/test/template/javascript_helper_test.rb +0 -106
- data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_i18n_test.rb +0 -69
- data/src/admin_panel/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -128
- data/src/admin_panel/vendor/rails/actionpack/test/template/prototype_helper_test.rb +0 -639
- data/src/admin_panel/vendor/rails/actionpack/test/template/record_tag_helper_test.rb +0 -58
- data/src/admin_panel/vendor/rails/actionpack/test/template/render_test.rb +0 -290
- data/src/admin_panel/vendor/rails/actionpack/test/template/sanitize_helper_test.rb +0 -48
- data/src/admin_panel/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -90
- data/src/admin_panel/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -97
- data/src/admin_panel/vendor/rails/actionpack/test/template/test_test.rb +0 -54
- data/src/admin_panel/vendor/rails/actionpack/test/template/text_helper_test.rb +0 -520
- data/src/admin_panel/vendor/rails/actionpack/test/template/translation_helper_test.rb +0 -32
- data/src/admin_panel/vendor/rails/actionpack/test/template/url_helper_test.rb +0 -614
- data/src/admin_panel/vendor/rails/actionpack/test/testing_sandbox.rb +0 -15
- data/src/admin_panel/vendor/rails/actionpack/test/view/test_case_test.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/CHANGELOG +0 -5832
- data/src/admin_panel/vendor/rails/activerecord/README +0 -351
- data/src/admin_panel/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -36
- data/src/admin_panel/vendor/rails/activerecord/Rakefile +0 -253
- data/src/admin_panel/vendor/rails/activerecord/examples/associations.png +0 -0
- data/src/admin_panel/vendor/rails/activerecord/install.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/aggregations.rb +0 -261
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/association_preload.rb +0 -389
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +0 -470
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +0 -279
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +0 -58
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -49
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +0 -127
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -121
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +0 -256
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +0 -124
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations/has_one_through_association.rb +0 -31
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/associations.rb +0 -2169
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +0 -388
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/autosave_association.rb +0 -349
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/base.rb +0 -3155
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/batches.rb +0 -73
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/calculations.rb +0 -317
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/callbacks.rb +0 -360
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb +0 -371
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +0 -139
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +0 -289
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb +0 -94
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -69
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +0 -708
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +0 -434
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -234
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +0 -617
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +0 -1050
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite3_adapter.rb +0 -34
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -438
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dirty.rb +0 -183
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_finder_match.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/dynamic_scope_match.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/fixtures.rb +0 -993
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/i18n_interpolation_deprecation.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locale/en.yml +0 -54
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +0 -181
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -77
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/migration.rb +0 -566
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/named_scope.rb +0 -197
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/nested_attributes.rb +0 -329
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/observer.rb +0 -197
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/query_cache.rb +0 -33
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/reflection.rb +0 -320
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema.rb +0 -51
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -179
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serialization.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/json_serializer.rb +0 -99
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/serializers/xml_serializer.rb +0 -353
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/session_store.rb +0 -318
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/test_case.rb +0 -66
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/timestamp.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/transactions.rb +0 -235
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/validations.rb +0 -1066
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/lib/active_record.rb +0 -84
- data/src/admin_panel/vendor/rails/activerecord/lib/activerecord.rb +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/assets/flowers.jpg +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/cases/aaa_create_tables_test.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_mysql.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/test/cases/active_schema_test_postgresql.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/adapter_test.rb +0 -133
- data/src/admin_panel/vendor/rails/activerecord/test/cases/aggregations_test.rb +0 -167
- data/src/admin_panel/vendor/rails/activerecord/test/cases/ar_schema_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/belongs_to_associations_test.rb +0 -345
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/callbacks_test.rb +0 -161
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +0 -131
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_includes_full_sti_class_test.rb +0 -36
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_load_nested_include_test.rb +0 -130
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_singularization_test.rb +0 -145
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/eager_test.rb +0 -822
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/extension_test.rb +0 -62
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb +0 -822
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_associations_test.rb +0 -1062
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_many_through_associations_test.rb +0 -279
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_associations_test.rb +0 -309
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/has_one_through_associations_test.rb +0 -192
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/inner_join_association_test.rb +0 -88
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations/join_model_test.rb +0 -712
- data/src/admin_panel/vendor/rails/activerecord/test/cases/associations_test.rb +0 -262
- data/src/admin_panel/vendor/rails/activerecord/test/cases/attribute_methods_test.rb +0 -305
- data/src/admin_panel/vendor/rails/activerecord/test/cases/autosave_association_test.rb +0 -901
- data/src/admin_panel/vendor/rails/activerecord/test/cases/base_test.rb +0 -2107
- data/src/admin_panel/vendor/rails/activerecord/test/cases/batches_test.rb +0 -61
- data/src/admin_panel/vendor/rails/activerecord/test/cases/binary_test.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/cases/calculations_test.rb +0 -348
- data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_observers_test.rb +0 -38
- data/src/admin_panel/vendor/rails/activerecord/test/cases/callbacks_test.rb +0 -438
- data/src/admin_panel/vendor/rails/activerecord/test/cases/class_inheritable_attributes_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/column_alias_test.rb +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/cases/column_definition_test.rb +0 -36
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_pool_test.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_firebird.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/cases/connection_test_mysql.rb +0 -56
- data/src/admin_panel/vendor/rails/activerecord/test/cases/copy_table_test_sqlite.rb +0 -80
- data/src/admin_panel/vendor/rails/activerecord/test/cases/database_statements_test.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/cases/datatype_test_postgresql.rb +0 -204
- data/src/admin_panel/vendor/rails/activerecord/test/cases/date_time_test.rb +0 -37
- data/src/admin_panel/vendor/rails/activerecord/test/cases/default_test_firebird.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/cases/defaults_test.rb +0 -111
- data/src/admin_panel/vendor/rails/activerecord/test/cases/deprecated_finder_test.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/cases/dirty_test.rb +0 -306
- data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_respond_to_test.rb +0 -76
- data/src/admin_panel/vendor/rails/activerecord/test/cases/finder_test.rb +0 -1083
- data/src/admin_panel/vendor/rails/activerecord/test/cases/fixtures_test.rb +0 -651
- data/src/admin_panel/vendor/rails/activerecord/test/cases/helper.rb +0 -69
- data/src/admin_panel/vendor/rails/activerecord/test/cases/i18n_test.rb +0 -41
- data/src/admin_panel/vendor/rails/activerecord/test/cases/inheritance_test.rb +0 -262
- data/src/admin_panel/vendor/rails/activerecord/test/cases/invalid_date_test.rb +0 -24
- data/src/admin_panel/vendor/rails/activerecord/test/cases/json_serialization_test.rb +0 -205
- data/src/admin_panel/vendor/rails/activerecord/test/cases/lifecycle_test.rb +0 -193
- data/src/admin_panel/vendor/rails/activerecord/test/cases/locking_test.rb +0 -322
- data/src/admin_panel/vendor/rails/activerecord/test/cases/method_scoping_test.rb +0 -694
- data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test.rb +0 -1495
- data/src/admin_panel/vendor/rails/activerecord/test/cases/migration_test_firebird.rb +0 -124
- data/src/admin_panel/vendor/rails/activerecord/test/cases/mixin_test.rb +0 -96
- data/src/admin_panel/vendor/rails/activerecord/test/cases/modules_test.rb +0 -39
- data/src/admin_panel/vendor/rails/activerecord/test/cases/multiple_db_test.rb +0 -85
- data/src/admin_panel/vendor/rails/activerecord/test/cases/named_scope_test.rb +0 -359
- data/src/admin_panel/vendor/rails/activerecord/test/cases/nested_attributes_test.rb +0 -509
- data/src/admin_panel/vendor/rails/activerecord/test/cases/pk_test.rb +0 -101
- data/src/admin_panel/vendor/rails/activerecord/test/cases/pooled_connections_test.rb +0 -103
- data/src/admin_panel/vendor/rails/activerecord/test/cases/query_cache_test.rb +0 -123
- data/src/admin_panel/vendor/rails/activerecord/test/cases/readonly_test.rb +0 -107
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reflection_test.rb +0 -194
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reload_models_test.rb +0 -22
- data/src/admin_panel/vendor/rails/activerecord/test/cases/repair_helper.rb +0 -50
- data/src/admin_panel/vendor/rails/activerecord/test/cases/reserved_word_test_mysql.rb +0 -176
- data/src/admin_panel/vendor/rails/activerecord/test/cases/sanitize_test.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_authorization_test_postgresql.rb +0 -75
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_dumper_test.rb +0 -183
- data/src/admin_panel/vendor/rails/activerecord/test/cases/schema_test_postgresql.rb +0 -102
- data/src/admin_panel/vendor/rails/activerecord/test/cases/serialization_test.rb +0 -47
- data/src/admin_panel/vendor/rails/activerecord/test/cases/synonym_test_oracle.rb +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/cases/transactions_test.rb +0 -522
- data/src/admin_panel/vendor/rails/activerecord/test/cases/unconnected_test.rb +0 -32
- data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_i18n_test.rb +0 -915
- data/src/admin_panel/vendor/rails/activerecord/test/cases/validations_test.rb +0 -1602
- data/src/admin_panel/vendor/rails/activerecord/test/cases/xml_serialization_test.rb +0 -220
- data/src/admin_panel/vendor/rails/activerecord/test/config.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcderby/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbch2/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbchsqldb/connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcmysql/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcpostgresql/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/jdbc_jdbcsqlite3/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -18
- data/src/admin_panel/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -23
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -28
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_addresses.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/authors.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/binaries.yml +0 -132
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/books.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -23
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/clubs.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/comments.yml +0 -59
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/companies.yml +0 -56
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/computers.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/courses.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/customers.yml +0 -26
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers.yml +0 -21
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/edges.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database.sqlite3 +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fixture_database_2.sqlite3 +0 -0
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/items.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/jobs.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mateys.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/member_types.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/members.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/memberships.yml +0 -20
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/minimalistics.yml +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -29
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/movies.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -1
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/organizations.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/owners.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots.yml +0 -27
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/parrots_pirates.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/people.yml +0 -15
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pets.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/pirates.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/posts.yml +0 -49
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/price_estimates.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/projects.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/readers.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/references.yml +0 -17
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distinct.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/distincts_selects.yml +0 -11
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/group.yml +0 -14
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/select.yml +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/reserved_words/values.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/ships.yml +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/sponsors.yml +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscribers.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/subscriptions.yml +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -28
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tags.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/topics.yml +0 -42
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/toys.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/treasures.yml +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/fixtures/warehouse-things.yml +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/broken/100_migration_that_raises_exception.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/decimal/1_give_me_big_numbers.rb +0 -15
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/2_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_foo.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507052938_chunky.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/duplicate_names/20080507053028_chunky.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_1/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_2/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/interleaved/pass_3/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1000_people_have_middle_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/3_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/missing/4_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/1_people_have_last_names.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/2_we_need_reminders.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/migrations/valid/3_innocent_jointable.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/models/author.rb +0 -141
- data/src/admin_panel/vendor/rails/activerecord/test/models/auto_id.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/binary.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/bird.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/book.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/categorization.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/category.rb +0 -34
- data/src/admin_panel/vendor/rails/activerecord/test/models/citation.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/models/club.rb +0 -13
- data/src/admin_panel/vendor/rails/activerecord/test/models/column_name.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/comment.rb +0 -25
- data/src/admin_panel/vendor/rails/activerecord/test/models/company.rb +0 -159
- data/src/admin_panel/vendor/rails/activerecord/test/models/company_in_module.rb +0 -61
- data/src/admin_panel/vendor/rails/activerecord/test/models/computer.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/contact.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/course.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/customer.rb +0 -73
- data/src/admin_panel/vendor/rails/activerecord/test/models/default.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/developer.rb +0 -91
- data/src/admin_panel/vendor/rails/activerecord/test/models/edge.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/entrant.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/event.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/guid.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/item.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/models/job.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/joke.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/keyboard.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/legacy_thing.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/matey.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/member.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/models/member_detail.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/member_type.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/membership.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/models/minimalistic.rb +0 -2
- data/src/admin_panel/vendor/rails/activerecord/test/models/mixed_case_monkey.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/movie.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/order.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/organization.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/owner.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/parrot.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/person.rb +0 -16
- data/src/admin_panel/vendor/rails/activerecord/test/models/pet.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/pirate.rb +0 -63
- data/src/admin_panel/vendor/rails/activerecord/test/models/post.rb +0 -100
- data/src/admin_panel/vendor/rails/activerecord/test/models/price_estimate.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/project.rb +0 -30
- data/src/admin_panel/vendor/rails/activerecord/test/models/reader.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/reference.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/reply.rb +0 -45
- data/src/admin_panel/vendor/rails/activerecord/test/models/ship.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/models/ship_part.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/models/sponsor.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/subject.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/subscriber.rb +0 -8
- data/src/admin_panel/vendor/rails/activerecord/test/models/subscription.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/tag.rb +0 -7
- data/src/admin_panel/vendor/rails/activerecord/test/models/tagging.rb +0 -10
- data/src/admin_panel/vendor/rails/activerecord/test/models/task.rb +0 -3
- data/src/admin_panel/vendor/rails/activerecord/test/models/topic.rb +0 -81
- data/src/admin_panel/vendor/rails/activerecord/test/models/toy.rb +0 -4
- data/src/admin_panel/vendor/rails/activerecord/test/models/treasure.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/models/vertex.rb +0 -9
- data/src/admin_panel/vendor/rails/activerecord/test/models/warehouse_thing.rb +0 -5
- data/src/admin_panel/vendor/rails/activerecord/test/schema/mysql_specific_schema.rb +0 -12
- data/src/admin_panel/vendor/rails/activerecord/test/schema/postgresql_specific_schema.rb +0 -103
- data/src/admin_panel/vendor/rails/activerecord/test/schema/schema.rb +0 -473
- data/src/admin_panel/vendor/rails/activerecord/test/schema/schema2.rb +0 -6
- data/src/admin_panel/vendor/rails/activerecord/test/schema/sqlite_specific_schema.rb +0 -25
- data/src/admin_panel/vendor/rails/activeresource/CHANGELOG +0 -267
- data/src/admin_panel/vendor/rails/activeresource/README +0 -165
- data/src/admin_panel/vendor/rails/activeresource/Rakefile +0 -138
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/base.rb +0 -1077
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/connection.rb +0 -218
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +0 -120
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/json_format.rb +0 -23
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats/xml_format.rb +0 -34
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/formats.rb +0 -14
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/http_mock.rb +0 -207
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/validations.rb +0 -274
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activeresource/lib/active_resource.rb +0 -44
- data/src/admin_panel/vendor/rails/activeresource/lib/activeresource.rb +0 -1
- data/src/admin_panel/vendor/rails/activeresource/test/abstract_unit.rb +0 -23
- data/src/admin_panel/vendor/rails/activeresource/test/authorization_test.rb +0 -122
- data/src/admin_panel/vendor/rails/activeresource/test/base/custom_methods_test.rb +0 -100
- data/src/admin_panel/vendor/rails/activeresource/test/base/equality_test.rb +0 -52
- data/src/admin_panel/vendor/rails/activeresource/test/base/load_test.rb +0 -146
- data/src/admin_panel/vendor/rails/activeresource/test/base_errors_test.rb +0 -48
- data/src/admin_panel/vendor/rails/activeresource/test/base_test.rb +0 -891
- data/src/admin_panel/vendor/rails/activeresource/test/connection_test.rb +0 -196
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/beast.rb +0 -14
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/customer.rb +0 -3
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/person.rb +0 -3
- data/src/admin_panel/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -4
- data/src/admin_panel/vendor/rails/activeresource/test/format_test.rb +0 -112
- data/src/admin_panel/vendor/rails/activeresource/test/setter_trap.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/CHANGELOG +0 -1309
- data/src/admin_panel/vendor/rails/activesupport/README +0 -43
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/backtrace_cleaner.rb +0 -72
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/base64.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/basic_object.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/buffered_logger.rb +0 -127
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/compressed_mem_cache_store.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/drb_store.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/file_store.rb +0 -72
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/mem_cache_store.rb +0 -132
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/memory_store.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/strategy/local_cache.rb +0 -104
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache/synchronized_memory_store.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/cache.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/callbacks.rb +0 -279
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/access.rb +0 -53
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/extract_options.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +0 -106
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/random_access.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array/wrapper.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64/encoding.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/base64.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/benchmark.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/conversions.rb +0 -37
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -6
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +0 -54
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/delegating_attributes.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -140
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -50
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +0 -42
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +0 -230
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +0 -107
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -10
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +0 -126
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +0 -96
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/duplicable.rb +0 -43
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -116
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +0 -45
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file/atomic.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/rounding.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float/time.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/float.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +0 -237
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/deep_merge.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/except.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +0 -143
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer/time.rb +0 -45
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -38
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +0 -145
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -32
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +0 -121
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/model_naming.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module/synchronization.rb +0 -39
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -17
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -44
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/conversions.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -81
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/conversions.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +0 -80
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/instance_variables.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/metaclass.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -7
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process/daemon.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/process.rb +0 -1
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/blockless_step.rb +0 -32
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/include_range.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range/overlaps.rb +0 -15
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/rexml.rb +0 -41
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +0 -82
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -28
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/filters.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +0 -167
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/multibyte.rb +0 -81
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string/xchar.rb +0 -11
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -14
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +0 -303
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +0 -90
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time/zones.rb +0 -86
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -42
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/try.rb +0 -36
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext/uri.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/core_ext.rb +0 -4
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/dependencies.rb +0 -625
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/deprecation.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/duration.rb +0 -98
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/gzip.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflections.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/inflector.rb +0 -406
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/decoding.rb +0 -82
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/date_time.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -12
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -6
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -36
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/time.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/encoding.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -10
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/json.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/locale/en.yml +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/memoizable.rb +0 -100
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_encryptor.rb +0 -70
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/message_verifier.rb +0 -46
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +0 -701
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/exceptions.rb +0 -8
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte/unicode_database.rb +0 -71
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/multibyte.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/option_merger.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_hash.rb +0 -106
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -19
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/rescuable.rb +0 -108
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/secure_random.rb +0 -199
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/string_inquirer.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/test_case.rb +0 -39
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/assertions.rb +0 -65
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/declarative.rb +0 -21
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/default.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/deprecation.rb +0 -55
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/performance.rb +0 -452
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb +0 -91
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/time_with_zone.rb +0 -334
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +0 -404
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/blankslate.rb +0 -113
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/css.rb +0 -250
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb +0 -115
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb +0 -139
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb +0 -63
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb +0 -328
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/builder-2.1.2/builder.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/README.textile +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/Rakefile +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/i18n.gemspec +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb +0 -214
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n/exceptions.rb +0 -53
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb +0 -199
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/all.rb +0 -5
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_exceptions_test.rb +0 -100
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/i18n_test.rb +0 -125
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.rb +0 -1
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/locale/en.yml +0 -3
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/i18n-0.1.3/test/simple_backend_test.rb +0 -568
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.6.5/memcache.rb +0 -935
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb +0 -55
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb +0 -219
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +0 -166
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb +0 -86
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb +0 -283
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb +0 -136
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb +0 -204
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb +0 -161
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb +0 -274
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb +0 -149
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb +0 -194
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb +0 -139
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb +0 -144
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb +0 -131
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb +0 -282
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb +0 -74
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb +0 -205
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb +0 -171
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb +0 -288
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb +0 -196
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb +0 -67
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb +0 -73
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb +0 -161
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb +0 -87
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb +0 -164
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb +0 -24
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb +0 -34
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb +0 -47
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb +0 -78
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb +0 -121
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb +0 -30
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb +0 -65
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb +0 -164
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb +0 -270
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb +0 -18
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb +0 -187
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb +0 -35
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb +0 -193
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb +0 -37
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb +0 -16
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb +0 -228
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb +0 -185
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb +0 -188
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb +0 -181
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb +0 -197
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb +0 -179
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb +0 -276
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb +0 -163
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb +0 -218
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb +0 -168
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb +0 -268
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb +0 -288
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb +0 -211
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb +0 -170
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb +0 -181
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb +0 -232
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb +0 -187
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb +0 -176
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb +0 -215
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb +0 -173
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb +0 -165
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb +0 -172
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb +0 -183
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb +0 -170
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb +0 -212
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb +0 -13
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb +0 -202
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb +0 -23
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb +0 -22
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb +0 -28
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb +0 -25
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb +0 -26
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb +0 -20
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb +0 -27
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb +0 -52
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb +0 -51
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb +0 -44
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb +0 -98
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb +0 -292
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb +0 -508
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb +0 -56
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb +0 -40
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb +0 -94
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb +0 -198
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb +0 -129
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb +0 -33
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/vendor.rb +0 -29
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/version.rb +0 -9
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -58
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/libxml.rb +0 -133
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/nokogiri.rb +0 -77
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini/rexml.rb +0 -108
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support/xml_mini.rb +0 -31
- data/src/admin_panel/vendor/rails/activesupport/lib/active_support.rb +0 -59
- data/src/admin_panel/vendor/rails/activesupport/lib/activesupport.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/CHANGELOG +0 -2156
- data/src/admin_panel/vendor/rails/railties/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/railties/README +0 -243
- data/src/admin_panel/vendor/rails/railties/Rakefile +0 -364
- data/src/admin_panel/vendor/rails/railties/bin/about +0 -4
- data/src/admin_panel/vendor/rails/railties/bin/console +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/dbconsole +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/destroy +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/generate +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/performance/benchmarker +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/performance/profiler +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/plugin +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/rails +0 -20
- data/src/admin_panel/vendor/rails/railties/bin/runner +0 -3
- data/src/admin_panel/vendor/rails/railties/bin/server +0 -3
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info.rb +0 -129
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/configs/databases/frontbase.yml +0 -28
- data/src/admin_panel/vendor/rails/railties/configs/databases/ibm_db.yml +0 -62
- data/src/admin_panel/vendor/rails/railties/configs/databases/mysql.yml +0 -60
- data/src/admin_panel/vendor/rails/railties/configs/databases/oracle.yml +0 -39
- data/src/admin_panel/vendor/rails/railties/configs/databases/postgresql.yml +0 -51
- data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite2.yml +0 -19
- data/src/admin_panel/vendor/rails/railties/configs/databases/sqlite3.yml +0 -22
- data/src/admin_panel/vendor/rails/railties/configs/initializers/backtrace_silencers.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/configs/initializers/inflections.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/configs/initializers/mime_types.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/configs/initializers/new_rails_defaults.rb +0 -19
- data/src/admin_panel/vendor/rails/railties/configs/initializers/session_store.rb +0 -15
- data/src/admin_panel/vendor/rails/railties/configs/locales/en.yml +0 -5
- data/src/admin_panel/vendor/rails/railties/configs/routes.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/dispatches/config.ru +0 -7
- data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.fcgi +0 -24
- data/src/admin_panel/vendor/rails/railties/dispatches/dispatch.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/dispatches/gateway.cgi +0 -97
- data/src/admin_panel/vendor/rails/railties/doc/README_FOR_APP +0 -2
- data/src/admin_panel/vendor/rails/railties/environments/boot.rb +0 -110
- data/src/admin_panel/vendor/rails/railties/environments/development.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/environments/environment.rb +0 -41
- data/src/admin_panel/vendor/rails/railties/environments/production.rb +0 -28
- data/src/admin_panel/vendor/rails/railties/environments/test.rb +0 -28
- data/src/admin_panel/vendor/rails/railties/fresh_rakefile +0 -10
- data/src/admin_panel/vendor/rails/railties/helpers/application_controller.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/helpers/application_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/helpers/performance_test.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/helpers/test_helper.rb +0 -38
- data/src/admin_panel/vendor/rails/railties/html/404.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/422.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/500.html +0 -30
- data/src/admin_panel/vendor/rails/railties/html/favicon.ico +0 -0
- data/src/admin_panel/vendor/rails/railties/html/images/rails.png +0 -0
- data/src/admin_panel/vendor/rails/railties/html/index.html +0 -275
- data/src/admin_panel/vendor/rails/railties/html/javascripts/application.js +0 -2
- data/src/admin_panel/vendor/rails/railties/html/javascripts/controls.js +0 -963
- data/src/admin_panel/vendor/rails/railties/html/javascripts/dragdrop.js +0 -973
- data/src/admin_panel/vendor/rails/railties/html/javascripts/effects.js +0 -1128
- data/src/admin_panel/vendor/rails/railties/html/javascripts/prototype.js +0 -4320
- data/src/admin_panel/vendor/rails/railties/html/robots.txt +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/code_statistics.rb +0 -107
- data/src/admin_panel/vendor/rails/railties/lib/commands/about.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/commands/console.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/commands/dbconsole.rb +0 -83
- data/src/admin_panel/vendor/rails/railties/lib/commands/destroy.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/commands/generate.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/listener +0 -86
- data/src/admin_panel/vendor/rails/railties/lib/commands/ncgi/tracker +0 -69
- data/src/admin_panel/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -50
- data/src/admin_panel/vendor/rails/railties/lib/commands/plugin.rb +0 -968
- data/src/admin_panel/vendor/rails/railties/lib/commands/runner.rb +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/commands/server.rb +0 -114
- data/src/admin_panel/vendor/rails/railties/lib/commands/update.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/commands.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/console_app.rb +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/console_sandbox.rb +0 -6
- data/src/admin_panel/vendor/rails/railties/lib/console_with_helpers.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/dispatcher.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/fcgi_handler.rb +0 -239
- data/src/admin_panel/vendor/rails/railties/lib/initializer.rb +0 -1105
- data/src/admin_panel/vendor/rails/railties/lib/performance_test_help.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/rails/backtrace_cleaner.rb +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/rails/gem_builder.rb +0 -21
- data/src/admin_panel/vendor/rails/railties/lib/rails/gem_dependency.rb +0 -282
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/loader.rb +0 -191
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin/locator.rb +0 -100
- data/src/admin_panel/vendor/rails/railties/lib/rails/plugin.rb +0 -167
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/debugger.rb +0 -21
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/log_tailer.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/metal.rb +0 -51
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack/static.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails/rack.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails/vendor_gem_source_index.rb +0 -140
- data/src/admin_panel/vendor/rails/railties/lib/rails/version.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/base.rb +0 -266
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/commands.rb +0 -621
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -258
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/git.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/scm.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/scm/svn.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/applications/app/template_runner.rb +0 -401
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/USAGE +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/helper_generator.rb +0 -25
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/helper/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -30
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -15
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/metal_generator.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/metal/templates/metal.rb +0 -12
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -11
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -27
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -19
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +0 -5
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -13
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -25
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -39
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -13
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -23
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +0 -3
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +0 -23
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +0 -76
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -102
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -85
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -45
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +0 -4
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -54
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +0 -18
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -10
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -18
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -16
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -249
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -53
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/options.rb +0 -150
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +0 -29
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -12
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/scripts.rb +0 -89
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/secret_key_generator.rb +0 -24
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -46
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator/spec.rb +0 -44
- data/src/admin_panel/vendor/rails/railties/lib/rails_generator.rb +0 -43
- data/src/admin_panel/vendor/rails/railties/lib/railties_path.rb +0 -1
- data/src/admin_panel/vendor/rails/railties/lib/ruby_version_check.rb +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/rubyprof_ext.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/source_annotation_extractor.rb +0 -102
- data/src/admin_panel/vendor/rails/railties/lib/tasks/annotations.rake +0 -20
- data/src/admin_panel/vendor/rails/railties/lib/tasks/databases.rake +0 -423
- data/src/admin_panel/vendor/rails/railties/lib/tasks/documentation.rake +0 -88
- data/src/admin_panel/vendor/rails/railties/lib/tasks/framework.rake +0 -143
- data/src/admin_panel/vendor/rails/railties/lib/tasks/gems.rake +0 -65
- data/src/admin_panel/vendor/rails/railties/lib/tasks/log.rake +0 -9
- data/src/admin_panel/vendor/rails/railties/lib/tasks/middleware.rake +0 -7
- data/src/admin_panel/vendor/rails/railties/lib/tasks/misc.rake +0 -63
- data/src/admin_panel/vendor/rails/railties/lib/tasks/rails.rb +0 -8
- data/src/admin_panel/vendor/rails/railties/lib/tasks/routes.rake +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/tasks/statistics.rake +0 -17
- data/src/admin_panel/vendor/rails/railties/lib/tasks/testing.rake +0 -139
- data/src/admin_panel/vendor/rails/railties/lib/tasks/tmp.rake +0 -37
- data/src/admin_panel/vendor/rails/railties/lib/test_help.rb +0 -35
- data/src/admin_panel/vendor/rails/railties/lib/webrick_server.rb +0 -156
@@ -1,1495 +0,0 @@
|
|
1
|
-
require "cases/helper"
|
2
|
-
require 'bigdecimal/util'
|
3
|
-
|
4
|
-
require 'models/person'
|
5
|
-
require 'models/topic'
|
6
|
-
require 'models/developer'
|
7
|
-
|
8
|
-
require MIGRATIONS_ROOT + "/valid/1_people_have_last_names"
|
9
|
-
require MIGRATIONS_ROOT + "/valid/2_we_need_reminders"
|
10
|
-
require MIGRATIONS_ROOT + "/decimal/1_give_me_big_numbers"
|
11
|
-
require MIGRATIONS_ROOT + "/interleaved/pass_3/2_i_raise_on_down"
|
12
|
-
|
13
|
-
if ActiveRecord::Base.connection.supports_migrations?
|
14
|
-
class BigNumber < ActiveRecord::Base; end
|
15
|
-
|
16
|
-
class Reminder < ActiveRecord::Base; end
|
17
|
-
|
18
|
-
class ActiveRecord::Migration
|
19
|
-
class <<self
|
20
|
-
attr_accessor :message_count
|
21
|
-
def puts(text="")
|
22
|
-
self.message_count ||= 0
|
23
|
-
self.message_count += 1
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
class MigrationTest < ActiveRecord::TestCase
|
29
|
-
self.use_transactional_fixtures = false
|
30
|
-
|
31
|
-
fixtures :people
|
32
|
-
|
33
|
-
def setup
|
34
|
-
ActiveRecord::Migration.verbose = true
|
35
|
-
PeopleHaveLastNames.message_count = 0
|
36
|
-
end
|
37
|
-
|
38
|
-
def teardown
|
39
|
-
ActiveRecord::Base.connection.initialize_schema_migrations_table
|
40
|
-
ActiveRecord::Base.connection.execute "DELETE FROM #{ActiveRecord::Migrator.schema_migrations_table_name}"
|
41
|
-
|
42
|
-
%w(reminders people_reminders prefix_reminders_suffix).each do |table|
|
43
|
-
Reminder.connection.drop_table(table) rescue nil
|
44
|
-
end
|
45
|
-
Reminder.reset_column_information
|
46
|
-
|
47
|
-
%w(last_name key bio age height wealth birthday favorite_day
|
48
|
-
moment_of_truth male administrator funny).each do |column|
|
49
|
-
Person.connection.remove_column('people', column) rescue nil
|
50
|
-
end
|
51
|
-
Person.connection.remove_column("people", "first_name") rescue nil
|
52
|
-
Person.connection.remove_column("people", "middle_name") rescue nil
|
53
|
-
Person.connection.add_column("people", "first_name", :string, :limit => 40)
|
54
|
-
Person.reset_column_information
|
55
|
-
end
|
56
|
-
|
57
|
-
def test_add_index
|
58
|
-
# Limit size of last_name and key columns to support Firebird index limitations
|
59
|
-
Person.connection.add_column "people", "last_name", :string, :limit => 100
|
60
|
-
Person.connection.add_column "people", "key", :string, :limit => 100
|
61
|
-
Person.connection.add_column "people", "administrator", :boolean
|
62
|
-
|
63
|
-
assert_nothing_raised { Person.connection.add_index("people", "last_name") }
|
64
|
-
assert_nothing_raised { Person.connection.remove_index("people", "last_name") }
|
65
|
-
|
66
|
-
# Orcl nds shrt indx nms. Sybs 2.
|
67
|
-
# OpenBase does not have named indexes. You must specify a single column name
|
68
|
-
unless current_adapter?(:OracleAdapter, :SybaseAdapter, :OpenBaseAdapter)
|
69
|
-
assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) }
|
70
|
-
assert_nothing_raised { Person.connection.remove_index("people", :column => ["last_name", "first_name"]) }
|
71
|
-
assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) }
|
72
|
-
assert_nothing_raised { Person.connection.remove_index("people", :name => "index_people_on_last_name_and_first_name") }
|
73
|
-
assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) }
|
74
|
-
assert_nothing_raised { Person.connection.remove_index("people", "last_name_and_first_name") }
|
75
|
-
assert_nothing_raised { Person.connection.add_index("people", ["last_name", "first_name"]) }
|
76
|
-
assert_nothing_raised { Person.connection.remove_index("people", ["last_name", "first_name"]) }
|
77
|
-
end
|
78
|
-
|
79
|
-
# quoting
|
80
|
-
# Note: changed index name from "key" to "key_idx" since "key" is a Firebird reserved word
|
81
|
-
# OpenBase does not have named indexes. You must specify a single column name
|
82
|
-
unless current_adapter?(:OpenBaseAdapter)
|
83
|
-
Person.update_all "#{Person.connection.quote_column_name 'key'}=#{Person.connection.quote_column_name 'id'}" #some databases (including sqlite2 won't add a unique index if existing data non unique)
|
84
|
-
assert_nothing_raised { Person.connection.add_index("people", ["key"], :name => "key_idx", :unique => true) }
|
85
|
-
assert_nothing_raised { Person.connection.remove_index("people", :name => "key_idx", :unique => true) }
|
86
|
-
end
|
87
|
-
|
88
|
-
# Sybase adapter does not support indexes on :boolean columns
|
89
|
-
# OpenBase does not have named indexes. You must specify a single column
|
90
|
-
unless current_adapter?(:SybaseAdapter, :OpenBaseAdapter)
|
91
|
-
assert_nothing_raised { Person.connection.add_index("people", %w(last_name first_name administrator), :name => "named_admin") }
|
92
|
-
assert_nothing_raised { Person.connection.remove_index("people", :name => "named_admin") }
|
93
|
-
end
|
94
|
-
end
|
95
|
-
|
96
|
-
def testing_table_with_only_foo_attribute
|
97
|
-
Person.connection.create_table :testings, :id => false do |t|
|
98
|
-
t.column :foo, :string
|
99
|
-
end
|
100
|
-
|
101
|
-
yield Person.connection
|
102
|
-
ensure
|
103
|
-
Person.connection.drop_table :testings rescue nil
|
104
|
-
end
|
105
|
-
protected :testing_table_with_only_foo_attribute
|
106
|
-
|
107
|
-
def test_create_table_without_id
|
108
|
-
testing_table_with_only_foo_attribute do |connection|
|
109
|
-
assert_equal connection.columns(:testings).size, 1
|
110
|
-
end
|
111
|
-
end
|
112
|
-
|
113
|
-
def test_add_column_with_primary_key_attribute
|
114
|
-
testing_table_with_only_foo_attribute do |connection|
|
115
|
-
assert_nothing_raised { connection.add_column :testings, :id, :primary_key }
|
116
|
-
assert_equal connection.columns(:testings).size, 2
|
117
|
-
end
|
118
|
-
end
|
119
|
-
|
120
|
-
def test_create_table_adds_id
|
121
|
-
Person.connection.create_table :testings do |t|
|
122
|
-
t.column :foo, :string
|
123
|
-
end
|
124
|
-
|
125
|
-
assert_equal %w(foo id),
|
126
|
-
Person.connection.columns(:testings).map { |c| c.name }.sort
|
127
|
-
ensure
|
128
|
-
Person.connection.drop_table :testings rescue nil
|
129
|
-
end
|
130
|
-
|
131
|
-
def test_create_table_with_not_null_column
|
132
|
-
assert_nothing_raised do
|
133
|
-
Person.connection.create_table :testings do |t|
|
134
|
-
t.column :foo, :string, :null => false
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
assert_raise(ActiveRecord::StatementInvalid) do
|
139
|
-
Person.connection.execute "insert into testings (foo) values (NULL)"
|
140
|
-
end
|
141
|
-
ensure
|
142
|
-
Person.connection.drop_table :testings rescue nil
|
143
|
-
end
|
144
|
-
|
145
|
-
def test_create_table_with_defaults
|
146
|
-
# MySQL doesn't allow defaults on TEXT or BLOB columns.
|
147
|
-
mysql = current_adapter?(:MysqlAdapter)
|
148
|
-
|
149
|
-
Person.connection.create_table :testings do |t|
|
150
|
-
t.column :one, :string, :default => "hello"
|
151
|
-
t.column :two, :boolean, :default => true
|
152
|
-
t.column :three, :boolean, :default => false
|
153
|
-
t.column :four, :integer, :default => 1
|
154
|
-
t.column :five, :text, :default => "hello" unless mysql
|
155
|
-
end
|
156
|
-
|
157
|
-
columns = Person.connection.columns(:testings)
|
158
|
-
one = columns.detect { |c| c.name == "one" }
|
159
|
-
two = columns.detect { |c| c.name == "two" }
|
160
|
-
three = columns.detect { |c| c.name == "three" }
|
161
|
-
four = columns.detect { |c| c.name == "four" }
|
162
|
-
five = columns.detect { |c| c.name == "five" } unless mysql
|
163
|
-
|
164
|
-
assert_equal "hello", one.default
|
165
|
-
assert_equal true, two.default
|
166
|
-
assert_equal false, three.default
|
167
|
-
assert_equal 1, four.default
|
168
|
-
assert_equal "hello", five.default unless mysql
|
169
|
-
|
170
|
-
ensure
|
171
|
-
Person.connection.drop_table :testings rescue nil
|
172
|
-
end
|
173
|
-
|
174
|
-
def test_create_table_with_limits
|
175
|
-
assert_nothing_raised do
|
176
|
-
Person.connection.create_table :testings do |t|
|
177
|
-
t.column :foo, :string, :limit => 255
|
178
|
-
|
179
|
-
t.column :default_int, :integer
|
180
|
-
|
181
|
-
t.column :one_int, :integer, :limit => 1
|
182
|
-
t.column :four_int, :integer, :limit => 4
|
183
|
-
t.column :eight_int, :integer, :limit => 8
|
184
|
-
t.column :eleven_int, :integer, :limit => 11
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
columns = Person.connection.columns(:testings)
|
189
|
-
foo = columns.detect { |c| c.name == "foo" }
|
190
|
-
assert_equal 255, foo.limit
|
191
|
-
|
192
|
-
default = columns.detect { |c| c.name == "default_int" }
|
193
|
-
one = columns.detect { |c| c.name == "one_int" }
|
194
|
-
four = columns.detect { |c| c.name == "four_int" }
|
195
|
-
eight = columns.detect { |c| c.name == "eight_int" }
|
196
|
-
eleven = columns.detect { |c| c.name == "eleven_int" }
|
197
|
-
|
198
|
-
if current_adapter?(:PostgreSQLAdapter)
|
199
|
-
assert_equal 'integer', default.sql_type
|
200
|
-
assert_equal 'smallint', one.sql_type
|
201
|
-
assert_equal 'integer', four.sql_type
|
202
|
-
assert_equal 'bigint', eight.sql_type
|
203
|
-
assert_equal 'integer', eleven.sql_type
|
204
|
-
elsif current_adapter?(:MysqlAdapter)
|
205
|
-
assert_match 'int(11)', default.sql_type
|
206
|
-
assert_match 'tinyint', one.sql_type
|
207
|
-
assert_match 'int', four.sql_type
|
208
|
-
assert_match 'bigint', eight.sql_type
|
209
|
-
assert_match 'int(11)', eleven.sql_type
|
210
|
-
elsif current_adapter?(:OracleAdapter)
|
211
|
-
assert_equal 'NUMBER(38)', default.sql_type
|
212
|
-
assert_equal 'NUMBER(1)', one.sql_type
|
213
|
-
assert_equal 'NUMBER(4)', four.sql_type
|
214
|
-
assert_equal 'NUMBER(8)', eight.sql_type
|
215
|
-
end
|
216
|
-
ensure
|
217
|
-
Person.connection.drop_table :testings rescue nil
|
218
|
-
end
|
219
|
-
|
220
|
-
def test_create_table_with_primary_key_prefix_as_table_name_with_underscore
|
221
|
-
ActiveRecord::Base.primary_key_prefix_type = :table_name_with_underscore
|
222
|
-
|
223
|
-
Person.connection.create_table :testings do |t|
|
224
|
-
t.column :foo, :string
|
225
|
-
end
|
226
|
-
|
227
|
-
assert_equal %w(foo testings_id), Person.connection.columns(:testings).map { |c| c.name }.sort
|
228
|
-
ensure
|
229
|
-
Person.connection.drop_table :testings rescue nil
|
230
|
-
ActiveRecord::Base.primary_key_prefix_type = nil
|
231
|
-
end
|
232
|
-
|
233
|
-
def test_create_table_with_primary_key_prefix_as_table_name
|
234
|
-
ActiveRecord::Base.primary_key_prefix_type = :table_name
|
235
|
-
|
236
|
-
Person.connection.create_table :testings do |t|
|
237
|
-
t.column :foo, :string
|
238
|
-
end
|
239
|
-
|
240
|
-
assert_equal %w(foo testingsid), Person.connection.columns(:testings).map { |c| c.name }.sort
|
241
|
-
ensure
|
242
|
-
Person.connection.drop_table :testings rescue nil
|
243
|
-
ActiveRecord::Base.primary_key_prefix_type = nil
|
244
|
-
end
|
245
|
-
|
246
|
-
def test_create_table_with_force_true_does_not_drop_nonexisting_table
|
247
|
-
if Person.connection.table_exists?(:testings2)
|
248
|
-
Person.connection.drop_table :testings2
|
249
|
-
end
|
250
|
-
|
251
|
-
# using a copy as we need the drop_table method to
|
252
|
-
# continue to work for the ensure block of the test
|
253
|
-
temp_conn = Person.connection.dup
|
254
|
-
temp_conn.expects(:drop_table).never
|
255
|
-
temp_conn.create_table :testings2, :force => true do |t|
|
256
|
-
t.column :foo, :string
|
257
|
-
end
|
258
|
-
ensure
|
259
|
-
Person.connection.drop_table :testings2 rescue nil
|
260
|
-
end
|
261
|
-
|
262
|
-
def test_create_table_with_timestamps_should_create_datetime_columns
|
263
|
-
table_name = :testings
|
264
|
-
|
265
|
-
Person.connection.create_table table_name do |t|
|
266
|
-
t.timestamps
|
267
|
-
end
|
268
|
-
created_columns = Person.connection.columns(table_name)
|
269
|
-
|
270
|
-
created_at_column = created_columns.detect {|c| c.name == 'created_at' }
|
271
|
-
updated_at_column = created_columns.detect {|c| c.name == 'updated_at' }
|
272
|
-
|
273
|
-
assert created_at_column.null
|
274
|
-
assert updated_at_column.null
|
275
|
-
ensure
|
276
|
-
Person.connection.drop_table table_name rescue nil
|
277
|
-
end
|
278
|
-
|
279
|
-
def test_create_table_with_timestamps_should_create_datetime_columns_with_options
|
280
|
-
table_name = :testings
|
281
|
-
|
282
|
-
Person.connection.create_table table_name do |t|
|
283
|
-
t.timestamps :null => false
|
284
|
-
end
|
285
|
-
created_columns = Person.connection.columns(table_name)
|
286
|
-
|
287
|
-
created_at_column = created_columns.detect {|c| c.name == 'created_at' }
|
288
|
-
updated_at_column = created_columns.detect {|c| c.name == 'updated_at' }
|
289
|
-
|
290
|
-
assert !created_at_column.null
|
291
|
-
assert !updated_at_column.null
|
292
|
-
ensure
|
293
|
-
Person.connection.drop_table table_name rescue nil
|
294
|
-
end
|
295
|
-
|
296
|
-
# Sybase, and SQLite3 will not allow you to add a NOT NULL
|
297
|
-
# column to a table without a default value.
|
298
|
-
unless current_adapter?(:SybaseAdapter, :SQLiteAdapter)
|
299
|
-
def test_add_column_not_null_without_default
|
300
|
-
Person.connection.create_table :testings do |t|
|
301
|
-
t.column :foo, :string
|
302
|
-
end
|
303
|
-
Person.connection.add_column :testings, :bar, :string, :null => false
|
304
|
-
|
305
|
-
assert_raise(ActiveRecord::StatementInvalid) do
|
306
|
-
Person.connection.execute "insert into testings (foo, bar) values ('hello', NULL)"
|
307
|
-
end
|
308
|
-
ensure
|
309
|
-
Person.connection.drop_table :testings rescue nil
|
310
|
-
end
|
311
|
-
end
|
312
|
-
|
313
|
-
def test_add_column_not_null_with_default
|
314
|
-
Person.connection.create_table :testings do |t|
|
315
|
-
t.column :foo, :string
|
316
|
-
end
|
317
|
-
|
318
|
-
con = Person.connection
|
319
|
-
Person.connection.enable_identity_insert("testings", true) if current_adapter?(:SybaseAdapter)
|
320
|
-
Person.connection.execute "insert into testings (#{con.quote_column_name('id')}, #{con.quote_column_name('foo')}) values (1, 'hello')"
|
321
|
-
Person.connection.enable_identity_insert("testings", false) if current_adapter?(:SybaseAdapter)
|
322
|
-
assert_nothing_raised {Person.connection.add_column :testings, :bar, :string, :null => false, :default => "default" }
|
323
|
-
|
324
|
-
assert_raise(ActiveRecord::StatementInvalid) do
|
325
|
-
unless current_adapter?(:OpenBaseAdapter)
|
326
|
-
Person.connection.execute "insert into testings (#{con.quote_column_name('id')}, #{con.quote_column_name('foo')}, #{con.quote_column_name('bar')}) values (2, 'hello', NULL)"
|
327
|
-
else
|
328
|
-
Person.connection.insert("INSERT INTO testings (#{con.quote_column_name('id')}, #{con.quote_column_name('foo')}, #{con.quote_column_name('bar')}) VALUES (2, 'hello', NULL)",
|
329
|
-
"Testing Insert","id",2)
|
330
|
-
end
|
331
|
-
end
|
332
|
-
ensure
|
333
|
-
Person.connection.drop_table :testings rescue nil
|
334
|
-
end
|
335
|
-
|
336
|
-
# We specifically do a manual INSERT here, and then test only the SELECT
|
337
|
-
# functionality. This allows us to more easily catch INSERT being broken,
|
338
|
-
# but SELECT actually working fine.
|
339
|
-
def test_native_decimal_insert_manual_vs_automatic
|
340
|
-
correct_value = '0012345678901234567890.0123456789'.to_d
|
341
|
-
|
342
|
-
Person.delete_all
|
343
|
-
Person.connection.add_column "people", "wealth", :decimal, :precision => '30', :scale => '10'
|
344
|
-
Person.reset_column_information
|
345
|
-
|
346
|
-
# Do a manual insertion
|
347
|
-
if current_adapter?(:OracleAdapter)
|
348
|
-
Person.connection.execute "insert into people (id, wealth) values (people_seq.nextval, 12345678901234567890.0123456789)"
|
349
|
-
elsif current_adapter?(:OpenBaseAdapter) || (current_adapter?(:MysqlAdapter) && Mysql.client_version < 50003) #before mysql 5.0.3 decimals stored as strings
|
350
|
-
Person.connection.execute "insert into people (wealth) values ('12345678901234567890.0123456789')"
|
351
|
-
else
|
352
|
-
Person.connection.execute "insert into people (wealth) values (12345678901234567890.0123456789)"
|
353
|
-
end
|
354
|
-
|
355
|
-
# SELECT
|
356
|
-
row = Person.find(:first)
|
357
|
-
assert_kind_of BigDecimal, row.wealth
|
358
|
-
|
359
|
-
# If this assert fails, that means the SELECT is broken!
|
360
|
-
unless current_adapter?(:SQLite3Adapter)
|
361
|
-
assert_equal correct_value, row.wealth
|
362
|
-
end
|
363
|
-
|
364
|
-
# Reset to old state
|
365
|
-
Person.delete_all
|
366
|
-
|
367
|
-
# Now use the Rails insertion
|
368
|
-
assert_nothing_raised { Person.create :wealth => BigDecimal.new("12345678901234567890.0123456789") }
|
369
|
-
|
370
|
-
# SELECT
|
371
|
-
row = Person.find(:first)
|
372
|
-
assert_kind_of BigDecimal, row.wealth
|
373
|
-
|
374
|
-
# If these asserts fail, that means the INSERT (create function, or cast to SQL) is broken!
|
375
|
-
unless current_adapter?(:SQLite3Adapter)
|
376
|
-
assert_equal correct_value, row.wealth
|
377
|
-
end
|
378
|
-
|
379
|
-
# Reset to old state
|
380
|
-
Person.connection.del_column "people", "wealth" rescue nil
|
381
|
-
Person.reset_column_information
|
382
|
-
end
|
383
|
-
|
384
|
-
def test_add_column_with_precision_and_scale
|
385
|
-
Person.connection.add_column 'people', 'wealth', :decimal, :precision => 9, :scale => 7
|
386
|
-
Person.reset_column_information
|
387
|
-
|
388
|
-
wealth_column = Person.columns_hash['wealth']
|
389
|
-
assert_equal 9, wealth_column.precision
|
390
|
-
assert_equal 7, wealth_column.scale
|
391
|
-
end
|
392
|
-
|
393
|
-
def test_native_types
|
394
|
-
Person.delete_all
|
395
|
-
Person.connection.add_column "people", "last_name", :string
|
396
|
-
Person.connection.add_column "people", "bio", :text
|
397
|
-
Person.connection.add_column "people", "age", :integer
|
398
|
-
Person.connection.add_column "people", "height", :float
|
399
|
-
Person.connection.add_column "people", "wealth", :decimal, :precision => '30', :scale => '10'
|
400
|
-
Person.connection.add_column "people", "birthday", :datetime
|
401
|
-
Person.connection.add_column "people", "favorite_day", :date
|
402
|
-
Person.connection.add_column "people", "moment_of_truth", :datetime
|
403
|
-
Person.connection.add_column "people", "male", :boolean
|
404
|
-
Person.reset_column_information
|
405
|
-
|
406
|
-
assert_nothing_raised do
|
407
|
-
Person.create :first_name => 'bob', :last_name => 'bobsen',
|
408
|
-
:bio => "I was born ....", :age => 18, :height => 1.78,
|
409
|
-
:wealth => BigDecimal.new("12345678901234567890.0123456789"),
|
410
|
-
:birthday => 18.years.ago, :favorite_day => 10.days.ago,
|
411
|
-
:moment_of_truth => "1782-10-10 21:40:18", :male => true
|
412
|
-
end
|
413
|
-
|
414
|
-
bob = Person.find(:first)
|
415
|
-
assert_equal 'bob', bob.first_name
|
416
|
-
assert_equal 'bobsen', bob.last_name
|
417
|
-
assert_equal "I was born ....", bob.bio
|
418
|
-
assert_equal 18, bob.age
|
419
|
-
|
420
|
-
# Test for 30 significent digits (beyond the 16 of float), 10 of them
|
421
|
-
# after the decimal place.
|
422
|
-
|
423
|
-
unless current_adapter?(:SQLite3Adapter)
|
424
|
-
assert_equal BigDecimal.new("0012345678901234567890.0123456789"), bob.wealth
|
425
|
-
end
|
426
|
-
|
427
|
-
assert_equal true, bob.male?
|
428
|
-
|
429
|
-
assert_equal String, bob.first_name.class
|
430
|
-
assert_equal String, bob.last_name.class
|
431
|
-
assert_equal String, bob.bio.class
|
432
|
-
assert_equal Fixnum, bob.age.class
|
433
|
-
assert_equal Time, bob.birthday.class
|
434
|
-
|
435
|
-
if current_adapter?(:OracleAdapter, :SybaseAdapter)
|
436
|
-
# Sybase, and Oracle don't differentiate between date/time
|
437
|
-
assert_equal Time, bob.favorite_day.class
|
438
|
-
else
|
439
|
-
assert_equal Date, bob.favorite_day.class
|
440
|
-
end
|
441
|
-
|
442
|
-
# Test DateTime column and defaults, including timezone.
|
443
|
-
# FIXME: moment of truth may be Time on 64-bit platforms.
|
444
|
-
if bob.moment_of_truth.is_a?(DateTime)
|
445
|
-
|
446
|
-
with_env_tz 'US/Eastern' do
|
447
|
-
assert_equal DateTime.local_offset, bob.moment_of_truth.offset
|
448
|
-
assert_not_equal 0, bob.moment_of_truth.offset
|
449
|
-
assert_not_equal "Z", bob.moment_of_truth.zone
|
450
|
-
# US/Eastern is -5 hours from GMT
|
451
|
-
assert_equal Rational(-5, 24), bob.moment_of_truth.offset
|
452
|
-
assert_match /\A-05:?00\Z/, bob.moment_of_truth.zone #ruby 1.8.6 uses HH:MM, prior versions use HHMM
|
453
|
-
assert_equal DateTime::ITALY, bob.moment_of_truth.start
|
454
|
-
end
|
455
|
-
end
|
456
|
-
|
457
|
-
assert_equal TrueClass, bob.male?.class
|
458
|
-
assert_kind_of BigDecimal, bob.wealth
|
459
|
-
end
|
460
|
-
|
461
|
-
if current_adapter?(:MysqlAdapter)
|
462
|
-
def test_unabstracted_database_dependent_types
|
463
|
-
Person.delete_all
|
464
|
-
|
465
|
-
ActiveRecord::Migration.add_column :people, :intelligence_quotient, :tinyint
|
466
|
-
Person.reset_column_information
|
467
|
-
assert_match /tinyint/, Person.columns_hash['intelligence_quotient'].sql_type
|
468
|
-
ensure
|
469
|
-
ActiveRecord::Migration.remove_column :people, :intelligence_quotient rescue nil
|
470
|
-
end
|
471
|
-
end
|
472
|
-
|
473
|
-
def test_add_remove_single_field_using_string_arguments
|
474
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
475
|
-
|
476
|
-
ActiveRecord::Migration.add_column 'people', 'last_name', :string
|
477
|
-
|
478
|
-
Person.reset_column_information
|
479
|
-
assert Person.column_methods_hash.include?(:last_name)
|
480
|
-
|
481
|
-
ActiveRecord::Migration.remove_column 'people', 'last_name'
|
482
|
-
|
483
|
-
Person.reset_column_information
|
484
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
485
|
-
end
|
486
|
-
|
487
|
-
def test_add_remove_single_field_using_symbol_arguments
|
488
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
489
|
-
|
490
|
-
ActiveRecord::Migration.add_column :people, :last_name, :string
|
491
|
-
|
492
|
-
Person.reset_column_information
|
493
|
-
assert Person.column_methods_hash.include?(:last_name)
|
494
|
-
|
495
|
-
ActiveRecord::Migration.remove_column :people, :last_name
|
496
|
-
|
497
|
-
Person.reset_column_information
|
498
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
499
|
-
end
|
500
|
-
|
501
|
-
def test_add_rename
|
502
|
-
Person.delete_all
|
503
|
-
|
504
|
-
begin
|
505
|
-
Person.connection.add_column "people", "girlfriend", :string
|
506
|
-
Person.reset_column_information
|
507
|
-
Person.create :girlfriend => 'bobette'
|
508
|
-
|
509
|
-
Person.connection.rename_column "people", "girlfriend", "exgirlfriend"
|
510
|
-
|
511
|
-
Person.reset_column_information
|
512
|
-
bob = Person.find(:first)
|
513
|
-
|
514
|
-
assert_equal "bobette", bob.exgirlfriend
|
515
|
-
ensure
|
516
|
-
Person.connection.remove_column("people", "girlfriend") rescue nil
|
517
|
-
Person.connection.remove_column("people", "exgirlfriend") rescue nil
|
518
|
-
end
|
519
|
-
|
520
|
-
end
|
521
|
-
|
522
|
-
def test_rename_column_using_symbol_arguments
|
523
|
-
begin
|
524
|
-
names_before = Person.find(:all).map(&:first_name)
|
525
|
-
Person.connection.rename_column :people, :first_name, :nick_name
|
526
|
-
Person.reset_column_information
|
527
|
-
assert Person.column_names.include?("nick_name")
|
528
|
-
assert_equal names_before, Person.find(:all).map(&:nick_name)
|
529
|
-
ensure
|
530
|
-
Person.connection.remove_column("people","nick_name")
|
531
|
-
Person.connection.add_column("people","first_name", :string)
|
532
|
-
end
|
533
|
-
end
|
534
|
-
|
535
|
-
def test_rename_column
|
536
|
-
begin
|
537
|
-
names_before = Person.find(:all).map(&:first_name)
|
538
|
-
Person.connection.rename_column "people", "first_name", "nick_name"
|
539
|
-
Person.reset_column_information
|
540
|
-
assert Person.column_names.include?("nick_name")
|
541
|
-
assert_equal names_before, Person.find(:all).map(&:nick_name)
|
542
|
-
ensure
|
543
|
-
Person.connection.remove_column("people","nick_name")
|
544
|
-
Person.connection.add_column("people","first_name", :string)
|
545
|
-
end
|
546
|
-
end
|
547
|
-
|
548
|
-
def test_rename_column_preserves_default_value_not_null
|
549
|
-
begin
|
550
|
-
default_before = Developer.connection.columns("developers").find { |c| c.name == "salary" }.default
|
551
|
-
assert_equal 70000, default_before
|
552
|
-
Developer.connection.rename_column "developers", "salary", "anual_salary"
|
553
|
-
Developer.reset_column_information
|
554
|
-
assert Developer.column_names.include?("anual_salary")
|
555
|
-
default_after = Developer.connection.columns("developers").find { |c| c.name == "anual_salary" }.default
|
556
|
-
assert_equal 70000, default_after
|
557
|
-
ensure
|
558
|
-
Developer.connection.rename_column "developers", "anual_salary", "salary"
|
559
|
-
Developer.reset_column_information
|
560
|
-
end
|
561
|
-
end
|
562
|
-
|
563
|
-
def test_rename_nonexistent_column
|
564
|
-
ActiveRecord::Base.connection.create_table(:hats) do |table|
|
565
|
-
table.column :hat_name, :string, :default => nil
|
566
|
-
end
|
567
|
-
exception = if current_adapter?(:PostgreSQLAdapter)
|
568
|
-
ActiveRecord::StatementInvalid
|
569
|
-
else
|
570
|
-
ActiveRecord::ActiveRecordError
|
571
|
-
end
|
572
|
-
assert_raise(exception) do
|
573
|
-
Person.connection.rename_column "hats", "nonexistent", "should_fail"
|
574
|
-
end
|
575
|
-
ensure
|
576
|
-
ActiveRecord::Base.connection.drop_table(:hats)
|
577
|
-
end
|
578
|
-
|
579
|
-
def test_rename_column_with_sql_reserved_word
|
580
|
-
begin
|
581
|
-
assert_nothing_raised { Person.connection.rename_column "people", "first_name", "group" }
|
582
|
-
Person.reset_column_information
|
583
|
-
assert Person.column_names.include?("group")
|
584
|
-
ensure
|
585
|
-
Person.connection.remove_column("people", "group") rescue nil
|
586
|
-
Person.connection.add_column("people", "first_name", :string) rescue nil
|
587
|
-
end
|
588
|
-
end
|
589
|
-
|
590
|
-
def test_rename_column_with_an_index
|
591
|
-
ActiveRecord::Base.connection.create_table(:hats) do |table|
|
592
|
-
table.column :hat_name, :string, :limit => 100
|
593
|
-
table.column :hat_size, :integer
|
594
|
-
end
|
595
|
-
Person.connection.add_index :hats, :hat_name
|
596
|
-
assert_nothing_raised do
|
597
|
-
Person.connection.rename_column "hats", "hat_name", "name"
|
598
|
-
end
|
599
|
-
ensure
|
600
|
-
ActiveRecord::Base.connection.drop_table(:hats)
|
601
|
-
end
|
602
|
-
|
603
|
-
def test_remove_column_with_index
|
604
|
-
ActiveRecord::Base.connection.create_table(:hats) do |table|
|
605
|
-
table.column :hat_name, :string, :limit => 100
|
606
|
-
table.column :hat_size, :integer
|
607
|
-
end
|
608
|
-
ActiveRecord::Base.connection.add_index "hats", "hat_size"
|
609
|
-
|
610
|
-
assert_nothing_raised { Person.connection.remove_column("hats", "hat_size") }
|
611
|
-
ensure
|
612
|
-
ActiveRecord::Base.connection.drop_table(:hats)
|
613
|
-
end
|
614
|
-
|
615
|
-
def test_remove_column_with_multi_column_index
|
616
|
-
ActiveRecord::Base.connection.create_table(:hats) do |table|
|
617
|
-
table.column :hat_name, :string, :limit => 100
|
618
|
-
table.column :hat_size, :integer
|
619
|
-
table.column :hat_style, :string, :limit => 100
|
620
|
-
end
|
621
|
-
ActiveRecord::Base.connection.add_index "hats", ["hat_style", "hat_size"], :unique => true
|
622
|
-
|
623
|
-
assert_nothing_raised { Person.connection.remove_column("hats", "hat_size") }
|
624
|
-
ensure
|
625
|
-
ActiveRecord::Base.connection.drop_table(:hats)
|
626
|
-
end
|
627
|
-
|
628
|
-
def test_change_type_of_not_null_column
|
629
|
-
assert_nothing_raised do
|
630
|
-
Topic.connection.change_column "topics", "written_on", :datetime, :null => false
|
631
|
-
Topic.reset_column_information
|
632
|
-
|
633
|
-
Topic.connection.change_column "topics", "written_on", :datetime, :null => false
|
634
|
-
Topic.reset_column_information
|
635
|
-
end
|
636
|
-
end
|
637
|
-
|
638
|
-
def test_rename_table
|
639
|
-
begin
|
640
|
-
ActiveRecord::Base.connection.create_table :octopuses do |t|
|
641
|
-
t.column :url, :string
|
642
|
-
end
|
643
|
-
ActiveRecord::Base.connection.rename_table :octopuses, :octopi
|
644
|
-
|
645
|
-
# Using explicit id in insert for compatibility across all databases
|
646
|
-
con = ActiveRecord::Base.connection
|
647
|
-
con.enable_identity_insert("octopi", true) if current_adapter?(:SybaseAdapter)
|
648
|
-
assert_nothing_raised { con.execute "INSERT INTO octopi (#{con.quote_column_name('id')}, #{con.quote_column_name('url')}) VALUES (1, 'http://www.foreverflying.com/octopus-black7.jpg')" }
|
649
|
-
con.enable_identity_insert("octopi", false) if current_adapter?(:SybaseAdapter)
|
650
|
-
|
651
|
-
assert_equal 'http://www.foreverflying.com/octopus-black7.jpg', ActiveRecord::Base.connection.select_value("SELECT url FROM octopi WHERE id=1")
|
652
|
-
|
653
|
-
ensure
|
654
|
-
ActiveRecord::Base.connection.drop_table :octopuses rescue nil
|
655
|
-
ActiveRecord::Base.connection.drop_table :octopi rescue nil
|
656
|
-
end
|
657
|
-
end
|
658
|
-
|
659
|
-
def test_change_column_nullability
|
660
|
-
Person.delete_all
|
661
|
-
Person.connection.add_column "people", "funny", :boolean
|
662
|
-
Person.reset_column_information
|
663
|
-
assert Person.columns_hash["funny"].null, "Column 'funny' must initially allow nulls"
|
664
|
-
Person.connection.change_column "people", "funny", :boolean, :null => false, :default => true
|
665
|
-
Person.reset_column_information
|
666
|
-
assert !Person.columns_hash["funny"].null, "Column 'funny' must *not* allow nulls at this point"
|
667
|
-
Person.connection.change_column "people", "funny", :boolean, :null => true
|
668
|
-
Person.reset_column_information
|
669
|
-
assert Person.columns_hash["funny"].null, "Column 'funny' must allow nulls again at this point"
|
670
|
-
end
|
671
|
-
|
672
|
-
def test_rename_table_with_an_index
|
673
|
-
begin
|
674
|
-
ActiveRecord::Base.connection.create_table :octopuses do |t|
|
675
|
-
t.column :url, :string
|
676
|
-
end
|
677
|
-
ActiveRecord::Base.connection.add_index :octopuses, :url
|
678
|
-
|
679
|
-
ActiveRecord::Base.connection.rename_table :octopuses, :octopi
|
680
|
-
|
681
|
-
# Using explicit id in insert for compatibility across all databases
|
682
|
-
con = ActiveRecord::Base.connection
|
683
|
-
con.enable_identity_insert("octopi", true) if current_adapter?(:SybaseAdapter)
|
684
|
-
assert_nothing_raised { con.execute "INSERT INTO octopi (#{con.quote_column_name('id')}, #{con.quote_column_name('url')}) VALUES (1, 'http://www.foreverflying.com/octopus-black7.jpg')" }
|
685
|
-
con.enable_identity_insert("octopi", false) if current_adapter?(:SybaseAdapter)
|
686
|
-
|
687
|
-
assert_equal 'http://www.foreverflying.com/octopus-black7.jpg', ActiveRecord::Base.connection.select_value("SELECT url FROM octopi WHERE id=1")
|
688
|
-
assert ActiveRecord::Base.connection.indexes(:octopi).first.columns.include?("url")
|
689
|
-
ensure
|
690
|
-
ActiveRecord::Base.connection.drop_table :octopuses rescue nil
|
691
|
-
ActiveRecord::Base.connection.drop_table :octopi rescue nil
|
692
|
-
end
|
693
|
-
end
|
694
|
-
|
695
|
-
def test_change_column
|
696
|
-
Person.connection.add_column 'people', 'age', :integer
|
697
|
-
old_columns = Person.connection.columns(Person.table_name, "#{name} Columns")
|
698
|
-
assert old_columns.find { |c| c.name == 'age' and c.type == :integer }
|
699
|
-
|
700
|
-
assert_nothing_raised { Person.connection.change_column "people", "age", :string }
|
701
|
-
|
702
|
-
new_columns = Person.connection.columns(Person.table_name, "#{name} Columns")
|
703
|
-
assert_nil new_columns.find { |c| c.name == 'age' and c.type == :integer }
|
704
|
-
assert new_columns.find { |c| c.name == 'age' and c.type == :string }
|
705
|
-
|
706
|
-
old_columns = Topic.connection.columns(Topic.table_name, "#{name} Columns")
|
707
|
-
assert old_columns.find { |c| c.name == 'approved' and c.type == :boolean and c.default == true }
|
708
|
-
assert_nothing_raised { Topic.connection.change_column :topics, :approved, :boolean, :default => false }
|
709
|
-
new_columns = Topic.connection.columns(Topic.table_name, "#{name} Columns")
|
710
|
-
assert_nil new_columns.find { |c| c.name == 'approved' and c.type == :boolean and c.default == true }
|
711
|
-
assert new_columns.find { |c| c.name == 'approved' and c.type == :boolean and c.default == false }
|
712
|
-
assert_nothing_raised { Topic.connection.change_column :topics, :approved, :boolean, :default => true }
|
713
|
-
end
|
714
|
-
|
715
|
-
def test_change_column_with_nil_default
|
716
|
-
Person.connection.add_column "people", "contributor", :boolean, :default => true
|
717
|
-
Person.reset_column_information
|
718
|
-
assert Person.new.contributor?
|
719
|
-
|
720
|
-
assert_nothing_raised { Person.connection.change_column "people", "contributor", :boolean, :default => nil }
|
721
|
-
Person.reset_column_information
|
722
|
-
assert !Person.new.contributor?
|
723
|
-
assert_nil Person.new.contributor
|
724
|
-
ensure
|
725
|
-
Person.connection.remove_column("people", "contributor") rescue nil
|
726
|
-
end
|
727
|
-
|
728
|
-
def test_change_column_with_new_default
|
729
|
-
Person.connection.add_column "people", "administrator", :boolean, :default => true
|
730
|
-
Person.reset_column_information
|
731
|
-
assert Person.new.administrator?
|
732
|
-
|
733
|
-
assert_nothing_raised { Person.connection.change_column "people", "administrator", :boolean, :default => false }
|
734
|
-
Person.reset_column_information
|
735
|
-
assert !Person.new.administrator?
|
736
|
-
ensure
|
737
|
-
Person.connection.remove_column("people", "administrator") rescue nil
|
738
|
-
end
|
739
|
-
|
740
|
-
def test_change_column_default
|
741
|
-
Person.connection.change_column_default "people", "first_name", "Tester"
|
742
|
-
Person.reset_column_information
|
743
|
-
assert_equal "Tester", Person.new.first_name
|
744
|
-
end
|
745
|
-
|
746
|
-
def test_change_column_quotes_column_names
|
747
|
-
Person.connection.create_table :testings do |t|
|
748
|
-
t.column :select, :string
|
749
|
-
end
|
750
|
-
|
751
|
-
assert_nothing_raised { Person.connection.change_column :testings, :select, :string, :limit => 10 }
|
752
|
-
|
753
|
-
assert_nothing_raised { Person.connection.execute "insert into testings (#{Person.connection.quote_column_name('select')}) values ('7 chars')" }
|
754
|
-
ensure
|
755
|
-
Person.connection.drop_table :testings rescue nil
|
756
|
-
end
|
757
|
-
|
758
|
-
def test_keeping_default_and_notnull_constaint_on_change
|
759
|
-
Person.connection.create_table :testings do |t|
|
760
|
-
t.column :title, :string
|
761
|
-
end
|
762
|
-
person_klass = Class.new(Person)
|
763
|
-
person_klass.set_table_name 'testings'
|
764
|
-
|
765
|
-
person_klass.connection.add_column "testings", "wealth", :integer, :null => false, :default => 99
|
766
|
-
person_klass.reset_column_information
|
767
|
-
assert_equal 99, person_klass.columns_hash["wealth"].default
|
768
|
-
assert_equal false, person_klass.columns_hash["wealth"].null
|
769
|
-
assert_nothing_raised {person_klass.connection.execute("insert into testings (title) values ('tester')")}
|
770
|
-
|
771
|
-
# change column default to see that column doesn't lose its not null definition
|
772
|
-
person_klass.connection.change_column_default "testings", "wealth", 100
|
773
|
-
person_klass.reset_column_information
|
774
|
-
assert_equal 100, person_klass.columns_hash["wealth"].default
|
775
|
-
assert_equal false, person_klass.columns_hash["wealth"].null
|
776
|
-
|
777
|
-
# rename column to see that column doesn't lose its not null and/or default definition
|
778
|
-
person_klass.connection.rename_column "testings", "wealth", "money"
|
779
|
-
person_klass.reset_column_information
|
780
|
-
assert_nil person_klass.columns_hash["wealth"]
|
781
|
-
assert_equal 100, person_klass.columns_hash["money"].default
|
782
|
-
assert_equal false, person_klass.columns_hash["money"].null
|
783
|
-
|
784
|
-
# change column
|
785
|
-
person_klass.connection.change_column "testings", "money", :integer, :null => false, :default => 1000
|
786
|
-
person_klass.reset_column_information
|
787
|
-
assert_equal 1000, person_klass.columns_hash["money"].default
|
788
|
-
assert_equal false, person_klass.columns_hash["money"].null
|
789
|
-
|
790
|
-
# change column, make it nullable and clear default
|
791
|
-
person_klass.connection.change_column "testings", "money", :integer, :null => true, :default => nil
|
792
|
-
person_klass.reset_column_information
|
793
|
-
assert_nil person_klass.columns_hash["money"].default
|
794
|
-
assert_equal true, person_klass.columns_hash["money"].null
|
795
|
-
|
796
|
-
# change_column_null, make it not nullable and set null values to a default value
|
797
|
-
person_klass.connection.execute('UPDATE testings SET money = NULL')
|
798
|
-
person_klass.connection.change_column_null "testings", "money", false, 2000
|
799
|
-
person_klass.reset_column_information
|
800
|
-
assert_nil person_klass.columns_hash["money"].default
|
801
|
-
assert_equal false, person_klass.columns_hash["money"].null
|
802
|
-
assert_equal [2000], Person.connection.select_values("SELECT money FROM testings").map { |s| s.to_i }.sort
|
803
|
-
ensure
|
804
|
-
Person.connection.drop_table :testings rescue nil
|
805
|
-
end
|
806
|
-
|
807
|
-
def test_change_column_default_to_null
|
808
|
-
Person.connection.change_column_default "people", "first_name", nil
|
809
|
-
Person.reset_column_information
|
810
|
-
assert_nil Person.new.first_name
|
811
|
-
end
|
812
|
-
|
813
|
-
def test_add_table
|
814
|
-
assert !Reminder.table_exists?
|
815
|
-
|
816
|
-
WeNeedReminders.up
|
817
|
-
|
818
|
-
assert Reminder.create("content" => "hello world", "remind_at" => Time.now)
|
819
|
-
assert_equal "hello world", Reminder.find(:first).content
|
820
|
-
|
821
|
-
WeNeedReminders.down
|
822
|
-
assert_raise(ActiveRecord::StatementInvalid) { Reminder.find(:first) }
|
823
|
-
end
|
824
|
-
|
825
|
-
def test_add_table_with_decimals
|
826
|
-
Person.connection.drop_table :big_numbers rescue nil
|
827
|
-
|
828
|
-
assert !BigNumber.table_exists?
|
829
|
-
GiveMeBigNumbers.up
|
830
|
-
|
831
|
-
assert BigNumber.create(
|
832
|
-
:bank_balance => 1586.43,
|
833
|
-
:big_bank_balance => BigDecimal("1000234000567.95"),
|
834
|
-
:world_population => 6000000000,
|
835
|
-
:my_house_population => 3,
|
836
|
-
:value_of_e => BigDecimal("2.7182818284590452353602875")
|
837
|
-
)
|
838
|
-
|
839
|
-
b = BigNumber.find(:first)
|
840
|
-
assert_not_nil b
|
841
|
-
|
842
|
-
assert_not_nil b.bank_balance
|
843
|
-
assert_not_nil b.big_bank_balance
|
844
|
-
assert_not_nil b.world_population
|
845
|
-
assert_not_nil b.my_house_population
|
846
|
-
assert_not_nil b.value_of_e
|
847
|
-
|
848
|
-
# TODO: set world_population >= 2**62 to cover 64-bit platforms and test
|
849
|
-
# is_a?(Bignum)
|
850
|
-
assert_kind_of Integer, b.world_population
|
851
|
-
assert_equal 6000000000, b.world_population
|
852
|
-
assert_kind_of Fixnum, b.my_house_population
|
853
|
-
assert_equal 3, b.my_house_population
|
854
|
-
assert_kind_of BigDecimal, b.bank_balance
|
855
|
-
assert_equal BigDecimal("1586.43"), b.bank_balance
|
856
|
-
assert_kind_of BigDecimal, b.big_bank_balance
|
857
|
-
assert_equal BigDecimal("1000234000567.95"), b.big_bank_balance
|
858
|
-
|
859
|
-
# This one is fun. The 'value_of_e' field is defined as 'DECIMAL' with
|
860
|
-
# precision/scale explicitly left out. By the SQL standard, numbers
|
861
|
-
# assigned to this field should be truncated but that's seldom respected.
|
862
|
-
if current_adapter?(:PostgreSQLAdapter, :SQLite2Adapter)
|
863
|
-
# - PostgreSQL changes the SQL spec on columns declared simply as
|
864
|
-
# "decimal" to something more useful: instead of being given a scale
|
865
|
-
# of 0, they take on the compile-time limit for precision and scale,
|
866
|
-
# so the following should succeed unless you have used really wacky
|
867
|
-
# compilation options
|
868
|
-
# - SQLite2 has the default behavior of preserving all data sent in,
|
869
|
-
# so this happens there too
|
870
|
-
assert_kind_of BigDecimal, b.value_of_e
|
871
|
-
assert_equal BigDecimal("2.7182818284590452353602875"), b.value_of_e
|
872
|
-
elsif current_adapter?(:SQLiteAdapter)
|
873
|
-
# - SQLite3 stores a float, in violation of SQL
|
874
|
-
assert_kind_of BigDecimal, b.value_of_e
|
875
|
-
assert_equal BigDecimal("2.71828182845905"), b.value_of_e
|
876
|
-
else
|
877
|
-
# - SQL standard is an integer
|
878
|
-
assert_kind_of Fixnum, b.value_of_e
|
879
|
-
assert_equal 2, b.value_of_e
|
880
|
-
end
|
881
|
-
|
882
|
-
GiveMeBigNumbers.down
|
883
|
-
assert_raise(ActiveRecord::StatementInvalid) { BigNumber.find(:first) }
|
884
|
-
end
|
885
|
-
|
886
|
-
def test_migrator
|
887
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
888
|
-
assert !Reminder.table_exists?
|
889
|
-
|
890
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid")
|
891
|
-
|
892
|
-
assert_equal 3, ActiveRecord::Migrator.current_version
|
893
|
-
Person.reset_column_information
|
894
|
-
assert Person.column_methods_hash.include?(:last_name)
|
895
|
-
assert Reminder.create("content" => "hello world", "remind_at" => Time.now)
|
896
|
-
assert_equal "hello world", Reminder.find(:first).content
|
897
|
-
|
898
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid")
|
899
|
-
|
900
|
-
assert_equal 0, ActiveRecord::Migrator.current_version
|
901
|
-
Person.reset_column_information
|
902
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
903
|
-
assert_raise(ActiveRecord::StatementInvalid) { Reminder.find(:first) }
|
904
|
-
end
|
905
|
-
|
906
|
-
def test_migrator_one_up
|
907
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
908
|
-
assert !Reminder.table_exists?
|
909
|
-
|
910
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
911
|
-
|
912
|
-
Person.reset_column_information
|
913
|
-
assert Person.column_methods_hash.include?(:last_name)
|
914
|
-
assert !Reminder.table_exists?
|
915
|
-
|
916
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 2)
|
917
|
-
|
918
|
-
assert Reminder.create("content" => "hello world", "remind_at" => Time.now)
|
919
|
-
assert_equal "hello world", Reminder.find(:first).content
|
920
|
-
end
|
921
|
-
|
922
|
-
def test_migrator_one_down
|
923
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid")
|
924
|
-
|
925
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid", 1)
|
926
|
-
|
927
|
-
Person.reset_column_information
|
928
|
-
assert Person.column_methods_hash.include?(:last_name)
|
929
|
-
assert !Reminder.table_exists?
|
930
|
-
end
|
931
|
-
|
932
|
-
def test_migrator_one_up_one_down
|
933
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
934
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid", 0)
|
935
|
-
|
936
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
937
|
-
assert !Reminder.table_exists?
|
938
|
-
end
|
939
|
-
|
940
|
-
def test_migrator_double_up
|
941
|
-
assert_equal(0, ActiveRecord::Migrator.current_version)
|
942
|
-
ActiveRecord::Migrator.run(:up, MIGRATIONS_ROOT + "/valid", 1)
|
943
|
-
assert_nothing_raised { ActiveRecord::Migrator.run(:up, MIGRATIONS_ROOT + "/valid", 1) }
|
944
|
-
assert_equal(1, ActiveRecord::Migrator.current_version)
|
945
|
-
end
|
946
|
-
|
947
|
-
def test_migrator_double_down
|
948
|
-
assert_equal(0, ActiveRecord::Migrator.current_version)
|
949
|
-
ActiveRecord::Migrator.run(:up, MIGRATIONS_ROOT + "/valid", 1)
|
950
|
-
ActiveRecord::Migrator.run(:down, MIGRATIONS_ROOT + "/valid", 1)
|
951
|
-
assert_nothing_raised { ActiveRecord::Migrator.run(:down, MIGRATIONS_ROOT + "/valid", 1) }
|
952
|
-
assert_equal(0, ActiveRecord::Migrator.current_version)
|
953
|
-
end
|
954
|
-
|
955
|
-
if ActiveRecord::Base.connection.supports_ddl_transactions?
|
956
|
-
def test_migrator_one_up_with_exception_and_rollback
|
957
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
958
|
-
|
959
|
-
e = assert_raise(StandardError) do
|
960
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/broken", 100)
|
961
|
-
end
|
962
|
-
|
963
|
-
assert_equal "An error has occurred, this and all later migrations canceled:\n\nSomething broke", e.message
|
964
|
-
|
965
|
-
Person.reset_column_information
|
966
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
967
|
-
end
|
968
|
-
end
|
969
|
-
|
970
|
-
def test_finds_migrations
|
971
|
-
migrations = ActiveRecord::Migrator.new(:up, MIGRATIONS_ROOT + "/valid").migrations
|
972
|
-
|
973
|
-
[[1, 'PeopleHaveLastNames'], [2, 'WeNeedReminders'], [3, 'InnocentJointable']].each_with_index do |pair, i|
|
974
|
-
assert_equal migrations[i].version, pair.first
|
975
|
-
assert_equal migrations[i].name, pair.last
|
976
|
-
end
|
977
|
-
end
|
978
|
-
|
979
|
-
def test_finds_pending_migrations
|
980
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/interleaved/pass_2", 1)
|
981
|
-
migrations = ActiveRecord::Migrator.new(:up, MIGRATIONS_ROOT + "/interleaved/pass_2").pending_migrations
|
982
|
-
|
983
|
-
assert_equal 1, migrations.size
|
984
|
-
assert_equal migrations[0].version, 3
|
985
|
-
assert_equal migrations[0].name, 'InnocentJointable'
|
986
|
-
end
|
987
|
-
|
988
|
-
def test_only_loads_pending_migrations
|
989
|
-
# migrate up to 1
|
990
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
991
|
-
|
992
|
-
# now unload the migrations that have been defined
|
993
|
-
PeopleHaveLastNames.unloadable
|
994
|
-
ActiveSupport::Dependencies.remove_unloadable_constants!
|
995
|
-
|
996
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/valid", nil)
|
997
|
-
|
998
|
-
assert !defined? PeopleHaveLastNames
|
999
|
-
|
1000
|
-
%w(WeNeedReminders, InnocentJointable).each do |migration|
|
1001
|
-
assert defined? migration
|
1002
|
-
end
|
1003
|
-
|
1004
|
-
ensure
|
1005
|
-
load(MIGRATIONS_ROOT + "/valid/1_people_have_last_names.rb")
|
1006
|
-
end
|
1007
|
-
|
1008
|
-
def test_migrator_interleaved_migrations
|
1009
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/interleaved/pass_1")
|
1010
|
-
|
1011
|
-
assert_nothing_raised do
|
1012
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/interleaved/pass_2")
|
1013
|
-
end
|
1014
|
-
|
1015
|
-
Person.reset_column_information
|
1016
|
-
assert Person.column_methods_hash.include?(:last_name)
|
1017
|
-
|
1018
|
-
assert_nothing_raised do
|
1019
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/interleaved/pass_3")
|
1020
|
-
end
|
1021
|
-
end
|
1022
|
-
|
1023
|
-
def test_migrator_db_has_no_schema_migrations_table
|
1024
|
-
ActiveRecord::Base.connection.execute("DROP TABLE schema_migrations;")
|
1025
|
-
assert_nothing_raised do
|
1026
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/valid", 1)
|
1027
|
-
end
|
1028
|
-
end
|
1029
|
-
|
1030
|
-
def test_migrator_verbosity
|
1031
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
1032
|
-
assert PeopleHaveLastNames.message_count > 0
|
1033
|
-
PeopleHaveLastNames.message_count = 0
|
1034
|
-
|
1035
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid", 0)
|
1036
|
-
assert PeopleHaveLastNames.message_count > 0
|
1037
|
-
PeopleHaveLastNames.message_count = 0
|
1038
|
-
end
|
1039
|
-
|
1040
|
-
def test_migrator_verbosity_off
|
1041
|
-
PeopleHaveLastNames.verbose = false
|
1042
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
1043
|
-
assert PeopleHaveLastNames.message_count.zero?
|
1044
|
-
ActiveRecord::Migrator.down(MIGRATIONS_ROOT + "/valid", 0)
|
1045
|
-
assert PeopleHaveLastNames.message_count.zero?
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
def test_migrator_going_down_due_to_version_target
|
1049
|
-
ActiveRecord::Migrator.up(MIGRATIONS_ROOT + "/valid", 1)
|
1050
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/valid", 0)
|
1051
|
-
|
1052
|
-
assert !Person.column_methods_hash.include?(:last_name)
|
1053
|
-
assert !Reminder.table_exists?
|
1054
|
-
|
1055
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/valid")
|
1056
|
-
|
1057
|
-
Person.reset_column_information
|
1058
|
-
assert Person.column_methods_hash.include?(:last_name)
|
1059
|
-
assert Reminder.create("content" => "hello world", "remind_at" => Time.now)
|
1060
|
-
assert_equal "hello world", Reminder.find(:first).content
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
def test_migrator_rollback
|
1064
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/valid")
|
1065
|
-
assert_equal(3, ActiveRecord::Migrator.current_version)
|
1066
|
-
|
1067
|
-
ActiveRecord::Migrator.rollback(MIGRATIONS_ROOT + "/valid")
|
1068
|
-
assert_equal(2, ActiveRecord::Migrator.current_version)
|
1069
|
-
|
1070
|
-
ActiveRecord::Migrator.rollback(MIGRATIONS_ROOT + "/valid")
|
1071
|
-
assert_equal(1, ActiveRecord::Migrator.current_version)
|
1072
|
-
|
1073
|
-
ActiveRecord::Migrator.rollback(MIGRATIONS_ROOT + "/valid")
|
1074
|
-
assert_equal(0, ActiveRecord::Migrator.current_version)
|
1075
|
-
|
1076
|
-
ActiveRecord::Migrator.rollback(MIGRATIONS_ROOT + "/valid")
|
1077
|
-
assert_equal(0, ActiveRecord::Migrator.current_version)
|
1078
|
-
end
|
1079
|
-
|
1080
|
-
def test_schema_migrations_table_name
|
1081
|
-
ActiveRecord::Base.table_name_prefix = "prefix_"
|
1082
|
-
ActiveRecord::Base.table_name_suffix = "_suffix"
|
1083
|
-
Reminder.reset_table_name
|
1084
|
-
assert_equal "prefix_schema_migrations_suffix", ActiveRecord::Migrator.schema_migrations_table_name
|
1085
|
-
ActiveRecord::Base.table_name_prefix = ""
|
1086
|
-
ActiveRecord::Base.table_name_suffix = ""
|
1087
|
-
Reminder.reset_table_name
|
1088
|
-
assert_equal "schema_migrations", ActiveRecord::Migrator.schema_migrations_table_name
|
1089
|
-
ensure
|
1090
|
-
ActiveRecord::Base.table_name_prefix = ""
|
1091
|
-
ActiveRecord::Base.table_name_suffix = ""
|
1092
|
-
end
|
1093
|
-
|
1094
|
-
def test_proper_table_name
|
1095
|
-
assert_equal "table", ActiveRecord::Migrator.proper_table_name('table')
|
1096
|
-
assert_equal "table", ActiveRecord::Migrator.proper_table_name(:table)
|
1097
|
-
assert_equal "reminders", ActiveRecord::Migrator.proper_table_name(Reminder)
|
1098
|
-
Reminder.reset_table_name
|
1099
|
-
assert_equal Reminder.table_name, ActiveRecord::Migrator.proper_table_name(Reminder)
|
1100
|
-
|
1101
|
-
# Use the model's own prefix/suffix if a model is given
|
1102
|
-
ActiveRecord::Base.table_name_prefix = "ARprefix_"
|
1103
|
-
ActiveRecord::Base.table_name_suffix = "_ARsuffix"
|
1104
|
-
Reminder.table_name_prefix = 'prefix_'
|
1105
|
-
Reminder.table_name_suffix = '_suffix'
|
1106
|
-
Reminder.reset_table_name
|
1107
|
-
assert_equal "prefix_reminders_suffix", ActiveRecord::Migrator.proper_table_name(Reminder)
|
1108
|
-
Reminder.table_name_prefix = ''
|
1109
|
-
Reminder.table_name_suffix = ''
|
1110
|
-
Reminder.reset_table_name
|
1111
|
-
|
1112
|
-
# Use AR::Base's prefix/suffix if string or symbol is given
|
1113
|
-
ActiveRecord::Base.table_name_prefix = "prefix_"
|
1114
|
-
ActiveRecord::Base.table_name_suffix = "_suffix"
|
1115
|
-
Reminder.reset_table_name
|
1116
|
-
assert_equal "prefix_table_suffix", ActiveRecord::Migrator.proper_table_name('table')
|
1117
|
-
assert_equal "prefix_table_suffix", ActiveRecord::Migrator.proper_table_name(:table)
|
1118
|
-
ActiveRecord::Base.table_name_prefix = ""
|
1119
|
-
ActiveRecord::Base.table_name_suffix = ""
|
1120
|
-
Reminder.reset_table_name
|
1121
|
-
end
|
1122
|
-
|
1123
|
-
def test_add_drop_table_with_prefix_and_suffix
|
1124
|
-
assert !Reminder.table_exists?
|
1125
|
-
ActiveRecord::Base.table_name_prefix = 'prefix_'
|
1126
|
-
ActiveRecord::Base.table_name_suffix = '_suffix'
|
1127
|
-
Reminder.reset_table_name
|
1128
|
-
Reminder.reset_sequence_name
|
1129
|
-
WeNeedReminders.up
|
1130
|
-
assert Reminder.create("content" => "hello world", "remind_at" => Time.now)
|
1131
|
-
assert_equal "hello world", Reminder.find(:first).content
|
1132
|
-
|
1133
|
-
WeNeedReminders.down
|
1134
|
-
assert_raise(ActiveRecord::StatementInvalid) { Reminder.find(:first) }
|
1135
|
-
ensure
|
1136
|
-
ActiveRecord::Base.table_name_prefix = ''
|
1137
|
-
ActiveRecord::Base.table_name_suffix = ''
|
1138
|
-
Reminder.reset_table_name
|
1139
|
-
Reminder.reset_sequence_name
|
1140
|
-
end
|
1141
|
-
|
1142
|
-
def test_create_table_with_binary_column
|
1143
|
-
Person.connection.drop_table :binary_testings rescue nil
|
1144
|
-
|
1145
|
-
assert_nothing_raised {
|
1146
|
-
Person.connection.create_table :binary_testings do |t|
|
1147
|
-
t.column "data", :binary, :null => false
|
1148
|
-
end
|
1149
|
-
}
|
1150
|
-
|
1151
|
-
columns = Person.connection.columns(:binary_testings)
|
1152
|
-
data_column = columns.detect { |c| c.name == "data" }
|
1153
|
-
|
1154
|
-
if current_adapter?(:MysqlAdapter)
|
1155
|
-
assert_equal '', data_column.default
|
1156
|
-
else
|
1157
|
-
assert_nil data_column.default
|
1158
|
-
end
|
1159
|
-
|
1160
|
-
Person.connection.drop_table :binary_testings rescue nil
|
1161
|
-
end
|
1162
|
-
|
1163
|
-
def test_migrator_with_duplicates
|
1164
|
-
assert_raise(ActiveRecord::DuplicateMigrationVersionError) do
|
1165
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/duplicate", nil)
|
1166
|
-
end
|
1167
|
-
end
|
1168
|
-
|
1169
|
-
def test_migrator_with_duplicate_names
|
1170
|
-
assert_raise(ActiveRecord::DuplicateMigrationNameError, "Multiple migrations have the name Chunky") do
|
1171
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/duplicate_names", nil)
|
1172
|
-
end
|
1173
|
-
end
|
1174
|
-
|
1175
|
-
def test_migrator_with_missing_version_numbers
|
1176
|
-
assert_raise(ActiveRecord::UnknownMigrationVersionError) do
|
1177
|
-
ActiveRecord::Migrator.migrate(MIGRATIONS_ROOT + "/missing", 500)
|
1178
|
-
end
|
1179
|
-
end
|
1180
|
-
|
1181
|
-
def test_create_table_with_custom_sequence_name
|
1182
|
-
return unless current_adapter? :OracleAdapter
|
1183
|
-
|
1184
|
-
# table name is 29 chars, the standard sequence name will
|
1185
|
-
# be 33 chars and fail
|
1186
|
-
assert_raise(ActiveRecord::StatementInvalid) do
|
1187
|
-
begin
|
1188
|
-
Person.connection.create_table :table_with_name_thats_just_ok do |t|
|
1189
|
-
t.column :foo, :string, :null => false
|
1190
|
-
end
|
1191
|
-
ensure
|
1192
|
-
Person.connection.drop_table :table_with_name_thats_just_ok rescue nil
|
1193
|
-
end
|
1194
|
-
end
|
1195
|
-
|
1196
|
-
# should be all good w/ a custom sequence name
|
1197
|
-
assert_nothing_raised do
|
1198
|
-
begin
|
1199
|
-
Person.connection.create_table :table_with_name_thats_just_ok,
|
1200
|
-
:sequence_name => 'suitably_short_seq' do |t|
|
1201
|
-
t.column :foo, :string, :null => false
|
1202
|
-
end
|
1203
|
-
|
1204
|
-
Person.connection.execute("select suitably_short_seq.nextval from dual")
|
1205
|
-
|
1206
|
-
ensure
|
1207
|
-
Person.connection.drop_table :table_with_name_thats_just_ok,
|
1208
|
-
:sequence_name => 'suitably_short_seq' rescue nil
|
1209
|
-
end
|
1210
|
-
end
|
1211
|
-
|
1212
|
-
# confirm the custom sequence got dropped
|
1213
|
-
assert_raise(ActiveRecord::StatementInvalid) do
|
1214
|
-
Person.connection.execute("select suitably_short_seq.nextval from dual")
|
1215
|
-
end
|
1216
|
-
end
|
1217
|
-
|
1218
|
-
protected
|
1219
|
-
def with_env_tz(new_tz = 'US/Eastern')
|
1220
|
-
old_tz, ENV['TZ'] = ENV['TZ'], new_tz
|
1221
|
-
yield
|
1222
|
-
ensure
|
1223
|
-
old_tz ? ENV['TZ'] = old_tz : ENV.delete('TZ')
|
1224
|
-
end
|
1225
|
-
|
1226
|
-
end
|
1227
|
-
|
1228
|
-
class SexyMigrationsTest < ActiveRecord::TestCase
|
1229
|
-
def test_references_column_type_adds_id
|
1230
|
-
with_new_table do |t|
|
1231
|
-
t.expects(:column).with('customer_id', :integer, {})
|
1232
|
-
t.references :customer
|
1233
|
-
end
|
1234
|
-
end
|
1235
|
-
|
1236
|
-
def test_references_column_type_with_polymorphic_adds_type
|
1237
|
-
with_new_table do |t|
|
1238
|
-
t.expects(:column).with('taggable_type', :string, {})
|
1239
|
-
t.expects(:column).with('taggable_id', :integer, {})
|
1240
|
-
t.references :taggable, :polymorphic => true
|
1241
|
-
end
|
1242
|
-
end
|
1243
|
-
|
1244
|
-
def test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag
|
1245
|
-
with_new_table do |t|
|
1246
|
-
t.expects(:column).with('taggable_type', :string, {:null => false})
|
1247
|
-
t.expects(:column).with('taggable_id', :integer, {:null => false})
|
1248
|
-
t.references :taggable, :polymorphic => true, :null => false
|
1249
|
-
end
|
1250
|
-
end
|
1251
|
-
|
1252
|
-
def test_belongs_to_works_like_references
|
1253
|
-
with_new_table do |t|
|
1254
|
-
t.expects(:column).with('customer_id', :integer, {})
|
1255
|
-
t.belongs_to :customer
|
1256
|
-
end
|
1257
|
-
end
|
1258
|
-
|
1259
|
-
def test_timestamps_creates_updated_at_and_created_at
|
1260
|
-
with_new_table do |t|
|
1261
|
-
t.expects(:column).with(:created_at, :datetime, kind_of(Hash))
|
1262
|
-
t.expects(:column).with(:updated_at, :datetime, kind_of(Hash))
|
1263
|
-
t.timestamps
|
1264
|
-
end
|
1265
|
-
end
|
1266
|
-
|
1267
|
-
def test_integer_creates_integer_column
|
1268
|
-
with_new_table do |t|
|
1269
|
-
t.expects(:column).with(:foo, 'integer', {})
|
1270
|
-
t.expects(:column).with(:bar, 'integer', {})
|
1271
|
-
t.integer :foo, :bar
|
1272
|
-
end
|
1273
|
-
end
|
1274
|
-
|
1275
|
-
def test_string_creates_string_column
|
1276
|
-
with_new_table do |t|
|
1277
|
-
t.expects(:column).with(:foo, 'string', {})
|
1278
|
-
t.expects(:column).with(:bar, 'string', {})
|
1279
|
-
t.string :foo, :bar
|
1280
|
-
end
|
1281
|
-
end
|
1282
|
-
|
1283
|
-
protected
|
1284
|
-
def with_new_table
|
1285
|
-
Person.connection.create_table :delete_me, :force => true do |t|
|
1286
|
-
yield t
|
1287
|
-
end
|
1288
|
-
ensure
|
1289
|
-
Person.connection.drop_table :delete_me rescue nil
|
1290
|
-
end
|
1291
|
-
|
1292
|
-
end # SexyMigrationsTest
|
1293
|
-
|
1294
|
-
class ChangeTableMigrationsTest < ActiveRecord::TestCase
|
1295
|
-
def setup
|
1296
|
-
@connection = Person.connection
|
1297
|
-
@connection.create_table :delete_me, :force => true do |t|
|
1298
|
-
end
|
1299
|
-
end
|
1300
|
-
|
1301
|
-
def teardown
|
1302
|
-
Person.connection.drop_table :delete_me rescue nil
|
1303
|
-
end
|
1304
|
-
|
1305
|
-
def test_references_column_type_adds_id
|
1306
|
-
with_change_table do |t|
|
1307
|
-
@connection.expects(:add_column).with(:delete_me, 'customer_id', :integer, {})
|
1308
|
-
t.references :customer
|
1309
|
-
end
|
1310
|
-
end
|
1311
|
-
|
1312
|
-
def test_remove_references_column_type_removes_id
|
1313
|
-
with_change_table do |t|
|
1314
|
-
@connection.expects(:remove_column).with(:delete_me, 'customer_id')
|
1315
|
-
t.remove_references :customer
|
1316
|
-
end
|
1317
|
-
end
|
1318
|
-
|
1319
|
-
def test_add_belongs_to_works_like_add_references
|
1320
|
-
with_change_table do |t|
|
1321
|
-
@connection.expects(:add_column).with(:delete_me, 'customer_id', :integer, {})
|
1322
|
-
t.belongs_to :customer
|
1323
|
-
end
|
1324
|
-
end
|
1325
|
-
|
1326
|
-
def test_remove_belongs_to_works_like_remove_references
|
1327
|
-
with_change_table do |t|
|
1328
|
-
@connection.expects(:remove_column).with(:delete_me, 'customer_id')
|
1329
|
-
t.remove_belongs_to :customer
|
1330
|
-
end
|
1331
|
-
end
|
1332
|
-
|
1333
|
-
def test_references_column_type_with_polymorphic_adds_type
|
1334
|
-
with_change_table do |t|
|
1335
|
-
@connection.expects(:add_column).with(:delete_me, 'taggable_type', :string, {})
|
1336
|
-
@connection.expects(:add_column).with(:delete_me, 'taggable_id', :integer, {})
|
1337
|
-
t.references :taggable, :polymorphic => true
|
1338
|
-
end
|
1339
|
-
end
|
1340
|
-
|
1341
|
-
def test_remove_references_column_type_with_polymorphic_removes_type
|
1342
|
-
with_change_table do |t|
|
1343
|
-
@connection.expects(:remove_column).with(:delete_me, 'taggable_type')
|
1344
|
-
@connection.expects(:remove_column).with(:delete_me, 'taggable_id')
|
1345
|
-
t.remove_references :taggable, :polymorphic => true
|
1346
|
-
end
|
1347
|
-
end
|
1348
|
-
|
1349
|
-
def test_references_column_type_with_polymorphic_and_options_null_is_false_adds_table_flag
|
1350
|
-
with_change_table do |t|
|
1351
|
-
@connection.expects(:add_column).with(:delete_me, 'taggable_type', :string, {:null => false})
|
1352
|
-
@connection.expects(:add_column).with(:delete_me, 'taggable_id', :integer, {:null => false})
|
1353
|
-
t.references :taggable, :polymorphic => true, :null => false
|
1354
|
-
end
|
1355
|
-
end
|
1356
|
-
|
1357
|
-
def test_remove_references_column_type_with_polymorphic_and_options_null_is_false_removes_table_flag
|
1358
|
-
with_change_table do |t|
|
1359
|
-
@connection.expects(:remove_column).with(:delete_me, 'taggable_type')
|
1360
|
-
@connection.expects(:remove_column).with(:delete_me, 'taggable_id')
|
1361
|
-
t.remove_references :taggable, :polymorphic => true, :null => false
|
1362
|
-
end
|
1363
|
-
end
|
1364
|
-
|
1365
|
-
def test_timestamps_creates_updated_at_and_created_at
|
1366
|
-
with_change_table do |t|
|
1367
|
-
@connection.expects(:add_timestamps).with(:delete_me)
|
1368
|
-
t.timestamps
|
1369
|
-
end
|
1370
|
-
end
|
1371
|
-
|
1372
|
-
def test_remove_timestamps_creates_updated_at_and_created_at
|
1373
|
-
with_change_table do |t|
|
1374
|
-
@connection.expects(:remove_timestamps).with(:delete_me)
|
1375
|
-
t.remove_timestamps
|
1376
|
-
end
|
1377
|
-
end
|
1378
|
-
|
1379
|
-
def string_column
|
1380
|
-
if current_adapter?(:PostgreSQLAdapter)
|
1381
|
-
"character varying(255)"
|
1382
|
-
else
|
1383
|
-
'varchar(255)'
|
1384
|
-
end
|
1385
|
-
end
|
1386
|
-
|
1387
|
-
def integer_column
|
1388
|
-
if current_adapter?(:MysqlAdapter)
|
1389
|
-
'int(11)'
|
1390
|
-
else
|
1391
|
-
'integer'
|
1392
|
-
end
|
1393
|
-
end
|
1394
|
-
|
1395
|
-
def test_integer_creates_integer_column
|
1396
|
-
with_change_table do |t|
|
1397
|
-
@connection.expects(:add_column).with(:delete_me, :foo, integer_column, {})
|
1398
|
-
@connection.expects(:add_column).with(:delete_me, :bar, integer_column, {})
|
1399
|
-
t.integer :foo, :bar
|
1400
|
-
end
|
1401
|
-
end
|
1402
|
-
|
1403
|
-
def test_string_creates_string_column
|
1404
|
-
with_change_table do |t|
|
1405
|
-
@connection.expects(:add_column).with(:delete_me, :foo, string_column, {})
|
1406
|
-
@connection.expects(:add_column).with(:delete_me, :bar, string_column, {})
|
1407
|
-
t.string :foo, :bar
|
1408
|
-
end
|
1409
|
-
end
|
1410
|
-
|
1411
|
-
def test_column_creates_column
|
1412
|
-
with_change_table do |t|
|
1413
|
-
@connection.expects(:add_column).with(:delete_me, :bar, :integer, {})
|
1414
|
-
t.column :bar, :integer
|
1415
|
-
end
|
1416
|
-
end
|
1417
|
-
|
1418
|
-
def test_column_creates_column_with_options
|
1419
|
-
with_change_table do |t|
|
1420
|
-
@connection.expects(:add_column).with(:delete_me, :bar, :integer, {:null => false})
|
1421
|
-
t.column :bar, :integer, :null => false
|
1422
|
-
end
|
1423
|
-
end
|
1424
|
-
|
1425
|
-
def test_index_creates_index
|
1426
|
-
with_change_table do |t|
|
1427
|
-
@connection.expects(:add_index).with(:delete_me, :bar, {})
|
1428
|
-
t.index :bar
|
1429
|
-
end
|
1430
|
-
end
|
1431
|
-
|
1432
|
-
def test_index_creates_index_with_options
|
1433
|
-
with_change_table do |t|
|
1434
|
-
@connection.expects(:add_index).with(:delete_me, :bar, {:unique => true})
|
1435
|
-
t.index :bar, :unique => true
|
1436
|
-
end
|
1437
|
-
end
|
1438
|
-
|
1439
|
-
def test_change_changes_column
|
1440
|
-
with_change_table do |t|
|
1441
|
-
@connection.expects(:change_column).with(:delete_me, :bar, :string, {})
|
1442
|
-
t.change :bar, :string
|
1443
|
-
end
|
1444
|
-
end
|
1445
|
-
|
1446
|
-
def test_change_changes_column_with_options
|
1447
|
-
with_change_table do |t|
|
1448
|
-
@connection.expects(:change_column).with(:delete_me, :bar, :string, {:null => true})
|
1449
|
-
t.change :bar, :string, :null => true
|
1450
|
-
end
|
1451
|
-
end
|
1452
|
-
|
1453
|
-
def test_change_default_changes_column
|
1454
|
-
with_change_table do |t|
|
1455
|
-
@connection.expects(:change_column_default).with(:delete_me, :bar, :string)
|
1456
|
-
t.change_default :bar, :string
|
1457
|
-
end
|
1458
|
-
end
|
1459
|
-
|
1460
|
-
def test_remove_drops_single_column
|
1461
|
-
with_change_table do |t|
|
1462
|
-
@connection.expects(:remove_column).with(:delete_me, [:bar])
|
1463
|
-
t.remove :bar
|
1464
|
-
end
|
1465
|
-
end
|
1466
|
-
|
1467
|
-
def test_remove_drops_multiple_columns
|
1468
|
-
with_change_table do |t|
|
1469
|
-
@connection.expects(:remove_column).with(:delete_me, [:bar, :baz])
|
1470
|
-
t.remove :bar, :baz
|
1471
|
-
end
|
1472
|
-
end
|
1473
|
-
|
1474
|
-
def test_remove_index_removes_index_with_options
|
1475
|
-
with_change_table do |t|
|
1476
|
-
@connection.expects(:remove_index).with(:delete_me, {:unique => true})
|
1477
|
-
t.remove_index :unique => true
|
1478
|
-
end
|
1479
|
-
end
|
1480
|
-
|
1481
|
-
def test_rename_renames_column
|
1482
|
-
with_change_table do |t|
|
1483
|
-
@connection.expects(:rename_column).with(:delete_me, :bar, :baz)
|
1484
|
-
t.rename :bar, :baz
|
1485
|
-
end
|
1486
|
-
end
|
1487
|
-
|
1488
|
-
protected
|
1489
|
-
def with_change_table
|
1490
|
-
Person.connection.change_table :delete_me do |t|
|
1491
|
-
yield t
|
1492
|
-
end
|
1493
|
-
end
|
1494
|
-
end
|
1495
|
-
end
|