From 0d6e8edc2a47a4b4c6824936632bfb83850db343 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Sat, 4 May 2013 15:09:22 +0200 Subject: [PATCH] Move actionpack/lib/action_view* into actionview/lib --- actionpack/lib/action_view.rb | 93 ------------------- actionview/lib/action_view.rb | 73 ++++++++++++++- .../lib/action_view/base.rb | 0 .../lib/action_view/buffers.rb | 0 .../lib/action_view/context.rb | 0 .../lib/action_view/dependency_tracker.rb | 0 .../lib/action_view/digestor.rb | 0 .../lib/action_view/flows.rb | 0 .../lib/action_view/helpers.rb | 0 .../helpers/active_model_helper.rb | 0 .../action_view/helpers/asset_tag_helper.rb | 0 .../action_view/helpers/asset_url_helper.rb | 0 .../action_view/helpers/atom_feed_helper.rb | 0 .../lib/action_view/helpers/cache_helper.rb | 0 .../lib/action_view/helpers/capture_helper.rb | 0 .../action_view/helpers/controller_helper.rb | 0 .../lib/action_view/helpers/csrf_helper.rb | 0 .../lib/action_view/helpers/date_helper.rb | 0 .../lib/action_view/helpers/debug_helper.rb | 0 .../lib/action_view/helpers/form_helper.rb | 0 .../helpers/form_options_helper.rb | 0 .../action_view/helpers/form_tag_helper.rb | 0 .../action_view/helpers/javascript_helper.rb | 0 .../lib/action_view/helpers/number_helper.rb | 0 .../helpers/output_safety_helper.rb | 0 .../action_view/helpers/record_tag_helper.rb | 0 .../action_view/helpers/rendering_helper.rb | 0 .../action_view/helpers/sanitize_helper.rb | 0 .../lib/action_view/helpers/tag_helper.rb | 0 .../lib/action_view/helpers/tags.rb | 0 .../lib/action_view/helpers/tags/base.rb | 0 .../lib/action_view/helpers/tags/check_box.rb | 0 .../lib/action_view/helpers/tags/checkable.rb | 0 .../helpers/tags/collection_check_boxes.rb | 0 .../helpers/tags/collection_helpers.rb | 0 .../helpers/tags/collection_radio_buttons.rb | 0 .../helpers/tags/collection_select.rb | 0 .../action_view/helpers/tags/color_field.rb | 0 .../action_view/helpers/tags/date_field.rb | 0 .../action_view/helpers/tags/date_select.rb | 0 .../helpers/tags/datetime_field.rb | 0 .../helpers/tags/datetime_local_field.rb | 0 .../helpers/tags/datetime_select.rb | 0 .../action_view/helpers/tags/email_field.rb | 0 .../action_view/helpers/tags/file_field.rb | 0 .../helpers/tags/grouped_collection_select.rb | 0 .../action_view/helpers/tags/hidden_field.rb | 0 .../lib/action_view/helpers/tags/label.rb | 0 .../action_view/helpers/tags/month_field.rb | 0 .../action_view/helpers/tags/number_field.rb | 0 .../helpers/tags/password_field.rb | 0 .../action_view/helpers/tags/radio_button.rb | 0 .../action_view/helpers/tags/range_field.rb | 0 .../action_view/helpers/tags/search_field.rb | 0 .../lib/action_view/helpers/tags/select.rb | 0 .../lib/action_view/helpers/tags/tel_field.rb | 0 .../lib/action_view/helpers/tags/text_area.rb | 0 .../action_view/helpers/tags/text_field.rb | 0 .../action_view/helpers/tags/time_field.rb | 0 .../action_view/helpers/tags/time_select.rb | 0 .../helpers/tags/time_zone_select.rb | 0 .../lib/action_view/helpers/tags/url_field.rb | 0 .../action_view/helpers/tags/week_field.rb | 0 .../lib/action_view/helpers/text_helper.rb | 0 .../action_view/helpers/translation_helper.rb | 0 .../lib/action_view/helpers/url_helper.rb | 0 .../lib/action_view/locale/en.yml | 0 .../lib/action_view/log_subscriber.rb | 0 .../lib/action_view/lookup_context.rb | 0 .../lib/action_view/model_naming.rb | 0 .../lib/action_view/path_set.rb | 0 .../lib/action_view/railtie.rb | 0 .../lib/action_view/record_identifier.rb | 0 .../action_view/renderer/abstract_renderer.rb | 0 .../action_view/renderer/partial_renderer.rb | 0 .../lib/action_view/renderer/renderer.rb | 0 .../renderer/streaming_template_renderer.rb | 0 .../action_view/renderer/template_renderer.rb | 0 .../lib/action_view/routing_url_for.rb | 0 .../lib/action_view/template.rb | 0 .../lib/action_view/template/error.rb | 0 .../lib/action_view/template/handlers.rb | 0 .../action_view/template/handlers/builder.rb | 0 .../lib/action_view/template/handlers/erb.rb | 0 .../lib/action_view/template/handlers/raw.rb | 0 .../lib/action_view/template/resolver.rb | 0 .../lib/action_view/template/text.rb | 0 .../lib/action_view/template/types.rb | 0 .../lib/action_view/test_case.rb | 0 .../lib/action_view/testing/resolvers.rb | 0 .../lib/action_view/vendor/html-scanner.rb | 0 .../vendor/html-scanner/html/document.rb | 0 .../vendor/html-scanner/html/node.rb | 0 .../vendor/html-scanner/html/sanitizer.rb | 0 .../vendor/html-scanner/html/selector.rb | 0 .../vendor/html-scanner/html/tokenizer.rb | 0 .../vendor/html-scanner/html/version.rb | 0 97 files changed, 71 insertions(+), 95 deletions(-) delete mode 100644 actionpack/lib/action_view.rb rename {actionpack => actionview}/lib/action_view/base.rb (100%) rename {actionpack => actionview}/lib/action_view/buffers.rb (100%) rename {actionpack => actionview}/lib/action_view/context.rb (100%) rename {actionpack => actionview}/lib/action_view/dependency_tracker.rb (100%) rename {actionpack => actionview}/lib/action_view/digestor.rb (100%) rename {actionpack => actionview}/lib/action_view/flows.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/active_model_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/asset_tag_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/asset_url_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/atom_feed_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/cache_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/capture_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/controller_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/csrf_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/date_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/debug_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/form_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/form_options_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/form_tag_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/javascript_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/number_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/output_safety_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/record_tag_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/rendering_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/sanitize_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tag_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/base.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/check_box.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/checkable.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/collection_check_boxes.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/collection_helpers.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/collection_radio_buttons.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/collection_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/color_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/date_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/date_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/datetime_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/datetime_local_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/datetime_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/email_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/file_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/grouped_collection_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/hidden_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/label.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/month_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/number_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/password_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/radio_button.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/range_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/search_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/tel_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/text_area.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/text_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/time_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/time_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/time_zone_select.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/url_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/tags/week_field.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/text_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/translation_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/helpers/url_helper.rb (100%) rename {actionpack => actionview}/lib/action_view/locale/en.yml (100%) rename {actionpack => actionview}/lib/action_view/log_subscriber.rb (100%) rename {actionpack => actionview}/lib/action_view/lookup_context.rb (100%) rename {actionpack => actionview}/lib/action_view/model_naming.rb (100%) rename {actionpack => actionview}/lib/action_view/path_set.rb (100%) rename {actionpack => actionview}/lib/action_view/railtie.rb (100%) rename {actionpack => actionview}/lib/action_view/record_identifier.rb (100%) rename {actionpack => actionview}/lib/action_view/renderer/abstract_renderer.rb (100%) rename {actionpack => actionview}/lib/action_view/renderer/partial_renderer.rb (100%) rename {actionpack => actionview}/lib/action_view/renderer/renderer.rb (100%) rename {actionpack => actionview}/lib/action_view/renderer/streaming_template_renderer.rb (100%) rename {actionpack => actionview}/lib/action_view/renderer/template_renderer.rb (100%) rename {actionpack => actionview}/lib/action_view/routing_url_for.rb (100%) rename {actionpack => actionview}/lib/action_view/template.rb (100%) rename {actionpack => actionview}/lib/action_view/template/error.rb (100%) rename {actionpack => actionview}/lib/action_view/template/handlers.rb (100%) rename {actionpack => actionview}/lib/action_view/template/handlers/builder.rb (100%) rename {actionpack => actionview}/lib/action_view/template/handlers/erb.rb (100%) rename {actionpack => actionview}/lib/action_view/template/handlers/raw.rb (100%) rename {actionpack => actionview}/lib/action_view/template/resolver.rb (100%) rename {actionpack => actionview}/lib/action_view/template/text.rb (100%) rename {actionpack => actionview}/lib/action_view/template/types.rb (100%) rename {actionpack => actionview}/lib/action_view/test_case.rb (100%) rename {actionpack => actionview}/lib/action_view/testing/resolvers.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/document.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/node.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/sanitizer.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/selector.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/tokenizer.rb (100%) rename {actionpack => actionview}/lib/action_view/vendor/html-scanner/html/version.rb (100%) diff --git a/actionpack/lib/action_view.rb b/actionpack/lib/action_view.rb deleted file mode 100644 index 4aafbcb655..0000000000 --- a/actionpack/lib/action_view.rb +++ /dev/null @@ -1,93 +0,0 @@ -#-- -# Copyright (c) 2004-2013 David Heinemeier Hansson -# -# Permission is hereby granted, free of charge, to any person obtaining -# a copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, sublicense, and/or sell copies of the Software, and to -# permit persons to whom the Software is furnished to do so, subject to -# the following conditions: -# -# The above copyright notice and this permission notice shall be -# included in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -#++ - -require 'active_support' -require 'active_support/rails' -require 'action_pack' - -module ActionView - extend ActiveSupport::Autoload - - eager_autoload do - autoload :Base - autoload :Context - autoload :CompiledTemplates, "action_view/context" - autoload :Digestor - autoload :Helpers - autoload :LookupContext - autoload :PathSet - autoload :RecordIdentifier - autoload :RoutingUrlFor - autoload :Template - - autoload_under "renderer" do - autoload :Renderer - autoload :AbstractRenderer - autoload :PartialRenderer - autoload :TemplateRenderer - autoload :StreamingTemplateRenderer - end - - autoload_at "action_view/template/resolver" do - autoload :Resolver - autoload :PathResolver - autoload :FileSystemResolver - autoload :OptimizedFileSystemResolver - autoload :FallbackFileSystemResolver - end - - autoload_at "action_view/buffers" do - autoload :OutputBuffer - autoload :StreamingBuffer - end - - autoload_at "action_view/flows" do - autoload :OutputFlow - autoload :StreamingFlow - end - - autoload_at "action_view/template/error" do - autoload :MissingTemplate - autoload :ActionViewError - autoload :EncodingError - autoload :MissingRequestError - autoload :TemplateError - autoload :WrongEncodingError - end - end - - autoload :TestCase - - ENCODING_FLAG = '#.*coding[:=]\s*(\S+)[ \t]*' - - def self.eager_load! - super - ActionView::Template.eager_load! - end -end - -require 'active_support/core_ext/string/output_safety' - -ActiveSupport.on_load(:i18n) do - I18n.load_path << "#{File.dirname(__FILE__)}/action_view/locale/en.yml" -end diff --git a/actionview/lib/action_view.rb b/actionview/lib/action_view.rb index d6cdd61bbf..4aafbcb655 100644 --- a/actionview/lib/action_view.rb +++ b/actionview/lib/action_view.rb @@ -1,5 +1,5 @@ #-- -# Copyright (c) 2004-2012 David Heinemeier Hansson +# Copyright (c) 2004-2013 David Heinemeier Hansson # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the @@ -21,4 +21,73 @@ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #++ -require 'action_view/version' +require 'active_support' +require 'active_support/rails' +require 'action_pack' + +module ActionView + extend ActiveSupport::Autoload + + eager_autoload do + autoload :Base + autoload :Context + autoload :CompiledTemplates, "action_view/context" + autoload :Digestor + autoload :Helpers + autoload :LookupContext + autoload :PathSet + autoload :RecordIdentifier + autoload :RoutingUrlFor + autoload :Template + + autoload_under "renderer" do + autoload :Renderer + autoload :AbstractRenderer + autoload :PartialRenderer + autoload :TemplateRenderer + autoload :StreamingTemplateRenderer + end + + autoload_at "action_view/template/resolver" do + autoload :Resolver + autoload :PathResolver + autoload :FileSystemResolver + autoload :OptimizedFileSystemResolver + autoload :FallbackFileSystemResolver + end + + autoload_at "action_view/buffers" do + autoload :OutputBuffer + autoload :StreamingBuffer + end + + autoload_at "action_view/flows" do + autoload :OutputFlow + autoload :StreamingFlow + end + + autoload_at "action_view/template/error" do + autoload :MissingTemplate + autoload :ActionViewError + autoload :EncodingError + autoload :MissingRequestError + autoload :TemplateError + autoload :WrongEncodingError + end + end + + autoload :TestCase + + ENCODING_FLAG = '#.*coding[:=]\s*(\S+)[ \t]*' + + def self.eager_load! + super + ActionView::Template.eager_load! + end +end + +require 'active_support/core_ext/string/output_safety' + +ActiveSupport.on_load(:i18n) do + I18n.load_path << "#{File.dirname(__FILE__)}/action_view/locale/en.yml" +end diff --git a/actionpack/lib/action_view/base.rb b/actionview/lib/action_view/base.rb similarity index 100% rename from actionpack/lib/action_view/base.rb rename to actionview/lib/action_view/base.rb diff --git a/actionpack/lib/action_view/buffers.rb b/actionview/lib/action_view/buffers.rb similarity index 100% rename from actionpack/lib/action_view/buffers.rb rename to actionview/lib/action_view/buffers.rb diff --git a/actionpack/lib/action_view/context.rb b/actionview/lib/action_view/context.rb similarity index 100% rename from actionpack/lib/action_view/context.rb rename to actionview/lib/action_view/context.rb diff --git a/actionpack/lib/action_view/dependency_tracker.rb b/actionview/lib/action_view/dependency_tracker.rb similarity index 100% rename from actionpack/lib/action_view/dependency_tracker.rb rename to actionview/lib/action_view/dependency_tracker.rb diff --git a/actionpack/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb similarity index 100% rename from actionpack/lib/action_view/digestor.rb rename to actionview/lib/action_view/digestor.rb diff --git a/actionpack/lib/action_view/flows.rb b/actionview/lib/action_view/flows.rb similarity index 100% rename from actionpack/lib/action_view/flows.rb rename to actionview/lib/action_view/flows.rb diff --git a/actionpack/lib/action_view/helpers.rb b/actionview/lib/action_view/helpers.rb similarity index 100% rename from actionpack/lib/action_view/helpers.rb rename to actionview/lib/action_view/helpers.rb diff --git a/actionpack/lib/action_view/helpers/active_model_helper.rb b/actionview/lib/action_view/helpers/active_model_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/active_model_helper.rb rename to actionview/lib/action_view/helpers/active_model_helper.rb diff --git a/actionpack/lib/action_view/helpers/asset_tag_helper.rb b/actionview/lib/action_view/helpers/asset_tag_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/asset_tag_helper.rb rename to actionview/lib/action_view/helpers/asset_tag_helper.rb diff --git a/actionpack/lib/action_view/helpers/asset_url_helper.rb b/actionview/lib/action_view/helpers/asset_url_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/asset_url_helper.rb rename to actionview/lib/action_view/helpers/asset_url_helper.rb diff --git a/actionpack/lib/action_view/helpers/atom_feed_helper.rb b/actionview/lib/action_view/helpers/atom_feed_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/atom_feed_helper.rb rename to actionview/lib/action_view/helpers/atom_feed_helper.rb diff --git a/actionpack/lib/action_view/helpers/cache_helper.rb b/actionview/lib/action_view/helpers/cache_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/cache_helper.rb rename to actionview/lib/action_view/helpers/cache_helper.rb diff --git a/actionpack/lib/action_view/helpers/capture_helper.rb b/actionview/lib/action_view/helpers/capture_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/capture_helper.rb rename to actionview/lib/action_view/helpers/capture_helper.rb diff --git a/actionpack/lib/action_view/helpers/controller_helper.rb b/actionview/lib/action_view/helpers/controller_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/controller_helper.rb rename to actionview/lib/action_view/helpers/controller_helper.rb diff --git a/actionpack/lib/action_view/helpers/csrf_helper.rb b/actionview/lib/action_view/helpers/csrf_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/csrf_helper.rb rename to actionview/lib/action_view/helpers/csrf_helper.rb diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/date_helper.rb rename to actionview/lib/action_view/helpers/date_helper.rb diff --git a/actionpack/lib/action_view/helpers/debug_helper.rb b/actionview/lib/action_view/helpers/debug_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/debug_helper.rb rename to actionview/lib/action_view/helpers/debug_helper.rb diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/form_helper.rb rename to actionview/lib/action_view/helpers/form_helper.rb diff --git a/actionpack/lib/action_view/helpers/form_options_helper.rb b/actionview/lib/action_view/helpers/form_options_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/form_options_helper.rb rename to actionview/lib/action_view/helpers/form_options_helper.rb diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/form_tag_helper.rb rename to actionview/lib/action_view/helpers/form_tag_helper.rb diff --git a/actionpack/lib/action_view/helpers/javascript_helper.rb b/actionview/lib/action_view/helpers/javascript_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/javascript_helper.rb rename to actionview/lib/action_view/helpers/javascript_helper.rb diff --git a/actionpack/lib/action_view/helpers/number_helper.rb b/actionview/lib/action_view/helpers/number_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/number_helper.rb rename to actionview/lib/action_view/helpers/number_helper.rb diff --git a/actionpack/lib/action_view/helpers/output_safety_helper.rb b/actionview/lib/action_view/helpers/output_safety_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/output_safety_helper.rb rename to actionview/lib/action_view/helpers/output_safety_helper.rb diff --git a/actionpack/lib/action_view/helpers/record_tag_helper.rb b/actionview/lib/action_view/helpers/record_tag_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/record_tag_helper.rb rename to actionview/lib/action_view/helpers/record_tag_helper.rb diff --git a/actionpack/lib/action_view/helpers/rendering_helper.rb b/actionview/lib/action_view/helpers/rendering_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/rendering_helper.rb rename to actionview/lib/action_view/helpers/rendering_helper.rb diff --git a/actionpack/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/sanitize_helper.rb rename to actionview/lib/action_view/helpers/sanitize_helper.rb diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tag_helper.rb rename to actionview/lib/action_view/helpers/tag_helper.rb diff --git a/actionpack/lib/action_view/helpers/tags.rb b/actionview/lib/action_view/helpers/tags.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags.rb rename to actionview/lib/action_view/helpers/tags.rb diff --git a/actionpack/lib/action_view/helpers/tags/base.rb b/actionview/lib/action_view/helpers/tags/base.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/base.rb rename to actionview/lib/action_view/helpers/tags/base.rb diff --git a/actionpack/lib/action_view/helpers/tags/check_box.rb b/actionview/lib/action_view/helpers/tags/check_box.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/check_box.rb rename to actionview/lib/action_view/helpers/tags/check_box.rb diff --git a/actionpack/lib/action_view/helpers/tags/checkable.rb b/actionview/lib/action_view/helpers/tags/checkable.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/checkable.rb rename to actionview/lib/action_view/helpers/tags/checkable.rb diff --git a/actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb b/actionview/lib/action_view/helpers/tags/collection_check_boxes.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/collection_check_boxes.rb rename to actionview/lib/action_view/helpers/tags/collection_check_boxes.rb diff --git a/actionpack/lib/action_view/helpers/tags/collection_helpers.rb b/actionview/lib/action_view/helpers/tags/collection_helpers.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/collection_helpers.rb rename to actionview/lib/action_view/helpers/tags/collection_helpers.rb diff --git a/actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb b/actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/collection_radio_buttons.rb rename to actionview/lib/action_view/helpers/tags/collection_radio_buttons.rb diff --git a/actionpack/lib/action_view/helpers/tags/collection_select.rb b/actionview/lib/action_view/helpers/tags/collection_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/collection_select.rb rename to actionview/lib/action_view/helpers/tags/collection_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/color_field.rb b/actionview/lib/action_view/helpers/tags/color_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/color_field.rb rename to actionview/lib/action_view/helpers/tags/color_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/date_field.rb b/actionview/lib/action_view/helpers/tags/date_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/date_field.rb rename to actionview/lib/action_view/helpers/tags/date_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/date_select.rb b/actionview/lib/action_view/helpers/tags/date_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/date_select.rb rename to actionview/lib/action_view/helpers/tags/date_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/datetime_field.rb b/actionview/lib/action_view/helpers/tags/datetime_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/datetime_field.rb rename to actionview/lib/action_view/helpers/tags/datetime_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/datetime_local_field.rb b/actionview/lib/action_view/helpers/tags/datetime_local_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/datetime_local_field.rb rename to actionview/lib/action_view/helpers/tags/datetime_local_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/datetime_select.rb b/actionview/lib/action_view/helpers/tags/datetime_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/datetime_select.rb rename to actionview/lib/action_view/helpers/tags/datetime_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/email_field.rb b/actionview/lib/action_view/helpers/tags/email_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/email_field.rb rename to actionview/lib/action_view/helpers/tags/email_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/file_field.rb b/actionview/lib/action_view/helpers/tags/file_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/file_field.rb rename to actionview/lib/action_view/helpers/tags/file_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/grouped_collection_select.rb b/actionview/lib/action_view/helpers/tags/grouped_collection_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/grouped_collection_select.rb rename to actionview/lib/action_view/helpers/tags/grouped_collection_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/hidden_field.rb b/actionview/lib/action_view/helpers/tags/hidden_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/hidden_field.rb rename to actionview/lib/action_view/helpers/tags/hidden_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/label.rb b/actionview/lib/action_view/helpers/tags/label.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/label.rb rename to actionview/lib/action_view/helpers/tags/label.rb diff --git a/actionpack/lib/action_view/helpers/tags/month_field.rb b/actionview/lib/action_view/helpers/tags/month_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/month_field.rb rename to actionview/lib/action_view/helpers/tags/month_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/number_field.rb b/actionview/lib/action_view/helpers/tags/number_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/number_field.rb rename to actionview/lib/action_view/helpers/tags/number_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/password_field.rb b/actionview/lib/action_view/helpers/tags/password_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/password_field.rb rename to actionview/lib/action_view/helpers/tags/password_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/radio_button.rb b/actionview/lib/action_view/helpers/tags/radio_button.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/radio_button.rb rename to actionview/lib/action_view/helpers/tags/radio_button.rb diff --git a/actionpack/lib/action_view/helpers/tags/range_field.rb b/actionview/lib/action_view/helpers/tags/range_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/range_field.rb rename to actionview/lib/action_view/helpers/tags/range_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/search_field.rb b/actionview/lib/action_view/helpers/tags/search_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/search_field.rb rename to actionview/lib/action_view/helpers/tags/search_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/select.rb b/actionview/lib/action_view/helpers/tags/select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/select.rb rename to actionview/lib/action_view/helpers/tags/select.rb diff --git a/actionpack/lib/action_view/helpers/tags/tel_field.rb b/actionview/lib/action_view/helpers/tags/tel_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/tel_field.rb rename to actionview/lib/action_view/helpers/tags/tel_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/text_area.rb b/actionview/lib/action_view/helpers/tags/text_area.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/text_area.rb rename to actionview/lib/action_view/helpers/tags/text_area.rb diff --git a/actionpack/lib/action_view/helpers/tags/text_field.rb b/actionview/lib/action_view/helpers/tags/text_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/text_field.rb rename to actionview/lib/action_view/helpers/tags/text_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/time_field.rb b/actionview/lib/action_view/helpers/tags/time_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/time_field.rb rename to actionview/lib/action_view/helpers/tags/time_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/time_select.rb b/actionview/lib/action_view/helpers/tags/time_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/time_select.rb rename to actionview/lib/action_view/helpers/tags/time_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/time_zone_select.rb b/actionview/lib/action_view/helpers/tags/time_zone_select.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/time_zone_select.rb rename to actionview/lib/action_view/helpers/tags/time_zone_select.rb diff --git a/actionpack/lib/action_view/helpers/tags/url_field.rb b/actionview/lib/action_view/helpers/tags/url_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/url_field.rb rename to actionview/lib/action_view/helpers/tags/url_field.rb diff --git a/actionpack/lib/action_view/helpers/tags/week_field.rb b/actionview/lib/action_view/helpers/tags/week_field.rb similarity index 100% rename from actionpack/lib/action_view/helpers/tags/week_field.rb rename to actionview/lib/action_view/helpers/tags/week_field.rb diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/text_helper.rb rename to actionview/lib/action_view/helpers/text_helper.rb diff --git a/actionpack/lib/action_view/helpers/translation_helper.rb b/actionview/lib/action_view/helpers/translation_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/translation_helper.rb rename to actionview/lib/action_view/helpers/translation_helper.rb diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb similarity index 100% rename from actionpack/lib/action_view/helpers/url_helper.rb rename to actionview/lib/action_view/helpers/url_helper.rb diff --git a/actionpack/lib/action_view/locale/en.yml b/actionview/lib/action_view/locale/en.yml similarity index 100% rename from actionpack/lib/action_view/locale/en.yml rename to actionview/lib/action_view/locale/en.yml diff --git a/actionpack/lib/action_view/log_subscriber.rb b/actionview/lib/action_view/log_subscriber.rb similarity index 100% rename from actionpack/lib/action_view/log_subscriber.rb rename to actionview/lib/action_view/log_subscriber.rb diff --git a/actionpack/lib/action_view/lookup_context.rb b/actionview/lib/action_view/lookup_context.rb similarity index 100% rename from actionpack/lib/action_view/lookup_context.rb rename to actionview/lib/action_view/lookup_context.rb diff --git a/actionpack/lib/action_view/model_naming.rb b/actionview/lib/action_view/model_naming.rb similarity index 100% rename from actionpack/lib/action_view/model_naming.rb rename to actionview/lib/action_view/model_naming.rb diff --git a/actionpack/lib/action_view/path_set.rb b/actionview/lib/action_view/path_set.rb similarity index 100% rename from actionpack/lib/action_view/path_set.rb rename to actionview/lib/action_view/path_set.rb diff --git a/actionpack/lib/action_view/railtie.rb b/actionview/lib/action_view/railtie.rb similarity index 100% rename from actionpack/lib/action_view/railtie.rb rename to actionview/lib/action_view/railtie.rb diff --git a/actionpack/lib/action_view/record_identifier.rb b/actionview/lib/action_view/record_identifier.rb similarity index 100% rename from actionpack/lib/action_view/record_identifier.rb rename to actionview/lib/action_view/record_identifier.rb diff --git a/actionpack/lib/action_view/renderer/abstract_renderer.rb b/actionview/lib/action_view/renderer/abstract_renderer.rb similarity index 100% rename from actionpack/lib/action_view/renderer/abstract_renderer.rb rename to actionview/lib/action_view/renderer/abstract_renderer.rb diff --git a/actionpack/lib/action_view/renderer/partial_renderer.rb b/actionview/lib/action_view/renderer/partial_renderer.rb similarity index 100% rename from actionpack/lib/action_view/renderer/partial_renderer.rb rename to actionview/lib/action_view/renderer/partial_renderer.rb diff --git a/actionpack/lib/action_view/renderer/renderer.rb b/actionview/lib/action_view/renderer/renderer.rb similarity index 100% rename from actionpack/lib/action_view/renderer/renderer.rb rename to actionview/lib/action_view/renderer/renderer.rb diff --git a/actionpack/lib/action_view/renderer/streaming_template_renderer.rb b/actionview/lib/action_view/renderer/streaming_template_renderer.rb similarity index 100% rename from actionpack/lib/action_view/renderer/streaming_template_renderer.rb rename to actionview/lib/action_view/renderer/streaming_template_renderer.rb diff --git a/actionpack/lib/action_view/renderer/template_renderer.rb b/actionview/lib/action_view/renderer/template_renderer.rb similarity index 100% rename from actionpack/lib/action_view/renderer/template_renderer.rb rename to actionview/lib/action_view/renderer/template_renderer.rb diff --git a/actionpack/lib/action_view/routing_url_for.rb b/actionview/lib/action_view/routing_url_for.rb similarity index 100% rename from actionpack/lib/action_view/routing_url_for.rb rename to actionview/lib/action_view/routing_url_for.rb diff --git a/actionpack/lib/action_view/template.rb b/actionview/lib/action_view/template.rb similarity index 100% rename from actionpack/lib/action_view/template.rb rename to actionview/lib/action_view/template.rb diff --git a/actionpack/lib/action_view/template/error.rb b/actionview/lib/action_view/template/error.rb similarity index 100% rename from actionpack/lib/action_view/template/error.rb rename to actionview/lib/action_view/template/error.rb diff --git a/actionpack/lib/action_view/template/handlers.rb b/actionview/lib/action_view/template/handlers.rb similarity index 100% rename from actionpack/lib/action_view/template/handlers.rb rename to actionview/lib/action_view/template/handlers.rb diff --git a/actionpack/lib/action_view/template/handlers/builder.rb b/actionview/lib/action_view/template/handlers/builder.rb similarity index 100% rename from actionpack/lib/action_view/template/handlers/builder.rb rename to actionview/lib/action_view/template/handlers/builder.rb diff --git a/actionpack/lib/action_view/template/handlers/erb.rb b/actionview/lib/action_view/template/handlers/erb.rb similarity index 100% rename from actionpack/lib/action_view/template/handlers/erb.rb rename to actionview/lib/action_view/template/handlers/erb.rb diff --git a/actionpack/lib/action_view/template/handlers/raw.rb b/actionview/lib/action_view/template/handlers/raw.rb similarity index 100% rename from actionpack/lib/action_view/template/handlers/raw.rb rename to actionview/lib/action_view/template/handlers/raw.rb diff --git a/actionpack/lib/action_view/template/resolver.rb b/actionview/lib/action_view/template/resolver.rb similarity index 100% rename from actionpack/lib/action_view/template/resolver.rb rename to actionview/lib/action_view/template/resolver.rb diff --git a/actionpack/lib/action_view/template/text.rb b/actionview/lib/action_view/template/text.rb similarity index 100% rename from actionpack/lib/action_view/template/text.rb rename to actionview/lib/action_view/template/text.rb diff --git a/actionpack/lib/action_view/template/types.rb b/actionview/lib/action_view/template/types.rb similarity index 100% rename from actionpack/lib/action_view/template/types.rb rename to actionview/lib/action_view/template/types.rb diff --git a/actionpack/lib/action_view/test_case.rb b/actionview/lib/action_view/test_case.rb similarity index 100% rename from actionpack/lib/action_view/test_case.rb rename to actionview/lib/action_view/test_case.rb diff --git a/actionpack/lib/action_view/testing/resolvers.rb b/actionview/lib/action_view/testing/resolvers.rb similarity index 100% rename from actionpack/lib/action_view/testing/resolvers.rb rename to actionview/lib/action_view/testing/resolvers.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner.rb b/actionview/lib/action_view/vendor/html-scanner.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner.rb rename to actionview/lib/action_view/vendor/html-scanner.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/document.rb b/actionview/lib/action_view/vendor/html-scanner/html/document.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/document.rb rename to actionview/lib/action_view/vendor/html-scanner/html/document.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/node.rb b/actionview/lib/action_view/vendor/html-scanner/html/node.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/node.rb rename to actionview/lib/action_view/vendor/html-scanner/html/node.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/sanitizer.rb b/actionview/lib/action_view/vendor/html-scanner/html/sanitizer.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/sanitizer.rb rename to actionview/lib/action_view/vendor/html-scanner/html/sanitizer.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/selector.rb b/actionview/lib/action_view/vendor/html-scanner/html/selector.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/selector.rb rename to actionview/lib/action_view/vendor/html-scanner/html/selector.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/tokenizer.rb b/actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/tokenizer.rb rename to actionview/lib/action_view/vendor/html-scanner/html/tokenizer.rb diff --git a/actionpack/lib/action_view/vendor/html-scanner/html/version.rb b/actionview/lib/action_view/vendor/html-scanner/html/version.rb similarity index 100% rename from actionpack/lib/action_view/vendor/html-scanner/html/version.rb rename to actionview/lib/action_view/vendor/html-scanner/html/version.rb