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,1305 +0,0 @@
|
|
1
|
-
require 'set'
|
2
|
-
require 'active_support/json'
|
3
|
-
|
4
|
-
module ActionView
|
5
|
-
module Helpers
|
6
|
-
# Prototype[http://www.prototypejs.org/] is a JavaScript library that provides
|
7
|
-
# DOM[http://en.wikipedia.org/wiki/Document_Object_Model] manipulation,
|
8
|
-
# Ajax[http://www.adaptivepath.com/publications/essays/archives/000385.php]
|
9
|
-
# functionality, and more traditional object-oriented facilities for JavaScript.
|
10
|
-
# This module provides a set of helpers to make it more convenient to call
|
11
|
-
# functions from Prototype using Rails, including functionality to call remote
|
12
|
-
# Rails methods (that is, making a background request to a Rails action) using Ajax.
|
13
|
-
# This means that you can call actions in your controllers without
|
14
|
-
# reloading the page, but still update certain parts of it using
|
15
|
-
# injections into the DOM. A common use case is having a form that adds
|
16
|
-
# a new element to a list without reloading the page or updating a shopping
|
17
|
-
# cart total when a new item is added.
|
18
|
-
#
|
19
|
-
# == Usage
|
20
|
-
# To be able to use these helpers, you must first include the Prototype
|
21
|
-
# JavaScript framework in your pages.
|
22
|
-
#
|
23
|
-
# javascript_include_tag 'prototype'
|
24
|
-
#
|
25
|
-
# (See the documentation for
|
26
|
-
# ActionView::Helpers::JavaScriptHelper for more information on including
|
27
|
-
# this and other JavaScript files in your Rails templates.)
|
28
|
-
#
|
29
|
-
# Now you're ready to call a remote action either through a link...
|
30
|
-
#
|
31
|
-
# link_to_remote "Add to cart",
|
32
|
-
# :url => { :action => "add", :id => product.id },
|
33
|
-
# :update => { :success => "cart", :failure => "error" }
|
34
|
-
#
|
35
|
-
# ...through a form...
|
36
|
-
#
|
37
|
-
# <% form_remote_tag :url => '/shipping' do -%>
|
38
|
-
# <div><%= submit_tag 'Recalculate Shipping' %></div>
|
39
|
-
# <% end -%>
|
40
|
-
#
|
41
|
-
# ...periodically...
|
42
|
-
#
|
43
|
-
# periodically_call_remote(:url => 'update', :frequency => '5', :update => 'ticker')
|
44
|
-
#
|
45
|
-
# ...or through an observer (i.e., a form or field that is observed and calls a remote
|
46
|
-
# action when changed).
|
47
|
-
#
|
48
|
-
# <%= observe_field(:searchbox,
|
49
|
-
# :url => { :action => :live_search }),
|
50
|
-
# :frequency => 0.5,
|
51
|
-
# :update => :hits,
|
52
|
-
# :with => 'query'
|
53
|
-
# %>
|
54
|
-
#
|
55
|
-
# As you can see, there are numerous ways to use Prototype's Ajax functions (and actually more than
|
56
|
-
# are listed here); check out the documentation for each method to find out more about its usage and options.
|
57
|
-
#
|
58
|
-
# === Common Options
|
59
|
-
# See link_to_remote for documentation of options common to all Ajax
|
60
|
-
# helpers; any of the options specified by link_to_remote can be used
|
61
|
-
# by the other helpers.
|
62
|
-
#
|
63
|
-
# == Designing your Rails actions for Ajax
|
64
|
-
# When building your action handlers (that is, the Rails actions that receive your background requests), it's
|
65
|
-
# important to remember a few things. First, whatever your action would normally return to the browser, it will
|
66
|
-
# return to the Ajax call. As such, you typically don't want to render with a layout. This call will cause
|
67
|
-
# the layout to be transmitted back to your page, and, if you have a full HTML/CSS, will likely mess a lot of things up.
|
68
|
-
# You can turn the layout off on particular actions by doing the following:
|
69
|
-
#
|
70
|
-
# class SiteController < ActionController::Base
|
71
|
-
# layout "standard", :except => [:ajax_method, :more_ajax, :another_ajax]
|
72
|
-
# end
|
73
|
-
#
|
74
|
-
# Optionally, you could do this in the method you wish to lack a layout:
|
75
|
-
#
|
76
|
-
# render :layout => false
|
77
|
-
#
|
78
|
-
# You can tell the type of request from within your action using the <tt>request.xhr?</tt> (XmlHttpRequest, the
|
79
|
-
# method that Ajax uses to make background requests) method.
|
80
|
-
# def name
|
81
|
-
# # Is this an XmlHttpRequest request?
|
82
|
-
# if (request.xhr?)
|
83
|
-
# render :text => @name.to_s
|
84
|
-
# else
|
85
|
-
# # No? Then render an action.
|
86
|
-
# render :action => 'view_attribute', :attr => @name
|
87
|
-
# end
|
88
|
-
# end
|
89
|
-
#
|
90
|
-
# The else clause can be left off and the current action will render with full layout and template. An extension
|
91
|
-
# to this solution was posted to Ryan Heneise's blog at ArtOfMission["http://www.artofmission.com/"].
|
92
|
-
#
|
93
|
-
# layout proc{ |c| c.request.xhr? ? false : "application" }
|
94
|
-
#
|
95
|
-
# Dropping this in your ApplicationController turns the layout off for every request that is an "xhr" request.
|
96
|
-
#
|
97
|
-
# If you are just returning a little data or don't want to build a template for your output, you may opt to simply
|
98
|
-
# render text output, like this:
|
99
|
-
#
|
100
|
-
# render :text => 'Return this from my method!'
|
101
|
-
#
|
102
|
-
# Since whatever the method returns is injected into the DOM, this will simply inject some text (or HTML, if you
|
103
|
-
# tell it to). This is usually how small updates, such updating a cart total or a file count, are handled.
|
104
|
-
#
|
105
|
-
# == Updating multiple elements
|
106
|
-
# See JavaScriptGenerator for information on updating multiple elements
|
107
|
-
# on the page in an Ajax response.
|
108
|
-
module PrototypeHelper
|
109
|
-
unless const_defined? :CALLBACKS
|
110
|
-
CALLBACKS = Set.new([ :create, :uninitialized, :loading, :loaded,
|
111
|
-
:interactive, :complete, :failure, :success ] +
|
112
|
-
(100..599).to_a)
|
113
|
-
AJAX_OPTIONS = Set.new([ :before, :after, :condition, :url,
|
114
|
-
:asynchronous, :method, :insertion, :position,
|
115
|
-
:form, :with, :update, :script, :type ]).merge(CALLBACKS)
|
116
|
-
end
|
117
|
-
|
118
|
-
# Returns a link to a remote action defined by <tt>options[:url]</tt>
|
119
|
-
# (using the url_for format) that's called in the background using
|
120
|
-
# XMLHttpRequest. The result of that request can then be inserted into a
|
121
|
-
# DOM object whose id can be specified with <tt>options[:update]</tt>.
|
122
|
-
# Usually, the result would be a partial prepared by the controller with
|
123
|
-
# render :partial.
|
124
|
-
#
|
125
|
-
# Examples:
|
126
|
-
# # Generates: <a href="#" onclick="new Ajax.Updater('posts', '/blog/destroy/3', {asynchronous:true, evalScripts:true});
|
127
|
-
# # return false;">Delete this post</a>
|
128
|
-
# link_to_remote "Delete this post", :update => "posts",
|
129
|
-
# :url => { :action => "destroy", :id => post.id }
|
130
|
-
#
|
131
|
-
# # Generates: <a href="#" onclick="new Ajax.Updater('emails', '/mail/list_emails', {asynchronous:true, evalScripts:true});
|
132
|
-
# # return false;"><img alt="Refresh" src="/images/refresh.png?" /></a>
|
133
|
-
# link_to_remote(image_tag("refresh"), :update => "emails",
|
134
|
-
# :url => { :action => "list_emails" })
|
135
|
-
#
|
136
|
-
# You can override the generated HTML options by specifying a hash in
|
137
|
-
# <tt>options[:html]</tt>.
|
138
|
-
#
|
139
|
-
# link_to_remote "Delete this post", :update => "posts",
|
140
|
-
# :url => post_url(@post), :method => :delete,
|
141
|
-
# :html => { :class => "destructive" }
|
142
|
-
#
|
143
|
-
# You can also specify a hash for <tt>options[:update]</tt> to allow for
|
144
|
-
# easy redirection of output to an other DOM element if a server-side
|
145
|
-
# error occurs:
|
146
|
-
#
|
147
|
-
# Example:
|
148
|
-
# # Generates: <a href="#" onclick="new Ajax.Updater({success:'posts',failure:'error'}, '/blog/destroy/5',
|
149
|
-
# # {asynchronous:true, evalScripts:true}); return false;">Delete this post</a>
|
150
|
-
# link_to_remote "Delete this post",
|
151
|
-
# :url => { :action => "destroy", :id => post.id },
|
152
|
-
# :update => { :success => "posts", :failure => "error" }
|
153
|
-
#
|
154
|
-
# Optionally, you can use the <tt>options[:position]</tt> parameter to
|
155
|
-
# influence how the target DOM element is updated. It must be one of
|
156
|
-
# <tt>:before</tt>, <tt>:top</tt>, <tt>:bottom</tt>, or <tt>:after</tt>.
|
157
|
-
#
|
158
|
-
# The method used is by default POST. You can also specify GET or you
|
159
|
-
# can simulate PUT or DELETE over POST. All specified with <tt>options[:method]</tt>
|
160
|
-
#
|
161
|
-
# Example:
|
162
|
-
# # Generates: <a href="#" onclick="new Ajax.Request('/person/4', {asynchronous:true, evalScripts:true, method:'delete'});
|
163
|
-
# # return false;">Destroy</a>
|
164
|
-
# link_to_remote "Destroy", :url => person_url(:id => person), :method => :delete
|
165
|
-
#
|
166
|
-
# By default, these remote requests are processed asynchronous during
|
167
|
-
# which various JavaScript callbacks can be triggered (for progress
|
168
|
-
# indicators and the likes). All callbacks get access to the
|
169
|
-
# <tt>request</tt> object, which holds the underlying XMLHttpRequest.
|
170
|
-
#
|
171
|
-
# To access the server response, use <tt>request.responseText</tt>, to
|
172
|
-
# find out the HTTP status, use <tt>request.status</tt>.
|
173
|
-
#
|
174
|
-
# Example:
|
175
|
-
# # Generates: <a href="#" onclick="new Ajax.Request('/words/undo?n=33', {asynchronous:true, evalScripts:true,
|
176
|
-
# # onComplete:function(request){undoRequestCompleted(request)}}); return false;">hello</a>
|
177
|
-
# word = 'hello'
|
178
|
-
# link_to_remote word,
|
179
|
-
# :url => { :action => "undo", :n => word_counter },
|
180
|
-
# :complete => "undoRequestCompleted(request)"
|
181
|
-
#
|
182
|
-
# The callbacks that may be specified are (in order):
|
183
|
-
#
|
184
|
-
# <tt>:loading</tt>:: Called when the remote document is being
|
185
|
-
# loaded with data by the browser.
|
186
|
-
# <tt>:loaded</tt>:: Called when the browser has finished loading
|
187
|
-
# the remote document.
|
188
|
-
# <tt>:interactive</tt>:: Called when the user can interact with the
|
189
|
-
# remote document, even though it has not
|
190
|
-
# finished loading.
|
191
|
-
# <tt>:success</tt>:: Called when the XMLHttpRequest is completed,
|
192
|
-
# and the HTTP status code is in the 2XX range.
|
193
|
-
# <tt>:failure</tt>:: Called when the XMLHttpRequest is completed,
|
194
|
-
# and the HTTP status code is not in the 2XX
|
195
|
-
# range.
|
196
|
-
# <tt>:complete</tt>:: Called when the XMLHttpRequest is complete
|
197
|
-
# (fires after success/failure if they are
|
198
|
-
# present).
|
199
|
-
#
|
200
|
-
# You can further refine <tt>:success</tt> and <tt>:failure</tt> by
|
201
|
-
# adding additional callbacks for specific status codes.
|
202
|
-
#
|
203
|
-
# Example:
|
204
|
-
# # Generates: <a href="#" onclick="new Ajax.Request('/testing/action', {asynchronous:true, evalScripts:true,
|
205
|
-
# # on404:function(request){alert('Not found...? Wrong URL...?')},
|
206
|
-
# # onFailure:function(request){alert('HTTP Error ' + request.status + '!')}}); return false;">hello</a>
|
207
|
-
# link_to_remote word,
|
208
|
-
# :url => { :action => "action" },
|
209
|
-
# 404 => "alert('Not found...? Wrong URL...?')",
|
210
|
-
# :failure => "alert('HTTP Error ' + request.status + '!')"
|
211
|
-
#
|
212
|
-
# A status code callback overrides the success/failure handlers if
|
213
|
-
# present.
|
214
|
-
#
|
215
|
-
# If you for some reason or another need synchronous processing (that'll
|
216
|
-
# block the browser while the request is happening), you can specify
|
217
|
-
# <tt>options[:type] = :synchronous</tt>.
|
218
|
-
#
|
219
|
-
# You can customize further browser side call logic by passing in
|
220
|
-
# JavaScript code snippets via some optional parameters. In their order
|
221
|
-
# of use these are:
|
222
|
-
#
|
223
|
-
# <tt>:confirm</tt>:: Adds confirmation dialog.
|
224
|
-
# <tt>:condition</tt>:: Perform remote request conditionally
|
225
|
-
# by this expression. Use this to
|
226
|
-
# describe browser-side conditions when
|
227
|
-
# request should not be initiated.
|
228
|
-
# <tt>:before</tt>:: Called before request is initiated.
|
229
|
-
# <tt>:after</tt>:: Called immediately after request was
|
230
|
-
# initiated and before <tt>:loading</tt>.
|
231
|
-
# <tt>:submit</tt>:: Specifies the DOM element ID that's used
|
232
|
-
# as the parent of the form elements. By
|
233
|
-
# default this is the current form, but
|
234
|
-
# it could just as well be the ID of a
|
235
|
-
# table row or any other DOM element.
|
236
|
-
# <tt>:with</tt>:: A JavaScript expression specifying
|
237
|
-
# the parameters for the XMLHttpRequest.
|
238
|
-
# Any expressions should return a valid
|
239
|
-
# URL query string.
|
240
|
-
#
|
241
|
-
# Example:
|
242
|
-
#
|
243
|
-
# :with => "'name=' + $('name').value"
|
244
|
-
#
|
245
|
-
# You can generate a link that uses AJAX in the general case, while
|
246
|
-
# degrading gracefully to plain link behavior in the absence of
|
247
|
-
# JavaScript by setting <tt>html_options[:href]</tt> to an alternate URL.
|
248
|
-
# Note the extra curly braces around the <tt>options</tt> hash separate
|
249
|
-
# it as the second parameter from <tt>html_options</tt>, the third.
|
250
|
-
#
|
251
|
-
# Example:
|
252
|
-
# link_to_remote "Delete this post",
|
253
|
-
# { :update => "posts", :url => { :action => "destroy", :id => post.id } },
|
254
|
-
# :href => url_for(:action => "destroy", :id => post.id)
|
255
|
-
def link_to_remote(name, options = {}, html_options = nil)
|
256
|
-
link_to_function(name, remote_function(options), html_options || options.delete(:html))
|
257
|
-
end
|
258
|
-
|
259
|
-
# Creates a button with an onclick event which calls a remote action
|
260
|
-
# via XMLHttpRequest
|
261
|
-
# The options for specifying the target with :url
|
262
|
-
# and defining callbacks is the same as link_to_remote.
|
263
|
-
def button_to_remote(name, options = {}, html_options = {})
|
264
|
-
button_to_function(name, remote_function(options), html_options)
|
265
|
-
end
|
266
|
-
|
267
|
-
# Periodically calls the specified url (<tt>options[:url]</tt>) every
|
268
|
-
# <tt>options[:frequency]</tt> seconds (default is 10). Usually used to
|
269
|
-
# update a specified div (<tt>options[:update]</tt>) with the results
|
270
|
-
# of the remote call. The options for specifying the target with <tt>:url</tt>
|
271
|
-
# and defining callbacks is the same as link_to_remote.
|
272
|
-
# Examples:
|
273
|
-
# # Call get_averages and put its results in 'avg' every 10 seconds
|
274
|
-
# # Generates:
|
275
|
-
# # new PeriodicalExecuter(function() {new Ajax.Updater('avg', '/grades/get_averages',
|
276
|
-
# # {asynchronous:true, evalScripts:true})}, 10)
|
277
|
-
# periodically_call_remote(:url => { :action => 'get_averages' }, :update => 'avg')
|
278
|
-
#
|
279
|
-
# # Call invoice every 10 seconds with the id of the customer
|
280
|
-
# # If it succeeds, update the invoice DIV; if it fails, update the error DIV
|
281
|
-
# # Generates:
|
282
|
-
# # new PeriodicalExecuter(function() {new Ajax.Updater({success:'invoice',failure:'error'},
|
283
|
-
# # '/testing/invoice/16', {asynchronous:true, evalScripts:true})}, 10)
|
284
|
-
# periodically_call_remote(:url => { :action => 'invoice', :id => customer.id },
|
285
|
-
# :update => { :success => "invoice", :failure => "error" }
|
286
|
-
#
|
287
|
-
# # Call update every 20 seconds and update the new_block DIV
|
288
|
-
# # Generates:
|
289
|
-
# # new PeriodicalExecuter(function() {new Ajax.Updater('news_block', 'update', {asynchronous:true, evalScripts:true})}, 20)
|
290
|
-
# periodically_call_remote(:url => 'update', :frequency => '20', :update => 'news_block')
|
291
|
-
#
|
292
|
-
def periodically_call_remote(options = {})
|
293
|
-
frequency = options[:frequency] || 10 # every ten seconds by default
|
294
|
-
code = "new PeriodicalExecuter(function() {#{remote_function(options)}}, #{frequency})"
|
295
|
-
javascript_tag(code)
|
296
|
-
end
|
297
|
-
|
298
|
-
# Returns a form tag that will submit using XMLHttpRequest in the
|
299
|
-
# background instead of the regular reloading POST arrangement. Even
|
300
|
-
# though it's using JavaScript to serialize the form elements, the form
|
301
|
-
# submission will work just like a regular submission as viewed by the
|
302
|
-
# receiving side (all elements available in <tt>params</tt>). The options for
|
303
|
-
# specifying the target with <tt>:url</tt> and defining callbacks is the same as
|
304
|
-
# +link_to_remote+.
|
305
|
-
#
|
306
|
-
# A "fall-through" target for browsers that doesn't do JavaScript can be
|
307
|
-
# specified with the <tt>:action</tt>/<tt>:method</tt> options on <tt>:html</tt>.
|
308
|
-
#
|
309
|
-
# Example:
|
310
|
-
# # Generates:
|
311
|
-
# # <form action="/some/place" method="post" onsubmit="new Ajax.Request('',
|
312
|
-
# # {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)}); return false;">
|
313
|
-
# form_remote_tag :html => { :action =>
|
314
|
-
# url_for(:controller => "some", :action => "place") }
|
315
|
-
#
|
316
|
-
# The Hash passed to the <tt>:html</tt> key is equivalent to the options (2nd)
|
317
|
-
# argument in the FormTagHelper.form_tag method.
|
318
|
-
#
|
319
|
-
# By default the fall-through action is the same as the one specified in
|
320
|
-
# the <tt>:url</tt> (and the default method is <tt>:post</tt>).
|
321
|
-
#
|
322
|
-
# form_remote_tag also takes a block, like form_tag:
|
323
|
-
# # Generates:
|
324
|
-
# # <form action="/" method="post" onsubmit="new Ajax.Request('/',
|
325
|
-
# # {asynchronous:true, evalScripts:true, parameters:Form.serialize(this)});
|
326
|
-
# # return false;"> <div><input name="commit" type="submit" value="Save" /></div>
|
327
|
-
# # </form>
|
328
|
-
# <% form_remote_tag :url => '/posts' do -%>
|
329
|
-
# <div><%= submit_tag 'Save' %></div>
|
330
|
-
# <% end -%>
|
331
|
-
def form_remote_tag(options = {}, &block)
|
332
|
-
options[:form] = true
|
333
|
-
|
334
|
-
options[:html] ||= {}
|
335
|
-
options[:html][:onsubmit] =
|
336
|
-
(options[:html][:onsubmit] ? options[:html][:onsubmit] + "; " : "") +
|
337
|
-
"#{remote_function(options)}; return false;"
|
338
|
-
|
339
|
-
form_tag(options[:html].delete(:action) || url_for(options[:url]), options[:html], &block)
|
340
|
-
end
|
341
|
-
|
342
|
-
# Creates a form that will submit using XMLHttpRequest in the background
|
343
|
-
# instead of the regular reloading POST arrangement and a scope around a
|
344
|
-
# specific resource that is used as a base for questioning about
|
345
|
-
# values for the fields.
|
346
|
-
#
|
347
|
-
# === Resource
|
348
|
-
#
|
349
|
-
# Example:
|
350
|
-
# <% remote_form_for(@post) do |f| %>
|
351
|
-
# ...
|
352
|
-
# <% end %>
|
353
|
-
#
|
354
|
-
# This will expand to be the same as:
|
355
|
-
#
|
356
|
-
# <% remote_form_for :post, @post, :url => post_path(@post), :html => { :method => :put, :class => "edit_post", :id => "edit_post_45" } do |f| %>
|
357
|
-
# ...
|
358
|
-
# <% end %>
|
359
|
-
#
|
360
|
-
# === Nested Resource
|
361
|
-
#
|
362
|
-
# Example:
|
363
|
-
# <% remote_form_for([@post, @comment]) do |f| %>
|
364
|
-
# ...
|
365
|
-
# <% end %>
|
366
|
-
#
|
367
|
-
# This will expand to be the same as:
|
368
|
-
#
|
369
|
-
# <% remote_form_for :comment, @comment, :url => post_comment_path(@post, @comment), :html => { :method => :put, :class => "edit_comment", :id => "edit_comment_45" } do |f| %>
|
370
|
-
# ...
|
371
|
-
# <% end %>
|
372
|
-
#
|
373
|
-
# If you don't need to attach a form to a resource, then check out form_remote_tag.
|
374
|
-
#
|
375
|
-
# See FormHelper#form_for for additional semantics.
|
376
|
-
def remote_form_for(record_or_name_or_array, *args, &proc)
|
377
|
-
options = args.extract_options!
|
378
|
-
|
379
|
-
case record_or_name_or_array
|
380
|
-
when String, Symbol
|
381
|
-
object_name = record_or_name_or_array
|
382
|
-
when Array
|
383
|
-
object = record_or_name_or_array.last
|
384
|
-
object_name = ActionController::RecordIdentifier.singular_class_name(object)
|
385
|
-
apply_form_for_options!(record_or_name_or_array, options)
|
386
|
-
args.unshift object
|
387
|
-
else
|
388
|
-
object = record_or_name_or_array
|
389
|
-
object_name = ActionController::RecordIdentifier.singular_class_name(record_or_name_or_array)
|
390
|
-
apply_form_for_options!(object, options)
|
391
|
-
args.unshift object
|
392
|
-
end
|
393
|
-
|
394
|
-
concat(form_remote_tag(options))
|
395
|
-
fields_for(object_name, *(args << options), &proc)
|
396
|
-
concat('</form>')
|
397
|
-
end
|
398
|
-
alias_method :form_remote_for, :remote_form_for
|
399
|
-
|
400
|
-
# Returns a button input tag with the element name of +name+ and a value (i.e., display text) of +value+
|
401
|
-
# that will submit form using XMLHttpRequest in the background instead of a regular POST request that
|
402
|
-
# reloads the page.
|
403
|
-
#
|
404
|
-
# # Create a button that submits to the create action
|
405
|
-
# #
|
406
|
-
# # Generates: <input name="create_btn" onclick="new Ajax.Request('/testing/create',
|
407
|
-
# # {asynchronous:true, evalScripts:true, parameters:Form.serialize(this.form)});
|
408
|
-
# # return false;" type="button" value="Create" />
|
409
|
-
# <%= submit_to_remote 'create_btn', 'Create', :url => { :action => 'create' } %>
|
410
|
-
#
|
411
|
-
# # Submit to the remote action update and update the DIV succeed or fail based
|
412
|
-
# # on the success or failure of the request
|
413
|
-
# #
|
414
|
-
# # Generates: <input name="update_btn" onclick="new Ajax.Updater({success:'succeed',failure:'fail'},
|
415
|
-
# # '/testing/update', {asynchronous:true, evalScripts:true, parameters:Form.serialize(this.form)});
|
416
|
-
# # return false;" type="button" value="Update" />
|
417
|
-
# <%= submit_to_remote 'update_btn', 'Update', :url => { :action => 'update' },
|
418
|
-
# :update => { :success => "succeed", :failure => "fail" }
|
419
|
-
#
|
420
|
-
# <tt>options</tt> argument is the same as in form_remote_tag.
|
421
|
-
def submit_to_remote(name, value, options = {})
|
422
|
-
options[:with] ||= 'Form.serialize(this.form)'
|
423
|
-
|
424
|
-
html_options = options.delete(:html) || {}
|
425
|
-
html_options[:name] = name
|
426
|
-
|
427
|
-
button_to_remote(value, options, html_options)
|
428
|
-
end
|
429
|
-
|
430
|
-
# Returns '<tt>eval(request.responseText)</tt>' which is the JavaScript function
|
431
|
-
# that +form_remote_tag+ can call in <tt>:complete</tt> to evaluate a multiple
|
432
|
-
# update return document using +update_element_function+ calls.
|
433
|
-
def evaluate_remote_response
|
434
|
-
"eval(request.responseText)"
|
435
|
-
end
|
436
|
-
|
437
|
-
# Returns the JavaScript needed for a remote function.
|
438
|
-
# Takes the same arguments as link_to_remote.
|
439
|
-
#
|
440
|
-
# Example:
|
441
|
-
# # Generates: <select id="options" onchange="new Ajax.Updater('options',
|
442
|
-
# # '/testing/update_options', {asynchronous:true, evalScripts:true})">
|
443
|
-
# <select id="options" onchange="<%= remote_function(:update => "options",
|
444
|
-
# :url => { :action => :update_options }) %>">
|
445
|
-
# <option value="0">Hello</option>
|
446
|
-
# <option value="1">World</option>
|
447
|
-
# </select>
|
448
|
-
def remote_function(options)
|
449
|
-
javascript_options = options_for_ajax(options)
|
450
|
-
|
451
|
-
update = ''
|
452
|
-
if options[:update] && options[:update].is_a?(Hash)
|
453
|
-
update = []
|
454
|
-
update << "success:'#{options[:update][:success]}'" if options[:update][:success]
|
455
|
-
update << "failure:'#{options[:update][:failure]}'" if options[:update][:failure]
|
456
|
-
update = '{' + update.join(',') + '}'
|
457
|
-
elsif options[:update]
|
458
|
-
update << "'#{options[:update]}'"
|
459
|
-
end
|
460
|
-
|
461
|
-
function = update.empty? ?
|
462
|
-
"new Ajax.Request(" :
|
463
|
-
"new Ajax.Updater(#{update}, "
|
464
|
-
|
465
|
-
url_options = options[:url]
|
466
|
-
url_options = url_options.merge(:escape => false) if url_options.is_a?(Hash)
|
467
|
-
function << "'#{escape_javascript(url_for(url_options))}'"
|
468
|
-
function << ", #{javascript_options})"
|
469
|
-
|
470
|
-
function = "#{options[:before]}; #{function}" if options[:before]
|
471
|
-
function = "#{function}; #{options[:after]}" if options[:after]
|
472
|
-
function = "if (#{options[:condition]}) { #{function}; }" if options[:condition]
|
473
|
-
function = "if (confirm('#{escape_javascript(options[:confirm])}')) { #{function}; }" if options[:confirm]
|
474
|
-
|
475
|
-
return function
|
476
|
-
end
|
477
|
-
|
478
|
-
# Observes the field with the DOM ID specified by +field_id+ and calls a
|
479
|
-
# callback when its contents have changed. The default callback is an
|
480
|
-
# Ajax call. By default the value of the observed field is sent as a
|
481
|
-
# parameter with the Ajax call.
|
482
|
-
#
|
483
|
-
# Example:
|
484
|
-
# # Generates: new Form.Element.Observer('suggest', 0.25, function(element, value) {new Ajax.Updater('suggest',
|
485
|
-
# # '/testing/find_suggestion', {asynchronous:true, evalScripts:true, parameters:'q=' + value})})
|
486
|
-
# <%= observe_field :suggest, :url => { :action => :find_suggestion },
|
487
|
-
# :frequency => 0.25,
|
488
|
-
# :update => :suggest,
|
489
|
-
# :with => 'q'
|
490
|
-
# %>
|
491
|
-
#
|
492
|
-
# Required +options+ are either of:
|
493
|
-
# <tt>:url</tt>:: +url_for+-style options for the action to call
|
494
|
-
# when the field has changed.
|
495
|
-
# <tt>:function</tt>:: Instead of making a remote call to a URL, you
|
496
|
-
# can specify javascript code to be called instead.
|
497
|
-
# Note that the value of this option is used as the
|
498
|
-
# *body* of the javascript function, a function definition
|
499
|
-
# with parameters named element and value will be generated for you
|
500
|
-
# for example:
|
501
|
-
# observe_field("glass", :frequency => 1, :function => "alert('Element changed')")
|
502
|
-
# will generate:
|
503
|
-
# new Form.Element.Observer('glass', 1, function(element, value) {alert('Element changed')})
|
504
|
-
# The element parameter is the DOM element being observed, and the value is its value at the
|
505
|
-
# time the observer is triggered.
|
506
|
-
#
|
507
|
-
# Additional options are:
|
508
|
-
# <tt>:frequency</tt>:: The frequency (in seconds) at which changes to
|
509
|
-
# this field will be detected. Not setting this
|
510
|
-
# option at all or to a value equal to or less than
|
511
|
-
# zero will use event based observation instead of
|
512
|
-
# time based observation.
|
513
|
-
# <tt>:update</tt>:: Specifies the DOM ID of the element whose
|
514
|
-
# innerHTML should be updated with the
|
515
|
-
# XMLHttpRequest response text.
|
516
|
-
# <tt>:with</tt>:: A JavaScript expression specifying the parameters
|
517
|
-
# for the XMLHttpRequest. The default is to send the
|
518
|
-
# key and value of the observed field. Any custom
|
519
|
-
# expressions should return a valid URL query string.
|
520
|
-
# The value of the field is stored in the JavaScript
|
521
|
-
# variable +value+.
|
522
|
-
#
|
523
|
-
# Examples
|
524
|
-
#
|
525
|
-
# :with => "'my_custom_key=' + value"
|
526
|
-
# :with => "'person[name]=' + prompt('New name')"
|
527
|
-
# :with => "Form.Element.serialize('other-field')"
|
528
|
-
#
|
529
|
-
# Finally
|
530
|
-
# :with => 'name'
|
531
|
-
# is shorthand for
|
532
|
-
# :with => "'name=' + value"
|
533
|
-
# This essentially just changes the key of the parameter.
|
534
|
-
#
|
535
|
-
# Additionally, you may specify any of the options documented in the
|
536
|
-
# <em>Common options</em> section at the top of this document.
|
537
|
-
#
|
538
|
-
# Example:
|
539
|
-
#
|
540
|
-
# # Sends params: {:title => 'Title of the book'} when the book_title input
|
541
|
-
# # field is changed.
|
542
|
-
# observe_field 'book_title',
|
543
|
-
# :url => 'http://example.com/books/edit/1',
|
544
|
-
# :with => 'title'
|
545
|
-
#
|
546
|
-
#
|
547
|
-
def observe_field(field_id, options = {})
|
548
|
-
if options[:frequency] && options[:frequency] > 0
|
549
|
-
build_observer('Form.Element.Observer', field_id, options)
|
550
|
-
else
|
551
|
-
build_observer('Form.Element.EventObserver', field_id, options)
|
552
|
-
end
|
553
|
-
end
|
554
|
-
|
555
|
-
# Observes the form with the DOM ID specified by +form_id+ and calls a
|
556
|
-
# callback when its contents have changed. The default callback is an
|
557
|
-
# Ajax call. By default all fields of the observed field are sent as
|
558
|
-
# parameters with the Ajax call.
|
559
|
-
#
|
560
|
-
# The +options+ for +observe_form+ are the same as the options for
|
561
|
-
# +observe_field+. The JavaScript variable +value+ available to the
|
562
|
-
# <tt>:with</tt> option is set to the serialized form by default.
|
563
|
-
def observe_form(form_id, options = {})
|
564
|
-
if options[:frequency]
|
565
|
-
build_observer('Form.Observer', form_id, options)
|
566
|
-
else
|
567
|
-
build_observer('Form.EventObserver', form_id, options)
|
568
|
-
end
|
569
|
-
end
|
570
|
-
|
571
|
-
# All the methods were moved to GeneratorMethods so that
|
572
|
-
# #include_helpers_from_context has nothing to overwrite.
|
573
|
-
class JavaScriptGenerator #:nodoc:
|
574
|
-
def initialize(context, &block) #:nodoc:
|
575
|
-
@context, @lines = context, []
|
576
|
-
include_helpers_from_context
|
577
|
-
@context.with_output_buffer(@lines) do
|
578
|
-
@context.instance_exec(self, &block)
|
579
|
-
end
|
580
|
-
end
|
581
|
-
|
582
|
-
private
|
583
|
-
def include_helpers_from_context
|
584
|
-
extend @context.helpers if @context.respond_to?(:helpers)
|
585
|
-
extend GeneratorMethods
|
586
|
-
end
|
587
|
-
|
588
|
-
# JavaScriptGenerator generates blocks of JavaScript code that allow you
|
589
|
-
# to change the content and presentation of multiple DOM elements. Use
|
590
|
-
# this in your Ajax response bodies, either in a <script> tag or as plain
|
591
|
-
# JavaScript sent with a Content-type of "text/javascript".
|
592
|
-
#
|
593
|
-
# Create new instances with PrototypeHelper#update_page or with
|
594
|
-
# ActionController::Base#render, then call +insert_html+, +replace_html+,
|
595
|
-
# +remove+, +show+, +hide+, +visual_effect+, or any other of the built-in
|
596
|
-
# methods on the yielded generator in any order you like to modify the
|
597
|
-
# content and appearance of the current page.
|
598
|
-
#
|
599
|
-
# Example:
|
600
|
-
#
|
601
|
-
# # Generates:
|
602
|
-
# # new Element.insert("list", { bottom: "<li>Some item</li>" });
|
603
|
-
# # new Effect.Highlight("list");
|
604
|
-
# # ["status-indicator", "cancel-link"].each(Element.hide);
|
605
|
-
# update_page do |page|
|
606
|
-
# page.insert_html :bottom, 'list', "<li>#{@item.name}</li>"
|
607
|
-
# page.visual_effect :highlight, 'list'
|
608
|
-
# page.hide 'status-indicator', 'cancel-link'
|
609
|
-
# end
|
610
|
-
#
|
611
|
-
#
|
612
|
-
# Helper methods can be used in conjunction with JavaScriptGenerator.
|
613
|
-
# When a helper method is called inside an update block on the +page+
|
614
|
-
# object, that method will also have access to a +page+ object.
|
615
|
-
#
|
616
|
-
# Example:
|
617
|
-
#
|
618
|
-
# module ApplicationHelper
|
619
|
-
# def update_time
|
620
|
-
# page.replace_html 'time', Time.now.to_s(:db)
|
621
|
-
# page.visual_effect :highlight, 'time'
|
622
|
-
# end
|
623
|
-
# end
|
624
|
-
#
|
625
|
-
# # Controller action
|
626
|
-
# def poll
|
627
|
-
# render(:update) { |page| page.update_time }
|
628
|
-
# end
|
629
|
-
#
|
630
|
-
# Calls to JavaScriptGenerator not matching a helper method below
|
631
|
-
# generate a proxy to the JavaScript Class named by the method called.
|
632
|
-
#
|
633
|
-
# Examples:
|
634
|
-
#
|
635
|
-
# # Generates:
|
636
|
-
# # Foo.init();
|
637
|
-
# update_page do |page|
|
638
|
-
# page.foo.init
|
639
|
-
# end
|
640
|
-
#
|
641
|
-
# # Generates:
|
642
|
-
# # Event.observe('one', 'click', function () {
|
643
|
-
# # $('two').show();
|
644
|
-
# # });
|
645
|
-
# update_page do |page|
|
646
|
-
# page.event.observe('one', 'click') do |p|
|
647
|
-
# p[:two].show
|
648
|
-
# end
|
649
|
-
# end
|
650
|
-
#
|
651
|
-
# You can also use PrototypeHelper#update_page_tag instead of
|
652
|
-
# PrototypeHelper#update_page to wrap the generated JavaScript in a
|
653
|
-
# <script> tag.
|
654
|
-
module GeneratorMethods
|
655
|
-
def to_s #:nodoc:
|
656
|
-
returning javascript = @lines * $/ do
|
657
|
-
if ActionView::Base.debug_rjs
|
658
|
-
source = javascript.dup
|
659
|
-
javascript.replace "try {\n#{source}\n} catch (e) "
|
660
|
-
javascript << "{ alert('RJS error:\\n\\n' + e.toString()); alert('#{source.gsub('\\','\0\0').gsub(/\r\n|\n|\r/, "\\n").gsub(/["']/) { |m| "\\#{m}" }}'); throw e }"
|
661
|
-
end
|
662
|
-
end
|
663
|
-
end
|
664
|
-
|
665
|
-
# Returns a element reference by finding it through +id+ in the DOM. This element can then be
|
666
|
-
# used for further method calls. Examples:
|
667
|
-
#
|
668
|
-
# page['blank_slate'] # => $('blank_slate');
|
669
|
-
# page['blank_slate'].show # => $('blank_slate').show();
|
670
|
-
# page['blank_slate'].show('first').up # => $('blank_slate').show('first').up();
|
671
|
-
#
|
672
|
-
# You can also pass in a record, which will use ActionController::RecordIdentifier.dom_id to lookup
|
673
|
-
# the correct id:
|
674
|
-
#
|
675
|
-
# page[@post] # => $('post_45')
|
676
|
-
# page[Post.new] # => $('new_post')
|
677
|
-
def [](id)
|
678
|
-
case id
|
679
|
-
when String, Symbol, NilClass
|
680
|
-
JavaScriptElementProxy.new(self, id)
|
681
|
-
else
|
682
|
-
JavaScriptElementProxy.new(self, ActionController::RecordIdentifier.dom_id(id))
|
683
|
-
end
|
684
|
-
end
|
685
|
-
|
686
|
-
# Returns an object whose <tt>to_json</tt> evaluates to +code+. Use this to pass a literal JavaScript
|
687
|
-
# expression as an argument to another JavaScriptGenerator method.
|
688
|
-
def literal(code)
|
689
|
-
ActiveSupport::JSON::Variable.new(code.to_s)
|
690
|
-
end
|
691
|
-
|
692
|
-
# Returns a collection reference by finding it through a CSS +pattern+ in the DOM. This collection can then be
|
693
|
-
# used for further method calls. Examples:
|
694
|
-
#
|
695
|
-
# page.select('p') # => $$('p');
|
696
|
-
# page.select('p.welcome b').first # => $$('p.welcome b').first();
|
697
|
-
# page.select('p.welcome b').first.hide # => $$('p.welcome b').first().hide();
|
698
|
-
#
|
699
|
-
# You can also use prototype enumerations with the collection. Observe:
|
700
|
-
#
|
701
|
-
# # Generates: $$('#items li').each(function(value) { value.hide(); });
|
702
|
-
# page.select('#items li').each do |value|
|
703
|
-
# value.hide
|
704
|
-
# end
|
705
|
-
#
|
706
|
-
# Though you can call the block param anything you want, they are always rendered in the
|
707
|
-
# javascript as 'value, index.' Other enumerations, like collect() return the last statement:
|
708
|
-
#
|
709
|
-
# # Generates: var hidden = $$('#items li').collect(function(value, index) { return value.hide(); });
|
710
|
-
# page.select('#items li').collect('hidden') do |item|
|
711
|
-
# item.hide
|
712
|
-
# end
|
713
|
-
#
|
714
|
-
def select(pattern)
|
715
|
-
JavaScriptElementCollectionProxy.new(self, pattern)
|
716
|
-
end
|
717
|
-
|
718
|
-
# Inserts HTML at the specified +position+ relative to the DOM element
|
719
|
-
# identified by the given +id+.
|
720
|
-
#
|
721
|
-
# +position+ may be one of:
|
722
|
-
#
|
723
|
-
# <tt>:top</tt>:: HTML is inserted inside the element, before the
|
724
|
-
# element's existing content.
|
725
|
-
# <tt>:bottom</tt>:: HTML is inserted inside the element, after the
|
726
|
-
# element's existing content.
|
727
|
-
# <tt>:before</tt>:: HTML is inserted immediately preceding the element.
|
728
|
-
# <tt>:after</tt>:: HTML is inserted immediately following the element.
|
729
|
-
#
|
730
|
-
# +options_for_render+ may be either a string of HTML to insert, or a hash
|
731
|
-
# of options to be passed to ActionView::Base#render. For example:
|
732
|
-
#
|
733
|
-
# # Insert the rendered 'navigation' partial just before the DOM
|
734
|
-
# # element with ID 'content'.
|
735
|
-
# # Generates: Element.insert("content", { before: "-- Contents of 'navigation' partial --" });
|
736
|
-
# page.insert_html :before, 'content', :partial => 'navigation'
|
737
|
-
#
|
738
|
-
# # Add a list item to the bottom of the <ul> with ID 'list'.
|
739
|
-
# # Generates: Element.insert("list", { bottom: "<li>Last item</li>" });
|
740
|
-
# page.insert_html :bottom, 'list', '<li>Last item</li>'
|
741
|
-
#
|
742
|
-
def insert_html(position, id, *options_for_render)
|
743
|
-
content = javascript_object_for(render(*options_for_render))
|
744
|
-
record "Element.insert(\"#{id}\", { #{position.to_s.downcase}: #{content} });"
|
745
|
-
end
|
746
|
-
|
747
|
-
# Replaces the inner HTML of the DOM element with the given +id+.
|
748
|
-
#
|
749
|
-
# +options_for_render+ may be either a string of HTML to insert, or a hash
|
750
|
-
# of options to be passed to ActionView::Base#render. For example:
|
751
|
-
#
|
752
|
-
# # Replace the HTML of the DOM element having ID 'person-45' with the
|
753
|
-
# # 'person' partial for the appropriate object.
|
754
|
-
# # Generates: Element.update("person-45", "-- Contents of 'person' partial --");
|
755
|
-
# page.replace_html 'person-45', :partial => 'person', :object => @person
|
756
|
-
#
|
757
|
-
def replace_html(id, *options_for_render)
|
758
|
-
call 'Element.update', id, render(*options_for_render)
|
759
|
-
end
|
760
|
-
|
761
|
-
# Replaces the "outer HTML" (i.e., the entire element, not just its
|
762
|
-
# contents) of the DOM element with the given +id+.
|
763
|
-
#
|
764
|
-
# +options_for_render+ may be either a string of HTML to insert, or a hash
|
765
|
-
# of options to be passed to ActionView::Base#render. For example:
|
766
|
-
#
|
767
|
-
# # Replace the DOM element having ID 'person-45' with the
|
768
|
-
# # 'person' partial for the appropriate object.
|
769
|
-
# page.replace 'person-45', :partial => 'person', :object => @person
|
770
|
-
#
|
771
|
-
# This allows the same partial that is used for the +insert_html+ to
|
772
|
-
# be also used for the input to +replace+ without resorting to
|
773
|
-
# the use of wrapper elements.
|
774
|
-
#
|
775
|
-
# Examples:
|
776
|
-
#
|
777
|
-
# <div id="people">
|
778
|
-
# <%= render :partial => 'person', :collection => @people %>
|
779
|
-
# </div>
|
780
|
-
#
|
781
|
-
# # Insert a new person
|
782
|
-
# #
|
783
|
-
# # Generates: new Insertion.Bottom({object: "Matz", partial: "person"}, "");
|
784
|
-
# page.insert_html :bottom, :partial => 'person', :object => @person
|
785
|
-
#
|
786
|
-
# # Replace an existing person
|
787
|
-
#
|
788
|
-
# # Generates: Element.replace("person_45", "-- Contents of partial --");
|
789
|
-
# page.replace 'person_45', :partial => 'person', :object => @person
|
790
|
-
#
|
791
|
-
def replace(id, *options_for_render)
|
792
|
-
call 'Element.replace', id, render(*options_for_render)
|
793
|
-
end
|
794
|
-
|
795
|
-
# Removes the DOM elements with the given +ids+ from the page.
|
796
|
-
#
|
797
|
-
# Example:
|
798
|
-
#
|
799
|
-
# # Remove a few people
|
800
|
-
# # Generates: ["person_23", "person_9", "person_2"].each(Element.remove);
|
801
|
-
# page.remove 'person_23', 'person_9', 'person_2'
|
802
|
-
#
|
803
|
-
def remove(*ids)
|
804
|
-
loop_on_multiple_args 'Element.remove', ids
|
805
|
-
end
|
806
|
-
|
807
|
-
# Shows hidden DOM elements with the given +ids+.
|
808
|
-
#
|
809
|
-
# Example:
|
810
|
-
#
|
811
|
-
# # Show a few people
|
812
|
-
# # Generates: ["person_6", "person_13", "person_223"].each(Element.show);
|
813
|
-
# page.show 'person_6', 'person_13', 'person_223'
|
814
|
-
#
|
815
|
-
def show(*ids)
|
816
|
-
loop_on_multiple_args 'Element.show', ids
|
817
|
-
end
|
818
|
-
|
819
|
-
# Hides the visible DOM elements with the given +ids+.
|
820
|
-
#
|
821
|
-
# Example:
|
822
|
-
#
|
823
|
-
# # Hide a few people
|
824
|
-
# # Generates: ["person_29", "person_9", "person_0"].each(Element.hide);
|
825
|
-
# page.hide 'person_29', 'person_9', 'person_0'
|
826
|
-
#
|
827
|
-
def hide(*ids)
|
828
|
-
loop_on_multiple_args 'Element.hide', ids
|
829
|
-
end
|
830
|
-
|
831
|
-
# Toggles the visibility of the DOM elements with the given +ids+.
|
832
|
-
# Example:
|
833
|
-
#
|
834
|
-
# # Show a few people
|
835
|
-
# # Generates: ["person_14", "person_12", "person_23"].each(Element.toggle);
|
836
|
-
# page.toggle 'person_14', 'person_12', 'person_23' # Hides the elements
|
837
|
-
# page.toggle 'person_14', 'person_12', 'person_23' # Shows the previously hidden elements
|
838
|
-
#
|
839
|
-
def toggle(*ids)
|
840
|
-
loop_on_multiple_args 'Element.toggle', ids
|
841
|
-
end
|
842
|
-
|
843
|
-
# Displays an alert dialog with the given +message+.
|
844
|
-
#
|
845
|
-
# Example:
|
846
|
-
#
|
847
|
-
# # Generates: alert('This message is from Rails!')
|
848
|
-
# page.alert('This message is from Rails!')
|
849
|
-
def alert(message)
|
850
|
-
call 'alert', message
|
851
|
-
end
|
852
|
-
|
853
|
-
# Redirects the browser to the given +location+ using JavaScript, in the same form as +url_for+.
|
854
|
-
#
|
855
|
-
# Examples:
|
856
|
-
#
|
857
|
-
# # Generates: window.location.href = "/mycontroller";
|
858
|
-
# page.redirect_to(:action => 'index')
|
859
|
-
#
|
860
|
-
# # Generates: window.location.href = "/account/signup";
|
861
|
-
# page.redirect_to(:controller => 'account', :action => 'signup')
|
862
|
-
def redirect_to(location)
|
863
|
-
url = location.is_a?(String) ? location : @context.url_for(location)
|
864
|
-
record "window.location.href = #{url.inspect}"
|
865
|
-
end
|
866
|
-
|
867
|
-
# Reloads the browser's current +location+ using JavaScript
|
868
|
-
#
|
869
|
-
# Examples:
|
870
|
-
#
|
871
|
-
# # Generates: window.location.reload();
|
872
|
-
# page.reload
|
873
|
-
def reload
|
874
|
-
record 'window.location.reload()'
|
875
|
-
end
|
876
|
-
|
877
|
-
# Calls the JavaScript +function+, optionally with the given +arguments+.
|
878
|
-
#
|
879
|
-
# If a block is given, the block will be passed to a new JavaScriptGenerator;
|
880
|
-
# the resulting JavaScript code will then be wrapped inside <tt>function() { ... }</tt>
|
881
|
-
# and passed as the called function's final argument.
|
882
|
-
#
|
883
|
-
# Examples:
|
884
|
-
#
|
885
|
-
# # Generates: Element.replace(my_element, "My content to replace with.")
|
886
|
-
# page.call 'Element.replace', 'my_element', "My content to replace with."
|
887
|
-
#
|
888
|
-
# # Generates: alert('My message!')
|
889
|
-
# page.call 'alert', 'My message!'
|
890
|
-
#
|
891
|
-
# # Generates:
|
892
|
-
# # my_method(function() {
|
893
|
-
# # $("one").show();
|
894
|
-
# # $("two").hide();
|
895
|
-
# # });
|
896
|
-
# page.call(:my_method) do |p|
|
897
|
-
# p[:one].show
|
898
|
-
# p[:two].hide
|
899
|
-
# end
|
900
|
-
def call(function, *arguments, &block)
|
901
|
-
record "#{function}(#{arguments_for_call(arguments, block)})"
|
902
|
-
end
|
903
|
-
|
904
|
-
# Assigns the JavaScript +variable+ the given +value+.
|
905
|
-
#
|
906
|
-
# Examples:
|
907
|
-
#
|
908
|
-
# # Generates: my_string = "This is mine!";
|
909
|
-
# page.assign 'my_string', 'This is mine!'
|
910
|
-
#
|
911
|
-
# # Generates: record_count = 33;
|
912
|
-
# page.assign 'record_count', 33
|
913
|
-
#
|
914
|
-
# # Generates: tabulated_total = 47
|
915
|
-
# page.assign 'tabulated_total', @total_from_cart
|
916
|
-
#
|
917
|
-
def assign(variable, value)
|
918
|
-
record "#{variable} = #{javascript_object_for(value)}"
|
919
|
-
end
|
920
|
-
|
921
|
-
# Writes raw JavaScript to the page.
|
922
|
-
#
|
923
|
-
# Example:
|
924
|
-
#
|
925
|
-
# page << "alert('JavaScript with Prototype.');"
|
926
|
-
def <<(javascript)
|
927
|
-
@lines << javascript
|
928
|
-
end
|
929
|
-
|
930
|
-
# Executes the content of the block after a delay of +seconds+. Example:
|
931
|
-
#
|
932
|
-
# # Generates:
|
933
|
-
# # setTimeout(function() {
|
934
|
-
# # ;
|
935
|
-
# # new Effect.Fade("notice",{});
|
936
|
-
# # }, 20000);
|
937
|
-
# page.delay(20) do
|
938
|
-
# page.visual_effect :fade, 'notice'
|
939
|
-
# end
|
940
|
-
def delay(seconds = 1)
|
941
|
-
record "setTimeout(function() {\n\n"
|
942
|
-
yield
|
943
|
-
record "}, #{(seconds * 1000).to_i})"
|
944
|
-
end
|
945
|
-
|
946
|
-
# Starts a script.aculo.us visual effect. See
|
947
|
-
# ActionView::Helpers::ScriptaculousHelper for more information.
|
948
|
-
def visual_effect(name, id = nil, options = {})
|
949
|
-
record @context.send(:visual_effect, name, id, options)
|
950
|
-
end
|
951
|
-
|
952
|
-
# Creates a script.aculo.us sortable element. Useful
|
953
|
-
# to recreate sortable elements after items get added
|
954
|
-
# or deleted.
|
955
|
-
# See ActionView::Helpers::ScriptaculousHelper for more information.
|
956
|
-
def sortable(id, options = {})
|
957
|
-
record @context.send(:sortable_element_js, id, options)
|
958
|
-
end
|
959
|
-
|
960
|
-
# Creates a script.aculo.us draggable element.
|
961
|
-
# See ActionView::Helpers::ScriptaculousHelper for more information.
|
962
|
-
def draggable(id, options = {})
|
963
|
-
record @context.send(:draggable_element_js, id, options)
|
964
|
-
end
|
965
|
-
|
966
|
-
# Creates a script.aculo.us drop receiving element.
|
967
|
-
# See ActionView::Helpers::ScriptaculousHelper for more information.
|
968
|
-
def drop_receiving(id, options = {})
|
969
|
-
record @context.send(:drop_receiving_element_js, id, options)
|
970
|
-
end
|
971
|
-
|
972
|
-
private
|
973
|
-
def loop_on_multiple_args(method, ids)
|
974
|
-
record(ids.size>1 ?
|
975
|
-
"#{javascript_object_for(ids)}.each(#{method})" :
|
976
|
-
"#{method}(#{ids.first.to_json})")
|
977
|
-
end
|
978
|
-
|
979
|
-
def page
|
980
|
-
self
|
981
|
-
end
|
982
|
-
|
983
|
-
def record(line)
|
984
|
-
returning line = "#{line.to_s.chomp.gsub(/\;\z/, '')};" do
|
985
|
-
self << line
|
986
|
-
end
|
987
|
-
end
|
988
|
-
|
989
|
-
def render(*options_for_render)
|
990
|
-
old_format = @context && @context.template_format
|
991
|
-
@context.template_format = :html if @context
|
992
|
-
Hash === options_for_render.first ?
|
993
|
-
@context.render(*options_for_render) :
|
994
|
-
options_for_render.first.to_s
|
995
|
-
ensure
|
996
|
-
@context.template_format = old_format if @context
|
997
|
-
end
|
998
|
-
|
999
|
-
def javascript_object_for(object)
|
1000
|
-
object.respond_to?(:to_json) ? object.to_json : object.inspect
|
1001
|
-
end
|
1002
|
-
|
1003
|
-
def arguments_for_call(arguments, block = nil)
|
1004
|
-
arguments << block_to_function(block) if block
|
1005
|
-
arguments.map { |argument| javascript_object_for(argument) }.join ', '
|
1006
|
-
end
|
1007
|
-
|
1008
|
-
def block_to_function(block)
|
1009
|
-
generator = self.class.new(@context, &block)
|
1010
|
-
literal("function() { #{generator.to_s} }")
|
1011
|
-
end
|
1012
|
-
|
1013
|
-
def method_missing(method, *arguments)
|
1014
|
-
JavaScriptProxy.new(self, method.to_s.camelize)
|
1015
|
-
end
|
1016
|
-
end
|
1017
|
-
end
|
1018
|
-
|
1019
|
-
# Yields a JavaScriptGenerator and returns the generated JavaScript code.
|
1020
|
-
# Use this to update multiple elements on a page in an Ajax response.
|
1021
|
-
# See JavaScriptGenerator for more information.
|
1022
|
-
#
|
1023
|
-
# Example:
|
1024
|
-
#
|
1025
|
-
# update_page do |page|
|
1026
|
-
# page.hide 'spinner'
|
1027
|
-
# end
|
1028
|
-
def update_page(&block)
|
1029
|
-
JavaScriptGenerator.new(@template, &block).to_s
|
1030
|
-
end
|
1031
|
-
|
1032
|
-
# Works like update_page but wraps the generated JavaScript in a <script>
|
1033
|
-
# tag. Use this to include generated JavaScript in an ERb template.
|
1034
|
-
# See JavaScriptGenerator for more information.
|
1035
|
-
#
|
1036
|
-
# +html_options+ may be a hash of <script> attributes to be passed
|
1037
|
-
# to ActionView::Helpers::JavaScriptHelper#javascript_tag.
|
1038
|
-
def update_page_tag(html_options = {}, &block)
|
1039
|
-
javascript_tag update_page(&block), html_options
|
1040
|
-
end
|
1041
|
-
|
1042
|
-
protected
|
1043
|
-
def options_for_ajax(options)
|
1044
|
-
js_options = build_callbacks(options)
|
1045
|
-
|
1046
|
-
js_options['asynchronous'] = options[:type] != :synchronous
|
1047
|
-
js_options['method'] = method_option_to_s(options[:method]) if options[:method]
|
1048
|
-
js_options['insertion'] = "'#{options[:position].to_s.downcase}'" if options[:position]
|
1049
|
-
js_options['evalScripts'] = options[:script].nil? || options[:script]
|
1050
|
-
|
1051
|
-
if options[:form]
|
1052
|
-
js_options['parameters'] = 'Form.serialize(this)'
|
1053
|
-
elsif options[:submit]
|
1054
|
-
js_options['parameters'] = "Form.serialize('#{options[:submit]}')"
|
1055
|
-
elsif options[:with]
|
1056
|
-
js_options['parameters'] = options[:with]
|
1057
|
-
end
|
1058
|
-
|
1059
|
-
if protect_against_forgery? && !options[:form]
|
1060
|
-
if js_options['parameters']
|
1061
|
-
js_options['parameters'] << " + '&"
|
1062
|
-
else
|
1063
|
-
js_options['parameters'] = "'"
|
1064
|
-
end
|
1065
|
-
js_options['parameters'] << "#{request_forgery_protection_token}=' + encodeURIComponent('#{escape_javascript form_authenticity_token}')"
|
1066
|
-
end
|
1067
|
-
|
1068
|
-
options_for_javascript(js_options)
|
1069
|
-
end
|
1070
|
-
|
1071
|
-
def method_option_to_s(method)
|
1072
|
-
(method.is_a?(String) and !method.index("'").nil?) ? method : "'#{method}'"
|
1073
|
-
end
|
1074
|
-
|
1075
|
-
def build_observer(klass, name, options = {})
|
1076
|
-
if options[:with] && (options[:with] !~ /[\{=(.]/)
|
1077
|
-
options[:with] = "'#{options[:with]}=' + encodeURIComponent(value)"
|
1078
|
-
else
|
1079
|
-
options[:with] ||= 'value' unless options[:function]
|
1080
|
-
end
|
1081
|
-
|
1082
|
-
callback = options[:function] || remote_function(options)
|
1083
|
-
javascript = "new #{klass}('#{name}', "
|
1084
|
-
javascript << "#{options[:frequency]}, " if options[:frequency]
|
1085
|
-
javascript << "function(element, value) {"
|
1086
|
-
javascript << "#{callback}}"
|
1087
|
-
javascript << ")"
|
1088
|
-
javascript_tag(javascript)
|
1089
|
-
end
|
1090
|
-
|
1091
|
-
def build_callbacks(options)
|
1092
|
-
callbacks = {}
|
1093
|
-
options.each do |callback, code|
|
1094
|
-
if CALLBACKS.include?(callback)
|
1095
|
-
name = 'on' + callback.to_s.capitalize
|
1096
|
-
callbacks[name] = "function(request){#{code}}"
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
callbacks
|
1100
|
-
end
|
1101
|
-
end
|
1102
|
-
|
1103
|
-
# Converts chained method calls on DOM proxy elements into JavaScript chains
|
1104
|
-
class JavaScriptProxy < ActiveSupport::BasicObject #:nodoc:
|
1105
|
-
|
1106
|
-
def initialize(generator, root = nil)
|
1107
|
-
@generator = generator
|
1108
|
-
@generator << root if root
|
1109
|
-
end
|
1110
|
-
|
1111
|
-
private
|
1112
|
-
def method_missing(method, *arguments, &block)
|
1113
|
-
if method.to_s =~ /(.*)=$/
|
1114
|
-
assign($1, arguments.first)
|
1115
|
-
else
|
1116
|
-
call("#{method.to_s.camelize(:lower)}", *arguments, &block)
|
1117
|
-
end
|
1118
|
-
end
|
1119
|
-
|
1120
|
-
def call(function, *arguments, &block)
|
1121
|
-
append_to_function_chain!("#{function}(#{@generator.send(:arguments_for_call, arguments, block)})")
|
1122
|
-
self
|
1123
|
-
end
|
1124
|
-
|
1125
|
-
def assign(variable, value)
|
1126
|
-
append_to_function_chain!("#{variable} = #{@generator.send(:javascript_object_for, value)}")
|
1127
|
-
end
|
1128
|
-
|
1129
|
-
def function_chain
|
1130
|
-
@function_chain ||= @generator.instance_variable_get(:@lines)
|
1131
|
-
end
|
1132
|
-
|
1133
|
-
def append_to_function_chain!(call)
|
1134
|
-
function_chain[-1].chomp!(';')
|
1135
|
-
function_chain[-1] += ".#{call};"
|
1136
|
-
end
|
1137
|
-
end
|
1138
|
-
|
1139
|
-
class JavaScriptElementProxy < JavaScriptProxy #:nodoc:
|
1140
|
-
def initialize(generator, id)
|
1141
|
-
@id = id
|
1142
|
-
super(generator, "$(#{id.to_json})")
|
1143
|
-
end
|
1144
|
-
|
1145
|
-
# Allows access of element attributes through +attribute+. Examples:
|
1146
|
-
#
|
1147
|
-
# page['foo']['style'] # => $('foo').style;
|
1148
|
-
# page['foo']['style']['color'] # => $('blank_slate').style.color;
|
1149
|
-
# page['foo']['style']['color'] = 'red' # => $('blank_slate').style.color = 'red';
|
1150
|
-
# page['foo']['style'].color = 'red' # => $('blank_slate').style.color = 'red';
|
1151
|
-
def [](attribute)
|
1152
|
-
append_to_function_chain!(attribute)
|
1153
|
-
self
|
1154
|
-
end
|
1155
|
-
|
1156
|
-
def []=(variable, value)
|
1157
|
-
assign(variable, value)
|
1158
|
-
end
|
1159
|
-
|
1160
|
-
def replace_html(*options_for_render)
|
1161
|
-
call 'update', @generator.send(:render, *options_for_render)
|
1162
|
-
end
|
1163
|
-
|
1164
|
-
def replace(*options_for_render)
|
1165
|
-
call 'replace', @generator.send(:render, *options_for_render)
|
1166
|
-
end
|
1167
|
-
|
1168
|
-
def reload(options_for_replace = {})
|
1169
|
-
replace(options_for_replace.merge({ :partial => @id.to_s }))
|
1170
|
-
end
|
1171
|
-
|
1172
|
-
end
|
1173
|
-
|
1174
|
-
class JavaScriptVariableProxy < JavaScriptProxy #:nodoc:
|
1175
|
-
def initialize(generator, variable)
|
1176
|
-
@variable = variable
|
1177
|
-
@empty = true # only record lines if we have to. gets rid of unnecessary linebreaks
|
1178
|
-
super(generator)
|
1179
|
-
end
|
1180
|
-
|
1181
|
-
# The JSON Encoder calls this to check for the +to_json+ method
|
1182
|
-
# Since it's a blank slate object, I suppose it responds to anything.
|
1183
|
-
def respond_to?(method)
|
1184
|
-
true
|
1185
|
-
end
|
1186
|
-
|
1187
|
-
def to_json(options = nil)
|
1188
|
-
@variable
|
1189
|
-
end
|
1190
|
-
|
1191
|
-
private
|
1192
|
-
def append_to_function_chain!(call)
|
1193
|
-
@generator << @variable if @empty
|
1194
|
-
@empty = false
|
1195
|
-
super
|
1196
|
-
end
|
1197
|
-
end
|
1198
|
-
|
1199
|
-
class JavaScriptCollectionProxy < JavaScriptProxy #:nodoc:
|
1200
|
-
ENUMERABLE_METHODS_WITH_RETURN = [:all, :any, :collect, :map, :detect, :find, :find_all, :select, :max, :min, :partition, :reject, :sort_by, :in_groups_of, :each_slice] unless defined? ENUMERABLE_METHODS_WITH_RETURN
|
1201
|
-
ENUMERABLE_METHODS = ENUMERABLE_METHODS_WITH_RETURN + [:each] unless defined? ENUMERABLE_METHODS
|
1202
|
-
attr_reader :generator
|
1203
|
-
delegate :arguments_for_call, :to => :generator
|
1204
|
-
|
1205
|
-
def initialize(generator, pattern)
|
1206
|
-
super(generator, @pattern = pattern)
|
1207
|
-
end
|
1208
|
-
|
1209
|
-
def each_slice(variable, number, &block)
|
1210
|
-
if block
|
1211
|
-
enumerate :eachSlice, :variable => variable, :method_args => [number], :yield_args => %w(value index), :return => true, &block
|
1212
|
-
else
|
1213
|
-
add_variable_assignment!(variable)
|
1214
|
-
append_enumerable_function!("eachSlice(#{number.to_json});")
|
1215
|
-
end
|
1216
|
-
end
|
1217
|
-
|
1218
|
-
def grep(variable, pattern, &block)
|
1219
|
-
enumerate :grep, :variable => variable, :return => true, :method_args => [pattern], :yield_args => %w(value index), &block
|
1220
|
-
end
|
1221
|
-
|
1222
|
-
def in_groups_of(variable, number, fill_with = nil)
|
1223
|
-
arguments = [number]
|
1224
|
-
arguments << fill_with unless fill_with.nil?
|
1225
|
-
add_variable_assignment!(variable)
|
1226
|
-
append_enumerable_function!("inGroupsOf(#{arguments_for_call arguments});")
|
1227
|
-
end
|
1228
|
-
|
1229
|
-
def inject(variable, memo, &block)
|
1230
|
-
enumerate :inject, :variable => variable, :method_args => [memo], :yield_args => %w(memo value index), :return => true, &block
|
1231
|
-
end
|
1232
|
-
|
1233
|
-
def pluck(variable, property)
|
1234
|
-
add_variable_assignment!(variable)
|
1235
|
-
append_enumerable_function!("pluck(#{property.to_json});")
|
1236
|
-
end
|
1237
|
-
|
1238
|
-
def zip(variable, *arguments, &block)
|
1239
|
-
add_variable_assignment!(variable)
|
1240
|
-
append_enumerable_function!("zip(#{arguments_for_call arguments}")
|
1241
|
-
if block
|
1242
|
-
function_chain[-1] += ", function(array) {"
|
1243
|
-
yield ::ActiveSupport::JSON::Variable.new('array')
|
1244
|
-
add_return_statement!
|
1245
|
-
@generator << '});'
|
1246
|
-
else
|
1247
|
-
function_chain[-1] += ');'
|
1248
|
-
end
|
1249
|
-
end
|
1250
|
-
|
1251
|
-
private
|
1252
|
-
def method_missing(method, *arguments, &block)
|
1253
|
-
if ENUMERABLE_METHODS.include?(method)
|
1254
|
-
returnable = ENUMERABLE_METHODS_WITH_RETURN.include?(method)
|
1255
|
-
variable = arguments.first if returnable
|
1256
|
-
enumerate(method, {:variable => (arguments.first if returnable), :return => returnable, :yield_args => %w(value index)}, &block)
|
1257
|
-
else
|
1258
|
-
super
|
1259
|
-
end
|
1260
|
-
end
|
1261
|
-
|
1262
|
-
# Options
|
1263
|
-
# * variable - name of the variable to set the result of the enumeration to
|
1264
|
-
# * method_args - array of the javascript enumeration method args that occur before the function
|
1265
|
-
# * yield_args - array of the javascript yield args
|
1266
|
-
# * return - true if the enumeration should return the last statement
|
1267
|
-
def enumerate(enumerable, options = {}, &block)
|
1268
|
-
options[:method_args] ||= []
|
1269
|
-
options[:yield_args] ||= []
|
1270
|
-
yield_args = options[:yield_args] * ', '
|
1271
|
-
method_args = arguments_for_call options[:method_args] # foo, bar, function
|
1272
|
-
method_args << ', ' unless method_args.blank?
|
1273
|
-
add_variable_assignment!(options[:variable]) if options[:variable]
|
1274
|
-
append_enumerable_function!("#{enumerable.to_s.camelize(:lower)}(#{method_args}function(#{yield_args}) {")
|
1275
|
-
# only yield as many params as were passed in the block
|
1276
|
-
yield(*options[:yield_args].collect { |p| JavaScriptVariableProxy.new(@generator, p) }[0..block.arity-1])
|
1277
|
-
add_return_statement! if options[:return]
|
1278
|
-
@generator << '});'
|
1279
|
-
end
|
1280
|
-
|
1281
|
-
def add_variable_assignment!(variable)
|
1282
|
-
function_chain.push("var #{variable} = #{function_chain.pop}")
|
1283
|
-
end
|
1284
|
-
|
1285
|
-
def add_return_statement!
|
1286
|
-
unless function_chain.last =~ /return/
|
1287
|
-
function_chain.push("return #{function_chain.pop.chomp(';')};")
|
1288
|
-
end
|
1289
|
-
end
|
1290
|
-
|
1291
|
-
def append_enumerable_function!(call)
|
1292
|
-
function_chain[-1].chomp!(';')
|
1293
|
-
function_chain[-1] += ".#{call}"
|
1294
|
-
end
|
1295
|
-
end
|
1296
|
-
|
1297
|
-
class JavaScriptElementCollectionProxy < JavaScriptCollectionProxy #:nodoc:\
|
1298
|
-
def initialize(generator, pattern)
|
1299
|
-
super(generator, "$$(#{pattern.to_json})")
|
1300
|
-
end
|
1301
|
-
end
|
1302
|
-
end
|
1303
|
-
end
|
1304
|
-
|
1305
|
-
require 'action_view/helpers/javascript_helper'
|