[kune-commits] r1004 - in trunk: . src/main/java/org/ourproject/kune/app/server src/main/rails/publicspace/app/controllers src/main/rails/publicspace/app/helpers src/main/rails/publicspace/app/models src/main/rails/publicspace/app/views src/main/rails/publicspace/app/views/documents src/main/rails/publicspace/app/views/layouts src/main/rails/publicspace/config src/main/rails/publicspace/db src/main/rails/publicspace/db/migrate src/main/rails/publicspace/public src/main/rails/publicspace/test/fixtures src/main/rails/publicspace/test/functional src/main/rails/publicspace/test/unit src/main/webapp/WEB-INF src/main/webapp/WEB-INF/gems src/main/webapp/WEB-INF/gems/bin src/main/webapp/WEB-INF/gems/cache src/main/webapp/WEB-INF/gems/gems src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2 src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3 src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3 src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2 src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_pack src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/locale src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/activerecord src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/admin src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/deprecation src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/addresses src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/bad_customers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/customers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/db_definitions src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/games src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/serious src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/serious/games src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/good_customers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/fun src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/alt src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/controller_name_space src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/views src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/mascots src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override/test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2 src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/layouts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/layouts/test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/layouts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/post src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/super_post src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/projects src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/images src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/subdir src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/subdir src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/replies src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/layouts src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/scope src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/scope/test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/symlink_parent src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/dot.directory src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/topics src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/examples src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locale src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locking src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/serializers src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/assets src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_db2 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_firebird src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_frontbase src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_mysql src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_openbase src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_oracle src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_postgresql src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite3 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sybase src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/all src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories/subsubdir src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/csv src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/yml src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/broken src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/decimal src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate_names src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_1 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_2 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_3 src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/valid src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9 src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connection_adapters src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connections src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connections/native_jdbc_mysql src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jdbc_adapter src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9 src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/active_record src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/active_record/connection_adapters src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2 src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/formats src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/base64 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/cgi src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date_time src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/file src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/float src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/pathname src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/process src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/locale src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test/unit src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/values src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12 src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/xml-simple-1.0.11 src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4 src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib/jdbc src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3 src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/jopenssl src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/fixture src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref src/main/webapp/WEB-INF/gems/gems/rails-2.2.2 src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/performance src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/process src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/initializers src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/locales src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/dispatches src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/stylesheets src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/images src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/ncgi src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/performance src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/mongrel_server src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/plugin src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/rack src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications/app src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/templates src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks src/main/webapp/WEB-INF/gems/gems/rake-0.8.3 src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/bin src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/loaders src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/contrib src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/chains src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/default src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/dryrun src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/file_creation_task src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/imports src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/multidesc src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/namespace src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rakelib src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rbext src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/statusreturn src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/unittest src/main/webapp/WEB-INF/gems/specifications

dani matas danigb at ourproject.org
Sat Dec 20 22:32:19 CET 2008


Author: danigb
Date: 2008-12-20 22:22:52 +0100 (Sat, 20 Dec 2008)
New Revision: 1004

Added:
   trunk/src/main/rails/publicspace/app/controllers/documents_controller.rb
   trunk/src/main/rails/publicspace/app/helpers/documents_helper.rb
   trunk/src/main/rails/publicspace/app/models/content.rb
   trunk/src/main/rails/publicspace/app/models/revision.rb
   trunk/src/main/rails/publicspace/app/views/documents/
   trunk/src/main/rails/publicspace/app/views/documents/index.html.erb
   trunk/src/main/rails/publicspace/app/views/layouts/documents.html.erb
   trunk/src/main/rails/publicspace/db/migrate/
   trunk/src/main/rails/publicspace/db/migrate/20081220204215_create_revisions.rb
   trunk/src/main/rails/publicspace/db/migrate/20081220204222_create_contents.rb
   trunk/src/main/rails/publicspace/db/schema.rb
   trunk/src/main/rails/publicspace/test/fixtures/contents.yml
   trunk/src/main/rails/publicspace/test/fixtures/revisions.yml
   trunk/src/main/rails/publicspace/test/functional/documents_controller_test.rb
   trunk/src/main/rails/publicspace/test/unit/content_test.rb
   trunk/src/main/rails/publicspace/test/unit/revision_test.rb
   trunk/src/main/webapp/WEB-INF/gems/
   trunk/src/main/webapp/WEB-INF/gems/bin/
   trunk/src/main/webapp/WEB-INF/gems/bin/rails
   trunk/src/main/webapp/WEB-INF/gems/bin/rake
   trunk/src/main/webapp/WEB-INF/gems/cache/
   trunk/src/main/webapp/WEB-INF/gems/cache/actionmailer-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/actionpack-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbc-adapter-0.9.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbcmysql-adapter-0.9.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/activeresource-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/activesupport-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/jdbc-mysql-5.0.4.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/jruby-openssl-0.3.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/rails-2.2.2.gem
   trunk/src/main/webapp/WEB-INF/gems/cache/rake-0.8.3.gem
   trunk/src/main/webapp/WEB-INF/gems/doc/
   trunk/src/main/webapp/WEB-INF/gems/gems/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/MIT-LICENSE
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/install.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/adv_attr_accessor.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/helpers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/mail_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part_container.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/quoting.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_case.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/utils.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/actionmailer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/abstract_unit.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/delivery_method_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer/hello.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/logout.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/signup.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer/share.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_example_helper.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper_method.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_mail_helper.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers/example_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/auto_layout_mailer.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/spam.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email10
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email12
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email13
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email2
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email3
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email4
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email5
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email6
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email7
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email8
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email9
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_quoted_with_0d0a
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_invalid_characters_in_content_type
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_nested_attachment
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_partially_quoted_subject
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer/share.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates/signed_up.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/_subtemplate.text.plain.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/body_ivar.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.html.haml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/included_subtemplate.text.plain.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.rxml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up_with_url.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_layout_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_render_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_service_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/quoting_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/test_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/tmail_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/url_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/MIT-LICENSE
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/RUNNING_UNIT_TESTS
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/install.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/dom_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/model_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/response_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/routing_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/selector_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/assertions/tag_assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/benchmarking.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/actions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/fragments.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/pages.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/sql_cache.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/caching/sweeping.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/cookie.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/query_extension.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/session.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_ext/stdinput.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cgi_process.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/components.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/cookies.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/filters.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/flash.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/headers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/helpers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/http_authentication.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/integration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/layout.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/mime_responds.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/mime_type.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/mime_types.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/performance_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/polymorphic_routes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/rack_process.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/record_identifier.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/request.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/request_forgery_protection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/request_profiler.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/rescue.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/resources.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/response.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/builder.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/optimisations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/route.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/routing_ext.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/routing/segments.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/active_record_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/cookie_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/drb_server.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/drb_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session/mem_cache_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/session_management.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/status_codes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/streaming.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/_request_and_response.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/_trace.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/diagnostics.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/missing_template.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/routing_error.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/template_error.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/templates/rescues/unknown_action.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/test_case.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/test_process.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/translation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/url_rewriter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/document.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/node.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/selector.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/tokenizer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/vendor/html-scanner/html/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_controller/verification.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_pack.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_pack/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_pack/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/active_record_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/asset_tag_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/atom_feed_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/benchmark_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/cache_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/capture_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/date_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/debug_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/form_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/form_options_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/form_tag_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/javascript_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/number_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/prototype_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/record_identification_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/record_tag_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/sanitize_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/scriptaculous_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/tag_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/text_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/translation_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/helpers/url_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/inline_template.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/locale/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/locale/en.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/partials.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/paths.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/renderable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/renderable_partial.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_error.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handler.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers/builder.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers/erb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/template_handlers/rjs.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/action_view/test_case.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/lib/actionpack.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/abstract_unit.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/active_record_unit.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/activerecord/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/activerecord/active_record_store_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/activerecord/render_partial_with_record_identification_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/adv_attr_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/action_pack_assertions_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/addresses_render_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/assert_select_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/base_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/benchmark_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/caching_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/capture_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/cgi_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/components_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/content_type_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/admin/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/app/controllers/user_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/cookie_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/deprecation/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/deprecation/deprecated_base_methods_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/dispatcher_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/fake_controllers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/fake_models.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/filter_params_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/filters_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/flash_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/header_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/cdata_node_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/document_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/node_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/sanitizer_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/tag_node_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/text_node_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/html-scanner/tokenizer_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/http_authentication_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/integration_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/integration_upload_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/layout_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/logging_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/mime_responds_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/mime_type_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/polymorphic_routes_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/rack_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/record_identifier_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/redirect_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/render_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/request_forgery_protection_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/request_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/rescue_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/resources_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/routing_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/selector_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/send_file_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session/cookie_store_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session/mem_cache_store_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session_fixation_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/session_management_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/test_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/translation_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/url_rewriter_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/verification_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/view_paths_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/controller/webservice_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/_top_level_partial.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/_top_level_partial_only.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/addresses/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/addresses/list.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/bad_customers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/bad_customers/_bad_customer.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/companies.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/company.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type/render_default_for_rhtml.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type/render_default_for_rjs.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/content_type/render_default_for_rxml.rxml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/customers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/customers/_customer.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/db_definitions/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/db_definitions/sqlite.sql
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developers/_developer.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/developers_projects.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/games/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/games/_game.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/games/hello_world.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/serious/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/serious/games/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/fun/serious/games/_game.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/_partial.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/formatted_fragment_cached.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/formatted_fragment_cached.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/formatted_fragment_cached.xml.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/fragment_cached.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/html_fragment_cached_with_partial.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/inline_fragment_cached.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/functional_caching/js_fragment_cached_with_partial.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/good_customers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/good_customers/_good_customer.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/abc_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/fun/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/fun/games_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/helpers/fun/pdf_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/alt/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/alt/hello.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/controller_name_space/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/item.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/layout_test.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/layouts/third_party_template_library.mab
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/views/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layout_tests/views/hello.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/_column.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/block_with_layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/builder.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/partial_with_layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/standard.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/talk_from_action.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/layouts/yield.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/mascot.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/mascots.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/mascots/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/mascots/_mascot.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/binary_file
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/boundary_problem_file
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/bracketed_param
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/large_text_file
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/mixed_files
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/mona_lisa.jpg
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/single_parameter
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/multipart/text_file
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override/test/hello_world.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/layouts/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/override2/layouts/test/sub.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/layouts/post.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/layouts/super_post.iphone.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/post/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/post/index.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/post/index.iphone.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/super_post/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/super_post/index.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/post_test/super_post/index.iphone.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/project.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/projects.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/projects/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/projects/_project.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/404.html
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/500.html
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/images/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/images/rails.png
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/application.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/bank.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/controls.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/dragdrop.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/effects.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/prototype.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/robber.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/subdir/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/subdir/subdir.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/javascripts/version.1.0.js
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/bank.css
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/robber.css
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/subdir/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/subdir/subdir.css
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/public/stylesheets/version.1.0.css
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/replies.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/replies/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/replies/_reply.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/reply.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/all_types_with_layout.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/all_types_with_layout.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/custom_constant_handling_without_block.mobile.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/iphone_with_html_response_type.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/iphone_with_html_response_type.iphone.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/layouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/layouts/missing.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/layouts/standard.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/layouts/standard.iphone.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults.xml.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults_with_type_list.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/scope/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/scope/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/scope/test/modgreet.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/shared.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/symlink_parent/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/symlink_parent/symlinked_layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_counter.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_customer.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_customer_counter.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_customer_greeting.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_customer_with_var.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_form.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_hash_greeting.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_hash_object.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_hello.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_labelling_form.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_layout_for_block_with_args.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_layout_for_partial.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_local_inspector.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial.js.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial_for_use_in_layout.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial_only.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_partial_with_only_html_version.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_person.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/_raise.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/action_talk_to_layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/calling_partial_with_layout.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/capturing.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/content_for.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/content_for_concatenated.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/content_for_with_parameter.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/delete_with_js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/dot.directory/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/dot.directory/render_file_with_ivar.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/enum_rjs_test.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/formatted_html_erb.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/formatted_xml_erb.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/formatted_xml_erb.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/formatted_xml_erb.xml.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/greeting.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/greeting.js.rjs
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello_world.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello_world_container.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello_world_from_rxml.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello_world_with_layout_false.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hello_xml_world.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/hyphen-ated.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/implicit_content_type.atom.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/list.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/nested_layout.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/non_erb_block_content_for.builder
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/potential_conflicts.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/render_file_from_template.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/render_file_with_ivar.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/render_file_with_locals.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/render_to_string_test.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/sub_template_raise.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/template.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/update_element_with_capture.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/using_layout_around_block.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/test/using_layout_around_block_with_args.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/topic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/topics.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/topics/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/fixtures/topics/_topic.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/active_record_helper_i18n_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/active_record_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/asset_tag_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/atom_feed_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/benchmark_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/compiled_templates_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/date_helper_i18n_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/date_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/erb_util_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/form_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/form_options_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/form_tag_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/javascript_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/number_helper_i18n_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/number_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/prototype_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/record_tag_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/render_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/sanitize_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/scriptaculous_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/tag_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/test_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/text_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/translation_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/template/url_helper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/test/testing_sandbox.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/RUNNING_UNIT_TESTS
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/examples/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/examples/associations.png
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/install.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/aggregations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/association_preload.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/association_collection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/association_proxy.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/belongs_to_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/belongs_to_polymorphic_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/has_and_belongs_to_many_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/has_many_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/has_many_through_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/has_one_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/associations/has_one_through_association.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/attribute_methods.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/calculations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/callbacks.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/database_statements.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/query_cache.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/quoting.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_definitions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/schema_statements.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/mysql_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/postgresql_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite3_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/connection_adapters/sqlite_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/dirty.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/dynamic_finder_match.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/fixtures.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/i18n_interpolation_deprecation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locale/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locale/en.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locking/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locking/optimistic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/locking/pessimistic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/migration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/named_scope.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/observer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/query_cache.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/reflection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/schema.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/schema_dumper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/serialization.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/serializers/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/serializers/json_serializer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/serializers/xml_serializer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/test_case.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/timestamp.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/transactions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/validations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/active_record/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/lib/activerecord.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/assets/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/assets/flowers.jpg
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/aaa_create_tables_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/active_schema_test_mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/active_schema_test_postgresql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/adapter_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/aggregations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/ar_schema_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/belongs_to_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/callbacks_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/cascaded_eager_loading_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/eager_load_includes_full_sti_class_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/eager_load_nested_include_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/eager_singularization_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/eager_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/extension_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/has_and_belongs_to_many_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/has_many_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/has_many_through_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/has_one_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/has_one_through_associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/inner_join_association_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations/join_model_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/associations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/attribute_methods_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/base_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/binary_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/calculations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/callbacks_observers_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/callbacks_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/class_inheritable_attributes_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/column_alias_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/column_definition_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/connection_test_firebird.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/connection_test_mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/copy_table_test_sqlite.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/database_statements_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/datatype_test_postgresql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/date_time_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/default_test_firebird.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/defaults_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/deprecated_finder_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/dirty_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/finder_respond_to_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/finder_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/fixtures_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/i18n_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/inheritance_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/invalid_date_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/json_serialization_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/lifecycle_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/locking_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/method_scoping_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/migration_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/migration_test_firebird.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/mixin_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/modules_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/multiple_db_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/named_scope_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/pk_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/pooled_connections_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/query_cache_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/readonly_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/reflection_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/reload_models_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/reserved_word_test_mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/sanitize_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/schema_authorization_test_postgresql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/schema_dumper_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/schema_test_postgresql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/serialization_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/synonym_test_oracle.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/transactions_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/unconnected_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/validations_i18n_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/validations_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/cases/xml_serialization_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/config.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_db2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_db2/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_firebird/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_firebird/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_frontbase/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_frontbase/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_mysql/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_mysql/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_openbase/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_openbase/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_oracle/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_oracle/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_postgresql/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_postgresql/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite3/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite3/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sqlite3/in_memory_connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sybase/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/connections/native_sybase/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/accounts.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/all/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/all/developers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/all/people.csv
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/all/tasks.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/author_addresses.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/author_favorites.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/authors.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/binaries.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/books.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories/special_categories.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories/subsubdir/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories/subsubdir/arbitrary_filename.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories_ordered.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categories_posts.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/categorizations.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/clubs.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/comments.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/companies.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/computers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/courses.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/customers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/developers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/developers_projects.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/edges.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/entrants.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/fixture_database.sqlite3
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/fixture_database_2.sqlite3
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/fk_test_has_fk.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/fk_test_has_pk.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/funny_jokes.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/items.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/jobs.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/legacy_things.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/mateys.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/members.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/memberships.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/minimalistics.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/mixed_case_monkeys.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/mixins.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/movies.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/csv/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/csv/accounts.csv
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/yml/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/yml/accounts.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/yml/companies.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/naked/yml/courses.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/organizations.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/owners.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/parrots.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/parrots_pirates.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/people.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/pets.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/pirates.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/posts.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/price_estimates.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/projects.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/readers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/references.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/distinct.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/distincts_selects.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/group.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/select.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/reserved_words/values.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/ships.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/sponsors.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/subscribers.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/subscriptions.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/taggings.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/tags.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/tasks.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/topics.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/treasures.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/vertices.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/fixtures/warehouse-things.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/broken/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/broken/100_migration_that_raises_exception.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/decimal/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/decimal/1_give_me_big_numbers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate/1_people_have_last_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate/2_we_need_reminders.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate/3_foo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate/3_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate_names/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate_names/20080507052938_chunky.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/duplicate_names/20080507053028_chunky.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_1/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_1/3_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_2/1_people_have_last_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_2/3_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_3/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_3/1_people_have_last_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_3/2_i_raise_on_down.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/interleaved/pass_3/3_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing/1000_people_have_middle_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing/1_people_have_last_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing/3_we_need_reminders.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/missing/4_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/valid/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/valid/1_people_have_last_names.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/valid/2_we_need_reminders.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/migrations/valid/3_innocent_jointable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/author.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/auto_id.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/binary.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/book.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/categorization.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/category.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/citation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/club.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/column_name.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/comment.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/company.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/company_in_module.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/computer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/contact.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/course.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/customer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/default.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/developer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/edge.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/entrant.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/guid.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/item.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/job.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/joke.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/keyboard.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/legacy_thing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/matey.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/member.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/member_detail.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/membership.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/minimalistic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/mixed_case_monkey.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/movie.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/order.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/organization.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/owner.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/parrot.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/person.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/pet.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/pirate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/post.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/price_estimate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/project.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/reader.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/reference.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/reply.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/ship.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/sponsor.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/subject.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/subscriber.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/subscription.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/tag.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/tagging.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/task.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/topic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/treasure.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/vertex.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/models/warehouse_thing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/mysql_specific_schema.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/postgresql_specific_schema.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/schema.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/schema2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-2.2.2/test/schema/sqlite_specific_schema.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/History.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/LICENSE.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/Manifest.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/README.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/cachedb_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/derby_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/h2_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/hsqldb_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/informix_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jdbc_adapter_spec.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/jndi_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/mysql_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/oracle_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/postgresql_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/active_record/connection_adapters/sqlite3_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_adapter_internal.jar
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_cachedb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_db2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_derby.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_firebird.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_hsqldb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_informix.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mimer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mssql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_oracle.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_postgre.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_sqlite3.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/jdbc_sybase.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/missing_functionality_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/rake_tasks.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/tsql_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/lib/jdbc_adapter/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/JdbcAdapterInternalService.java
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/JdbcConnectionFactory.java
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/JdbcDerbySpec.java
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/JdbcMySQLSpec.java
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/src/java/jdbc_adapter/SQLBlock.java
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connection_adapters/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connection_adapters/type_conversion_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connections/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connections/native_jdbc_mysql/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/activerecord/connections/native_jdbc_mysql/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/cachedb_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/cachedb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/db2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/derby.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/h2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/hsqldb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/informix.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/jdbc.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/jndi_config.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/logger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/mssql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/oracle.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/postgres.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db/sqlite3.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/db2_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/derby_multibyte_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/derby_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/generic_jdbc_connection_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/h2_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/has_many_through.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/hsqldb_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/informix_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jdbc_adapter/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jdbc_adapter/jdbc_db2_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jdbc_adapter/jdbc_sybase_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jdbc_common.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jndi_callbacks_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/jndi_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/manualTestDatabase.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testConnect.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testH2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testHsqldb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testLoadActiveRecord.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testMysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/minirunit/testRawSelect.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/add_not_null_column_to_table.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/auto_id.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/data_types.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/entry.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/models/reserved_word.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/mssql_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/mysql_multibyte_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/mysql_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/oracle_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/postgres_reserved_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/postgres_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/simple.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbc-adapter-0.9/test/sqlite3_simple_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/LICENSE.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/Manifest.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/README.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/active_record/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/active_record/connection_adapters/
   trunk/src/main/webapp/WEB-INF/gems/gems/activerecord-jdbcmysql-adapter-0.9/lib/active_record/connection_adapters/jdbcmysql_adapter.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/connection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/custom_methods.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/formats.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/formats/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/formats/json_format.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/formats/xml_format.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/http_mock.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/validations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/active_resource/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/lib/activeresource.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/abstract_unit.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/authorization_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base/custom_methods_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base/equality_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base/load_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base_errors_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/base_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/connection_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures/
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures/beast.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures/customer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures/person.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/fixtures/street_address.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/format_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activeresource-2.2.2/test/setter_trap.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/base64.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/basic_object.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/buffered_logger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/compressed_mem_cache_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/drb_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/file_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/mem_cache_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/memory_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/cache/synchronized_memory_store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/callbacks.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/access.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/extract_options.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/grouping.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/array/random_access.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/base64.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/base64/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/base64/encoding.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/benchmark.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/bigdecimal/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/blank.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/cgi.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/cgi/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class/attribute_accessors.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class/delegating_attributes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class/inheritable_attributes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/class/removal.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date/behavior.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date/calculations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date_time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date_time/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date_time/calculations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/date_time/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/duplicable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/enumerable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/exception.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/file.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/file/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/file/atomic.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/float.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/float/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/float/rounding.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/float/time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/deep_merge.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/diff.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/except.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/indifferent_access.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/keys.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/reverse_merge.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/hash/slice.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer/even_odd.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer/inflections.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/integer/time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/agnostics.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/daemonizing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/debugger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/reporting.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/kernel/requires.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/load_error.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/logger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/aliasing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/attr_accessor_with_default.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/attr_internal.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/attribute_accessors.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/delegation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/inclusion.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/introspection.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/loading.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/model_naming.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/module/synchronization.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/name_error.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric/bytes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/numeric/time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/extending.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/instance_variables.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/metaclass.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/object/misc.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/pathname.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/pathname/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/pathname/clean_within.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/proc.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/process.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/process/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/process/daemon.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range/blockless_step.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range/include_range.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/range/overlaps.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/rexml.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/access.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/behavior.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/filters.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/inflections.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/iterators.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/multibyte.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/starts_ends_with.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/string/xchar.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/symbol.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time/behavior.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time/calculations.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time/conversions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/core_ext/time/zones.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/dependencies.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/deprecation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/duration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/gzip.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/inflections.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/inflector.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/decoding.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/date.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/date_time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/enumerable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/false_class.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/hash.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/nil_class.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/numeric.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/object.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/regexp.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/string.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/symbol.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/time.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoders/true_class.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/encoding.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/json/variable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/locale/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/locale/en.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/memoizable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte/chars.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte/exceptions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/multibyte/unicode_database.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/option_merger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/ordered_hash.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/ordered_options.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/rescuable.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/secure_random.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/string_inquirer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/test_case.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test/unit/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/core_ext/test/unit/assertions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/default.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/performance.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/testing/setup_and_teardown.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/time_with_zone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/values/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/values/time_zone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/values/unicode_tables.dat
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/blankslate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/css.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xchar.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlbase.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlevents.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/builder-2.1.2/builder/xmlmarkup.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/backend/simple.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/i18n-0.0.1/i18n/exceptions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1/memcache.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/data_timezone_info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Algiers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Cairo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Casablanca.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Harare.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Johannesburg.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Monrovia.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Africa/Nairobi.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/Buenos_Aires.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Argentina/San_Juan.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Bogota.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Caracas.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chicago.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Chihuahua.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Denver.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Godthab.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Guatemala.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Halifax.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Indiana/Indianapolis.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Juneau.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/La_Paz.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Lima.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Los_Angeles.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mazatlan.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Mexico_City.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Monterrey.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/New_York.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Phoenix.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Regina.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Santiago.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Sao_Paulo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/St_Johns.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/America/Tijuana.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Almaty.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baghdad.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Baku.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Bangkok.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Chongqing.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Colombo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Dhaka.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Hong_Kong.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Irkutsk.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jakarta.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Jerusalem.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kabul.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kamchatka.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Karachi.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Katmandu.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kolkata.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Krasnoyarsk.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuala_Lumpur.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Kuwait.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Magadan.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Muscat.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Novosibirsk.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Rangoon.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Riyadh.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Seoul.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Shanghai.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Singapore.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Taipei.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tashkent.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tbilisi.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tehran.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Tokyo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Ulaanbaatar.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Urumqi.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Vladivostok.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yakutsk.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yekaterinburg.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Asia/Yerevan.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Azores.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/Cape_Verde.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Atlantic/South_Georgia.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Adelaide.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Brisbane.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Darwin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Hobart.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Melbourne.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Perth.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Australia/Sydney.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Etc/UTC.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Amsterdam.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Athens.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Belgrade.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Berlin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bratislava.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Brussels.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Bucharest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Budapest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Copenhagen.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Dublin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Helsinki.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Istanbul.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Kiev.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Lisbon.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Ljubljana.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/London.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Madrid.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Minsk.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Moscow.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Paris.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Prague.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Riga.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Rome.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sarajevo.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Skopje.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Sofia.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Stockholm.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Tallinn.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vienna.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Vilnius.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Warsaw.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Europe/Zagreb.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Auckland.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Fiji.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Guam.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Honolulu.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Majuro.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Midway.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Noumea.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Pago_Pago.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Port_Moresby.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/definitions/Pacific/Tongatapu.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/info_timezone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/linked_timezone_info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/offset_rationals.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/ruby_core_support.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/time_or_datetime.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_definition.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_offset_info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_period.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/tzinfo-0.3.12/tzinfo/timezone_transition_info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/xml-simple-1.0.11/
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/active_support/whiny_nil.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/activesupport-2.2.2/lib/activesupport.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/LICENSE.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/Manifest.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/README.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib/jdbc/
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib/jdbc/mysql.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jdbc-mysql-5.0.4/lib/mysql-connector-java-5.0.4-bin.jar
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/History.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/License.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/README.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/bcmail-jdk14-139.jar
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/bcprov-jdk14-139.jar
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/jopenssl.jar
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/jopenssl/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/jopenssl/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/bn.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/buffering.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/cipher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/digest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/dummy.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/dummyssl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/ssl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/lib/openssl/x509.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/fixture/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/fixture/cacert.pem
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/fixture/cert_localhost.pem
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/fixture/localhost_keypair.pem
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/ssl_server.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_asn1.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_cipher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_digest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_hmac.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_ns_spki.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_pair.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_pkcs7.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_pkey_rsa.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_ssl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509cert.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509crl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509ext.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509name.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509req.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/test_x509store.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/openssl/utils.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/pkcs7_mime_enveloped.message
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/pkcs7_mime_signed.message
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/pkcs7_multipart_signed.message
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref/
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref/a.out
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref/compile.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref/pkcs1
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ref/pkcs1.c
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_cipher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_integration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java_attribute.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java_bio.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java_mime.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java_pkcs7.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_java_smime.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/test_openssl.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/jruby-openssl-0.3/test/ut_eof.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/CHANGELOG
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/MIT-LICENSE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/README
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/about
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/console
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/dbconsole
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/destroy
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/generate
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/performance/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/performance/benchmarker
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/performance/profiler
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/performance/request
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/plugin
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/process/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/process/inspector
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/process/reaper
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/process/spawner
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/rails
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/runner
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/bin/server
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails/info.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails/info_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails/info_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/builtin/rails_info/rails_info_controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/config.ru
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/apache.conf
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/frontbase.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/ibm_db.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/mysql.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/oracle.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/postgresql.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/sqlite2.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/databases/sqlite3.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/initializers/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/initializers/inflections.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/initializers/mime_types.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/initializers/new_rails_defaults.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/lighttpd.conf
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/locales/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/locales/en.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/configs/routes.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/dispatches/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/dispatches/dispatch.fcgi
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/dispatches/dispatch.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/dispatches/gateway.cgi
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/README_FOR_APP
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/2_2_release_notes.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/actioncontroller_basics.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/activerecord_validations_callbacks.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/association_basics.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/authors.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/benchmarking_and_profiling.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/caching_with_rails.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/command_line.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/configuring.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/creating_plugins.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/debugging_rails_applications.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/finders.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/form_helpers.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/getting_started_with_rails.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/index.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/layouts_and_rendering.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/migrations.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/routing_outside_in.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/security.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/html/testing_rails_applications.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/2_2_release_notes.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/changelog.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/cookies.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/csrf.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/filters.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/http_auth.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/index.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/introduction.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/methods.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/parameter_filtering.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/params.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/request_response_objects.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/rescue.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/session.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/streaming.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/actioncontroller_basics/verification.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/active_record_basics.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/activerecord_validations_callbacks.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/association_basics.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/authors.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/appendix.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/digging_deeper.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/edge_rails_features.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/gameplan.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/index.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/rubyprof.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/benchmarking_and_profiling/statistics.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/caching_with_rails.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/command_line.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/configuring.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/acts_as_yaffle.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/appendix.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/controllers.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/core_ext.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/custom_route.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/gem.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/generator_method.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/helpers.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/index.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/migration_generator.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/models.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/odds_and_ends.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/creating_plugins/test_setup.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/debugging_rails_applications.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/finders.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/form_helpers.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/getting_started_with_rails.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/belongs_to.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/bullet.gif
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/csrf.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/habtm.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/has_many.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/has_many_through.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/has_one.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/has_one_through.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/header_backdrop.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/README
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/1.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/10.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/11.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/12.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/13.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/14.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/15.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/2.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/3.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/4.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/5.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/6.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/7.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/8.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/callouts/9.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/caution.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/example.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/home.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/important.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/next.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/note.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/prev.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/tip.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/up.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/icons/warning.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/polymorphic.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/rails_logo_remix.gif
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/ruby_on_rails_by_mike_rundle2.gif
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/images/session_fixation.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/index.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/layouts_and_rendering.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/anatomy_of_a_migration.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/changelog.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/creating_a_migration.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/foreign_keys.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/index.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/rakeing_around.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/scheming.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/using_models_in_migrations.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/migrations/writing_a_migration.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/routing_outside_in.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/security.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/stylesheets/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/stylesheets/base.css
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/stylesheets/forms.css
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/stylesheets/more.css
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/templates/guides.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/templates/inline.css
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/doc/guides/source/testing_rails_applications.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/boot.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/development.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/environment.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/production.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/environments/test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/fresh_rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers/application.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers/application_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers/performance_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/helpers/test_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/404.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/422.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/500.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/favicon.ico
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/images/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/images/rails.png
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/index.html
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/application.js
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/controls.js
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/dragdrop.js
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/effects.js
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/javascripts/prototype.js
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/html/robots.txt
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/code_statistics.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/about.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/console.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/dbconsole.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/destroy.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/generate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/ncgi/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/ncgi/listener
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/ncgi/tracker
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/performance/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/performance/benchmarker.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/performance/profiler.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/performance/request.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/plugin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process/inspector.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process/reaper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process/spawner.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/process/spinner.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/runner.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/server.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/lighttpd.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/mongrel.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/new_mongrel.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/thin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/servers/webrick.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/commands/update.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/console_app.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/console_sandbox.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/console_with_helpers.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/dispatcher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/fcgi_handler.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/initializer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/performance_test_help.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/gem_builder.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/gem_dependency.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/mongrel_server/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/mongrel_server/commands.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/mongrel_server/handler.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/plugin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/plugin/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/plugin/loader.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/plugin/locator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/rack.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/rack/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/rack/logger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/rack/static.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/vendor_gem_source_index.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails/version.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/base.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/commands.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generated_attribute.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications/app/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications/app/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/applications/app/app_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/controller_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates/controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates/functional_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates/helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/controller/templates/view.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/mailer_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/fixture.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/mailer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/unit_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/view.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/mailer/templates/view.rhtml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/migration_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/migration/templates/migration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/model_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates/fixtures.yml
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates/migration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates/model.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/model/templates/unit_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/observer_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/templates/observer.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/observer/templates/unit_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/plugin_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/README
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/init.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/install.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/plugin.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/tasks.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/test_helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/uninstall.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/plugin/templates/unit_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/resource_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/templates/controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/templates/functional_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/resource/templates/helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/controller.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/helper.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/style.css
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/USAGE
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/templates/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/generators/components/session_migration/templates/migration.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/lookup.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/manifest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/options.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts/destroy.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts/generate.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/scripts/update.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/secret_key_generator.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/simple_logger.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rails_generator/spec.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/railties_path.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/ruby_version_check.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/rubyprof_ext.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/source_annotation_extractor.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/annotations.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/databases.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/documentation.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/framework.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/gems.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/log.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/misc.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/rails.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/routes.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/statistics.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/testing.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/tasks/tmp.rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/test_help.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rails-2.2.2/lib/webrick_server.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/CHANGES
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/MIT-LICENSE
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/README
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/TODO
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/bin/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/bin/rake
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/Rakefile1
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/Rakefile2
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/a.c
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/b.c
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/example/main.c
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/glossary.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/jamis.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/proto_rake.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/rake.1.gz
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/rakefile.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/rational.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.4.14.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.4.15.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.0.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.3.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.5.4.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.6.0.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.0.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.1.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.2.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.7.3.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.0.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.2.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/doc/release_notes/rake-0.8.3.rdoc
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/install.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/classic_namespace.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/clean.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/compositepublisher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/ftptools.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/publisher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/rubyforgepublisher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/sshpublisher.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/contrib/sys.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/gempackagetask.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/loaders/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/loaders/makefile.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/packagetask.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/rake_test_loader.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/rdoctask.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/ruby182_test_unit_fix.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/runtest.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/tasklib.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/testtask.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/lib/rake/win32.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/capture_stdout.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/check_expansion.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/contrib/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/contrib/test_sys.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/chains/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/chains/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/default/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/default/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/dryrun/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/dryrun/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/file_creation_task/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/file_creation_task/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/imports/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/imports/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/imports/deps.mf
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/multidesc/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/multidesc/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/namespace/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/namespace/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rakelib/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rakelib/test1.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rbext/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/rbext/rakefile.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/sample.mf
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/statusreturn/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/statusreturn/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/unittest/
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/data/unittest/Rakefile
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/filecreation.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/functional.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/in_environment.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/rake_test_setup.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/reqfile.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/reqfile2.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/session_functional.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/shellcommand.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_application.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_clean.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_definitions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_earlytime.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_extension.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_file_creation_task.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_file_task.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_filelist.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_fileutils.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_ftp.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_invocation_chain.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_makefile_loader.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_multitask.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_namespace.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_package_task.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_pathmap.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_rake.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_require.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_rules.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_task_arguments.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_task_manager.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_tasklib.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_tasks.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_test_task.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_top_level_functions.rb
   trunk/src/main/webapp/WEB-INF/gems/gems/rake-0.8.3/test/test_win32.rb
   trunk/src/main/webapp/WEB-INF/gems/specifications/
   trunk/src/main/webapp/WEB-INF/gems/specifications/actionmailer-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/actionpack-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/activerecord-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/activerecord-jdbc-adapter-0.9.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/activerecord-jdbcmysql-adapter-0.9.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/activeresource-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/activesupport-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/jdbc-mysql-5.0.4.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/jruby-openssl-0.3.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/rails-2.2.2.gemspec
   trunk/src/main/webapp/WEB-INF/gems/specifications/rake-0.8.3.gemspec
   trunk/src/main/webapp/WEB-INF/publicspace
Removed:
   trunk/src/main/rails/publicspace/public/index.html
Modified:
   trunk/INSTALL
   trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java
   trunk/src/main/rails/publicspace/config/routes.rb
   trunk/src/main/webapp/WEB-INF/
   trunk/src/main/webapp/WEB-INF/web.xml
Log:
public rails app now serves content

Modified: trunk/INSTALL
===================================================================
--- trunk/INSTALL	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/INSTALL	2008-12-20 21:22:52 UTC (rev 1004)
@@ -1,6 +1,7 @@
 INSTALL
 --------------------------------------------------------------------------------
 
+
 For development:
 
 * MYSQL configuration:
@@ -47,6 +48,11 @@
   copy everything from target/kune-0.0.VERSIONHERE/org.ourproject.kune.app.Kune to src/main/webapp/gwt/org.ourproject.kune.app.Kune)
 
 
+FIXME:
+Caution! windows users: you should have a symbolic link from <trunk>/src/main/rails/publicspace to <trunk>/src/main/webapp/WEB-INF/publicspace
+
+
+
 - Configure upload directory:
 
   sudo mkdir -p /var/lib/kune/uploads/

Modified: trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/java/org/ourproject/kune/app/server/KuneRackModule.java	2008-12-20 21:22:52 UTC (rev 1004)
@@ -64,60 +64,61 @@
     private final Module configModule;
 
     public KuneRackModule() {
-        this("development", "kune.properties", null);
+	this("development", "kune.properties", null);
     }
 
     public KuneRackModule(final String jpaUnit, final String propertiesFileName, final Scope sessionScope) {
-        configModule = new AbstractModule() {
-            @Override
-            public void configure() {
-                bindInterceptor(Matchers.any(), new NotInObject(), new LoggerMethodInterceptor());
-                bindConstant().annotatedWith(JpaUnit.class).to(jpaUnit);
-                bindConstant().annotatedWith(PropertiesFileName.class).to(propertiesFileName);
-                if (sessionScope != null) {
-                    bindScope(SessionScoped.class, sessionScope);
-                }
-            }
-        };
+	configModule = new AbstractModule() {
+	    @Override
+	    public void configure() {
+		bindInterceptor(Matchers.any(), new NotInObject(), new LoggerMethodInterceptor());
+		bindConstant().annotatedWith(JpaUnit.class).to(jpaUnit);
+		bindConstant().annotatedWith(PropertiesFileName.class).to(propertiesFileName);
+		if (sessionScope != null) {
+		    bindScope(SessionScoped.class, sessionScope);
+		}
+	    }
+	};
     }
 
     @SuppressWarnings("unchecked")
     public void configure(final RackBuilder builder) {
-        installGuiceModules(builder);
+	installGuiceModules(builder);
 
-        builder.add(KuneContainerListener.class);
+	builder.add(KuneContainerListener.class);
 
-        builder.exclude("/http-bind.*");
-        builder.exclude("/services/fileupload.*");
-        builder.at(".*").install(new LogFilter());
-        builder.at(".*").install(new GuiceFilter());
+	builder.exclude("/http-bind.*");
+	builder.exclude("/services/fileupload.*");
+	builder.exclude("/public/.*");
+	builder.at(".*").install(new LogFilter());
+	builder.at(".*").install(new GuiceFilter());
 
-        builder.at("^/$").install(new RedirectFilter("/kune/"));
-        builder.at("^/kune$").install(new RedirectFilter("/kune/"));
+	builder.at("^/$").install(new RedirectFilter("/kune/"));
+	builder.at("^/kune$").install(new RedirectFilter("/kune/"));
 
-        builder.at("^/kune/$").install(new ListenerFilter(KuneApplicationListener.class),
-                new ForwardFilter("/gwt/org.ourproject.kune.app.Kune/Kune.html"));
+	builder.at("^/kune/$").install(new ListenerFilter(KuneApplicationListener.class),
+		new ForwardFilter("/gwt/org.ourproject.kune.app.Kune/Kune.html"));
 
-        builder.installGWTServices("^/kune/", SiteService.class, GroupService.class, ContentService.class,
-                UserService.class, SocialNetworkService.class, I18nService.class);
-        builder.installRESTServices("^/kune/json/", TestJSONService.class, GroupJSONService.class,
-                UserJSONService.class, I18nTranslationJSONService.class, ContentJSONService.class);
-        builder.installServlet("^/kune/servlets/", FileUploadManager.class, FileDownloadManager.class,
-                EntityLogoUploadManager.class, EntityLogoDownloadManager.class);
+	builder.installGWTServices("^/kune/", SiteService.class, GroupService.class, ContentService.class,
+		UserService.class, SocialNetworkService.class, I18nService.class);
+	builder.installRESTServices("^/kune/json/", TestJSONService.class, GroupJSONService.class,
+		UserJSONService.class, I18nTranslationJSONService.class, ContentJSONService.class);
+	builder.installServlet("^/kune/servlets/", FileUploadManager.class, FileDownloadManager.class,
+		EntityLogoUploadManager.class, EntityLogoDownloadManager.class);
 
-        builder.at("^/kune/(.*)$").install(new ForwardFilter("^/kune/(.*)$", "/gwt/org.ourproject.kune.app.Kune/{0}"));
+	builder.at("^/kune/(.*)$").install(new ForwardFilter("^/kune/(.*)$", "/gwt/org.ourproject.kune.app.Kune/{0}"));
     }
 
     private void installGuiceModules(final RackBuilder builder) {
-        builder.use(new ServletModule());
-        builder.use(new PlatformServerModule());
-        builder.use(new DocumentServerModule());
-        builder.use(new BlogServerModule());
-        builder.use(new WikiServerModule());
-        builder.use(new ChatServerModule());
-        builder.use(new GalleryServerModule());
-        builder.use(new RESTServicesModule());
-        builder.use(configModule);
+	builder.use(new ServletModule());
+	builder.use(new PlatformServerModule());
+	builder.use(new DocumentServerModule());
+	builder.use(new BlogServerModule());
+	builder.use(new WikiServerModule());
+	builder.use(new ChatServerModule());
+	builder.use(new GalleryServerModule());
+	builder.use(new RESTServicesModule());
+	builder.use(configModule);
     }
 
 }

Added: trunk/src/main/rails/publicspace/app/controllers/documents_controller.rb
===================================================================
--- trunk/src/main/rails/publicspace/app/controllers/documents_controller.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/controllers/documents_controller.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5 @@
+class DocumentsController < ApplicationController
+  def index
+    @contents = Content.find :all
+  end
+end

Added: trunk/src/main/rails/publicspace/app/helpers/documents_helper.rb
===================================================================
--- trunk/src/main/rails/publicspace/app/helpers/documents_helper.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/helpers/documents_helper.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+module DocumentsHelper
+end

Added: trunk/src/main/rails/publicspace/app/models/content.rb
===================================================================
--- trunk/src/main/rails/publicspace/app/models/content.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/models/content.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,3 @@
+class Content < ActiveRecord::Base
+  belongs_to :last_revision, :class_name => 'Revision', :foreign_key => 'lastRevision_id'
+end

Added: trunk/src/main/rails/publicspace/app/models/revision.rb
===================================================================
--- trunk/src/main/rails/publicspace/app/models/revision.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/models/revision.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+class Revision < ActiveRecord::Base
+end

Added: trunk/src/main/rails/publicspace/app/views/documents/index.html.erb
===================================================================
--- trunk/src/main/rails/publicspace/app/views/documents/index.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/views/documents/index.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,4 @@
+<h1>Los contenidos</h1>
+<% for doc in @contents %>
+  <%= doc.last_revision.title %><br/>
+<% end %>
\ No newline at end of file

Added: trunk/src/main/rails/publicspace/app/views/layouts/documents.html.erb
===================================================================
--- trunk/src/main/rails/publicspace/app/views/layouts/documents.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/app/views/layouts/documents.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,11 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
+    <link rel="icon" href="images/xy/favicon.ico" type="image/x-icon">
+      <title>kune</title>
+  </head>
+  <body>
+    <%= yield %>
+  </body>
+</html>

Modified: trunk/src/main/rails/publicspace/config/routes.rb
===================================================================
--- trunk/src/main/rails/publicspace/config/routes.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/config/routes.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -1,43 +1,5 @@
 ActionController::Routing::Routes.draw do |map|
-  # The priority is based upon order of creation: first created -> highest priority.
-
-  # Sample of regular route:
-  #   map.connect 'products/:id', :controller => 'catalog', :action => 'view'
-  # Keep in mind you can assign values other than :controller and :action
-
-  # Sample of named route:
-  #   map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
-  # This route can be invoked with purchase_url(:id => product.id)
-
-  # Sample resource route (maps HTTP verbs to controller actions automatically):
-  #   map.resources :products
-
-  # Sample resource route with options:
-  #   map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
-
-  # Sample resource route with sub-resources:
-  #   map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
-  
-  # Sample resource route with more complex sub-resources
-  #   map.resources :products do |products|
-  #     products.resources :comments
-  #     products.resources :sales, :collection => { :recent => :get }
-  #   end
-
-  # Sample resource route within a namespace:
-  #   map.namespace :admin do |admin|
-  #     # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
-  #     admin.resources :products
-  #   end
-
-  # You can have the root of your site routed with map.root -- just remember to delete public/index.html.
-  # map.root :controller => "welcome"
-
-  # See how all your routes lay out with "rake routes"
-
-  # Install the default routes as the lowest priority.
-  # Note: These default routes make all actions in every controller accessible via GET requests. You should
-  # consider removing the them or commenting them out if you're using named routes and resources.
-  map.connect ':controller/:action/:id'
-  map.connect ':controller/:action/:id.:format'
+  map.root :controller => 'documents'
+  map.connect '/public/:controller/:action/:id'
+  map.connect '/public/:controller/:action/:id.:format'
 end

Added: trunk/src/main/rails/publicspace/db/migrate/20081220204215_create_revisions.rb
===================================================================
--- trunk/src/main/rails/publicspace/db/migrate/20081220204215_create_revisions.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/db/migrate/20081220204215_create_revisions.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,12 @@
+class CreateRevisions < ActiveRecord::Migration
+  def self.up
+    create_table :revisions do |t|
+
+      t.timestamps
+    end
+  end
+
+  def self.down
+    drop_table :revisions
+  end
+end

Added: trunk/src/main/rails/publicspace/db/migrate/20081220204222_create_contents.rb
===================================================================
--- trunk/src/main/rails/publicspace/db/migrate/20081220204222_create_contents.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/db/migrate/20081220204222_create_contents.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,12 @@
+class CreateContents < ActiveRecord::Migration
+  def self.up
+    create_table :contents do |t|
+
+      t.timestamps
+    end
+  end
+
+  def self.down
+    drop_table :contents
+  end
+end

Added: trunk/src/main/rails/publicspace/db/schema.rb
===================================================================
--- trunk/src/main/rails/publicspace/db/schema.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/db/schema.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,302 @@
+# This file is auto-generated from the current state of the database. Instead of editing this file, 
+# please use the migrations feature of Active Record to incrementally modify your database, and
+# then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your database schema. If you need
+# to create the application database on another system, you should be using db:schema:load, not running
+# all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended to check this file into your version control system.
+
+ActiveRecord::Schema.define(:version => 0) do
+
+  create_table "DATABASECHANGELOG", :id => false, :force => true do |t|
+    t.string   "ID",           :limit => 63,  :null => false
+    t.string   "AUTHOR",       :limit => 63,  :null => false
+    t.string   "FILENAME",     :limit => 200, :null => false
+    t.datetime "DATEEXECUTED",                :null => false
+    t.string   "MD5SUM",       :limit => 32
+    t.string   "DESCRIPTION"
+    t.string   "COMMENTS"
+    t.string   "TAG"
+    t.string   "LIQUIBASE",    :limit => 10
+  end
+
+  create_table "DATABASECHANGELOGLOCK", :primary_key => "ID", :force => true do |t|
+    t.boolean  "LOCKED",      :null => false
+    t.datetime "LOCKGRANTED"
+    t.string   "LOCKEDBY"
+  end
+
+  create_table "access_lists", :force => true do |t|
+    t.integer "admins_id",  :limit => 8
+    t.integer "viewers_id", :limit => 8
+    t.integer "editors_id", :limit => 8
+  end
+
+  add_index "access_lists", ["admins_id"], :name => "FK8BFAE0FA363215C7"
+  add_index "access_lists", ["editors_id"], :name => "FK8BFAE0FAD81FF4E5"
+  add_index "access_lists", ["viewers_id"], :name => "FK8BFAE0FAE4742B0A"
+
+  create_table "comment", :force => true do |t|
+    t.integer "publishedOn", :limit => 8, :null => false
+    t.string  "text"
+    t.integer "parent_id",   :limit => 8
+    t.integer "content_id",  :limit => 8
+    t.integer "author_id",   :limit => 8
+  end
+
+  add_index "comment", ["author_id"], :name => "FK38A5EE5FFC0AA1C6"
+  add_index "comment", ["content_id"], :name => "FK38A5EE5F855E2DEE"
+  add_index "comment", ["parent_id"], :name => "FK38A5EE5FF0EEDA03"
+
+  create_table "comment_kusers", :id => false, :force => true do |t|
+    t.integer "comment_id",        :limit => 8, :null => false
+    t.integer "positiveVoters_id", :limit => 8, :null => false
+    t.integer "negativeVoters_id", :limit => 8, :null => false
+    t.integer "abuseInformers_id", :limit => 8, :null => false
+  end
+
+  add_index "comment_kusers", ["abuseInformers_id"], :name => "FKF6AF0E5D6C19357A"
+  add_index "comment_kusers", ["comment_id"], :name => "FKF6AF0E5DAB201C2E"
+  add_index "comment_kusers", ["negativeVoters_id"], :name => "FKF6AF0E5D52E7C011"
+  add_index "comment_kusers", ["positiveVoters_id"], :name => "FKF6AF0E5D9256ECD"
+
+  create_table "container_translation", :force => true do |t|
+    t.string  "name"
+    t.integer "language_id", :limit => 8
+  end
+
+  add_index "container_translation", ["language_id"], :name => "FK312BE3F3DE7DCA4"
+
+  create_table "containers", :force => true do |t|
+    t.string  "name"
+    t.string  "toolName"
+    t.string  "typeId"
+    t.integer "parent_id",      :limit => 8
+    t.integer "accessLists_id", :limit => 8
+    t.integer "language_id",    :limit => 8
+    t.integer "owner_id",       :limit => 8
+  end
+
+  add_index "containers", ["accessLists_id"], :name => "FK8A844122BE828CE"
+  add_index "containers", ["language_id"], :name => "FK8A84412DE7DCA4"
+  add_index "containers", ["owner_id"], :name => "FK8A84412411D747A"
+  add_index "containers", ["parent_id"], :name => "FK8A84412F026D325"
+
+  create_table "containers_container_translation", :primary_key => "containerTranslations_id", :force => true do |t|
+    t.integer "containers_id", :limit => 8, :null => false
+  end
+
+  add_index "containers_container_translation", ["containerTranslations_id"], :name => "FK1BA62F86CF990D13"
+  add_index "containers_container_translation", ["containerTranslations_id"], :name => "containerTranslations_id", :unique => true
+  add_index "containers_container_translation", ["containers_id"], :name => "FK1BA62F86EA0AFEBD"
+
+  create_table "containers_containers", :id => false, :force => true do |t|
+    t.integer "containers_id",   :limit => 8, :null => false
+    t.integer "absolutePath_id", :limit => 8, :null => false
+  end
+
+  add_index "containers_containers", ["absolutePath_id"], :name => "FK8249765FE465B073"
+  add_index "containers_containers", ["containers_id"], :name => "FK8249765FEA0AFEBD"
+
+  create_table "content_translations", :force => true do |t|
+    t.integer "contentId",   :limit => 8
+    t.integer "language_id", :limit => 8
+  end
+
+  add_index "content_translations", ["language_id"], :name => "FKF10565E8DE7DCA4"
+
+  create_table "contents", :force => true do |t|
+    t.integer  "createdOn",       :limit => 8, :null => false
+    t.datetime "deletedOn"
+    t.string   "filename"
+    t.string   "subtype"
+    t.string   "type"
+    t.datetime "publishedOn"
+    t.string   "status",                       :null => false
+    t.string   "typeId"
+    t.integer  "version",                      :null => false
+    t.integer  "language_id",     :limit => 8, :null => false
+    t.integer  "lastRevision_id", :limit => 8
+    t.integer  "container_id",    :limit => 8
+    t.integer  "license_id",      :limit => 8
+    t.integer  "accessLists_id",  :limit => 8
+  end
+
+  add_index "contents", ["accessLists_id"], :name => "FKDE2F5B1A2BE828CE"
+  add_index "contents", ["container_id"], :name => "FKDE2F5B1AF4676BEE"
+  add_index "contents", ["language_id"], :name => "FKDE2F5B1ADE7DCA4"
+  add_index "contents", ["lastRevision_id"], :name => "FKDE2F5B1A8D6FD330"
+  add_index "contents", ["license_id"], :name => "FKDE2F5B1AF302B8EE"
+
+  create_table "contents_content_translations", :primary_key => "translations_id", :force => true do |t|
+    t.integer "contents_id", :limit => 8, :null => false
+  end
+
+  add_index "contents_content_translations", ["contents_id"], :name => "FKF5E4F9ED5E7577AD"
+  add_index "contents_content_translations", ["translations_id"], :name => "FKF5E4F9ED2F9273BC"
+  add_index "contents_content_translations", ["translations_id"], :name => "translations_id", :unique => true
+
+  create_table "contents_kusers", :id => false, :force => true do |t|
+    t.integer "contents_id", :limit => 8, :null => false
+    t.integer "authors_id",  :limit => 8, :null => false
+  end
+
+  add_index "contents_kusers", ["authors_id"], :name => "FK956FE9424AA7DDE9"
+  add_index "contents_kusers", ["contents_id"], :name => "FK956FE9425E7577AD"
+
+  create_table "contents_tags", :id => false, :force => true do |t|
+    t.integer "contents_id", :limit => 8, :null => false
+    t.integer "tags_id",     :limit => 8, :null => false
+  end
+
+  add_index "contents_tags", ["contents_id"], :name => "FK2200721E5E7577AD"
+  add_index "contents_tags", ["tags_id"], :name => "FK2200721E66F49F6F"
+
+  create_table "customproperties", :force => true do |t|
+    t.binary "data"
+  end
+
+  create_table "globalize_countries", :force => true do |t|
+    t.string "code",                   :limit => 2
+    t.string "currency_code",          :limit => 3
+    t.string "currency_decimal_sep",   :limit => 2
+    t.string "currency_format"
+    t.string "date_format"
+    t.string "decimal_sep",            :limit => 2
+    t.string "english_name"
+    t.string "number_grouping_scheme"
+    t.string "thousands_sep",          :limit => 2
+  end
+
+  add_index "globalize_countries", ["id"], :name => "id", :unique => true
+
+# Could not dump table "globalize_languages" because of following StandardError
+#   Unknown type 'bit(1)' for column 'macro_language'
+
+  create_table "globalize_translations", :force => true do |t|
+    t.string  "facet"
+    t.integer "item_id"
+    t.integer "pluralization_index"
+    t.string  "table_name"
+    t.string  "text"
+    t.string  "tr_key"
+    t.string  "type"
+    t.integer "language_id",         :limit => 8
+  end
+
+  add_index "globalize_translations", ["id"], :name => "id", :unique => true
+  add_index "globalize_translations", ["language_id"], :name => "FKCB245A90DE7DCA4"
+
+  create_table "group_list", :force => true do |t|
+    t.integer "mode"
+  end
+
+  create_table "group_list_groups", :id => false, :force => true do |t|
+    t.integer "group_list_id", :limit => 8, :null => false
+    t.integer "list_id",       :limit => 8, :null => false
+  end
+
+  add_index "group_list_groups", ["group_list_id"], :name => "FK531B66D542BCDC2D"
+  add_index "group_list_groups", ["list_id"], :name => "FK531B66D5E8D46AAF"
+
+  create_table "groups", :force => true do |t|
+    t.string  "admissionType",                   :null => false
+    t.string  "groupType",                       :null => false
+    t.binary  "logo"
+    t.string  "subtype"
+    t.string  "type"
+    t.string  "longName",          :limit => 50
+    t.string  "shortName",         :limit => 15
+    t.string  "workspaceTheme"
+    t.integer "defaultLicense_id", :limit => 8
+    t.integer "socialNetwork_id",  :limit => 8
+    t.integer "defaultContent_id", :limit => 8
+    t.integer "groupFullLogo_id",  :limit => 8
+  end
+
+  add_index "groups", ["defaultContent_id"], :name => "FKB63DD9D4212FE6EF"
+  add_index "groups", ["defaultLicense_id"], :name => "FKB63DD9D48ED471EF"
+  add_index "groups", ["groupFullLogo_id"], :name => "FKB63DD9D4F6BBBA2E"
+  add_index "groups", ["longName"], :name => "longName", :unique => true
+  add_index "groups", ["shortName"], :name => "shortName", :unique => true
+  add_index "groups", ["socialNetwork_id"], :name => "FKB63DD9D4AC6815CE"
+
+  create_table "groups_tool_configurations", :id => false, :force => true do |t|
+    t.integer "groups_id",      :limit => 8,                 :null => false
+    t.integer "toolsConfig_id", :limit => 8,                 :null => false
+    t.string  "mapkey",                      :default => "", :null => false
+  end
+
+  add_index "groups_tool_configurations", ["groups_id"], :name => "FK1CDF00D985A52DB9"
+  add_index "groups_tool_configurations", ["toolsConfig_id"], :name => "FK1CDF00D9DCE07FCF"
+  add_index "groups_tool_configurations", ["toolsConfig_id"], :name => "toolsConfig_id", :unique => true
+
+  create_table "kusers", :force => true do |t|
+    t.integer "buddiesVisibility"
+    t.string  "email",                             :null => false
+    t.string  "name",                :limit => 50, :null => false
+    t.string  "password",            :limit => 40, :null => false
+    t.string  "shortName",           :limit => 15
+    t.string  "timezone",                          :null => false
+    t.integer "customProperties_id", :limit => 8
+    t.integer "country_id",          :limit => 8,  :null => false
+    t.integer "language_id",         :limit => 8,  :null => false
+    t.integer "userGroup_id",        :limit => 8
+  end
+
+  add_index "kusers", ["country_id"], :name => "FKBD3D187D7E2112D0"
+  add_index "kusers", ["customProperties_id"], :name => "FKBD3D187D7F551706"
+  add_index "kusers", ["email"], :name => "email", :unique => true
+  add_index "kusers", ["language_id"], :name => "FKBD3D187DDE7DCA4"
+  add_index "kusers", ["shortName"], :name => "shortName", :unique => true
+  add_index "kusers", ["userGroup_id"], :name => "FKBD3D187DCA8A3DF9"
+
+# Could not dump table "licenses" because of following StandardError
+#   Unknown type 'bit(1)' for column 'isCC'
+
+  create_table "rates", :force => true do |t|
+    t.float   "value"
+    t.integer "content_id", :limit => 8
+    t.integer "rater_id",   :limit => 8
+  end
+
+  add_index "rates", ["content_id", "rater_id"], :name => "content_id", :unique => true
+  add_index "rates", ["content_id"], :name => "FK6744F93855E2DEE"
+  add_index "rates", ["rater_id"], :name => "FK6744F93BD4FE25F"
+
+  create_table "revisions", :force => true do |t|
+    t.text    "body",        :limit => 2147483647
+    t.integer "createdOn",   :limit => 8,          :null => false
+    t.string  "title"
+    t.integer "version",                           :null => false
+    t.integer "editor_id",   :limit => 8
+    t.integer "previous_id", :limit => 8
+    t.integer "content_id",  :limit => 8
+  end
+
+  add_index "revisions", ["content_id"], :name => "FK1E2243F8855E2DEE"
+  add_index "revisions", ["editor_id"], :name => "FK1E2243F835BDFEA4"
+  add_index "revisions", ["previous_id"], :name => "FK1E2243F813E596EA"
+
+  create_table "social_networks", :force => true do |t|
+    t.integer "visibility"
+    t.integer "pendingCollaborators_id", :limit => 8
+    t.integer "accessLists_id",          :limit => 8
+  end
+
+  add_index "social_networks", ["accessLists_id"], :name => "FK7E9610972BE828CE"
+  add_index "social_networks", ["pendingCollaborators_id"], :name => "FK7E961097F7434A95"
+
+  create_table "tags", :force => true do |t|
+    t.string "name"
+  end
+
+  add_index "tags", ["name"], :name => "name", :unique => true
+
+# Could not dump table "tool_configurations" because of following StandardError
+#   Unknown type 'bit(1)' for column 'enabled'
+
+end

Deleted: trunk/src/main/rails/publicspace/public/index.html
===================================================================
--- trunk/src/main/rails/publicspace/public/index.html	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/public/index.html	2008-12-20 21:22:52 UTC (rev 1004)
@@ -1,274 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
-  <head>
-    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-    <title>Ruby on Rails: Welcome aboard</title>
-    <style type="text/css" media="screen">
-      body {
-        margin: 0;
-        margin-bottom: 25px;
-        padding: 0;
-        background-color: #f0f0f0;
-        font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
-        font-size: 13px;
-        color: #333;
-      }
-      
-      h1 {
-        font-size: 28px;
-        color: #000;
-      }
-      
-      a  {color: #03c}
-      a:hover {
-        background-color: #03c;
-        color: white;
-        text-decoration: none;
-      }
-      
-      
-      #page {
-        background-color: #f0f0f0;
-        width: 750px;
-        margin: 0;
-        margin-left: auto;
-        margin-right: auto;
-      }
-      
-      #content {
-        float: left;
-        background-color: white;
-        border: 3px solid #aaa;
-        border-top: none;
-        padding: 25px;
-        width: 500px;
-      }
-      
-      #sidebar {
-        float: right;
-        width: 175px;
-      }
-
-      #footer {
-        clear: both;
-      }
-      
-
-      #header, #about, #getting-started {
-        padding-left: 75px;
-        padding-right: 30px;
-      }
-
-
-      #header {
-        background-image: url("images/rails.png");
-        background-repeat: no-repeat;
-        background-position: top left;
-        height: 64px;
-      }
-      #header h1, #header h2 {margin: 0}
-      #header h2 {
-        color: #888;
-        font-weight: normal;
-        font-size: 16px;
-      }
-      
-      
-      #about h3 {
-        margin: 0;
-        margin-bottom: 10px;
-        font-size: 14px;
-      }
-      
-      #about-content {
-        background-color: #ffd;
-        border: 1px solid #fc0;
-        margin-left: -11px;
-      }
-      #about-content table {
-        margin-top: 10px;
-        margin-bottom: 10px;
-        font-size: 11px;
-        border-collapse: collapse;
-      }
-      #about-content td {
-        padding: 10px;
-        padding-top: 3px;
-        padding-bottom: 3px;
-      }
-      #about-content td.name  {color: #555}
-      #about-content td.value {color: #000}
-      
-      #about-content.failure {
-        background-color: #fcc;
-        border: 1px solid #f00;
-      }
-      #about-content.failure p {
-        margin: 0;
-        padding: 10px;
-      }
-      
-      
-      #getting-started {
-        border-top: 1px solid #ccc;
-        margin-top: 25px;
-        padding-top: 15px;
-      }
-      #getting-started h1 {
-        margin: 0;
-        font-size: 20px;
-      }
-      #getting-started h2 {
-        margin: 0;
-        font-size: 14px;
-        font-weight: normal;
-        color: #333;
-        margin-bottom: 25px;
-      }
-      #getting-started ol {
-        margin-left: 0;
-        padding-left: 0;
-      }
-      #getting-started li {
-        font-size: 18px;
-        color: #888;
-        margin-bottom: 25px;
-      }
-      #getting-started li h2 {
-        margin: 0;
-        font-weight: normal;
-        font-size: 18px;
-        color: #333;
-      }
-      #getting-started li p {
-        color: #555;
-        font-size: 13px;
-      }
-      
-      
-      #search {
-        margin: 0;
-        padding-top: 10px;
-        padding-bottom: 10px;
-        font-size: 11px;
-      }
-      #search input {
-        font-size: 11px;
-        margin: 2px;
-      }
-      #search-text {width: 170px}
-      
-      
-      #sidebar ul {
-        margin-left: 0;
-        padding-left: 0;
-      }
-      #sidebar ul h3 {
-        margin-top: 25px;
-        font-size: 16px;
-        padding-bottom: 10px;
-        border-bottom: 1px solid #ccc;
-      }
-      #sidebar li {
-        list-style-type: none;
-      }
-      #sidebar ul.links li {
-        margin-bottom: 5px;
-      }
-      
-    </style>
-    <script type="text/javascript" src="javascripts/prototype.js"></script>
-    <script type="text/javascript" src="javascripts/effects.js"></script>
-    <script type="text/javascript">
-      function about() {
-        if (Element.empty('about-content')) {
-          new Ajax.Updater('about-content', 'rails/info/properties', {
-            method:     'get',
-            onFailure:  function() {Element.classNames('about-content').add('failure')},
-            onComplete: function() {new Effect.BlindDown('about-content', {duration: 0.25})}
-          });
-        } else {
-          new Effect[Element.visible('about-content') ? 
-            'BlindUp' : 'BlindDown']('about-content', {duration: 0.25});
-        }
-      }
-      
-      window.onload = function() {
-        $('search-text').value = '';
-        $('search').onsubmit = function() {
-          $('search-text').value = 'site:rubyonrails.org ' + $F('search-text');
-        }
-      }
-    </script>
-  </head>
-  <body>
-    <div id="page">
-      <div id="sidebar">
-        <ul id="sidebar-items">
-          <li>
-            <form id="search" action="http://www.google.com/search" method="get">
-              <input type="hidden" name="hl" value="en" />
-              <input type="text" id="search-text" name="q" value="site:rubyonrails.org " />
-              <input type="submit" value="Search" /> the Rails site
-            </form>
-          </li>
-        
-          <li>
-            <h3>Join the community</h3>
-            <ul class="links">
-              <li><a href="http://www.rubyonrails.org/">Ruby on Rails</a></li>
-              <li><a href="http://weblog.rubyonrails.org/">Official weblog</a></li>
-              <li><a href="http://wiki.rubyonrails.org/">Wiki</a></li>
-            </ul>
-          </li>
-          
-          <li>
-            <h3>Browse the documentation</h3>
-            <ul class="links">
-              <li><a href="http://api.rubyonrails.org/">Rails API</a></li>
-              <li><a href="http://stdlib.rubyonrails.org/">Ruby standard library</a></li>
-              <li><a href="http://corelib.rubyonrails.org/">Ruby core</a></li>
-            </ul>
-          </li>
-        </ul>
-      </div>
-
-      <div id="content">
-        <div id="header">
-          <h1>Welcome aboard</h1>
-          <h2>You&rsquo;re riding Ruby on Rails!</h2>
-        </div>
-
-        <div id="about">
-          <h3><a href="rails/info/properties" onclick="about(); return false">About your application&rsquo;s environment</a></h3>
-          <div id="about-content" style="display: none"></div>
-        </div>
-        
-        <div id="getting-started">
-          <h1>Getting started</h1>
-          <h2>Here&rsquo;s how to get rolling:</h2>
-          
-          <ol>          
-            <li>
-              <h2>Use <tt>script/generate</tt> to create your models and controllers</h2>
-              <p>To see all available options, run it without parameters.</p>
-            </li>
-            
-            <li>
-              <h2>Set up a default route and remove or rename this file</h2>
-              <p>Routes are set up in config/routes.rb.</p>
-            </li>
-
-            <li>
-              <h2>Create your database</h2>
-              <p>Run <tt>rake db:migrate</tt> to create your database. If you're not using SQLite (the default), edit <tt>config/database.yml</tt> with your username and password.</p>
-            </li>
-          </ol>
-        </div>
-      </div>
-      
-      <div id="footer">&nbsp;</div>
-    </div>
-  </body>
-</html>
\ No newline at end of file

Added: trunk/src/main/rails/publicspace/test/fixtures/contents.yml
===================================================================
--- trunk/src/main/rails/publicspace/test/fixtures/contents.yml	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/test/fixtures/contents.yml	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,7 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+
+# one:
+#   column: value
+#
+# two:
+#   column: value

Added: trunk/src/main/rails/publicspace/test/fixtures/revisions.yml
===================================================================
--- trunk/src/main/rails/publicspace/test/fixtures/revisions.yml	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/test/fixtures/revisions.yml	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,7 @@
+# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
+
+# one:
+#   column: value
+#
+# two:
+#   column: value

Added: trunk/src/main/rails/publicspace/test/functional/documents_controller_test.rb
===================================================================
--- trunk/src/main/rails/publicspace/test/functional/documents_controller_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/test/functional/documents_controller_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class DocumentsControllerTest < ActionController::TestCase
+  # Replace this with your real tests.
+  test "the truth" do
+    assert true
+  end
+end

Added: trunk/src/main/rails/publicspace/test/unit/content_test.rb
===================================================================
--- trunk/src/main/rails/publicspace/test/unit/content_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/test/unit/content_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class ContentTest < ActiveSupport::TestCase
+  # Replace this with your real tests.
+  test "the truth" do
+    assert true
+  end
+end

Added: trunk/src/main/rails/publicspace/test/unit/revision_test.rb
===================================================================
--- trunk/src/main/rails/publicspace/test/unit/revision_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/rails/publicspace/test/unit/revision_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,8 @@
+require 'test_helper'
+
+class RevisionTest < ActiveSupport::TestCase
+  # Replace this with your real tests.
+  test "the truth" do
+    assert true
+  end
+end


Property changes on: trunk/src/main/webapp/WEB-INF
___________________________________________________________________
Name: svn:ignore
   + file:


Added: trunk/src/main/webapp/WEB-INF/gems/bin/rails
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/bin/rails	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/bin/rails	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,19 @@
+#!/usr/bin/ruby1.8
+#
+# This file was generated by RubyGems.
+#
+# The application 'rails' is installed as part of a gem, and
+# this file is here to facilitate running it.
+#
+
+require 'rubygems'
+
+version = ">= 0"
+
+if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
+  version = $1
+  ARGV.shift
+end
+
+gem 'rails', version
+load 'rails'


Property changes on: trunk/src/main/webapp/WEB-INF/gems/bin/rails
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/src/main/webapp/WEB-INF/gems/bin/rake
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/bin/rake	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/bin/rake	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,19 @@
+#!/usr/bin/ruby1.8
+#
+# This file was generated by RubyGems.
+#
+# The application 'rake' is installed as part of a gem, and
+# this file is here to facilitate running it.
+#
+
+require 'rubygems'
+
+version = ">= 0"
+
+if ARGV.first =~ /^_(.*)_$/ and Gem::Version.correct? $1 then
+  version = $1
+  ARGV.shift
+end
+
+gem 'rake', version
+load 'rake'


Property changes on: trunk/src/main/webapp/WEB-INF/gems/bin/rake
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/src/main/webapp/WEB-INF/gems/cache/actionmailer-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/actionmailer-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/actionpack-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/actionpack-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbc-adapter-0.9.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbc-adapter-0.9.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbcmysql-adapter-0.9.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/activerecord-jdbcmysql-adapter-0.9.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/activeresource-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/activeresource-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/activesupport-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/activesupport-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/jdbc-mysql-5.0.4.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/jdbc-mysql-5.0.4.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/jruby-openssl-0.3.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/jruby-openssl-0.3.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/rails-2.2.2.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/rails-2.2.2.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/cache/rake-0.8.3.gem
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/webapp/WEB-INF/gems/cache/rake-0.8.3.gem
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/CHANGELOG
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/CHANGELOG	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/CHANGELOG	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,349 @@
+*2.2.1 [RC2] (November 14th, 2008)*
+
+* Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and the SMTP server supports it (This is required for Gmail's SMTP server) #1336 [Grant Hollingworth]
+
+
+*2.2.0 [RC1] (October 24th, 2008)*
+
+* Add layout functionality to mailers [Pratik]
+
+  Mailer layouts behaves just like controller layouts, except layout names need to
+  have '_mailer' postfix for them to be automatically picked up.
+
+
+*2.1.0 (May 31st, 2008)*
+
+* Fixed that a return-path header would be ignored #7572 [joost]
+
+* Less verbose mail logging: just recipients for :info log level; the whole email for :debug only.  #8000 [iaddict, Tarmo Tänav]
+
+* Updated TMail to version 1.2.1 [raasdnil]
+
+* Fixed that you don't have to call super in ActionMailer::TestCase#setup #10406 [jamesgolick]
+
+
+*2.0.2* (December 16th, 2007)
+
+* Included in Rails 2.0.2
+
+
+*2.0.1* (December 7th, 2007)
+
+* Update ActionMailer so it treats ActionView the same way that ActionController does.  Closes #10244 [rick]
+
+  * Pass the template_root as an array as ActionView's view_path
+  * Request templates with the "#{mailer_name}/#{action}" as opposed to just "#{action}"
+
+* Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java]
+
+* Update README to use new smtp settings configuration API. Closes #10060 [psq]
+
+* Allow ActionMailer subclasses to individually set their delivery method (so two subclasses can have different delivery methods) #10033 [zdennis]
+
+* Update TMail to v1.1.0.  Use an updated version of TMail if available.  [mikel]
+
+* Introduce a new base test class for testing Mailers.  ActionMailer::TestCase [Koz]
+
+* Fix silent failure of rxml templates.  #9879 [jstewart]
+
+* Fix attachment decoding when using the TMail C extension.  #7861 [orangechicken]
+
+* Increase mail delivery test coverage.  #8692 [Kamal Fariz Mahyuddin]
+
+* Register alternative template engines using ActionMailer::Base.register_template_extension('haml').  #7534 [cwd, Josh Peek]
+
+* Only load ActionController::UrlWriter if ActionController is present [Rick Olson]
+
+* Make sure parsed emails recognized attachments nested inside multipart parts. #6714 [Jamis Buck]
+
+* Allow mailer actions named send by using __send__ internally.  #6467 [iGEL]
+
+* Add assert_emails and assert_no_emails to test the number of emails delivered.  #6479 [Jonathan Viney]
+    # Assert total number of emails delivered:
+    assert_emails 0
+    ContactMailer.deliver_contact
+    assert_emails 1
+
+    # Assert number of emails delivered within a block:
+    assert_emails 1 do
+      post :signup, :name => 'Jonathan'
+    end
+
+
+*1.3.3* (March 12th, 2007)
+
+* Depend on Action Pack 1.13.3
+
+
+*1.3.2* (February 5th, 2007)
+
+* Deprecate server_settings renaming it to smtp_settings,  add sendmail_settings to allow you to override the arguments to and location of the sendmail executable. [Koz]
+
+
+*1.3.1* (January 16th, 2007)
+
+* Depend on Action Pack 1.13.1
+
+
+*1.3.0* (January 16th, 2007)
+
+* Make mime version default to 1.0. closes #2323 [ror at andreas-s.net]
+
+* Make sure quoted-printable text is decoded correctly when only portions of the text are encoded. closes #3154. [jon at siliconcircus.com]
+
+* Make sure DOS newlines in quoted-printable text are normalized to unix newlines before unquoting. closes #4166 and #4452. [Jamis Buck]
+
+* Fixed that iconv decoding should catch InvalidEncoding #3153 [jon at siliconcircus.com]
+
+* Tighten rescue clauses.  #5985 [james at grayproductions.net]
+
+* Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
+
+* Replace Reloadable with Reloadable::Deprecated. [Nicholas Seckar]
+
+* Mailer template root applies to a class and its subclasses rather than acting globally. #5555 [somekool at gmail.com]
+
+* Resolve action naming collision. #5520 [ssinghi at kreeti.com]
+
+* ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel Molina Jr.]
+
+* Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.] 
+
+* Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
+
+* Correct spurious documentation example code which results in a SyntaxError. [Marcel Molina Jr.]
+
+
+*1.2.1* (April 6th, 2006)
+
+* Be part of Rails 1.1.1
+
+
+*1.2.0* (March 27th, 2006)
+
+* Nil charset caused subject line to be improperly quoted in implicitly multipart messages #2662 [ehalvorsen+rails at runbox.com]
+
+* Parse content-type apart before using it so that sub-parts of the header can be set correctly #2918 [Jamis Buck]
+
+* Make custom headers work in subparts #4034 [elan at bluemandrill.com]
+
+* Template paths with dot chars in them no longer mess up implicit template selection for multipart messages #3332 [Chad Fowler]
+
+* Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body [Jamis Buck]
+
+* Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type [Jamis Buck]
+
+
+*1.1.5* (December 13th, 2005)
+
+* Become part of Rails 1.0
+
+
+*1.1.4* (December 7th, 2005)
+
+* Rename Version constant to VERSION. #2802 [Marcel Molina Jr.]
+
+* Stricter matching for implicitly multipart filenames excludes files ending in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml).  #2398 [Dave Burt <dave at burt.id.au>, Jeremy Kemper]
+
+
+*1.1.3* (November 7th, 2005)
+
+* Allow Mailers to have custom initialize methods that set default instance variables for all mail actions #2563 [mrj at bigpond.net.au]
+
+
+*1.1.2* (October 26th, 2005)
+
+* Upgraded to Action Pack 1.10.2
+
+
+*1.1.1* (October 19th, 2005)
+
+* Upgraded to Action Pack 1.10.1
+
+
+*1.1.0* (October 16th, 2005)
+
+* Update and extend documentation (rdoc)
+
+* Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf '05]
+
+* Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005]
+
+* Fix vendor require paths to prevent files being required twice
+
+* Don't add charset to content-type header for a part that contains subparts (for AOL compatibility) #2013 [John Long]
+
+* Preserve underscores when unquoting message bodies #1930
+
+* Encode multibyte characters correctly #1894
+
+* Multipart messages specify a MIME-Version header automatically #2003 [John Long]
+
+* Add a unified render method to ActionMailer (delegates to ActionView::Base#render)
+
+* Move mailer initialization to a separate (overridable) method, so that subclasses may alter the various defaults #1727
+
+* Look at content-location header (if available) to determine filename of attachments #1670
+
+* ActionMailer::Base.deliver(email) had been accidentally removed, but was documented in the Rails book #1849
+
+* Fix problem with sendmail delivery where headers should be delimited by \n characters instead of \r\n, which confuses some mail readers #1742 [Kent Sibilev]
+
+
+*1.0.1* (11 July, 2005)
+
+* Bind to Action Pack 1.9.1
+
+
+*1.0.0* (6 July, 2005)
+
+* Avoid adding nil header values #1392
+
+* Better multipart support with implicit multipart/alternative and sorting of subparts [John Long]
+
+* Allow for nested parts in multipart mails #1570 [Flurin Egger]
+
+* Normalize line endings in outgoing mail bodies to "\n" #1536 [John Long]
+
+* Allow template to be explicitly specified #1448 [tuxie at dekadance.se]
+
+* Allow specific "multipart/xxx" content-type to be set on multipart messages #1412 [Flurin Egger]
+
+* Unquoted @ characters in headers are now accepted in spite of RFC 822 #1206
+
+* Helper support (borrowed from ActionPack)
+
+* Silently ignore Errno::EINVAL errors when converting text.
+
+* Don't cause an error when parsing an encoded attachment name #1340 [lon at speedymac.com]
+
+* Nested multipart message parts are correctly processed in TMail::Mail#body
+
+* BCC headers are removed when sending via SMTP #1402
+
+* Added 'content_type' accessor, to allow content type to be set on a per-message basis. content_type defaults to "text/plain".
+
+* Silently ignore Iconv::IllegalSequence errors when converting text #1341 [lon at speedymac.com]
+
+* Support attachments and multipart messages.
+
+* Added new accessors for the various mail properties.
+
+* Fix to only perform the charset conversion if a 'from' and a 'to' charset are given (make no assumptions about what the charset was) #1276 [Jamis Buck]
+
+* Fix attachments and content-type problems #1276 [Jamis Buck]
+
+* Fixed the TMail#body method to look at the content-transfer-encoding header and unquote the body according to the rules it specifies #1265 [Jamis Buck]
+
+* Added unquoting even if the iconv lib can't be loaded--in that case, only the charset conversion is skipped #1265 [Jamis Buck]
+
+* Added automatic decoding of base64 bodies #1214 [Jamis Buck]
+
+* Added that delivery errors are caught in a way so the mail is still returned whether the delivery was successful or not
+
+* Fixed that email address like "Jamis Buck, M.D." <wild.medicine at example.net> would cause the quoter to generate emails resulting in "bad address" errors from the mail server #1220 [Jamis Buck]
+
+
+*0.9.1* (20th April, 2005)
+
+* Depend on Action Pack 1.8.1
+
+
+*0.9.0* (19th April, 2005)
+
+* Added that deliver_* will now return the email that was sent
+
+* Added that quoting to UTF-8 only happens if the characters used are in that range #955 [Jamis Buck] 
+
+* Fixed quoting for all address headers, not just to #955 [Jamis Buck]
+
+* Fixed unquoting of emails that doesn't have an explicit charset #1036 [wolfgang at stufenlos.net]
+
+
+*0.8.1* (27th March, 2005)
+
+* Fixed that if charset was found that the end of a mime part declaration TMail would throw an error #919 [lon at speedymac.com]
+
+* Fixed that TMail::Unquoter would fail to recognize quoting method if it was in lowercase #919 [lon at speedymac.com]
+
+* Fixed that TMail::Encoder would fail when it attempts to parse e-mail addresses which are encoded using something other than the messages encoding method #919 [lon at speedymac.com]
+
+* Added rescue for missing iconv library and throws warnings if subject/body is called on a TMail object without it instead
+
+
+*0.8.0* (22th March, 2005)
+
+* Added framework support for processing incoming emails with an Action Mailer class. See example in README.
+
+
+*0.7.1* (7th March, 2005)
+
+* Bind to newest Action Pack (1.5.1)
+
+
+*0.7.0* (24th February, 2005)
+
+* Added support for charsets for both subject and body. The default charset is now UTF-8 #673 [Jamis Buck]. Examples:
+
+    def iso_charset(recipient)
+      @recipients = recipient
+      @subject    = "testing iso charsets"
+      @from       = "system at loudthinking.com"
+      @body       = "Nothing to see here."
+      @charset    = "iso-8859-1"
+    end
+    
+    def unencoded_subject(recipient)
+      @recipients = recipient
+      @subject    = "testing unencoded subject"
+      @from       = "system at loudthinking.com"
+      @body       = "Nothing to see here."
+      @encode_subject = false
+      @charset    = "iso-8859-1"
+    end
+    
+
+*0.6.1* (January 18th, 2005)
+
+* Fixed sending of emails to use Tmail#from not the deprecated Tmail#from_address
+
+
+*0.6* (January 17th, 2005)
+
+* Fixed that bcc and cc should be settable through @bcc and @cc -- not just @headers["Bcc"] and @headers["Cc"] #453 [Eric Hodel]
+
+* Fixed Action Mailer to be "warnings safe" so you can run with ruby -w and not get framework warnings #453 [Eric Hodel]
+
+
+*0.5*
+
+* Added access to custom headers, like cc, bcc, and reply-to #268 [Andreas Schwarz]. Example:
+
+    def post_notification(recipients, post)
+      @recipients          = recipients
+      @from                = post.author.email_address_with_name
+      @headers["bcc"]      = SYSTEM_ADMINISTRATOR_EMAIL
+      @headers["reply-to"] = "notifications at example.com"
+      @subject             = "[#{post.account.name} #{post.title}]"
+      @body["post"]        = post
+    end
+
+*0.4* (5)
+
+* Consolidated the server configuration options into Base#server_settings= and expanded that with controls for authentication and more [Marten]
+  NOTE: This is an API change that could potentially break your application if you used the old application form. Please do change!
+
+* Added Base#deliveries as an accessor for an array of emails sent out through that ActionMailer class when using the :test delivery option. [Jeremy Kemper]
+
+* Added Base#perform_deliveries= which can be set to false to turn off the actual delivery of the email through smtp or sendmail.
+  This is especially useful for functional testing that shouldn't send off real emails, but still trigger delivery_* methods.
+
+* Added option to specify delivery method with Base#delivery_method=. Default is :smtp and :sendmail is currently the only other option.
+  Sendmail is assumed to be present at "/usr/sbin/sendmail" if that option is used. [Kent Sibilev]
+
+* Dropped "include TMail" as it added to much baggage into the default namespace (like Version) [Chad Fowler]
+
+
+*0.3*
+
+* First release

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/MIT-LICENSE
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/MIT-LICENSE	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/MIT-LICENSE	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,21 @@
+Copyright (c) 2004-2008 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.
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/README
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/README	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/README	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,149 @@
+= Action Mailer -- Easy email delivery and testing
+
+Action Mailer is a framework for designing email-service layers. These layers
+are used to consolidate code for sending out forgotten passwords, welcome
+wishes on signup, invoices for billing, and any other use case that requires
+a written notification to either a person or another system.
+
+Additionally, an Action Mailer class can be used to process incoming email,
+such as allowing a weblog to accept new posts from an email (which could even
+have been sent from a phone).
+
+== Sending emails
+
+The framework works by setting up all the email details, except the body,
+in methods on the service layer. Subject, recipients, sender, and timestamp
+are all set up this way. An example of such a method:
+
+  def signed_up(recipient)
+    recipients recipient
+    subject    "[Signed up] Welcome #{recipient}"
+    from       "system at loudthinking.com"
+    body       :recipient => recipient
+  end
+
+The body of the email is created by using an Action View template (regular
+ERb) that has the content of the body hash parameter available as instance variables. 
+So the corresponding body template for the method above could look like this:
+
+  Hello there, 
+
+  Mr. <%= @recipient %>
+  
+And if the recipient was given as "david at loudthinking.com", the email 
+generated would look like this:
+
+  Date: Sun, 12 Dec 2004 00:00:00 +0100
+  From: system at loudthinking.com
+  To: david at loudthinking.com
+  Subject: [Signed up] Welcome david at loudthinking.com
+
+  Hello there, 
+
+  Mr. david at loudthinking.com
+
+You never actually call the instance methods like signed_up directly. Instead,
+you call class methods like deliver_* and create_* that are automatically
+created for each instance method. So if the signed_up method sat on
+ApplicationMailer, it would look like this:
+
+  ApplicationMailer.create_signed_up("david at loudthinking.com")  # => tmail object for testing
+  ApplicationMailer.deliver_signed_up("david at loudthinking.com") # sends the email
+  ApplicationMailer.new.signed_up("david at loudthinking.com")     # won't work!
+
+== Receiving emails
+
+To receive emails, you need to implement a public instance method called receive that takes a
+tmail object as its single parameter. The Action Mailer framework has a corresponding class method, 
+which is also called receive, that accepts a raw, unprocessed email as a string, which it then turns
+into the tmail object and calls the receive instance method.
+
+Example:
+
+  class Mailman < ActionMailer::Base
+    def receive(email)
+      page = Page.find_by_address(email.to.first)
+      page.emails.create(
+        :subject => email.subject, :body => email.body
+      )
+
+      if email.has_attachments?
+        for attachment in email.attachments
+          page.attachments.create({ 
+            :file => attachment, :description => email.subject
+          })
+        end
+      end
+    end
+  end
+
+This Mailman can be the target for Postfix or other MTAs. In Rails, you would use the runner in the 
+trivial case like this:
+
+  ./script/runner 'Mailman.receive(STDIN.read)'
+
+However, invoking Rails in the runner for each mail to be received is very resource intensive.  A single 
+instance of Rails should be run within a daemon if it is going to be utilized to process more than just 
+a limited number of email.
+
+== Configuration
+
+The Base class has the full list of configuration options. Here's an example:
+
+  ActionMailer::Base.smtp_settings = {
+    :address        => 'smtp.yourserver.com', # default: localhost
+    :port           => '25',                  # default: 25
+    :user_name      => 'user',
+    :password       => 'pass',
+    :authentication => :plain                 # :plain, :login or :cram_md5
+  }
+
+== Dependencies
+
+Action Mailer requires that the Action Pack is either available to be required immediately
+or is accessible as a GEM.
+
+
+== Bundled software
+
+* tmail 0.10.8 by Minero Aoki released under LGPL
+  Read more on http://i.loveruby.net/en/prog/tmail.html
+
+* Text::Format 0.63 by Austin Ziegler released under OpenSource
+  Read more on http://www.halostatue.ca/ruby/Text__Format.html
+
+
+== Download
+
+The latest version of Action Mailer can be found at
+
+* http://rubyforge.org/project/showfiles.php?group_id=361
+
+Documentation can be found at 
+
+* http://actionmailer.rubyonrails.org
+
+
+== Installation
+
+You can install Action Mailer with the following command.
+
+  % [sudo] ruby install.rb
+
+from its distribution directory.
+
+
+== License
+
+Action Mailer is released under the MIT license.
+
+
+== Support
+
+The Action Mailer homepage is http://www.rubyonrails.org. You can find
+the Action Mailer RubyForge page at http://rubyforge.org/projects/actionmailer.
+And as Jim from Rake says:
+
+   Feel free to submit commits or feature requests.  If you send a patch,
+   remember to update the corresponding unit tests.  If fact, I prefer
+   new feature to be submitted in the form of new unit tests.

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/Rakefile
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/Rakefile	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/Rakefile	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,98 @@
+require 'rubygems'
+require 'rake'
+require 'rake/testtask'
+require 'rake/rdoctask'
+require 'rake/packagetask'
+require 'rake/gempackagetask'
+require 'rake/contrib/sshpublisher'
+require File.join(File.dirname(__FILE__), 'lib', 'action_mailer', 'version')
+
+PKG_BUILD     = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
+PKG_NAME      = 'actionmailer'
+PKG_VERSION   = ActionMailer::VERSION::STRING + PKG_BUILD
+PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
+
+RELEASE_NAME  = "REL #{PKG_VERSION}"
+
+RUBY_FORGE_PROJECT = "actionmailer"
+RUBY_FORGE_USER    = "webster132"
+
+desc "Default Task"
+task :default => [ :test ]
+
+# Run the unit tests
+Rake::TestTask.new { |t|
+  t.libs << "test"
+  t.pattern = 'test/*_test.rb'
+  t.verbose = true
+  t.warning = false
+}
+
+
+# Generate the RDoc documentation
+Rake::RDocTask.new { |rdoc|
+  rdoc.rdoc_dir = 'doc'
+  rdoc.title    = "Action Mailer -- Easy email delivery and testing"
+  rdoc.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
+  rdoc.options << '--charset' << 'utf-8'
+  rdoc.template = ENV['template'] ? "#{ENV['template']}.rb" : '../doc/template/horo'
+  rdoc.rdoc_files.include('README', 'CHANGELOG')
+  rdoc.rdoc_files.include('lib/action_mailer.rb')
+  rdoc.rdoc_files.include('lib/action_mailer/*.rb')
+}
+
+
+# Create compressed packages
+spec = Gem::Specification.new do |s|
+  s.platform = Gem::Platform::RUBY
+  s.name = PKG_NAME
+  s.summary = "Service layer for easy email delivery and testing."
+  s.description = %q{Makes it trivial to test and deliver emails sent from a single service layer.}
+  s.version = PKG_VERSION
+
+  s.author = "David Heinemeier Hansson"
+  s.email = "david at loudthinking.com"
+  s.rubyforge_project = "actionmailer"
+  s.homepage = "http://www.rubyonrails.org"
+
+  s.add_dependency('actionpack', '= 2.2.2' + PKG_BUILD)
+
+  s.has_rdoc = true
+  s.requirements << 'none'
+  s.require_path = 'lib'
+  s.autorequire = 'action_mailer'
+
+  s.files = [ "Rakefile", "install.rb", "README", "CHANGELOG", "MIT-LICENSE" ]
+  s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
+  s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
+end
+  
+Rake::GemPackageTask.new(spec) do |p|
+  p.gem_spec = spec
+  p.need_tar = true
+  p.need_zip = true
+end
+
+
+desc "Publish the API documentation"
+task :pgem => [:package] do 
+  Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload
+  `ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'`
+end
+
+desc "Publish the API documentation"
+task :pdoc => [:rdoc] do 
+  Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload
+end
+
+desc "Publish the release files to RubyForge."
+task :release => [ :package ] do
+  require 'rubyforge'
+  require 'rake/contrib/rubyforgepublisher'
+
+  packages = %w( gem tgz zip ).collect{ |ext| "pkg/#{PKG_NAME}-#{PKG_VERSION}.#{ext}" }
+
+  rubyforge = RubyForge.new
+  rubyforge.login
+  rubyforge.add_release(PKG_NAME, PKG_NAME, "REL #{PKG_VERSION}", *packages)
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/install.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/install.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/install.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,30 @@
+require 'rbconfig'
+require 'find'
+require 'ftools'
+
+include Config
+
+# this was adapted from rdoc's install.rb by way of Log4r
+
+$sitedir = CONFIG["sitelibdir"]
+unless $sitedir
+  version = CONFIG["MAJOR"] + "." + CONFIG["MINOR"]
+  $libdir = File.join(CONFIG["libdir"], "ruby", version)
+  $sitedir = $:.find {|x| x =~ /site_ruby/ }
+  if !$sitedir
+    $sitedir = File.join($libdir, "site_ruby")
+  elsif $sitedir !~ Regexp.quote(version)
+    $sitedir = File.join($sitedir, version)
+  end
+end
+
+# the actual gruntwork
+Dir.chdir("lib")
+
+Find.find("action_mailer", "action_mailer.rb") { |f|
+  if f[-3..-1] == ".rb"
+    File::install(f, File.join($sitedir, *f.split(/\//)), 0644, true)
+  else
+    File::makedirs(File.join($sitedir, *f.split(/\//)))
+  end
+}

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/adv_attr_accessor.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/adv_attr_accessor.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/adv_attr_accessor.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,30 @@
+module ActionMailer
+  module AdvAttrAccessor #:nodoc:
+    def self.included(base)
+      base.extend(ClassMethods)
+    end
+
+    module ClassMethods #:nodoc:
+      def adv_attr_accessor(*names)
+        names.each do |name|
+          ivar = "@#{name}"
+
+          define_method("#{name}=") do |value|
+            instance_variable_set(ivar, value)
+          end
+
+          define_method(name) do |*parameters|
+            raise ArgumentError, "expected 0 or 1 parameters" unless parameters.length <= 1
+            if parameters.empty?
+              if instance_variable_names.include?(ivar)
+                instance_variable_get(ivar)
+              end
+            else
+              instance_variable_set(ivar, parameters.first)
+            end
+          end
+        end
+      end
+    end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/base.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/base.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/base.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,690 @@
+require 'action_mailer/adv_attr_accessor'
+require 'action_mailer/part'
+require 'action_mailer/part_container'
+require 'action_mailer/utils'
+require 'tmail/net'
+
+module ActionMailer #:nodoc:
+  # Action Mailer allows you to send email from your application using a mailer model and views.
+  #
+  #
+  # = Mailer Models
+  #
+  # To use Action Mailer, you need to create a mailer model.
+  #
+  #   $ script/generate mailer Notifier
+  #
+  # The generated model inherits from ActionMailer::Base. Emails are defined by creating methods within the model which are then
+  # used to set variables to be used in the mail template, to change options on the mail, or
+  # to add attachments.
+  #
+  # Examples:
+  #
+  #  class Notifier < ActionMailer::Base
+  #    def signup_notification(recipient)
+  #      recipients recipient.email_address_with_name
+  #      from       "system at example.com"
+  #      subject    "New account information"
+  #      body       :account => recipient
+  #    end
+  #  end
+  #
+  # Mailer methods have the following configuration methods available.
+  #
+  # * <tt>recipients</tt> - Takes one or more email addresses. These addresses are where your email will be delivered to. Sets the <tt>To:</tt> header.
+  # * <tt>subject</tt> - The subject of your email. Sets the <tt>Subject:</tt> header.
+  # * <tt>from</tt> - Who the email you are sending is from. Sets the <tt>From:</tt> header.
+  # * <tt>cc</tt> - Takes one or more email addresses. These addresses will receive a carbon copy of your email. Sets the <tt>Cc:</tt> header.
+  # * <tt>bcc</tt> - Takes one or more email addresses. These addresses will receive a blind carbon copy of your email. Sets the <tt>Bcc:</tt> header.
+  # * <tt>reply_to</tt> - Takes one or more email addresses. These addresses will be listed as the default recipients when replying to your email. Sets the <tt>Reply-To:</tt> header.
+  # * <tt>sent_on</tt> - The date on which the message was sent. If not set, the header wil be set by the delivery agent.
+  # * <tt>content_type</tt> - Specify the content type of the message. Defaults to <tt>text/plain</tt>.
+  # * <tt>headers</tt> - Specify additional headers to be set for the message, e.g. <tt>headers 'X-Mail-Count' => 107370</tt>.
+  #
+  # When a <tt>headers 'return-path'</tt> is specified, that value will be used as the 'envelope from'
+  # address. Setting this is useful when you want delivery notifications sent to a different address than
+  # the one in <tt>from</tt>.
+  #
+  # The <tt>body</tt> method has special behavior. It takes a hash which generates an instance variable
+  # named after each key in the hash containing the value that that key points to.
+  #
+  # So, for example, <tt>body :account => recipient</tt> would result
+  # in an instance variable <tt>@account</tt> with the value of <tt>recipient</tt> being accessible in the
+  # view.
+  #
+  #
+  # = Mailer views
+  #
+  # Like Action Controller, each mailer class has a corresponding view directory
+  # in which each method of the class looks for a template with its name.
+  # To define a template to be used with a mailing, create an <tt>.erb</tt> file with the same name as the method
+  # in your mailer model. For example, in the mailer defined above, the template at
+  # <tt>app/views/notifier/signup_notification.erb</tt> would be used to generate the email.
+  #
+  # Variables defined in the model are accessible as instance variables in the view.
+  #
+  # Emails by default are sent in plain text, so a sample view for our model example might look like this:
+  #
+  #   Hi <%= @account.name %>,
+  #   Thanks for joining our service! Please check back often.
+  #
+  # You can even use Action Pack helpers in these views. For example:
+  #
+  #   You got a new note!
+  #   <%= truncate(note.body, 25) %>
+  #
+  #
+  # = Generating URLs
+  #
+  # URLs can be generated in mailer views using <tt>url_for</tt> or named routes.
+  # Unlike controllers from Action Pack, the mailer instance doesn't have any context about the incoming request,
+  # so you'll need to provide all of the details needed to generate a URL.
+  #
+  # When using <tt>url_for</tt> you'll need to provide the <tt>:host</tt>, <tt>:controller</tt>, and <tt>:action</tt>:
+  #
+  #   <%= url_for(:host => "example.com", :controller => "welcome", :action => "greeting") %>
+  #
+  # When using named routes you only need to supply the <tt>:host</tt>:
+  #
+  #   <%= users_url(:host => "example.com") %>
+  #
+  # You will want to avoid using the <tt>name_of_route_path</tt> form of named routes because it doesn't make sense to
+  # generate relative URLs in email messages.
+  #
+  # It is also possible to set a default host that will be used in all mailers by setting the <tt>:host</tt> option in
+  # the <tt>ActionMailer::Base.default_url_options</tt> hash as follows:
+  #
+  #   ActionMailer::Base.default_url_options[:host] = "example.com"
+  #
+  # This can also be set as a configuration option in <tt>config/environment.rb</tt>:
+  #
+  #   config.action_mailer.default_url_options = { :host => "example.com" }
+  #
+  # If you do decide to set a default <tt>:host</tt> for your mailers you will want to use the
+  # <tt>:only_path => false</tt> option when using <tt>url_for</tt>. This will ensure that absolute URLs are generated because
+  # the <tt>url_for</tt> view helper will, by default, generate relative URLs when a <tt>:host</tt> option isn't
+  # explicitly provided.
+  #
+  # = Sending mail
+  #
+  # Once a mailer action and template are defined, you can deliver your message or create it and save it
+  # for delivery later:
+  #
+  #   Notifier.deliver_signup_notification(david) # sends the email
+  #   mail = Notifier.create_signup_notification(david)  # => a tmail object
+  #   Notifier.deliver(mail)
+  #
+  # You never instantiate your mailer class. Rather, your delivery instance
+  # methods are automatically wrapped in class methods that start with the word
+  # <tt>deliver_</tt> followed by the name of the mailer method that you would
+  # like to deliver. The <tt>signup_notification</tt> method defined above is
+  # delivered by invoking <tt>Notifier.deliver_signup_notification</tt>.
+  #
+  #
+  # = HTML email
+  #
+  # To send mail as HTML, make sure your view (the <tt>.erb</tt> file) generates HTML and
+  # set the content type to html.
+  #
+  #   class MyMailer < ActionMailer::Base
+  #     def signup_notification(recipient)
+  #       recipients   recipient.email_address_with_name
+  #       subject      "New account information"
+  #       from         "system at example.com"
+  #       body         :account => recipient
+  #       content_type "text/html"
+  #     end
+  #   end
+  #
+  #
+  # = Multipart email
+  #
+  # You can explicitly specify multipart messages:
+  #
+  #   class ApplicationMailer < ActionMailer::Base
+  #     def signup_notification(recipient)
+  #       recipients      recipient.email_address_with_name
+  #       subject         "New account information"
+  #       from            "system at example.com"
+  #       content_type    "multipart/alternative"
+  #
+  #       part :content_type => "text/html",
+  #         :body => render_message("signup-as-html", :account => recipient)
+  #
+  #       part "text/plain" do |p|
+  #         p.body = render_message("signup-as-plain", :account => recipient)
+  #         p.transfer_encoding = "base64"
+  #       end
+  #     end
+  #   end
+  #
+  # Multipart messages can also be used implicitly because Action Mailer will automatically
+  # detect and use multipart templates, where each template is named after the name of the action, followed
+  # by the content type. Each such detected template will be added as separate part to the message.
+  #
+  # For example, if the following templates existed:
+  # * signup_notification.text.plain.erb
+  # * signup_notification.text.html.erb
+  # * signup_notification.text.xml.builder
+  # * signup_notification.text.x-yaml.erb
+  #
+  # Each would be rendered and added as a separate part to the message,
+  # with the corresponding content type. The content type for the entire
+  # message is automatically set to <tt>multipart/alternative</tt>, which indicates
+  # that the email contains multiple different representations of the same email
+  # body. The same body hash is passed to each template.
+  #
+  # Implicit template rendering is not performed if any attachments or parts have been added to the email.
+  # This means that you'll have to manually add each part to the email and set the content type of the email
+  # to <tt>multipart/alternative</tt>.
+  #
+  # = Attachments
+  #
+  # Attachments can be added by using the +attachment+ method.
+  #
+  # Example:
+  #
+  #   class ApplicationMailer < ActionMailer::Base
+  #     # attachments
+  #     def signup_notification(recipient)
+  #       recipients      recipient.email_address_with_name
+  #       subject         "New account information"
+  #       from            "system at example.com"
+  #
+  #       attachment :content_type => "image/jpeg",
+  #         :body => File.read("an-image.jpg")
+  #
+  #       attachment "application/pdf" do |a|
+  #         a.body = generate_your_pdf_here()
+  #       end
+  #     end
+  #   end
+  #
+  #
+  # = Configuration options
+  #
+  # These options are specified on the class level, like <tt>ActionMailer::Base.template_root = "/my/templates"</tt>
+  #
+  # * <tt>template_root</tt> - Determines the base from which template references will be made.
+  #
+  # * <tt>logger</tt> - the logger is used for generating information on the mailing run if available.
+  #   Can be set to nil for no logging. Compatible with both Ruby's own Logger and Log4r loggers.
+  #
+  # * <tt>smtp_settings</tt> - Allows detailed configuration for <tt>:smtp</tt> delivery method:
+  #   * <tt>:address</tt> - Allows you to use a remote mail server. Just change it from its default "localhost" setting.
+  #   * <tt>:port</tt> - On the off chance that your mail server doesn't run on port 25, you can change it.
+  #   * <tt>:domain</tt> - If you need to specify a HELO domain, you can do it here.
+  #   * <tt>:user_name</tt> - If your mail server requires authentication, set the username in this setting.
+  #   * <tt>:password</tt> - If your mail server requires authentication, set the password in this setting.
+  #   * <tt>:authentication</tt> - If your mail server requires authentication, you need to specify the authentication type here.
+  #     This is a symbol and one of <tt>:plain</tt>, <tt>:login</tt>, <tt>:cram_md5</tt>.
+  #
+  # * <tt>sendmail_settings</tt> - Allows you to override options for the <tt>:sendmail</tt> delivery method.
+  #   * <tt>:location</tt> - The location of the sendmail executable. Defaults to <tt>/usr/sbin/sendmail</tt>.
+  #   * <tt>:arguments</tt> - The command line arguments. Defaults to <tt>-i -t</tt>.
+  #
+  # * <tt>raise_delivery_errors</tt> - Whether or not errors should be raised if the email fails to be delivered.
+  #
+  # * <tt>delivery_method</tt> - Defines a delivery method. Possible values are <tt>:smtp</tt> (default), <tt>:sendmail</tt>, and <tt>:test</tt>.
+  #
+  # * <tt>perform_deliveries</tt> - Determines whether <tt>deliver_*</tt> methods are actually carried out. By default they are,
+  #   but this can be turned off to help functional testing.
+  #
+  # * <tt>deliveries</tt> - Keeps an array of all the emails sent out through the Action Mailer with <tt>delivery_method :test</tt>. Most useful
+  #   for unit and functional testing.
+  #
+  # * <tt>default_charset</tt> - The default charset used for the body and to encode the subject. Defaults to UTF-8. You can also
+  #   pick a different charset from inside a method with +charset+.
+  # * <tt>default_content_type</tt> - The default content type used for the main part of the message. Defaults to "text/plain". You
+  #   can also pick a different content type from inside a method with +content_type+.
+  # * <tt>default_mime_version</tt> - The default mime version used for the message. Defaults to <tt>1.0</tt>. You
+  #   can also pick a different value from inside a method with +mime_version+.
+  # * <tt>default_implicit_parts_order</tt> - When a message is built implicitly (i.e. multiple parts are assembled from templates
+  #   which specify the content type in their filenames) this variable controls how the parts are ordered. Defaults to
+  #   <tt>["text/html", "text/enriched", "text/plain"]</tt>. Items that appear first in the array have higher priority in the mail client
+  #   and appear last in the mime encoded message. You can also pick a different order from inside a method with
+  #   +implicit_parts_order+.
+  class Base
+    include AdvAttrAccessor, PartContainer
+    if Object.const_defined?(:ActionController)
+      include ActionController::UrlWriter
+      include ActionController::Layout
+    end
+
+    private_class_method :new #:nodoc:
+
+    class_inheritable_accessor :view_paths
+    cattr_accessor :logger
+
+    @@smtp_settings = {
+      :address        => "localhost",
+      :port           => 25,
+      :domain         => 'localhost.localdomain',
+      :user_name      => nil,
+      :password       => nil,
+      :authentication => nil
+    }
+    cattr_accessor :smtp_settings
+
+    @@sendmail_settings = {
+      :location       => '/usr/sbin/sendmail',
+      :arguments      => '-i -t'
+    }
+    cattr_accessor :sendmail_settings
+
+    @@raise_delivery_errors = true
+    cattr_accessor :raise_delivery_errors
+
+    superclass_delegating_accessor :delivery_method
+    self.delivery_method = :smtp
+
+    @@perform_deliveries = true
+    cattr_accessor :perform_deliveries
+
+    @@deliveries = []
+    cattr_accessor :deliveries
+
+    @@default_charset = "utf-8"
+    cattr_accessor :default_charset
+
+    @@default_content_type = "text/plain"
+    cattr_accessor :default_content_type
+
+    @@default_mime_version = "1.0"
+    cattr_accessor :default_mime_version
+
+    @@default_implicit_parts_order = [ "text/html", "text/enriched", "text/plain" ]
+    cattr_accessor :default_implicit_parts_order
+
+    cattr_reader :protected_instance_variables
+    @@protected_instance_variables = %w(@body)
+
+    # Specify the BCC addresses for the message
+    adv_attr_accessor :bcc
+
+    # Define the body of the message. This is either a Hash (in which case it
+    # specifies the variables to pass to the template when it is rendered),
+    # or a string, in which case it specifies the actual text of the message.
+    adv_attr_accessor :body
+
+    # Specify the CC addresses for the message.
+    adv_attr_accessor :cc
+
+    # Specify the charset to use for the message. This defaults to the
+    # +default_charset+ specified for ActionMailer::Base.
+    adv_attr_accessor :charset
+
+    # Specify the content type for the message. This defaults to <tt>text/plain</tt>
+    # in most cases, but can be automatically set in some situations.
+    adv_attr_accessor :content_type
+
+    # Specify the from address for the message.
+    adv_attr_accessor :from
+
+    # Specify the address (if different than the "from" address) to direct
+    # replies to this message.
+    adv_attr_accessor :reply_to
+
+    # Specify additional headers to be added to the message.
+    adv_attr_accessor :headers
+
+    # Specify the order in which parts should be sorted, based on content-type.
+    # This defaults to the value for the +default_implicit_parts_order+.
+    adv_attr_accessor :implicit_parts_order
+
+    # Defaults to "1.0", but may be explicitly given if needed.
+    adv_attr_accessor :mime_version
+
+    # The recipient addresses for the message, either as a string (for a single
+    # address) or an array (for multiple addresses).
+    adv_attr_accessor :recipients
+
+    # The date on which the message was sent. If not set (the default), the
+    # header will be set by the delivery agent.
+    adv_attr_accessor :sent_on
+
+    # Specify the subject of the message.
+    adv_attr_accessor :subject
+
+    # Specify the template name to use for current message. This is the "base"
+    # template name, without the extension or directory, and may be used to
+    # have multiple mailer methods share the same template.
+    adv_attr_accessor :template
+
+    # Override the mailer name, which defaults to an inflected version of the
+    # mailer's class name. If you want to use a template in a non-standard
+    # location, you can use this to specify that location.
+    def mailer_name(value = nil)
+      if value
+        self.mailer_name = value
+      else
+        self.class.mailer_name
+      end
+    end
+
+    def mailer_name=(value)
+      self.class.mailer_name = value
+    end
+
+    # The mail object instance referenced by this mailer.
+    attr_reader :mail
+    attr_reader :template_name, :default_template_name, :action_name
+
+    class << self
+      attr_writer :mailer_name
+
+      def mailer_name
+        @mailer_name ||= name.underscore
+      end
+
+      # for ActionView compatibility
+      alias_method :controller_name, :mailer_name
+      alias_method :controller_path, :mailer_name
+
+      def respond_to?(method_symbol, include_private = false) #:nodoc:
+        matches_dynamic_method?(method_symbol) || super
+      end
+
+      def method_missing(method_symbol, *parameters) #:nodoc:
+        if match = matches_dynamic_method?(method_symbol)
+          case match[1]
+            when 'create'  then new(match[2], *parameters).mail
+            when 'deliver' then new(match[2], *parameters).deliver!
+            when 'new'     then nil
+            else super
+          end
+        else
+          super
+        end
+      end
+
+      # Receives a raw email, parses it into an email object, decodes it,
+      # instantiates a new mailer, and passes the email object to the mailer
+      # object's +receive+ method. If you want your mailer to be able to
+      # process incoming messages, you'll need to implement a +receive+
+      # method that accepts the email object as a parameter:
+      #
+      #   class MyMailer < ActionMailer::Base
+      #     def receive(mail)
+      #       ...
+      #     end
+      #   end
+      def receive(raw_email)
+        logger.info "Received mail:\n #{raw_email}" unless logger.nil?
+        mail = TMail::Mail.parse(raw_email)
+        mail.base64_decode
+        new.receive(mail)
+      end
+
+      # Deliver the given mail object directly. This can be used to deliver
+      # a preconstructed mail object, like:
+      #
+      #   email = MyMailer.create_some_mail(parameters)
+      #   email.set_some_obscure_header "frobnicate"
+      #   MyMailer.deliver(email)
+      def deliver(mail)
+        new.deliver!(mail)
+      end
+
+      def register_template_extension(extension)
+        ActiveSupport::Deprecation.warn(
+          "ActionMailer::Base.register_template_extension has been deprecated." +
+          "Use ActionView::Base.register_template_extension instead", caller)
+      end
+
+      def template_root
+        self.view_paths && self.view_paths.first
+      end
+
+      def template_root=(root)
+        self.view_paths = ActionView::Base.process_view_paths(root)
+      end
+
+      private
+        def matches_dynamic_method?(method_name) #:nodoc:
+          method_name = method_name.to_s
+          /^(create|deliver)_([_a-z]\w*)/.match(method_name) || /^(new)$/.match(method_name)
+        end
+    end
+
+    # Instantiate a new mailer object. If +method_name+ is not +nil+, the mailer
+    # will be initialized according to the named method. If not, the mailer will
+    # remain uninitialized (useful when you only need to invoke the "receive"
+    # method, for instance).
+    def initialize(method_name=nil, *parameters) #:nodoc:
+      create!(method_name, *parameters) if method_name
+    end
+
+    # Initialize the mailer via the given +method_name+. The body will be
+    # rendered and a new TMail::Mail object created.
+    def create!(method_name, *parameters) #:nodoc:
+      initialize_defaults(method_name)
+      __send__(method_name, *parameters)
+
+      # If an explicit, textual body has not been set, we check assumptions.
+      unless String === @body
+        # First, we look to see if there are any likely templates that match,
+        # which include the content-type in their file name (i.e.,
+        # "the_template_file.text.html.erb", etc.). Only do this if parts
+        # have not already been specified manually.
+        if @parts.empty?
+          Dir.glob("#{template_path}/#{@template}.*").each do |path|
+            template = template_root["#{mailer_name}/#{File.basename(path)}"]
+
+            # Skip unless template has a multipart format
+            next unless template && template.multipart?
+
+            @parts << Part.new(
+              :content_type => template.content_type,
+              :disposition => "inline",
+              :charset => charset,
+              :body => render_message(template, @body)
+            )
+          end
+          unless @parts.empty?
+            @content_type = "multipart/alternative"
+            @parts = sort_parts(@parts, @implicit_parts_order)
+          end
+        end
+
+        # Then, if there were such templates, we check to see if we ought to
+        # also render a "normal" template (without the content type). If a
+        # normal template exists (or if there were no implicit parts) we render
+        # it.
+        template_exists = @parts.empty?
+        template_exists ||= template_root["#{mailer_name}/#{@template}"]
+        @body = render_message(@template, @body) if template_exists
+
+        # Finally, if there are other message parts and a textual body exists,
+        # we shift it onto the front of the parts and set the body to nil (so
+        # that create_mail doesn't try to render it in addition to the parts).
+        if [email protected]? && String === @body
+          @parts.unshift Part.new(:charset => charset, :body => @body)
+          @body = nil
+        end
+      end
+
+      # If this is a multipart e-mail add the mime_version if it is not
+      # already set.
+      @mime_version ||= "1.0" if [email protected]?
+
+      # build the mail object itself
+      @mail = create_mail
+    end
+
+    # Delivers a TMail::Mail object. By default, it delivers the cached mail
+    # object (from the <tt>create!</tt> method). If no cached mail object exists, and
+    # no alternate has been given as the parameter, this will fail.
+    def deliver!(mail = @mail)
+      raise "no mail object available for delivery!" unless mail
+      unless logger.nil?
+        logger.info  "Sent mail to #{Array(recipients).join(', ')}"
+        logger.debug "\n#{mail.encoded}"
+      end
+
+      begin
+        __send__("perform_delivery_#{delivery_method}", mail) if perform_deliveries
+      rescue Exception => e  # Net::SMTP errors or sendmail pipe errors
+        raise e if raise_delivery_errors
+      end
+
+      return mail
+    end
+
+    private
+      # Set up the default values for the various instance variables of this
+      # mailer. Subclasses may override this method to provide different
+      # defaults.
+      def initialize_defaults(method_name)
+        @charset ||= @@default_charset.dup
+        @content_type ||= @@default_content_type.dup
+        @implicit_parts_order ||= @@default_implicit_parts_order.dup
+        @template ||= method_name
+        @default_template_name = @action_name = @template
+        @mailer_name ||= self.class.name.underscore
+        @parts ||= []
+        @headers ||= {}
+        @body ||= {}
+        @mime_version = @@default_mime_version.dup if @@default_mime_version
+      end
+
+      def render_message(method_name, body)
+        render :file => method_name, :body => body
+      end
+
+      def render(opts)
+        body = opts.delete(:body)
+        if opts[:file] && (opts[:file] !~ /\// && !opts[:file].respond_to?(:render))
+          opts[:file] = "#{mailer_name}/#{opts[:file]}"
+        end
+
+        begin
+          old_template, @template = @template, initialize_template_class(body)
+          layout = respond_to?(:pick_layout, true) ? pick_layout(opts) : false
+          @template.render(opts.merge(:layout => layout))
+        ensure
+          @template = old_template
+        end
+      end
+
+      def default_template_format
+        :html
+      end
+
+      def candidate_for_layout?(options)
+        [email protected](:_exempt_from_layout?, default_template_name)
+      end
+
+      def template_root
+        self.class.template_root
+      end
+
+      def template_root=(root)
+        self.class.template_root = root
+      end
+
+      def template_path
+        "#{template_root}/#{mailer_name}"
+      end
+
+      def initialize_template_class(assigns)
+        ActionView::Base.new(view_paths, assigns, self)
+      end
+
+      def sort_parts(parts, order = [])
+        order = order.collect { |s| s.downcase }
+
+        parts = parts.sort do |a, b|
+          a_ct = a.content_type.downcase
+          b_ct = b.content_type.downcase
+
+          a_in = order.include? a_ct
+          b_in = order.include? b_ct
+
+          s = case
+          when a_in && b_in
+            order.index(a_ct) <=> order.index(b_ct)
+          when a_in
+            -1
+          when b_in
+            1
+          else
+            a_ct <=> b_ct
+          end
+
+          # reverse the ordering because parts that come last are displayed
+          # first in mail clients
+          (s * -1)
+        end
+
+        parts
+      end
+
+      def create_mail
+        m = TMail::Mail.new
+
+        m.subject,     = quote_any_if_necessary(charset, subject)
+        m.to, m.from   = quote_any_address_if_necessary(charset, recipients, from)
+        m.bcc          = quote_address_if_necessary(bcc, charset) unless bcc.nil?
+        m.cc           = quote_address_if_necessary(cc, charset) unless cc.nil?
+        m.reply_to     = quote_address_if_necessary(reply_to, charset) unless reply_to.nil?
+        m.mime_version = mime_version unless mime_version.nil?
+        m.date         = sent_on.to_time rescue sent_on if sent_on
+
+        headers.each { |k, v| m[k] = v }
+
+        real_content_type, ctype_attrs = parse_content_type
+
+        if @parts.empty?
+          m.set_content_type(real_content_type, nil, ctype_attrs)
+          m.body = Utils.normalize_new_lines(body)
+        else
+          if String === body
+            part = TMail::Mail.new
+            part.body = Utils.normalize_new_lines(body)
+            part.set_content_type(real_content_type, nil, ctype_attrs)
+            part.set_content_disposition "inline"
+            m.parts << part
+          end
+
+          @parts.each do |p|
+            part = (TMail::Mail === p ? p : p.to_mail(self))
+            m.parts << part
+          end
+
+          if real_content_type =~ /multipart/
+            ctype_attrs.delete "charset"
+            m.set_content_type(real_content_type, nil, ctype_attrs)
+          end
+        end
+
+        @mail = m
+      end
+
+      def perform_delivery_smtp(mail)
+        destinations = mail.destinations
+        mail.ready_to_send
+        sender = mail['return-path'] || mail.from
+
+        smtp = Net::SMTP.new(smtp_settings[:address], smtp_settings[:port])
+        smtp.enable_starttls_auto if smtp.respond_to?(:enable_starttls_auto)
+        smtp.start(smtp_settings[:domain], smtp_settings[:user_name], smtp_settings[:password],
+                   smtp_settings[:authentication]) do |smtp|
+          smtp.sendmail(mail.encoded, sender, destinations)
+        end
+      end
+
+      def perform_delivery_sendmail(mail)
+        sendmail_args = sendmail_settings[:arguments]
+        sendmail_args += " -f \"#{mail['return-path']}\"" if mail['return-path']
+        IO.popen("#{sendmail_settings[:location]} #{sendmail_args}","w+") do |sm|
+          sm.print(mail.encoded.gsub(/\r/, ''))
+          sm.flush
+        end
+      end
+
+      def perform_delivery_test(mail)
+        deliveries << mail
+      end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/helpers.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/helpers.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/helpers.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,111 @@
+module ActionMailer
+  module Helpers #:nodoc:
+    def self.included(base) #:nodoc:
+      # Initialize the base module to aggregate its helpers.
+      base.class_inheritable_accessor :master_helper_module
+      base.master_helper_module = Module.new
+
+      # Extend base with class methods to declare helpers.
+      base.extend(ClassMethods)
+
+      base.class_eval do
+        # Wrap inherited to create a new master helper module for subclasses.
+        class << self
+          alias_method_chain :inherited, :helper
+        end
+
+        # Wrap initialize_template_class to extend new template class
+        # instances with the master helper module.
+        alias_method_chain :initialize_template_class, :helper
+      end
+    end
+
+    module ClassMethods
+      # Makes all the (instance) methods in the helper module available to templates rendered through this controller.
+      # See ActionView::Helpers (link:classes/ActionView/Helpers.html) for more about making your own helper modules
+      # available to the templates.
+      def add_template_helper(helper_module) #:nodoc:
+        master_helper_module.module_eval "include #{helper_module}"
+      end
+
+      # Declare a helper:
+      #   helper :foo
+      # requires 'foo_helper' and includes FooHelper in the template class.
+      #   helper FooHelper
+      # includes FooHelper in the template class.
+      #   helper { def foo() "#{bar} is the very best" end }
+      # evaluates the block in the template class, adding method +foo+.
+      #   helper(:three, BlindHelper) { def mice() 'mice' end }
+      # does all three.
+      def helper(*args, &block)
+        args.flatten.each do |arg|
+          case arg
+            when Module
+              add_template_helper(arg)
+            when String, Symbol
+              file_name  = arg.to_s.underscore + '_helper'
+              class_name = file_name.camelize
+
+              begin
+                require_dependency(file_name)
+              rescue LoadError => load_error
+                requiree = / -- (.*?)(\.rb)?$/.match(load_error.message).to_a[1]
+                msg = (requiree == file_name) ? "Missing helper file helpers/#{file_name}.rb" : "Can't load file: #{requiree}"
+                raise LoadError.new(msg).copy_blame!(load_error)
+              end
+
+              add_template_helper(class_name.constantize)
+            else
+              raise ArgumentError, 'helper expects String, Symbol, or Module argument'
+          end
+        end
+
+        # Evaluate block in template class if given.
+        master_helper_module.module_eval(&block) if block_given?
+      end
+
+      # Declare a controller method as a helper.  For example,
+      #   helper_method :link_to
+      #   def link_to(name, options) ... end
+      # makes the link_to controller method available in the view.
+      def helper_method(*methods)
+        methods.flatten.each do |method|
+          master_helper_module.module_eval <<-end_eval
+            def #{method}(*args, &block)
+              controller.__send__(%(#{method}), *args, &block)
+            end
+          end_eval
+        end
+      end
+
+      # Declare a controller attribute as a helper.  For example,
+      #   helper_attr :name
+      #   attr_accessor :name
+      # makes the name and name= controller methods available in the view.
+      # The is a convenience wrapper for helper_method.
+      def helper_attr(*attrs)
+        attrs.flatten.each { |attr| helper_method(attr, "#{attr}=") }
+      end
+
+      private
+        def inherited_with_helper(child)
+          inherited_without_helper(child)
+          begin
+            child.master_helper_module = Module.new
+            child.master_helper_module.__send__(:include, master_helper_module)
+            child.helper child.name.to_s.underscore
+          rescue MissingSourceFile => e
+            raise unless e.is_missing?("helpers/#{child.name.to_s.underscore}_helper")
+          end
+        end
+    end
+
+    private
+      # Extend the template class instance with our controller's helper module.
+      def initialize_template_class_with_helper(assigns)
+        returning(template = initialize_template_class_without_helper(assigns)) do
+          template.extend self.class.master_helper_module
+        end
+      end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/mail_helper.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/mail_helper.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/mail_helper.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,19 @@
+require 'text/format'
+
+module MailHelper
+  # Uses Text::Format to take the text and format it, indented two spaces for
+  # each line, and wrapped at 72 columns.
+  def block_format(text)
+    formatted = text.split(/\n\r\n/).collect { |paragraph| 
+      Text::Format.new(
+        :columns => 72, :first_indent => 2, :body_indent => 2, :text => paragraph
+      ).format
+    }.join("\n")
+    
+    # Make list points stand on their own line
+    formatted.gsub!(/[ ]*([*]+) ([^*]*)/) { |s| "  #{$1} #{$2.strip}\n" }
+    formatted.gsub!(/[ ]*([#]+) ([^#]*)/) { |s| "  #{$1} #{$2.strip}\n" }
+
+    formatted
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,110 @@
+require 'action_mailer/adv_attr_accessor'
+require 'action_mailer/part_container'
+require 'action_mailer/utils'
+
+module ActionMailer
+  # Represents a subpart of an email message. It shares many similar
+  # attributes of ActionMailer::Base.  Although you can create parts manually
+  # and add them to the +parts+ list of the mailer, it is easier
+  # to use the helper methods in ActionMailer::PartContainer.
+  class Part
+    include ActionMailer::AdvAttrAccessor
+    include ActionMailer::PartContainer
+
+    # Represents the body of the part, as a string. This should not be a
+    # Hash (like ActionMailer::Base), but if you want a template to be rendered
+    # into the body of a subpart you can do it with the mailer's +render+ method
+    # and assign the result here.
+    adv_attr_accessor :body
+    
+    # Specify the charset for this subpart. By default, it will be the charset
+    # of the containing part or mailer.
+    adv_attr_accessor :charset
+    
+    # The content disposition of this part, typically either "inline" or
+    # "attachment".
+    adv_attr_accessor :content_disposition
+    
+    # The content type of the part.
+    adv_attr_accessor :content_type
+    
+    # The filename to use for this subpart (usually for attachments).
+    adv_attr_accessor :filename
+    
+    # Accessor for specifying additional headers to include with this part.
+    adv_attr_accessor :headers
+    
+    # The transfer encoding to use for this subpart, like "base64" or
+    # "quoted-printable".
+    adv_attr_accessor :transfer_encoding
+
+    # Create a new part from the given +params+ hash. The valid params keys
+    # correspond to the accessors.
+    def initialize(params)
+      @content_type = params[:content_type]
+      @content_disposition = params[:disposition] || "inline"
+      @charset = params[:charset]
+      @body = params[:body]
+      @filename = params[:filename]
+      @transfer_encoding = params[:transfer_encoding] || "quoted-printable"
+      @headers = params[:headers] || {}
+      @parts = []
+    end
+
+    # Convert the part to a mail object which can be included in the parts
+    # list of another mail object.
+    def to_mail(defaults)
+      part = TMail::Mail.new
+
+      real_content_type, ctype_attrs = parse_content_type(defaults)
+
+      if @parts.empty?
+        part.content_transfer_encoding = transfer_encoding || "quoted-printable"
+        case (transfer_encoding || "").downcase
+          when "base64" then
+            part.body = TMail::Base64.folding_encode(body)
+          when "quoted-printable"
+            part.body = [Utils.normalize_new_lines(body)].pack("M*")
+          else
+            part.body = body
+        end
+
+        # Always set the content_type after setting the body and or parts!
+        # Also don't set filename and name when there is none (like in
+        # non-attachment parts)
+        if content_disposition == "attachment"
+          ctype_attrs.delete "charset"
+          part.set_content_type(real_content_type, nil,
+            squish("name" => filename).merge(ctype_attrs))
+          part.set_content_disposition(content_disposition,
+            squish("filename" => filename).merge(ctype_attrs))
+        else
+          part.set_content_type(real_content_type, nil, ctype_attrs)
+          part.set_content_disposition(content_disposition) 
+        end        
+      else
+        if String === body
+          @parts.unshift Part.new(:charset => charset, :body => @body, :content_type => 'text/plain')
+          @body = nil
+        end
+          
+        @parts.each do |p|
+          prt = (TMail::Mail === p ? p : p.to_mail(defaults))
+          part.parts << prt
+        end
+        
+        part.set_content_type(real_content_type, nil, ctype_attrs) if real_content_type =~ /multipart/
+      end
+
+      headers.each { |k,v| part[k] = v }
+
+      part
+    end
+
+    private
+
+      def squish(values={})
+        values.delete_if { |k,v| v.nil? }
+      end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part_container.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part_container.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/part_container.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,51 @@
+module ActionMailer
+  # Accessors and helpers that ActionMailer::Base and ActionMailer::Part have
+  # in common. Using these helpers you can easily add subparts or attachments
+  # to your message:
+  #
+  #   def my_mail_message(...)
+  #     ...
+  #     part "text/plain" do |p|
+  #       p.body "hello, world"
+  #       p.transfer_encoding "base64"
+  #     end
+  #
+  #     attachment "image/jpg" do |a|
+  #       a.body = File.read("hello.jpg")
+  #       a.filename = "hello.jpg"
+  #     end
+  #   end
+  module PartContainer
+    # The list of subparts of this container
+    attr_reader :parts
+
+    # Add a part to a multipart message, with the given content-type. The
+    # part itself is yielded to the block so that other properties (charset,
+    # body, headers, etc.) can be set on it.
+    def part(params)
+      params = {:content_type => params} if String === params
+      part = Part.new(params)
+      yield part if block_given?
+      @parts << part
+    end
+
+    # Add an attachment to a multipart message. This is simply a part with the
+    # content-disposition set to "attachment".
+    def attachment(params, &block)
+      params = { :content_type => params } if String === params
+      params = { :disposition => "attachment",
+                 :transfer_encoding => "base64" }.merge(params)
+      part(params, &block)
+    end
+
+    private
+    
+      def parse_content_type(defaults=nil)
+        return [defaults && defaults.content_type, {}] if content_type.blank?
+        ctype, *attrs = content_type.split(/;\s*/)
+        attrs = attrs.inject({}) { |h,s| k,v = s.split(/=/, 2); h[k] = v; h }
+        [ctype, {"charset" => charset || defaults && defaults.charset}.merge(attrs)]
+      end
+
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/quoting.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/quoting.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/quoting.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,61 @@
+module ActionMailer
+  module Quoting #:nodoc:
+    # Convert the given text into quoted printable format, with an instruction
+    # that the text be eventually interpreted in the given charset.
+    def quoted_printable(text, charset)
+      text = text.gsub( /[^a-z ]/i ) { quoted_printable_encode($&) }.
+                  gsub( / /, "_" )
+      "=?#{charset}?Q?#{text}?="
+    end
+
+    # Convert the given character to quoted printable format, taking into
+    # account multi-byte characters (if executing with $KCODE="u", for instance)
+    def quoted_printable_encode(character)
+      result = ""
+      character.each_byte { |b| result << "=%02x" % b }
+      result
+    end
+
+    # A quick-and-dirty regexp for determining whether a string contains any
+    # characters that need escaping.
+    if !defined?(CHARS_NEEDING_QUOTING)
+      CHARS_NEEDING_QUOTING = /[\000-\011\013\014\016-\037\177-\377]/
+    end
+
+    # Quote the given text if it contains any "illegal" characters
+    def quote_if_necessary(text, charset)
+      text = text.dup.force_encoding(Encoding::ASCII_8BIT) if text.respond_to?(:force_encoding)
+
+      (text =~ CHARS_NEEDING_QUOTING) ?
+        quoted_printable(text, charset) :
+        text
+    end
+
+    # Quote any of the given strings if they contain any "illegal" characters
+    def quote_any_if_necessary(charset, *args)
+      args.map { |v| quote_if_necessary(v, charset) }
+    end
+
+    # Quote the given address if it needs to be. The address may be a
+    # regular email address, or it can be a phrase followed by an address in
+    # brackets. The phrase is the only part that will be quoted, and only if
+    # it needs to be. This allows extended characters to be used in the
+    # "to", "from", "cc", "bcc" and "reply-to" headers.
+    def quote_address_if_necessary(address, charset)
+      if Array === address
+        address.map { |a| quote_address_if_necessary(a, charset) }
+      elsif address =~ /^(\S.*)\s+(<.*>)$/
+        address = $2
+        phrase = quote_if_necessary($1.gsub(/^['"](.*)['"]$/, '\1'), charset)
+        "\"#{phrase}\" #{address}"
+      else
+        address
+      end
+    end
+
+    # Quote any of the given addresses, if they need to be.
+    def quote_any_address_if_necessary(charset, *args)
+      args.map { |v| quote_address_if_necessary(v, charset) }
+    end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_case.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_case.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_case.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,64 @@
+require 'active_support/test_case'
+
+module ActionMailer
+  class NonInferrableMailerError < ::StandardError
+    def initialize(name)
+      super "Unable to determine the mailer to test from #{name}. " +
+        "You'll need to specify it using tests YourMailer in your " +
+        "test case definition"
+    end
+  end
+
+  class TestCase < ActiveSupport::TestCase
+    include ActionMailer::Quoting
+
+    setup :initialize_test_deliveries
+    setup :set_expected_mail
+
+    class << self
+      def tests(mailer)
+        write_inheritable_attribute(:mailer_class, mailer)
+      end
+
+      def mailer_class
+        if mailer = read_inheritable_attribute(:mailer_class)
+          mailer
+        else
+          tests determine_default_mailer(name)
+        end
+      end
+
+      def determine_default_mailer(name)
+        name.sub(/Test$/, '').constantize
+      rescue NameError => e
+        raise NonInferrableMailerError.new(name)
+      end
+    end
+
+    protected
+      def initialize_test_deliveries
+        ActionMailer::Base.delivery_method = :test
+        ActionMailer::Base.perform_deliveries = true
+        ActionMailer::Base.deliveries = []
+      end
+
+      def set_expected_mail
+        @expected = TMail::Mail.new
+        @expected.set_content_type "text", "plain", { "charset" => charset }
+        @expected.mime_version = '1.0'
+      end
+
+    private
+      def charset
+        "utf-8"
+      end
+
+      def encode(subject)
+        quoted_printable(subject, charset)
+      end
+
+      def read_fixture(action)
+        IO.readlines(File.join(RAILS_ROOT, 'test', 'fixtures', self.class.mailer_class.name.underscore, action))
+      end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_helper.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_helper.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/test_helper.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,67 @@
+module ActionMailer
+  module TestHelper
+    # Asserts that the number of emails sent matches the given number.
+    #
+    #   def test_emails
+    #     assert_emails 0
+    #     ContactMailer.deliver_contact
+    #     assert_emails 1
+    #     ContactMailer.deliver_contact
+    #     assert_emails 2
+    #   end
+    #
+    # If a block is passed, that block should cause the specified number of emails to be sent.
+    #
+    #   def test_emails_again
+    #     assert_emails 1 do
+    #       ContactMailer.deliver_contact
+    #     end
+    #
+    #     assert_emails 2 do
+    #       ContactMailer.deliver_contact
+    #       ContactMailer.deliver_contact
+    #     end
+    #   end
+    def assert_emails(number)
+      if block_given?
+        original_count = ActionMailer::Base.deliveries.size
+        yield
+        new_count = ActionMailer::Base.deliveries.size
+        assert_equal original_count + number, new_count, "#{number} emails expected, but #{new_count - original_count} were sent"
+      else
+        assert_equal number, ActionMailer::Base.deliveries.size
+      end
+    end
+
+    # Assert that no emails have been sent.
+    #
+    #   def test_emails
+    #     assert_no_emails
+    #     ContactMailer.deliver_contact
+    #     assert_emails 1
+    #   end
+    #
+    # If a block is passed, that block should not cause any emails to be sent.
+    #
+    #   def test_emails_again
+    #     assert_no_emails do
+    #       # No emails should be sent from this block
+    #     end
+    #   end
+    #
+    # Note: This assertion is simply a shortcut for:
+    #
+    #   assert_emails 0
+    def assert_no_emails(&block)
+      assert_emails 0, &block
+    end
+  end
+end
+
+module Test
+  module Unit
+    class TestCase
+      include ActionMailer::TestHelper
+    end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/utils.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/utils.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/utils.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,8 @@
+module ActionMailer
+  module Utils #:nodoc:
+    def normalize_new_lines(text)
+      text.to_s.gsub(/\r\n?/, "\n")
+    end
+    module_function :normalize_new_lines
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,1466 @@
+#--
+# Text::Format for Ruby
+# Version 0.63
+#
+# Copyright (c) 2002 - 2003 Austin Ziegler
+#
+# $Id: format.rb,v 1.1.1.1 2004/10/14 11:59:57 webster132 Exp $
+#
+# ==========================================================================
+# Revision History ::
+# YYYY.MM.DD  Change ID   Developer
+#             Description
+# --------------------------------------------------------------------------
+# 2002.10.18              Austin Ziegler
+#             Fixed a minor problem with tabs not being counted. Changed
+#             abbreviations from Hash to Array to better suit Ruby's
+#             capabilities. Fixed problems with the way that Array arguments
+#             are handled in calls to the major object types, excepting in
+#             Text::Format#expand and Text::Format#unexpand (these will
+#             probably need to be fixed).
+# 2002.10.30              Austin Ziegler
+#             Fixed the ordering of the <=> for binary tests. Fixed
+#             Text::Format#expand and Text::Format#unexpand to handle array
+#             arguments better.
+# 2003.01.24              Austin Ziegler
+#             Fixed a problem with Text::Format::RIGHT_FILL handling where a
+#             single word is larger than #columns. Removed Comparable
+#             capabilities (<=> doesn't make sense; == does). Added Symbol
+#             equivalents for the Hash initialization. Hash initialization has
+#             been modified so that values are set as follows (Symbols are
+#             highest priority; strings are middle; defaults are lowest):
+#                 @columns = arg[:columns] || arg['columns'] || @columns
+#             Added #hard_margins, #split_rules, #hyphenator, and #split_words.
+# 2003.02.07              Austin Ziegler
+#             Fixed the installer for proper case-sensitive handling.
+# 2003.03.28              Austin Ziegler
+#             Added the ability for a hyphenator to receive the formatter
+#             object. Fixed a bug for strings matching /\A\s*\Z/ failing
+#             entirely. Fixed a test case failing under 1.6.8. 
+# 2003.04.04              Austin Ziegler
+#             Handle the case of hyphenators returning nil for first/rest.
+# 2003.09.17          Austin Ziegler
+#             Fixed a problem where #paragraphs(" ") was raising
+#             NoMethodError.
+#
+# ==========================================================================
+#++
+
+module Text #:nodoc:
+   # Text::Format for Ruby is copyright 2002 - 2005 by Austin Ziegler. It
+   # is available under Ruby's licence, the Perl Artistic licence, or the
+   # GNU GPL version 2 (or at your option, any later version). As a
+   # special exception, for use with official Rails (provided by the
+   # rubyonrails.org development team) and any project created with
+   # official Rails, the following alternative MIT-style licence may be
+   # used:
+   #
+   # == Text::Format Licence for Rails and Rails Applications
+   # 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 names of its contributors may not be used to endorse or
+   #   promote products derived from this software without specific prior
+   #   written permission.
+   #
+   # 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.  
+   class Format
+    VERSION = '0.63'
+
+      # Local abbreviations. More can be added with Text::Format.abbreviations
+    ABBREV = [ 'Mr', 'Mrs', 'Ms', 'Jr', 'Sr' ]
+
+      # Formatting values
+    LEFT_ALIGN  = 0
+    RIGHT_ALIGN = 1
+    RIGHT_FILL  = 2
+    JUSTIFY     = 3
+
+      # Word split modes (only applies when #hard_margins is true).
+    SPLIT_FIXED                     = 1
+    SPLIT_CONTINUATION              = 2
+    SPLIT_HYPHENATION               = 4
+    SPLIT_CONTINUATION_FIXED        = SPLIT_CONTINUATION | SPLIT_FIXED
+    SPLIT_HYPHENATION_FIXED         = SPLIT_HYPHENATION | SPLIT_FIXED
+    SPLIT_HYPHENATION_CONTINUATION  = SPLIT_HYPHENATION | SPLIT_CONTINUATION
+    SPLIT_ALL                       = SPLIT_HYPHENATION | SPLIT_CONTINUATION | SPLIT_FIXED
+
+      # Words forcibly split by Text::Format will be stored as split words.
+      # This class represents a word forcibly split.
+    class SplitWord
+        # The word that was split.
+      attr_reader :word
+        # The first part of the word that was split.
+      attr_reader :first
+        # The remainder of the word that was split.
+      attr_reader :rest
+
+      def initialize(word, first, rest) #:nodoc:
+        @word = word
+        @first = first
+        @rest = rest
+      end
+    end
+
+  private
+    LEQ_RE = /[.?!]['"]?$/
+
+    def brk_re(i) #:nodoc:
+      %r/((?:\S+\s+){#{i}})(.+)/
+    end
+
+    def posint(p) #:nodoc:
+      p.to_i.abs
+    end
+
+  public
+      # Compares two Text::Format objects. All settings of the objects are
+      # compared *except* #hyphenator. Generated results (e.g., #split_words)
+      # are not compared, either.
+    def ==(o)
+      (@text          ==  o.text)           &&
+      (@columns       ==  o.columns)        &&
+      (@left_margin   ==  o.left_margin)    &&
+      (@right_margin  ==  o.right_margin)   &&
+      (@hard_margins  ==  o.hard_margins)   &&
+      (@split_rules   ==  o.split_rules)    &&
+      (@first_indent  ==  o.first_indent)   &&
+      (@body_indent   ==  o.body_indent)    &&
+      (@tag_text      ==  o.tag_text)       &&
+      (@tabstop       ==  o.tabstop)        &&
+      (@format_style  ==  o.format_style)   &&
+      (@extra_space   ==  o.extra_space)    &&
+      (@tag_paragraph ==  o.tag_paragraph)  &&
+      (@nobreak       ==  o.nobreak)        &&
+      (@abbreviations ==  o.abbreviations)  &&
+      (@nobreak_regex ==  o.nobreak_regex)
+    end
+
+      # The text to be manipulated. Note that value is optional, but if the
+      # formatting functions are called without values, this text is what will
+      # be formatted.
+      #
+      # *Default*::       <tt>[]</tt>
+      # <b>Used in</b>::  All methods
+    attr_accessor :text
+
+      # The total width of the format area. The margins, indentation, and text
+      # are formatted into this space.
+      #
+      #                             COLUMNS
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  indent  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>72</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    attr_reader :columns
+
+      # The total width of the format area. The margins, indentation, and text
+      # are formatted into this space. The value provided is silently
+      # converted to a positive integer.
+      #
+      #                             COLUMNS
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  indent  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>72</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    def columns=(c)
+      @columns = posint(c)
+    end
+
+      # The number of spaces used for the left margin.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   LEFT MARGIN  indent  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    attr_reader :left_margin
+
+      # The number of spaces used for the left margin. The value provided is
+      # silently converted to a positive integer value.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   LEFT MARGIN  indent  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    def left_margin=(left)
+      @left_margin = posint(left)
+    end
+
+      # The number of spaces used for the right margin.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  indent  text is formatted into here  RIGHT MARGIN
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    attr_reader :right_margin
+
+      # The number of spaces used for the right margin. The value provided is
+      # silently converted to a positive integer value.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  indent  text is formatted into here  RIGHT MARGIN
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>,
+      #                   <tt>#center</tt>
+    def right_margin=(r)
+      @right_margin = posint(r)
+    end
+
+      # The number of spaces to indent the first line of a paragraph.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  INDENT  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>4</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_reader :first_indent
+
+      # The number of spaces to indent the first line of a paragraph. The
+      # value provided is silently converted to a positive integer value.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  INDENT  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>4</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def first_indent=(f)
+      @first_indent = posint(f)
+    end
+
+      # The number of spaces to indent all lines after the first line of a
+      # paragraph.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  INDENT  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+  attr_reader :body_indent
+
+      # The number of spaces to indent all lines after the first line of
+      # a paragraph. The value provided is silently converted to a
+      # positive integer value.
+      #
+      #                             columns
+      #  <-------------------------------------------------------------->
+      #  <-----------><------><---------------------------><------------>
+      #   left margin  INDENT  text is formatted into here  right margin
+      #
+      # *Default*::       <tt>0</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def body_indent=(b)
+      @body_indent = posint(b)
+    end
+
+      # Normally, words larger than the format area will be placed on a line
+      # by themselves. Setting this to +true+ will force words larger than the
+      # format area to be split into one or more "words" each at most the size
+      # of the format area. The first line and the original word will be
+      # placed into <tt>#split_words</tt>. Note that this will cause the
+      # output to look *similar* to a #format_style of JUSTIFY. (Lines will be
+      # filled as much as possible.)
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :hard_margins
+
+      # An array of words split during formatting if #hard_margins is set to
+      # +true+.
+      #   #split_words << Text::Format::SplitWord.new(word, first, rest)
+    attr_reader :split_words
+
+      # The object responsible for hyphenating. It must respond to
+      # #hyphenate_to(word, size) or #hyphenate_to(word, size, formatter) and
+      # return an array of the word split into two parts; if there is a
+      # hyphenation mark to be applied, responsibility belongs to the
+      # hyphenator object. The size is the MAXIMUM size permitted, including
+      # any hyphenation marks. If the #hyphenate_to method has an arity of 3,
+      # the formatter will be provided to the method. This allows the
+      # hyphenator to make decisions about the hyphenation based on the
+      # formatting rules.
+      #
+      # *Default*::       +nil+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_reader :hyphenator
+
+      # The object responsible for hyphenating. It must respond to
+      # #hyphenate_to(word, size) and return an array of the word hyphenated
+      # into two parts. The size is the MAXIMUM size permitted, including any
+      # hyphenation marks.
+      #
+      # *Default*::       +nil+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def hyphenator=(h)
+      raise ArgumentError, "#{h.inspect} is not a valid hyphenator." unless h.respond_to?(:hyphenate_to)
+      arity = h.method(:hyphenate_to).arity
+      raise ArgumentError, "#{h.inspect} must have exactly two or three arguments." unless [2, 3].include?(arity)
+      @hyphenator = h
+      @hyphenator_arity = arity
+    end
+
+      # Specifies the split mode; used only when #hard_margins is set to
+      # +true+. Allowable values are:
+      # [+SPLIT_FIXED+]         The word will be split at the number of
+      #                         characters needed, with no marking at all.
+      #      repre
+      #      senta
+      #      ion
+      # [+SPLIT_CONTINUATION+]  The word will be split at the number of
+      #                         characters needed, with a C-style continuation
+      #                         character. If a word is the only item on a
+      #                         line and it cannot be split into an
+      #                         appropriate size, SPLIT_FIXED will be used.
+      #       repr\
+      #       esen\
+      #       tati\
+      #       on
+      # [+SPLIT_HYPHENATION+]   The word will be split according to the
+      #                         hyphenator specified in #hyphenator. If there
+      #                         is no #hyphenator specified, works like
+      #                         SPLIT_CONTINUATION. The example is using
+      #                         TeX::Hyphen. If a word is the only item on a
+      #                         line and it cannot be split into an
+      #                         appropriate size, SPLIT_CONTINUATION mode will
+      #                         be used.
+      #       rep-
+      #       re-
+      #       sen-
+      #       ta-
+      #       tion
+      #
+      # *Default*::       <tt>Text::Format::SPLIT_FIXED</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_reader :split_rules
+
+      # Specifies the split mode; used only when #hard_margins is set to
+      # +true+. Allowable values are:
+      # [+SPLIT_FIXED+]         The word will be split at the number of
+      #                         characters needed, with no marking at all.
+      #      repre
+      #      senta
+      #      ion
+      # [+SPLIT_CONTINUATION+]  The word will be split at the number of
+      #                         characters needed, with a C-style continuation
+      #                         character.
+      #       repr\
+      #       esen\
+      #       tati\
+      #       on
+      # [+SPLIT_HYPHENATION+]   The word will be split according to the
+      #                         hyphenator specified in #hyphenator. If there
+      #                         is no #hyphenator specified, works like
+      #                         SPLIT_CONTINUATION. The example is using
+      #                         TeX::Hyphen as the #hyphenator.
+      #       rep-
+      #       re-
+      #       sen-
+      #       ta-
+      #       tion
+      #
+      # These values can be bitwise ORed together (e.g., <tt>SPLIT_FIXED |
+      # SPLIT_CONTINUATION</tt>) to provide fallback split methods. In the
+      # example given, an attempt will be made to split the word using the
+      # rules of SPLIT_CONTINUATION; if there is not enough room, the word
+      # will be split with the rules of SPLIT_FIXED. These combinations are
+      # also available as the following values:
+      # * +SPLIT_CONTINUATION_FIXED+
+      # * +SPLIT_HYPHENATION_FIXED+
+      # * +SPLIT_HYPHENATION_CONTINUATION+
+      # * +SPLIT_ALL+
+      #
+      # *Default*::       <tt>Text::Format::SPLIT_FIXED</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def split_rules=(s)
+      raise ArgumentError, "Invalid value provided for split_rules." if ((s < SPLIT_FIXED) || (s > SPLIT_ALL))
+      @split_rules = s
+    end
+
+      # Indicates whether sentence terminators should be followed by a single
+      # space (+false+), or two spaces (+true+).
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :extra_space
+
+      # Defines the current abbreviations as an array. This is only used if
+      # extra_space is turned on.
+      #
+      # If one is abbreviating "President" as "Pres." (abbreviations =
+      # ["Pres"]), then the results of formatting will be as illustrated in
+      # the table below:
+      #
+      #       extra_space  |  include?        |  !include?
+      #         true       |  Pres. Lincoln   |  Pres.  Lincoln
+      #         false      |  Pres. Lincoln   |  Pres. Lincoln
+      #
+      # *Default*::       <tt>{}</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :abbreviations
+
+      # Indicates whether the formatting of paragraphs should be done with
+      # tagged paragraphs. Useful only with <tt>#tag_text</tt>.
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :tag_paragraph
+
+      # The array of text to be placed before each paragraph when
+      # <tt>#tag_paragraph</tt> is +true+. When <tt>#format()</tt> is called,
+      # only the first element of the array is used. When <tt>#paragraphs</tt>
+      # is called, then each entry in the array will be used once, with
+      # corresponding paragraphs. If the tag elements are exhausted before the
+      # text is exhausted, then the remaining paragraphs will not be tagged.
+      # Regardless of indentation settings, a blank line will be inserted
+      # between all paragraphs when <tt>#tag_paragraph</tt> is +true+.
+      #
+      # *Default*::       <tt>[]</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :tag_text
+
+      # Indicates whether or not the non-breaking space feature should be
+      # used.
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :nobreak
+
+      # A hash which holds the regular expressions on which spaces should not
+      # be broken. The hash is set up such that the key is the first word and
+      # the value is the second word.
+      #
+      # For example, if +nobreak_regex+ contains the following hash:
+      #
+      #   { '^Mrs?\.$' => '\S+$', '^\S+$' => '^(?:S|J)r\.$'}
+      #
+      # Then "Mr. Jones", "Mrs. Jones", and "Jones Jr." would not be broken.
+      # If this simple matching algorithm indicates that there should not be a
+      # break at the current end of line, then a backtrack is done until there
+      # are two words on which line breaking is permitted. If two such words
+      # are not found, then the end of the line will be broken *regardless*.
+      # If there is a single word on the current line, then no backtrack is
+      # done and the word is stuck on the end.
+      #
+      # *Default*::       <tt>{}</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_accessor :nobreak_regex
+
+      # Indicates the number of spaces that a single tab represents.
+      #
+      # *Default*::       <tt>8</tt>
+      # <b>Used in</b>::  <tt>#expand</tt>, <tt>#unexpand</tt>,
+      #                   <tt>#paragraphs</tt>
+    attr_reader :tabstop
+
+      # Indicates the number of spaces that a single tab represents.
+      #
+      # *Default*::       <tt>8</tt>
+      # <b>Used in</b>::  <tt>#expand</tt>, <tt>#unexpand</tt>,
+      #                   <tt>#paragraphs</tt>
+    def tabstop=(t)
+      @tabstop = posint(t)
+    end
+
+      # Specifies the format style. Allowable values are:
+      # [+LEFT_ALIGN+]    Left justified, ragged right.
+      #      |A paragraph that is|
+      #      |left aligned.|
+      # [+RIGHT_ALIGN+]   Right justified, ragged left.
+      #      |A paragraph that is|
+      #      |     right aligned.|
+      # [+RIGHT_FILL+]    Left justified, right ragged, filled to width by
+      #                   spaces. (Essentially the same as +LEFT_ALIGN+ except
+      #                   that lines are padded on the right.)
+      #      |A paragraph that is|
+      #      |left aligned.      |
+      # [+JUSTIFY+]       Fully justified, words filled to width by spaces,
+      #                   except the last line.
+      #      |A paragraph  that|
+      #      |is     justified.|
+      #
+      # *Default*::       <tt>Text::Format::LEFT_ALIGN</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    attr_reader :format_style
+
+      # Specifies the format style. Allowable values are:
+      # [+LEFT_ALIGN+]    Left justified, ragged right.
+      #      |A paragraph that is|
+      #      |left aligned.|
+      # [+RIGHT_ALIGN+]   Right justified, ragged left.
+      #      |A paragraph that is|
+      #      |     right aligned.|
+      # [+RIGHT_FILL+]    Left justified, right ragged, filled to width by
+      #                   spaces. (Essentially the same as +LEFT_ALIGN+ except
+      #                   that lines are padded on the right.)
+      #      |A paragraph that is|
+      #      |left aligned.      |
+      # [+JUSTIFY+]       Fully justified, words filled to width by spaces.
+      #      |A paragraph  that|
+      #      |is     justified.|
+      #
+      # *Default*::       <tt>Text::Format::LEFT_ALIGN</tt>
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def format_style=(fs)
+      raise ArgumentError, "Invalid value provided for format_style." if ((fs < LEFT_ALIGN) || (fs > JUSTIFY))
+      @format_style = fs
+    end
+
+      # Indicates that the format style is left alignment.
+      #
+      # *Default*::       +true+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def left_align?
+      return @format_style == LEFT_ALIGN
+    end
+
+      # Indicates that the format style is right alignment.
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def right_align?
+      return @format_style == RIGHT_ALIGN
+    end
+
+      # Indicates that the format style is right fill.
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def right_fill?
+      return @format_style == RIGHT_FILL
+    end
+
+      # Indicates that the format style is full justification.
+      #
+      # *Default*::       +false+
+      # <b>Used in</b>::  <tt>#format</tt>, <tt>#paragraphs</tt>
+    def justify?
+      return @format_style == JUSTIFY
+    end
+
+      # The default implementation of #hyphenate_to implements
+      # SPLIT_CONTINUATION.
+    def hyphenate_to(word, size)
+      [word[0 .. (size - 2)] + "\\", word[(size - 1) .. -1]]
+    end
+
+  private
+    def __do_split_word(word, size) #:nodoc:
+      [word[0 .. (size - 1)], word[size .. -1]]
+    end
+
+    def __format(to_wrap) #:nodoc:
+      words = to_wrap.split(/\s+/).compact
+      words.shift if words[0].nil? or words[0].empty?
+      to_wrap = []
+
+      abbrev = false
+      width = @columns - @first_indent - @left_margin - @right_margin
+      indent_str = ' ' * @first_indent
+      first_line = true
+      line = words.shift
+      abbrev = __is_abbrev(line) unless line.nil? || line.empty?
+
+      while w = words.shift
+        if (w.size + line.size < (width - 1)) ||
+           ((line !~ LEQ_RE || abbrev) && (w.size + line.size < width))
+          line << " " if (line =~ LEQ_RE) && (not abbrev)
+          line << " #{w}"
+        else
+          line, w = __do_break(line, w) if @nobreak
+          line, w = __do_hyphenate(line, w, width) if @hard_margins
+          if w.index(/\s+/)
+            w, *w2 = w.split(/\s+/)
+            words.unshift(w2)
+            words.flatten!
+          end
+          to_wrap << __make_line(line, indent_str, width, w.nil?) unless line.nil?
+          if first_line
+            first_line = false
+            width = @columns - @body_indent - @left_margin - @right_margin
+            indent_str = ' ' * @body_indent
+          end
+          line = w
+        end
+
+        abbrev = __is_abbrev(w) unless w.nil?
+      end
+
+      loop do
+        break if line.nil? or line.empty?
+        line, w = __do_hyphenate(line, w, width) if @hard_margins
+        to_wrap << __make_line(line, indent_str, width, w.nil?)
+        line = w
+      end
+
+      if (@tag_paragraph && (to_wrap.size > 0)) then
+        clr = %r{`(\w+)'}.match([caller(1)].flatten[0])[1]
+        clr = "" if clr.nil?
+
+        if ((not @tag_text[0].nil?) && (@tag_cur.size < 1) &&
+            (clr != "__paragraphs")) then
+          @tag_cur = @tag_text[0]
+        end
+
+        fchar = /(\S)/.match(to_wrap[0])[1]
+        white = to_wrap[0].index(fchar)
+        if ((white - @left_margin - 1) > @tag_cur.size) then
+          white = @tag_cur.size + @left_margin
+          to_wrap[0].gsub!(/^ {#{white}}/, "#{' ' * @left_margin}#{@tag_cur}")
+        else
+          to_wrap.unshift("#{' ' * @left_margin}#{@tag_cur}\n")
+        end
+      end
+      to_wrap.join('')
+    end
+
+      # format lines in text into paragraphs with each element of @wrap a
+      # paragraph; uses Text::Format.format for the formatting
+    def __paragraphs(to_wrap) #:nodoc:
+      if ((@first_indent == @body_indent) || @tag_paragraph) then
+        p_end = "\n"
+      else
+        p_end = ''
+      end
+
+      cnt = 0
+      ret = []
+      to_wrap.each do |tw|
+        @tag_cur = @tag_text[cnt] if @tag_paragraph
+        @tag_cur = '' if @tag_cur.nil?
+        line = __format(tw)
+        ret << "#{line}#{p_end}" if (not line.nil?) && (line.size > 0)
+        cnt += 1
+      end
+
+      ret[-1].chomp! unless ret.empty?
+      ret.join('')
+    end
+
+      # center text using spaces on left side to pad it out empty lines
+      # are preserved
+    def __center(to_center) #:nodoc:
+      tabs = 0
+      width = @columns - @left_margin - @right_margin
+      centered = []
+      to_center.each do |tc|
+        s = tc.strip
+        tabs = s.count("\t")
+        tabs = 0 if tabs.nil?
+        ct = ((width - s.size - (tabs * @tabstop) + tabs) / 2)
+        ct = (width - @left_margin - @right_margin) - ct
+        centered << "#{s.rjust(ct)}\n"
+      end
+      centered.join('')
+    end
+
+      # expand tabs to spaces should be similar to Text::Tabs::expand
+    def __expand(to_expand) #:nodoc:
+      expanded = []
+      to_expand.split("\n").each { |te| expanded << te.gsub(/\t/, ' ' * @tabstop) }
+      expanded.join('')
+    end
+
+    def __unexpand(to_unexpand) #:nodoc:
+      unexpanded = []
+      to_unexpand.split("\n").each { |tu| unexpanded << tu.gsub(/ {#{@tabstop}}/, "\t") }
+      unexpanded.join('')
+    end
+
+    def __is_abbrev(word) #:nodoc:
+        # remove period if there is one.
+      w = word.gsub(/\.$/, '') unless word.nil?
+      return true if (!@extra_space || ABBREV.include?(w) || @abbreviations.include?(w))
+      false
+    end
+
+    def __make_line(line, indent, width, last = false) #:nodoc:
+      lmargin = " " * @left_margin
+      fill = " " * (width - line.size) if right_fill? && (line.size <= width)
+
+      if (justify? && ((not line.nil?) && (not line.empty?)) && line =~ /\S+\s+\S+/ && !last)
+        spaces = width - line.size
+        words = line.split(/(\s+)/)
+        ws = spaces / (words.size / 2)
+        spaces = spaces % (words.size / 2) if ws > 0
+        words.reverse.each do |rw|
+          next if (rw =~ /^\S/)
+          rw.sub!(/^/, " " * ws)
+          next unless (spaces > 0)
+          rw.sub!(/^/, " ")
+          spaces -= 1
+        end
+        line = words.join('')
+      end
+      line = "#{lmargin}#{indent}#{line}#{fill}\n" unless line.nil?
+      if right_align? && (not line.nil?)
+        line.sub(/^/, " " * (@columns - @right_margin - (line.size - 1)))
+      else
+        line
+      end
+    end
+
+    def __do_hyphenate(line, next_line, width) #:nodoc:
+      rline = line.dup rescue line
+      rnext = next_line.dup rescue next_line
+      loop do
+        if rline.size == width
+          break
+        elsif rline.size > width
+          words = rline.strip.split(/\s+/)
+          word = words[-1].dup
+          size = width - rline.size + word.size
+          if (size <= 0)
+            words[-1] = nil
+            rline = words.join(' ').strip
+            rnext = "#{word} #{rnext}".strip
+            next
+          end
+
+          first = rest = nil
+
+          if ((@split_rules & SPLIT_HYPHENATION) != 0)
+            if @hyphenator_arity == 2
+              first, rest = @hyphenator.hyphenate_to(word, size)
+            else
+              first, rest = @hyphenator.hyphenate_to(word, size, self)
+            end
+          end
+
+          if ((@split_rules & SPLIT_CONTINUATION) != 0) and first.nil?
+            first, rest = self.hyphenate_to(word, size)
+          end
+
+          if ((@split_rules & SPLIT_FIXED) != 0) and first.nil?
+            first.nil? or @split_rules == SPLIT_FIXED
+            first, rest = __do_split_word(word, size)
+          end
+
+          if first.nil?
+            words[-1] = nil
+            rest = word
+          else
+            words[-1] = first
+            @split_words << SplitWord.new(word, first, rest)
+          end
+          rline = words.join(' ').strip
+          rnext = "#{rest} #{rnext}".strip
+          break
+        else
+          break if rnext.nil? or rnext.empty? or rline.nil? or rline.empty?
+          words = rnext.split(/\s+/)
+          word = words.shift
+          size = width - rline.size - 1
+
+          if (size <= 0)
+            rnext = "#{word} #{words.join(' ')}".strip
+            break
+          end
+
+          first = rest = nil
+
+          if ((@split_rules & SPLIT_HYPHENATION) != 0)
+            if @hyphenator_arity == 2
+              first, rest = @hyphenator.hyphenate_to(word, size)
+            else
+              first, rest = @hyphenator.hyphenate_to(word, size, self)
+            end
+          end
+
+          first, rest = self.hyphenate_to(word, size) if ((@split_rules & SPLIT_CONTINUATION) != 0) and first.nil?
+
+          first, rest = __do_split_word(word, size) if ((@split_rules & SPLIT_FIXED) != 0) and first.nil?
+
+          if (rline.size + (first ? first.size : 0)) < width
+            @split_words << SplitWord.new(word, first, rest)
+            rline = "#{rline} #{first}".strip
+            rnext = "#{rest} #{words.join(' ')}".strip
+          end
+          break
+        end
+      end
+      [rline, rnext]
+    end
+
+    def __do_break(line, next_line) #:nodoc:
+      no_brk = false
+      words = []
+      words = line.split(/\s+/) unless line.nil?
+      last_word = words[-1]
+
+      @nobreak_regex.each { |k, v| no_brk = ((last_word =~ /#{k}/) and (next_line =~ /#{v}/)) }
+
+      if no_brk && words.size > 1
+        i = words.size
+        while i > 0
+          no_brk = false
+          @nobreak_regex.each { |k, v| no_brk = ((words[i + 1] =~ /#{k}/) && (words[i] =~ /#{v}/)) }
+          i -= 1
+          break if not no_brk
+        end
+        if i > 0
+          l = brk_re(i).match(line)
+          line.sub!(brk_re(i), l[1])
+          next_line = "#{l[2]} #{next_line}"
+          line.sub!(/\s+$/, '')
+        end
+      end
+      [line, next_line]
+    end
+
+    def __create(arg = nil, &block) #:nodoc:
+        # Format::Text.new(text-to-wrap)
+      @text = arg unless arg.nil?
+        # Defaults
+      @columns          = 72
+      @tabstop          = 8
+      @first_indent     = 4
+      @body_indent      = 0
+      @format_style     = LEFT_ALIGN
+      @left_margin      = 0
+      @right_margin     = 0
+      @extra_space      = false
+      @text             = Array.new if @text.nil?
+      @tag_paragraph    = false
+      @tag_text         = Array.new
+      @tag_cur          = ""
+      @abbreviations    = Array.new
+      @nobreak          = false
+      @nobreak_regex    = Hash.new
+      @split_words      = Array.new
+      @hard_margins     = false
+      @split_rules      = SPLIT_FIXED
+      @hyphenator       = self
+      @hyphenator_arity = self.method(:hyphenate_to).arity
+
+      instance_eval(&block) unless block.nil?
+    end
+
+  public
+      # Formats text into a nice paragraph format. The text is separated
+      # into words and then reassembled a word at a time using the settings
+      # of this Format object. If a word is larger than the number of
+      # columns available for formatting, then that word will appear on the
+      # line by itself.
+      #
+      # If +to_wrap+ is +nil+, then the value of <tt>#text</tt> will be
+      # worked on.
+    def format(to_wrap = nil)
+      to_wrap = @text if to_wrap.nil?
+      if to_wrap.class == Array
+        __format(to_wrap[0])
+      else
+        __format(to_wrap)
+      end
+    end
+
+      # Considers each element of text (provided or internal) as a paragraph.
+      # If <tt>#first_indent</tt> is the same as <tt>#body_indent</tt>, then
+      # paragraphs will be separated by a single empty line in the result;
+      # otherwise, the paragraphs will follow immediately after each other.
+      # Uses <tt>#format</tt> to do the heavy lifting.
+    def paragraphs(to_wrap = nil)
+      to_wrap = @text if to_wrap.nil?
+      __paragraphs([to_wrap].flatten)
+    end
+
+      # Centers the text, preserving empty lines and tabs.
+    def center(to_center = nil)
+      to_center = @text if to_center.nil?
+      __center([to_center].flatten)
+    end
+
+      # Replaces all tab characters in the text with <tt>#tabstop</tt> spaces.
+    def expand(to_expand = nil)
+      to_expand = @text if to_expand.nil?
+      if to_expand.class == Array
+        to_expand.collect { |te| __expand(te) }
+      else
+        __expand(to_expand)
+      end
+    end
+
+      # Replaces all occurrences of <tt>#tabstop</tt> consecutive spaces
+      # with a tab character.
+    def unexpand(to_unexpand = nil)
+      to_unexpand = @text if to_unexpand.nil?
+      if to_unexpand.class == Array
+        to_unexpand.collect { |te| v << __unexpand(te) }
+      else
+        __unexpand(to_unexpand)
+      end
+    end
+
+      # This constructor takes advantage of a technique for Ruby object
+      # construction introduced by Andy Hunt and Dave Thomas (see reference),
+      # where optional values are set using commands in a block.
+      #
+      #   Text::Format.new {
+      #       columns         = 72
+      #       left_margin     = 0
+      #       right_margin    = 0
+      #       first_indent    = 4
+      #       body_indent     = 0
+      #       format_style    = Text::Format::LEFT_ALIGN
+      #       extra_space     = false
+      #       abbreviations   = {}
+      #       tag_paragraph   = false
+      #       tag_text        = []
+      #       nobreak         = false
+      #       nobreak_regex   = {}
+      #       tabstop         = 8
+      #       text            = nil
+      #   }
+      #
+      # As shown above, +arg+ is optional. If +arg+ is specified and is a
+      # +String+, then arg is used as the default value of <tt>#text</tt>.
+      # Alternately, an existing Text::Format object can be used or a Hash can
+      # be used. With all forms, a block can be specified.
+      #
+      # *Reference*:: "Object Construction and Blocks"
+      #               <http://www.pragmaticprogrammer.com/ruby/articles/insteval.html>
+      #
+    def initialize(arg = nil, &block)
+      case arg
+      when Text::Format
+        __create(arg.text) do
+          @columns        = arg.columns
+          @tabstop        = arg.tabstop
+          @first_indent   = arg.first_indent
+          @body_indent    = arg.body_indent
+          @format_style   = arg.format_style
+          @left_margin    = arg.left_margin
+          @right_margin   = arg.right_margin
+          @extra_space    = arg.extra_space
+          @tag_paragraph  = arg.tag_paragraph
+          @tag_text       = arg.tag_text
+          @abbreviations  = arg.abbreviations
+          @nobreak        = arg.nobreak
+          @nobreak_regex  = arg.nobreak_regex
+          @text           = arg.text
+          @hard_margins   = arg.hard_margins
+          @split_words    = arg.split_words
+          @split_rules    = arg.split_rules
+          @hyphenator     = arg.hyphenator
+        end
+        instance_eval(&block) unless block.nil?
+      when Hash
+        __create do
+          @columns       = arg[:columns]       || arg['columns']       || @columns
+          @tabstop       = arg[:tabstop]       || arg['tabstop']       || @tabstop
+          @first_indent  = arg[:first_indent]  || arg['first_indent']  || @first_indent
+          @body_indent   = arg[:body_indent]   || arg['body_indent']   || @body_indent
+          @format_style  = arg[:format_style]  || arg['format_style']  || @format_style
+          @left_margin   = arg[:left_margin]   || arg['left_margin']   || @left_margin
+          @right_margin  = arg[:right_margin]  || arg['right_margin']  || @right_margin
+          @extra_space   = arg[:extra_space]   || arg['extra_space']   || @extra_space
+          @text          = arg[:text]          || arg['text']          || @text
+          @tag_paragraph = arg[:tag_paragraph] || arg['tag_paragraph'] || @tag_paragraph
+          @tag_text      = arg[:tag_text]      || arg['tag_text']      || @tag_text
+          @abbreviations = arg[:abbreviations] || arg['abbreviations'] || @abbreviations
+          @nobreak       = arg[:nobreak]       || arg['nobreak']       || @nobreak
+          @nobreak_regex = arg[:nobreak_regex] || arg['nobreak_regex'] || @nobreak_regex
+          @hard_margins  = arg[:hard_margins]  || arg['hard_margins']  || @hard_margins
+          @split_rules   = arg[:split_rules] || arg['split_rules'] || @split_rules
+          @hyphenator    = arg[:hyphenator] || arg['hyphenator'] || @hyphenator
+        end
+        instance_eval(&block) unless block.nil?
+      when String
+        __create(arg, &block)
+      when NilClass
+        __create(&block)
+      else
+        raise TypeError
+      end
+    end
+  end
+end
+
+if __FILE__ == $0
+  require 'test/unit'
+
+  class TestText__Format < Test::Unit::TestCase #:nodoc:
+    attr_accessor :format_o
+
+    GETTYSBURG = <<-'EOS'
+    Four score and seven years ago our fathers brought forth on this
+    continent a new nation, conceived in liberty and dedicated to the
+    proposition that all men are created equal. Now we are engaged in
+    a great civil war, testing whether that nation or any nation so
+    conceived and so dedicated can long endure. We are met on a great
+    battlefield of that war. We have come to dedicate a portion of
+    that field as a final resting-place for those who here gave their
+    lives that that nation might live. It is altogether fitting and
+    proper that we should do this. But in a larger sense, we cannot
+    dedicate, we cannot consecrate, we cannot hallow this ground.
+    The brave men, living and dead who struggled here have consecrated
+    it far above our poor power to add or detract. The world will
+    little note nor long remember what we say here, but it can never
+    forget what they did here. It is for us the living rather to be
+    dedicated here to the unfinished work which they who fought here
+    have thus far so nobly advanced. It is rather for us to be here
+    dedicated to the great task remaining before us--that from these
+    honored dead we take increased devotion to that cause for which
+    they gave the last full measure of devotion--that we here highly
+    resolve that these dead shall not have died in vain, that this
+    nation under God shall have a new birth of freedom, and that
+    government of the people, by the people, for the people shall
+    not perish from the earth.
+
+            -- Pres. Abraham Lincoln, 19 November 1863
+    EOS
+
+    FIVE_COL = "Four \nscore\nand s\neven \nyears\nago o\nur fa\nthers\nbroug\nht fo\nrth o\nn thi\ns con\ntinen\nt a n\new na\ntion,\nconce\nived \nin li\nberty\nand d\nedica\nted t\no the\npropo\nsitio\nn tha\nt all\nmen a\nre cr\neated\nequal\n. Now\nwe ar\ne eng\naged \nin a \ngreat\ncivil\nwar, \ntesti\nng wh\nether\nthat \nnatio\nn or \nany n\nation\nso co\nnceiv\ned an\nd so \ndedic\nated \ncan l\nong e\nndure\n. We \nare m\net on\na gre\nat ba\nttlef\nield \nof th\nat wa\nr. We\nhave \ncome \nto de\ndicat\ne a p\nortio\nn of \nthat \nfield\nas a \nfinal\nresti\nng-pl\nace f\nor th\nose w\nho he\nre ga\nve th\neir l\nives \nthat \nthat \nnatio\nn mig\nht li\nve. I\nt is \naltog\nether\nfitti\nng an\nd pro\nper t\nhat w\ne sho\nuld d\no thi\ns. Bu\nt in \na lar\nger s\nense,\nwe ca\nnnot \ndedic\nate, \nwe ca\nnnot \nconse\ncrate\n, we \ncanno\nt hal\nlow t\nhis g\nround\n. The\nbrave\nmen, \nlivin\ng and\ndead \nwho s\ntrugg\nled h\nere h\nave c\nonsec\nrated\nit fa\nr abo\nve ou\nr poo\nr pow\ner to\nadd o\nr det\nract.\nThe w\norld \nwill \nlittl\ne not\ne nor\nlong \nremem\nber w\nhat w\ne say\nhere,\nbut i\nt can\nnever\nforge\nt wha\nt the\ny did\nhere.\nIt is\nfor u\ns the\nlivin\ng rat\nher t\no be \ndedic\nated \nhere \nto th\ne unf\ninish\ned wo\nrk wh\nich t\nhey w\nho fo\nught \nhere \nhave \nthus \nfar s\no nob\nly ad\nvance\nd. It\nis ra\nther \nfor u\ns to \nbe he\nre de\ndicat\ned to\nthe g\nreat \ntask \nremai\nning \nbefor\ne us-\n-that\nfrom \nthese\nhonor\ned de\nad we\ntake \nincre\nased \ndevot\nion t\no tha\nt cau\nse fo\nr whi\nch th\ney ga\nve th\ne las\nt ful\nl mea\nsure \nof de\nvotio\nn--th\nat we\nhere \nhighl\ny res\nolve \nthat \nthese\ndead \nshall\nnot h\nave d\nied i\nn vai\nn, th\nat th\nis na\ntion \nunder\nGod s\nhall \nhave \na new\nbirth\nof fr\needom\n, and\nthat \ngover\nnment\nof th\ne peo\nple, \nby th\ne peo\nple, \nfor t\nhe pe\nople \nshall\nnot p\nerish\nfrom \nthe e\narth.\n-- Pr\nes. A\nbraha\nm Lin\ncoln,\n19 No\nvembe\nr 186\n3    \n"
+
+    FIVE_CNT = "Four \nscore\nand  \nseven\nyears\nago  \nour  \nfath\\\ners  \nbrou\\\nght  \nforth\non t\\\nhis  \ncont\\\ninent\na new\nnati\\\non,  \nconc\\\neived\nin l\\\niber\\\nty a\\\nnd d\\\nedic\\\nated \nto t\\\nhe p\\\nropo\\\nsiti\\\non t\\\nhat  \nall  \nmen  \nare  \ncrea\\\nted  \nequa\\\nl. N\\\now we\nare  \nenga\\\nged  \nin a \ngreat\ncivil\nwar, \ntest\\\ning  \nwhet\\\nher  \nthat \nnati\\\non or\nany  \nnati\\\non so\nconc\\\neived\nand  \nso d\\\nedic\\\nated \ncan  \nlong \nendu\\\nre.  \nWe a\\\nre m\\\net on\na gr\\\neat  \nbatt\\\nlefi\\\neld  \nof t\\\nhat  \nwar. \nWe h\\\nave  \ncome \nto d\\\nedic\\\nate a\nport\\\nion  \nof t\\\nhat  \nfield\nas a \nfinal\nrest\\\ning-\\\nplace\nfor  \nthose\nwho  \nhere \ngave \ntheir\nlives\nthat \nthat \nnati\\\non m\\\night \nlive.\nIt is\nalto\\\ngeth\\\ner f\\\nitti\\\nng a\\\nnd p\\\nroper\nthat \nwe s\\\nhould\ndo t\\\nhis. \nBut  \nin a \nlarg\\\ner s\\\nense,\nwe c\\\nannot\ndedi\\\ncate,\nwe c\\\nannot\ncons\\\necra\\\nte,  \nwe c\\\nannot\nhall\\\now t\\\nhis  \ngrou\\\nnd.  \nThe  \nbrave\nmen, \nlivi\\\nng a\\\nnd d\\\nead  \nwho  \nstru\\\nggled\nhere \nhave \ncons\\\necra\\\nted  \nit f\\\nar a\\\nbove \nour  \npoor \npower\nto a\\\ndd or\ndetr\\\nact. \nThe  \nworld\nwill \nlitt\\\nle n\\\note  \nnor  \nlong \nreme\\\nmber \nwhat \nwe s\\\nay h\\\nere, \nbut  \nit c\\\nan n\\\never \nforg\\\net w\\\nhat  \nthey \ndid  \nhere.\nIt is\nfor  \nus t\\\nhe l\\\niving\nrath\\\ner to\nbe d\\\nedic\\\nated \nhere \nto t\\\nhe u\\\nnfin\\\nished\nwork \nwhich\nthey \nwho  \nfoug\\\nht h\\\nere  \nhave \nthus \nfar  \nso n\\\nobly \nadva\\\nnced.\nIt is\nrath\\\ner f\\\nor us\nto be\nhere \ndedi\\\ncated\nto t\\\nhe g\\\nreat \ntask \nrema\\\nining\nbefo\\\nre u\\\ns--t\\\nhat  \nfrom \nthese\nhono\\\nred  \ndead \nwe t\\\nake  \nincr\\\neased\ndevo\\\ntion \nto t\\\nhat  \ncause\nfor  \nwhich\nthey \ngave \nthe  \nlast \nfull \nmeas\\\nure  \nof d\\\nevot\\\nion-\\\n-that\nwe h\\\nere  \nhigh\\\nly r\\\nesol\\\nve t\\\nhat  \nthese\ndead \nshall\nnot  \nhave \ndied \nin v\\\nain, \nthat \nthis \nnati\\\non u\\\nnder \nGod  \nshall\nhave \na new\nbirth\nof f\\\nreed\\\nom,  \nand  \nthat \ngove\\\nrnme\\\nnt of\nthe  \npeop\\\nle,  \nby t\\\nhe p\\\neopl\\\ne, f\\\nor t\\\nhe p\\\neople\nshall\nnot  \nperi\\\nsh f\\\nrom  \nthe  \neart\\\nh. --\nPres.\nAbra\\\nham  \nLinc\\\noln, \n19 N\\\novem\\\nber  \n1863 \n"
+
+      # Tests both abbreviations and abbreviations=
+    def test_abbreviations
+      abbr = ["    Pres. Abraham Lincoln\n", "    Pres.  Abraham Lincoln\n"]
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal([], @format_o.abbreviations)
+      assert_nothing_raised { @format_o.abbreviations = [ 'foo', 'bar' ] }
+      assert_equal([ 'foo', 'bar' ], @format_o.abbreviations)
+      assert_equal(abbr[0], @format_o.format(abbr[0]))
+      assert_nothing_raised { @format_o.extra_space = true }
+      assert_equal(abbr[1], @format_o.format(abbr[0]))
+      assert_nothing_raised { @format_o.abbreviations = [ "Pres" ] }
+      assert_equal([ "Pres" ], @format_o.abbreviations)
+      assert_equal(abbr[0], @format_o.format(abbr[0]))
+      assert_nothing_raised { @format_o.extra_space = false }
+      assert_equal(abbr[0], @format_o.format(abbr[0]))
+    end
+
+      # Tests both body_indent and body_indent=
+    def test_body_indent
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(0, @format_o.body_indent)
+      assert_nothing_raised { @format_o.body_indent = 7 }
+      assert_equal(7, @format_o.body_indent)
+      assert_nothing_raised { @format_o.body_indent = -3 }
+      assert_equal(3, @format_o.body_indent)
+      assert_nothing_raised { @format_o.body_indent = "9" }
+      assert_equal(9, @format_o.body_indent)
+      assert_nothing_raised { @format_o.body_indent = "-2" }
+      assert_equal(2, @format_o.body_indent)
+      assert_match(/^  [^ ]/, @format_o.format(GETTYSBURG).split("\n")[1])
+    end
+
+      # Tests both columns and columns=
+    def test_columns
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(72, @format_o.columns)
+      assert_nothing_raised { @format_o.columns = 7 }
+      assert_equal(7, @format_o.columns)
+      assert_nothing_raised { @format_o.columns = -3 }
+      assert_equal(3, @format_o.columns)
+      assert_nothing_raised { @format_o.columns = "9" }
+      assert_equal(9, @format_o.columns)
+      assert_nothing_raised { @format_o.columns = "-2" }
+      assert_equal(2, @format_o.columns)
+      assert_nothing_raised { @format_o.columns = 40 }
+      assert_equal(40, @format_o.columns)
+      assert_match(/this continent$/,
+                   @format_o.format(GETTYSBURG).split("\n")[1])
+    end
+
+      # Tests both extra_space and extra_space=
+    def test_extra_space
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.extra_space)
+      assert_nothing_raised { @format_o.extra_space = true }
+      assert(@format_o.extra_space)
+        # The behaviour of extra_space is tested in test_abbreviations. There
+        # is no need to reproduce it here.
+    end
+
+      # Tests both first_indent and first_indent=
+    def test_first_indent
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(4, @format_o.first_indent)
+      assert_nothing_raised { @format_o.first_indent = 7 }
+      assert_equal(7, @format_o.first_indent)
+      assert_nothing_raised { @format_o.first_indent = -3 }
+      assert_equal(3, @format_o.first_indent)
+      assert_nothing_raised { @format_o.first_indent = "9" }
+      assert_equal(9, @format_o.first_indent)
+      assert_nothing_raised { @format_o.first_indent = "-2" }
+      assert_equal(2, @format_o.first_indent)
+      assert_match(/^  [^ ]/, @format_o.format(GETTYSBURG).split("\n")[0])
+    end
+
+    def test_format_style
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(Text::Format::LEFT_ALIGN, @format_o.format_style)
+      assert_match(/^November 1863$/,
+                   @format_o.format(GETTYSBURG).split("\n")[-1])
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_ALIGN
+      }
+      assert_equal(Text::Format::RIGHT_ALIGN, @format_o.format_style)
+      assert_match(/^ +November 1863$/,
+                   @format_o.format(GETTYSBURG).split("\n")[-1])
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert_equal(Text::Format::RIGHT_FILL, @format_o.format_style)
+      assert_match(/^November 1863 +$/,
+                   @format_o.format(GETTYSBURG).split("\n")[-1])
+      assert_nothing_raised { @format_o.format_style = Text::Format::JUSTIFY }
+      assert_equal(Text::Format::JUSTIFY, @format_o.format_style)
+      assert_match(/^of freedom, and that government of the people, by the  people,  for  the$/,
+                   @format_o.format(GETTYSBURG).split("\n")[-3])
+      assert_raises(ArgumentError) { @format_o.format_style = 33 }
+    end
+
+    def test_tag_paragraph
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.tag_paragraph)
+      assert_nothing_raised { @format_o.tag_paragraph = true }
+      assert(@format_o.tag_paragraph)
+      assert_not_equal(@format_o.paragraphs([GETTYSBURG, GETTYSBURG]),
+                       Text::Format.new.paragraphs([GETTYSBURG, GETTYSBURG]))
+    end
+
+    def test_tag_text
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal([], @format_o.tag_text)
+      assert_equal(@format_o.format(GETTYSBURG),
+                   Text::Format.new.format(GETTYSBURG))
+      assert_nothing_raised {
+        @format_o.tag_paragraph = true
+        @format_o.tag_text = ["Gettysburg Address", "---"]
+      }
+      assert_not_equal(@format_o.format(GETTYSBURG),
+                       Text::Format.new.format(GETTYSBURG))
+      assert_not_equal(@format_o.paragraphs([GETTYSBURG, GETTYSBURG]),
+                       Text::Format.new.paragraphs([GETTYSBURG, GETTYSBURG]))
+      assert_not_equal(@format_o.paragraphs([GETTYSBURG, GETTYSBURG,
+                                             GETTYSBURG]),
+                       Text::Format.new.paragraphs([GETTYSBURG, GETTYSBURG,
+                                                    GETTYSBURG]))
+    end
+
+    def test_justify?
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.justify?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_ALIGN
+      }
+      assert(!@format_o.justify?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert(!@format_o.justify?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::JUSTIFY
+      }
+      assert(@format_o.justify?)
+        # The format testing is done in test_format_style
+    end
+
+    def test_left_align?
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(@format_o.left_align?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_ALIGN
+      }
+      assert(!@format_o.left_align?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert(!@format_o.left_align?)
+      assert_nothing_raised { @format_o.format_style = Text::Format::JUSTIFY }
+      assert(!@format_o.left_align?)
+        # The format testing is done in test_format_style
+    end
+
+    def test_left_margin
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(0, @format_o.left_margin)
+      assert_nothing_raised { @format_o.left_margin = -3 }
+      assert_equal(3, @format_o.left_margin)
+      assert_nothing_raised { @format_o.left_margin = "9" }
+      assert_equal(9, @format_o.left_margin)
+      assert_nothing_raised { @format_o.left_margin = "-2" }
+      assert_equal(2, @format_o.left_margin)
+      assert_nothing_raised { @format_o.left_margin = 7 }
+      assert_equal(7, @format_o.left_margin)
+      assert_nothing_raised {
+        ft = @format_o.format(GETTYSBURG).split("\n")
+        assert_match(/^ {11}Four score/, ft[0])
+        assert_match(/^ {7}November/, ft[-1])
+      }
+    end
+
+    def test_hard_margins
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.hard_margins)
+      assert_nothing_raised {
+        @format_o.hard_margins = true
+        @format_o.columns = 5
+        @format_o.first_indent = 0
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert(@format_o.hard_margins)
+      assert_equal(FIVE_COL, @format_o.format(GETTYSBURG))
+      assert_nothing_raised {
+        @format_o.split_rules |= Text::Format::SPLIT_CONTINUATION
+        assert_equal(Text::Format::SPLIT_CONTINUATION_FIXED,
+                     @format_o.split_rules)
+      }
+      assert_equal(FIVE_CNT, @format_o.format(GETTYSBURG))
+    end
+
+      # Tests both nobreak and nobreak_regex, since one is only useful
+      # with the other.
+    def test_nobreak
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.nobreak)
+      assert(@format_o.nobreak_regex.empty?)
+      assert_nothing_raised {
+        @format_o.nobreak = true
+        @format_o.nobreak_regex = { '^this$' => '^continent$' }
+        @format_o.columns = 77
+      }
+      assert(@format_o.nobreak)
+      assert_equal({ '^this$' => '^continent$' }, @format_o.nobreak_regex)
+      assert_match(/^this continent/,
+                   @format_o.format(GETTYSBURG).split("\n")[1])
+    end
+
+    def test_right_align?
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.right_align?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_ALIGN
+      }
+      assert(@format_o.right_align?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert(!@format_o.right_align?)
+      assert_nothing_raised { @format_o.format_style = Text::Format::JUSTIFY }
+      assert(!@format_o.right_align?)
+        # The format testing is done in test_format_style
+    end
+
+    def test_right_fill?
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert(!@format_o.right_fill?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_ALIGN
+      }
+      assert(!@format_o.right_fill?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::RIGHT_FILL
+      }
+      assert(@format_o.right_fill?)
+      assert_nothing_raised {
+        @format_o.format_style = Text::Format::JUSTIFY
+      }
+      assert(!@format_o.right_fill?)
+        # The format testing is done in test_format_style
+    end
+
+    def test_right_margin
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(0, @format_o.right_margin)
+      assert_nothing_raised { @format_o.right_margin = -3 }
+      assert_equal(3, @format_o.right_margin)
+      assert_nothing_raised { @format_o.right_margin = "9" }
+      assert_equal(9, @format_o.right_margin)
+      assert_nothing_raised { @format_o.right_margin = "-2" }
+      assert_equal(2, @format_o.right_margin)
+      assert_nothing_raised { @format_o.right_margin = 7 }
+      assert_equal(7, @format_o.right_margin)
+      assert_nothing_raised {
+        ft = @format_o.format(GETTYSBURG).split("\n")
+        assert_match(/^ {4}Four score.*forth on$/, ft[0])
+        assert_match(/^November/, ft[-1])
+      }
+    end
+
+    def test_tabstop
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal(8, @format_o.tabstop)
+      assert_nothing_raised { @format_o.tabstop = 7 }
+      assert_equal(7, @format_o.tabstop)
+      assert_nothing_raised { @format_o.tabstop = -3 }
+      assert_equal(3, @format_o.tabstop)
+      assert_nothing_raised { @format_o.tabstop = "9" }
+      assert_equal(9, @format_o.tabstop)
+      assert_nothing_raised { @format_o.tabstop = "-2" }
+      assert_equal(2, @format_o.tabstop)
+    end
+
+    def test_text
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal([], @format_o.text)
+      assert_nothing_raised { @format_o.text = "Test Text" }
+      assert_equal("Test Text", @format_o.text)
+      assert_nothing_raised { @format_o.text = ["Line 1", "Line 2"] }
+      assert_equal(["Line 1", "Line 2"], @format_o.text)
+    end
+
+    def test_s_new
+          # new(NilClass) { block }
+      assert_nothing_raised do
+        @format_o = Text::Format.new {
+          self.text = "Test 1, 2, 3"
+        }
+      end
+      assert_equal("Test 1, 2, 3", @format_o.text)
+
+        # new(Hash Symbols)
+      assert_nothing_raised { @format_o = Text::Format.new(:columns => 72) }
+      assert_equal(72, @format_o.columns)
+
+        # new(Hash String)
+      assert_nothing_raised { @format_o = Text::Format.new('columns' => 72) }
+      assert_equal(72, @format_o.columns)
+
+        # new(Hash) { block }
+      assert_nothing_raised do
+        @format_o = Text::Format.new('columns' => 80) {
+          self.text = "Test 4, 5, 6"
+        }
+      end
+      assert_equal("Test 4, 5, 6", @format_o.text)
+      assert_equal(80, @format_o.columns)
+
+        # new(Text::Format)
+      assert_nothing_raised do
+        fo = Text::Format.new(@format_o)
+        assert(fo == @format_o)
+      end
+
+        # new(Text::Format) { block }
+      assert_nothing_raised do
+        fo = Text::Format.new(@format_o) { self.columns = 79 }
+        assert(fo != @format_o)
+      end
+
+          # new(String)
+      assert_nothing_raised { @format_o = Text::Format.new("Test A, B, C") }
+      assert_equal("Test A, B, C", @format_o.text)
+
+          # new(String) { block }
+      assert_nothing_raised do
+        @format_o = Text::Format.new("Test X, Y, Z") { self.columns = -5 }
+      end
+      assert_equal("Test X, Y, Z", @format_o.text)
+      assert_equal(5, @format_o.columns)
+    end
+
+    def test_center
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_nothing_raised do
+        ct = @format_o.center(GETTYSBURG.split("\n")).split("\n")
+        assert_match(/^    Four score and seven years ago our fathers brought forth on this/, ct[0])
+        assert_match(/^                       not perish from the earth./, ct[-3])
+      end
+    end
+
+    def test_expand
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal("          ", @format_o.expand("\t  "))
+      assert_nothing_raised { @format_o.tabstop = 4 }
+      assert_equal("      ", @format_o.expand("\t  "))
+    end
+
+    def test_unexpand
+      assert_nothing_raised { @format_o = Text::Format.new }
+      assert_equal("\t  ", @format_o.unexpand("          "))
+      assert_nothing_raised { @format_o.tabstop = 4 }
+      assert_equal("\t  ", @format_o.unexpand("      "))
+    end
+
+    def test_space_only
+      assert_equal("", Text::Format.new.format(" "))
+      assert_equal("", Text::Format.new.format("\n"))
+      assert_equal("", Text::Format.new.format("        "))
+      assert_equal("", Text::Format.new.format("    \n"))
+      assert_equal("", Text::Format.new.paragraphs("\n"))
+      assert_equal("", Text::Format.new.paragraphs(" "))
+      assert_equal("", Text::Format.new.paragraphs("        "))
+      assert_equal("", Text::Format.new.paragraphs("    \n"))
+      assert_equal("", Text::Format.new.paragraphs(["\n"]))
+      assert_equal("", Text::Format.new.paragraphs([" "]))
+      assert_equal("", Text::Format.new.paragraphs(["        "]))
+      assert_equal("", Text::Format.new.paragraphs(["    \n"]))
+    end
+
+    def test_splendiferous
+      h = nil
+      test = "This is a splendiferous test"
+      assert_nothing_raised { @format_o = Text::Format.new(:columns => 6, :left_margin => 0, :indent => 0, :first_indent => 0) }
+      assert_match(/^splendiferous$/, @format_o.format(test))
+      assert_nothing_raised { @format_o.hard_margins = true }
+      assert_match(/^lendif$/, @format_o.format(test))
+      assert_nothing_raised { h = Object.new }
+      assert_nothing_raised do
+        @format_o.split_rules = Text::Format::SPLIT_HYPHENATION
+        class << h #:nodoc:
+          def hyphenate_to(word, size)
+            return ["", word] if size < 2
+            [word[0 ... size], word[size .. -1]]
+          end
+        end
+        @format_o.hyphenator = h
+      end
+      assert_match(/^iferou$/, @format_o.format(test))
+      assert_nothing_raised { h = Object.new }
+      assert_nothing_raised do
+        class << h #:nodoc:
+          def hyphenate_to(word, size, formatter)
+            return ["", word] if word.size < formatter.columns
+            [word[0 ... size], word[size .. -1]]
+          end
+        end
+        @format_o.hyphenator = h
+      end
+      assert_match(/^ferous$/, @format_o.format(test))
+    end
+  end
+end


Property changes on: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/address.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,426 @@
+=begin rdoc
+
+= Address handling class
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+require 'tmail/encode'
+require 'tmail/parser'
+
+
+module TMail
+
+  # = Class Address
+  # 
+  # Provides a complete handling library for email addresses. Can parse a string of an
+  # address directly or take in preformatted addresses themselves.  Allows you to add
+  # and remove phrases from the front of the address and provides a compare function for
+  # email addresses.
+  # 
+  # == Parsing and Handling a Valid Address:
+  # 
+  # Just pass the email address in as a string to Address.parse:
+  # 
+  #  email = TMail::Address.parse('Mikel Lindsaar <mikel at lindsaar.net>)
+  #  #=> #<TMail::Address mikel at lindsaar.net>
+  #  email.address
+  #  #=> "mikel at lindsaar.net"
+  #  email.local
+  #  #=> "mikel"
+  #  email.domain
+  #  #=> "lindsaar.net"
+  #  email.name             # Aliased as phrase as well
+  #  #=> "Mikel Lindsaar"
+  # 
+  # == Detecting an Invalid Address
+  # 
+  # If you want to check the syntactical validity of an email address, just pass it to
+  # Address.parse and catch any SyntaxError:
+  # 
+  #  begin
+  #    TMail::Mail.parse("mikel   2@@@@@ me .com")
+  #  rescue TMail::SyntaxError
+  #    puts("Invalid Email Address Detected")
+  #  else
+  #    puts("Address is valid")
+  #  end
+  #  #=> "Invalid Email Address Detected"
+  class Address
+
+    include TextUtils #:nodoc:
+    
+    # Sometimes you need to parse an address, TMail can do it for you and provide you with
+    # a fairly robust method of detecting a valid address.
+    # 
+    # Takes in a string, returns a TMail::Address object.
+    # 
+    # Raises a TMail::SyntaxError on invalid email format
+    def Address.parse( str )
+      Parser.parse :ADDRESS, special_quote_address(str)
+    end
+    
+    def Address.special_quote_address(str) #:nodoc:
+      # Takes a string which is an address and adds quotation marks to special
+      # edge case methods that the RACC parser can not handle.
+      #
+      # Right now just handles two edge cases:
+      #
+      # Full stop as the last character of the display name:
+      #   Mikel L. <mikel at me.com>
+      # Returns:
+      #   "Mikel L." <mikel at me.com>
+      #
+      # Unquoted @ symbol in the display name:
+      #   mikel at me.com <mikel at me.com>
+      # Returns:
+      #   "mikel at me.com" <mikel at me.com>
+      #
+      # Any other address not matching these patterns just gets returned as is. 
+      case
+      # This handles the missing "" in an older version of Apple Mail.app
+      # around the display name when the display name contains a '@'
+      # like 'mikel at me.com <mikel at me.com>'
+      # Just quotes it to: '"mikel at me.com" <mikel at me.com>'
+      when str =~ /\A([^"].+ at .+[^"])\s(<.*?>)\Z/
+        return "\"#{$1}\" #{$2}"
+      # This handles cases where 'Mikel A. <mikel at me.com>' which is a trailing
+      # full stop before the address section.  Just quotes it to
+      # '"Mikel A. <mikel at me.com>"
+      when str =~ /\A(.*?\.)\s(<.*?>)\Z/
+        return "\"#{$1}\" #{$2}"
+      else
+        str
+      end
+    end
+
+    def address_group? #:nodoc:
+      false
+    end
+
+    # Address.new(local, domain)
+    # 
+    # Accepts:
+    # 
+    # * local - Left of the at symbol
+    # 
+    # * domain - Array of the domain split at the periods.
+    # 
+    # For example:
+    # 
+    #  Address.new("mikel", ["lindsaar", "net"])
+    #  #=> "#<TMail::Address mikel at lindsaar.net>"
+    def initialize( local, domain )
+      if domain
+        domain.each do |s|
+          raise SyntaxError, 'empty word in domain' if s.empty?
+        end
+      end
+      
+      # This is to catch an unquoted "@" symbol in the local part of the
+      # address.  Handles addresses like <"@"@me.com> and makes sure they
+      # stay like <"@"@me.com> (previously were becoming <@@me.com>)
+      if local && (local.join == '@' || local.join =~ /\A[^"].*?@.*?[^"]\Z/)
+        @local = "\"#{local.join}\""
+      else
+        @local = local
+      end
+
+      @domain = domain
+      @name   = nil
+      @routes = []
+    end
+
+    # Provides the name or 'phrase' of the email address.
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Address.parse("Mikel Lindsaar <mikel at lindsaar.net>")
+    #  email.name
+    #  #=> "Mikel Lindsaar"
+    def name
+      @name
+    end
+
+    # Setter method for the name or phrase of the email
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Address.parse("mikel at lindsaar.net")
+    #  email.name
+    #  #=> nil
+    #  email.name = "Mikel Lindsaar"
+    #  email.to_s
+    #  #=> "Mikel Lindsaar <mikel at me.com>"
+    def name=( str )
+      @name = str
+      @name = nil if str and str.empty?
+    end
+
+    #:stopdoc:
+    alias phrase  name
+    alias phrase= name=
+    #:startdoc:
+    
+    # This is still here from RFC 822, and is now obsolete per RFC2822 Section 4.
+    # 
+    # "When interpreting addresses, the route portion SHOULD be ignored."
+    # 
+    # It is still here, so you can access it.
+    # 
+    # Routes return the route portion at the front of the email address, if any.
+    # 
+    # For Example:
+    #  email = TMail::Address.parse( "<@sa, at another:Mikel at me.com>")
+    #  => #<TMail::Address Mikel at me.com>
+    #  email.to_s
+    #  => "<@sa, at another:Mikel at me.com>"
+    #  email.routes
+    #  => ["sa", "another"]
+    def routes
+      @routes
+    end
+    
+    def inspect #:nodoc:
+      "#<#{self.class} #{address()}>"
+    end
+
+    # Returns the local part of the email address
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Address.parse("mikel at lindsaar.net")
+    #  email.local
+    #  #=> "mikel"
+    def local
+      return nil unless @local
+      return '""' if @local.size == 1 and @local[0].empty?
+      # Check to see if it is an array before trying to map it
+      if @local.respond_to?(:map)
+        @local.map {|i| quote_atom(i) }.join('.')
+      else
+        quote_atom(@local)
+      end
+    end
+
+    # Returns the domain part of the email address
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Address.parse("mikel at lindsaar.net")
+    #  email.local
+    #  #=> "lindsaar.net"
+    def domain
+      return nil unless @domain
+      join_domain(@domain)
+    end
+
+    # Returns the full specific address itself
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Address.parse("mikel at lindsaar.net")
+    #  email.address
+    #  #=> "mikel at lindsaar.net"
+    def spec
+      s = self.local
+      d = self.domain
+      if s and d
+        s + '@' + d
+      else
+        s
+      end
+    end
+
+    alias address spec
+
+    # Provides == function to the email.  Only checks the actual address
+    # and ignores the name/phrase component
+    # 
+    # For Example
+    # 
+    #  addr1 = TMail::Address.parse("My Address <mikel at lindsaar.net>")
+    #  #=> "#<TMail::Address mikel at lindsaar.net>"
+    #  addr2 = TMail::Address.parse("Another <mikel at lindsaar.net>")
+    #  #=> "#<TMail::Address mikel at lindsaar.net>"
+    #  addr1 == addr2
+    #  #=> true
+    def ==( other )
+      other.respond_to? :spec and self.spec == other.spec
+    end
+
+    alias eql? ==
+
+    # Provides a unique hash value for this record against the local and domain
+    # parts, ignores the name/phrase value
+    # 
+    #  email = TMail::Address.parse("mikel at lindsaar.net")
+    #  email.hash
+    #  #=> 18767598
+    def hash
+      @local.hash ^ @domain.hash
+    end
+
+    # Duplicates a TMail::Address object returning the duplicate
+    # 
+    #  addr1 = TMail::Address.parse("mikel at lindsaar.net")
+    #  addr2 = addr1.dup
+    #  addr1.id == addr2.id
+    #  #=> false
+    def dup
+      obj = self.class.new(@local.dup, @domain.dup)
+      obj.name = @name.dup if @name
+      obj.routes.replace @routes
+      obj
+    end
+
+    include StrategyInterface #:nodoc:
+
+    def accept( strategy, dummy1 = nil, dummy2 = nil ) #:nodoc:
+      unless @local
+        strategy.meta '<>'   # empty return-path
+        return
+      end
+
+      spec_p = (not @name and @routes.empty?)
+      if @name
+        strategy.phrase @name
+        strategy.space
+      end
+      tmp = spec_p ? '' : '<'
+      unless @routes.empty?
+        tmp << @routes.map {|i| '@' + i }.join(',') << ':'
+      end
+      tmp << self.spec
+      tmp << '>' unless spec_p
+      strategy.meta tmp
+      strategy.lwsp ''
+    end
+
+  end
+
+
+  class AddressGroup
+
+    include Enumerable
+
+    def address_group?
+      true
+    end
+
+    def initialize( name, addrs )
+      @name = name
+      @addresses = addrs
+    end
+
+    attr_reader :name
+    
+    def ==( other )
+      other.respond_to? :to_a and @addresses == other.to_a
+    end
+
+    alias eql? ==
+
+    def hash
+      map {|i| i.hash }.hash
+    end
+
+    def []( idx )
+      @addresses[idx]
+    end
+
+    def size
+      @addresses.size
+    end
+
+    def empty?
+      @addresses.empty?
+    end
+
+    def each( &block )
+      @addresses.each(&block)
+    end
+
+    def to_a
+      @addresses.dup
+    end
+
+    alias to_ary to_a
+
+    def include?( a )
+      @addresses.include? a
+    end
+
+    def flatten
+      set = []
+      @addresses.each do |a|
+        if a.respond_to? :flatten
+          set.concat a.flatten
+        else
+          set.push a
+        end
+      end
+      set
+    end
+
+    def each_address( &block )
+      flatten.each(&block)
+    end
+
+    def add( a )
+      @addresses.push a
+    end
+
+    alias push add
+    
+    def delete( a )
+      @addresses.delete a
+    end
+
+    include StrategyInterface
+
+    def accept( strategy, dummy1 = nil, dummy2 = nil )
+      strategy.phrase @name
+      strategy.meta ':'
+      strategy.space
+      first = true
+      each do |mbox|
+        if first
+          first = false
+        else
+          strategy.meta ','
+        end
+        strategy.space
+        mbox.accept strategy
+      end
+      strategy.meta ';'
+      strategy.lwsp ''
+    end
+
+  end
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/attachments.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,46 @@
+=begin rdoc
+
+= Attachment handling file
+
+=end
+
+require 'stringio'
+
+module TMail
+  class Attachment < StringIO
+    attr_accessor :original_filename, :content_type
+  end
+
+  class Mail
+    def has_attachments?
+      multipart? && parts.any? { |part| attachment?(part) }
+    end
+
+    def attachment?(part)
+      part.disposition_is_attachment? || part.content_type_is_text?
+    end
+
+    def attachments
+      if multipart?
+        parts.collect { |part| 
+          if part.multipart?
+            part.attachments
+          elsif attachment?(part)
+            content   = part.body # unquoted automatically by TMail#body
+            file_name = (part['content-location'] &&
+                          part['content-location'].body) ||
+                        part.sub_header("content-type", "name") ||
+                        part.sub_header("content-disposition", "filename")
+            
+            next if file_name.blank? || content.blank?
+            
+            attachment = Attachment.new(content)
+            attachment.original_filename = file_name.strip
+            attachment.content_type = part.content_type
+            attachment
+          end
+        }.flatten.compact
+      end      
+    end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/base64.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,46 @@
+#--
+#   Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+#   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.
+#
+#   Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+#   with permission of Minero Aoki.
+#++
+#:stopdoc:
+module TMail
+  module Base64
+
+    module_function
+
+    def folding_encode( str, eol = "\n", limit = 60 )
+      [str].pack('m')
+    end
+
+    def encode( str )
+      [str].pack('m').tr( "\r\n", '' )
+    end
+
+    def decode( str, strict = false )
+      str.unpack('m').first
+    end
+
+  end
+end
+#:startdoc:

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/compat.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,41 @@
+#:stopdoc:
+unless Enumerable.method_defined?(:map) 
+  module Enumerable #:nodoc:
+    alias map collect
+  end
+end
+
+unless Enumerable.method_defined?(:select)
+  module Enumerable #:nodoc:
+    alias select find_all
+  end
+end
+
+unless Enumerable.method_defined?(:reject)
+  module Enumerable #:nodoc:
+    def reject
+      result = []
+      each do |i|
+        result.push i unless yield(i)
+      end
+      result
+    end
+  end
+end
+
+unless Enumerable.method_defined?(:sort_by)
+  module Enumerable #:nodoc:
+    def sort_by
+      map {|i| [yield(i), i] }.sort.map {|val, i| i }
+    end
+  end
+end
+
+unless File.respond_to?(:read)
+  def File.read(fname) #:nodoc:
+    File.open(fname) {|f|
+      return f.read
+    }
+  end
+end
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/config.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,67 @@
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+#:stopdoc:
+module TMail
+
+  class Config
+
+    def initialize( strict )
+      @strict_parse = strict
+      @strict_base64decode = strict
+    end
+
+    def strict_parse?
+      @strict_parse
+    end
+
+    attr_writer :strict_parse
+
+    def strict_base64decode?
+      @strict_base64decode
+    end
+
+    attr_writer :strict_base64decode
+
+    def new_body_port( mail )
+      StringPort.new
+    end
+
+    alias new_preamble_port  new_body_port
+    alias new_part_port      new_body_port
+  
+  end
+
+  DEFAULT_CONFIG        = Config.new(false)
+  DEFAULT_STRICT_CONFIG = Config.new(true)
+
+  def Config.to_config( arg )
+    return DEFAULT_STRICT_CONFIG if arg == true
+    return DEFAULT_CONFIG        if arg == false
+    arg or DEFAULT_CONFIG
+  end
+
+end
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/core_extensions.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,63 @@
+#:stopdoc:
+unless Object.respond_to?(:blank?)
+  class Object
+    # Check first to see if we are in a Rails environment, no need to 
+    # define these methods if we are
+
+    # An object is blank if it's nil, empty, or a whitespace string.
+    # For example, "", "   ", nil, [], and {} are blank.
+    #
+    # This simplifies
+    #   if !address.nil? && !address.empty?
+    # to
+    #   if !address.blank?
+    def blank?
+      if respond_to?(:empty?) && respond_to?(:strip)
+        empty? or strip.empty?
+      elsif respond_to?(:empty?)
+        empty?
+      else
+        !self
+      end
+    end
+  end
+
+  class NilClass
+    def blank?
+      true
+    end
+  end
+
+  class FalseClass
+    def blank?
+      true
+    end
+  end
+
+  class TrueClass
+    def blank?
+      false
+    end
+  end
+
+  class Array
+    alias_method :blank?, :empty?
+  end
+
+  class Hash
+    alias_method :blank?, :empty?
+  end
+
+  class String
+    def blank?
+      empty? || strip.empty?
+    end
+  end
+
+  class Numeric
+    def blank?
+      false
+    end
+  end
+end
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/encode.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,581 @@
+#--
+# = COPYRIGHT:
+#
+#   Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+#   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.
+#
+#   Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+#   with permission of Minero Aoki.
+#++
+#:stopdoc:
+require 'nkf'
+require 'tmail/base64'
+require 'tmail/stringio'
+require 'tmail/utils'
+#:startdoc:
+
+
+module TMail
+  
+  #:stopdoc:
+  class << self
+    attr_accessor :KCODE
+  end
+  self.KCODE = 'NONE'
+
+  module StrategyInterface
+
+    def create_dest( obj )
+      case obj
+      when nil
+        StringOutput.new
+      when String
+        StringOutput.new(obj)
+      when IO, StringOutput
+        obj
+      else
+        raise TypeError, 'cannot handle this type of object for dest'
+      end
+    end
+    module_function :create_dest
+
+    #:startdoc:
+    # Returns the TMail object encoded and ready to be sent via SMTP etc.
+    # You should call this before you are packaging up your  email to
+    # correctly escape all the values that need escaping in the email, line
+    # wrap the email etc.
+    # 
+    # It is also a good idea to call this before you marshal or serialize
+    # a TMail object.
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Load(my_email_file)
+    #  email_to_send = email.encoded
+    def encoded( eol = "\r\n", charset = 'j', dest = nil )
+      accept_strategy Encoder, eol, charset, dest
+    end
+
+    # Returns the TMail object decoded and ready to be used by you, your
+    # program etc.
+    # 
+    # You should call this before you are packaging up your  email to
+    # correctly escape all the values that need escaping in the email, line
+    # wrap the email etc.
+    # 
+    # For Example:
+    # 
+    #  email = TMail::Load(my_email_file)
+    #  email_to_send = email.encoded
+    def decoded( eol = "\n", charset = 'e', dest = nil )
+      # Turn the E-Mail into a string and return it with all
+      # encoded characters decoded.  alias for to_s
+      accept_strategy Decoder, eol, charset, dest
+    end
+
+    alias to_s decoded
+
+    def accept_strategy( klass, eol, charset, dest = nil ) #:nodoc:
+      dest ||= ''
+      accept klass.new( create_dest(dest), charset, eol )
+      dest
+    end
+
+  end
+
+  #:stopdoc:
+
+  ###
+  ### MIME B encoding decoder
+  ###
+
+  class Decoder
+
+    include TextUtils
+
+    encoded = '=\?(?:iso-2022-jp|euc-jp|shift_jis)\?[QB]\?[a-z0-9+/=]+\?='
+    ENCODED_WORDS = /#{encoded}(?:\s+#{encoded})*/i
+
+    OUTPUT_ENCODING = {
+      'EUC'  => 'e',
+      'SJIS' => 's',
+    }
+
+    def self.decode( str, encoding = nil )
+      encoding ||= (OUTPUT_ENCODING[TMail.KCODE] || 'j')
+      opt = '-mS' + encoding
+      str.gsub(ENCODED_WORDS) {|s| NKF.nkf(opt, s) }
+    end
+
+    def initialize( dest, encoding = nil, eol = "\n" )
+      @f = StrategyInterface.create_dest(dest)
+      @encoding = (/\A[ejs]/ === encoding) ? encoding[0,1] : nil
+      @eol = eol
+    end
+
+    def decode( str )
+      self.class.decode(str, @encoding)
+    end
+    private :decode
+
+    def terminate
+    end
+
+    def header_line( str )
+      @f << decode(str)
+    end
+
+    def header_name( nm )
+      @f << nm << ': '
+    end
+
+    def header_body( str )
+      @f << decode(str)
+    end
+
+    def space
+      @f << ' '
+    end
+
+    alias spc space
+
+    def lwsp( str )
+      @f << str
+    end
+
+    def meta( str )
+      @f << str
+    end
+
+    def text( str )
+      @f << decode(str)
+    end
+
+    def phrase( str )
+      @f << quote_phrase(decode(str))
+    end
+
+    def kv_pair( k, v )
+      v = dquote(v) unless token_safe?(v)
+      @f << k << '=' << v
+    end
+
+    def puts( str = nil )
+      @f << str if str
+      @f << @eol
+    end
+
+    def write( str )
+      @f << str
+    end
+
+  end
+
+
+  ###
+  ### MIME B-encoding encoder
+  ###
+
+  #
+  # FIXME: This class can handle only (euc-jp/shift_jis -> iso-2022-jp).
+  #
+  class Encoder
+
+    include TextUtils
+
+    BENCODE_DEBUG = false unless defined?(BENCODE_DEBUG)
+
+    def Encoder.encode( str )
+      e = new()
+      e.header_body str
+      e.terminate
+      e.dest.string
+    end
+
+    SPACER       = "\t"
+    MAX_LINE_LEN = 78
+    RFC_2822_MAX_LENGTH = 998
+
+    OPTIONS = {
+      'EUC'  => '-Ej -m0',
+      'SJIS' => '-Sj -m0',
+      'UTF8' => nil,      # FIXME
+      'NONE' => nil
+    }
+
+    def initialize( dest = nil, encoding = nil, eol = "\r\n", limit = nil )
+      @f = StrategyInterface.create_dest(dest)
+      @opt = OPTIONS[TMail.KCODE]
+      @eol = eol
+      @folded = false
+      @preserve_quotes = true
+      reset
+    end
+
+    def preserve_quotes=( bool )
+      @preserve_quotes
+    end
+
+    def preserve_quotes
+      @preserve_quotes
+    end
+
+    def normalize_encoding( str )
+      if @opt
+      then NKF.nkf(@opt, str)
+      else str
+      end
+    end
+
+    def reset
+      @text = ''
+      @lwsp = ''
+      @curlen = 0
+    end
+
+    def terminate
+      add_lwsp ''
+      reset
+    end
+
+    def dest
+      @f
+    end
+
+    def puts( str = nil )
+      @f << str if str
+      @f << @eol
+    end
+
+    def write( str )
+      @f << str
+    end
+
+    #
+    # add
+    #
+
+    def header_line( line )
+      scanadd line
+    end
+
+    def header_name( name )
+      add_text name.split(/-/).map {|i| i.capitalize }.join('-')
+      add_text ':'
+      add_lwsp ' '
+    end
+
+    def header_body( str )
+      scanadd normalize_encoding(str)
+    end
+
+    def space
+      add_lwsp ' '
+    end
+
+    alias spc space
+
+    def lwsp( str )
+      add_lwsp str.sub(/[\r\n]+[^\r\n]*\z/, '')
+    end
+
+    def meta( str )
+      add_text str
+    end
+
+    def text( str )
+      scanadd normalize_encoding(str)
+    end
+
+    def phrase( str )
+      str = normalize_encoding(str)
+      if CONTROL_CHAR === str
+        scanadd str
+      else
+        add_text quote_phrase(str)
+      end
+    end
+
+    # FIXME: implement line folding
+    #
+    def kv_pair( k, v )
+      return if v.nil?
+      v = normalize_encoding(v)
+      if token_safe?(v)
+        add_text k + '=' + v
+      elsif not CONTROL_CHAR === v
+        add_text k + '=' + quote_token(v)
+      else
+        # apply RFC2231 encoding
+        kv = k + '*=' + "iso-2022-jp'ja'" + encode_value(v)
+        add_text kv
+      end
+    end
+
+    def encode_value( str )
+      str.gsub(TOKEN_UNSAFE) {|s| '%%%02x' % s[0] }
+    end
+
+    private
+
+    def scanadd( str, force = false )
+      types = ''
+      strs = []
+      if str.respond_to?(:encoding)
+        enc = str.encoding 
+        str.force_encoding(Encoding::ASCII_8BIT)
+      end
+      until str.empty?
+        if m = /\A[^\e\t\r\n ]+/.match(str)
+          types << (force ? 'j' : 'a')
+          if str.respond_to?(:encoding)
+            strs.push m[0].force_encoding(enc)
+          else
+            strs.push m[0]
+          end
+        elsif m = /\A[\t\r\n ]+/.match(str)
+          types << 's'
+          if str.respond_to?(:encoding)
+            strs.push m[0].force_encoding(enc)
+          else
+            strs.push m[0]
+          end
+
+        elsif m = /\A\e../.match(str)
+          esc = m[0]
+          str = m.post_match
+          if esc != "\e(B" and m = /\A[^\e]+/.match(str)
+            types << 'j'
+            if str.respond_to?(:encoding)
+              strs.push m[0].force_encoding(enc)
+            else
+              strs.push m[0]
+            end
+          end
+
+        else
+          raise 'TMail FATAL: encoder scan fail'
+        end
+        (str = m.post_match) unless m.nil?
+      end
+
+      do_encode types, strs
+    end
+
+    def do_encode( types, strs )
+      #
+      # result  : (A|E)(S(A|E))*
+      # E       : W(SW)*
+      # W       : (J|A)+ but must contain J  # (J|A)*J(J|A)*
+      # A       : <<A character string not to be encoded>>
+      # J       : <<A character string to be encoded>>
+      # S       : <<LWSP>>
+      #
+      # An encoding unit is `E'.
+      # Input (parameter `types') is  (J|A)(J|A|S)*(J|A)
+      #
+      if BENCODE_DEBUG
+        puts
+        puts '-- do_encode ------------'
+        puts types.split(//).join(' ')
+        p strs
+      end
+
+      e = /[ja]*j[ja]*(?:s[ja]*j[ja]*)*/
+
+      while m = e.match(types)
+        pre = m.pre_match
+        concat_A_S pre, strs[0, pre.size] unless pre.empty?
+        concat_E m[0], strs[m.begin(0) ... m.end(0)]
+        types = m.post_match
+        strs.slice! 0, m.end(0)
+      end
+      concat_A_S types, strs
+    end
+
+    def concat_A_S( types, strs )
+      if RUBY_VERSION < '1.9'
+        a = ?a; s = ?s
+      else
+        a = 'a'.ord; s = 's'.ord
+      end
+      i = 0
+      types.each_byte do |t|
+        case t
+        when a then add_text strs[i]
+        when s then add_lwsp strs[i]
+        else
+          raise "TMail FATAL: unknown flag: #{t.chr}"
+        end
+        i += 1
+      end
+    end
+
+    METHOD_ID = {
+      ?j => :extract_J,
+      ?e => :extract_E,
+      ?a => :extract_A,
+      ?s => :extract_S
+    }
+
+    def concat_E( types, strs )
+      if BENCODE_DEBUG
+        puts '---- concat_E'
+        puts "types=#{types.split(//).join(' ')}"
+        puts "strs =#{strs.inspect}"
+      end
+
+      flush() unless @text.empty?
+
+      chunk = ''
+      strs.each_with_index do |s,i|
+        mid = METHOD_ID[types[i]]
+        until s.empty?
+          unless c = __send__(mid, chunk.size, s)
+            add_with_encode chunk unless chunk.empty?
+            flush
+            chunk = ''
+            fold
+            c = __send__(mid, 0, s)
+            raise 'TMail FATAL: extract fail' unless c
+          end
+          chunk << c
+        end
+      end
+      add_with_encode chunk unless chunk.empty?
+    end
+
+    def extract_J( chunksize, str )
+      size = max_bytes(chunksize, str.size) - 6
+      size = (size % 2 == 0) ? (size) : (size - 1)
+      return nil if size <= 0
+      if str.respond_to?(:encoding)
+        enc = str.encoding
+        str.force_encoding(Encoding::ASCII_8BIT)
+        "\e$B#{str.slice!(0, size)}\e(B".force_encoding(enc)
+      else
+        "\e$B#{str.slice!(0, size)}\e(B"
+      end
+    end
+
+    def extract_A( chunksize, str )
+      size = max_bytes(chunksize, str.size)
+      return nil if size <= 0
+      str.slice!(0, size)
+    end
+
+    alias extract_S extract_A
+
+    def max_bytes( chunksize, ssize )
+      (restsize() - '=?iso-2022-jp?B??='.size) / 4 * 3 - chunksize
+    end
+
+    #
+    # free length buffer
+    #
+
+    def add_text( str )
+      @text << str
+      # puts '---- text -------------------------------------'
+      # puts "+ #{str.inspect}"
+      # puts "txt >>>#{@text.inspect}<<<"
+    end
+
+    def add_with_encode( str )
+      @text << "=?iso-2022-jp?B?#{Base64.encode(str)}?="
+    end
+
+    def add_lwsp( lwsp )
+      # puts '---- lwsp -------------------------------------'
+      # puts "+ #{lwsp.inspect}"
+      fold if restsize() <= 0
+      flush(@folded)
+      @lwsp = lwsp
+    end
+
+    def flush(folded = false)
+      # puts '---- flush ----'
+      # puts "spc >>>#{@lwsp.inspect}<<<"
+      # puts "txt >>>#{@text.inspect}<<<"
+      @f << @lwsp << @text
+      if folded
+        @curlen = 0
+      else
+        @curlen += (@lwsp.size + @text.size)
+      end
+      @text = ''
+      @lwsp = ''
+    end
+
+    def fold
+      # puts '---- fold ----'
+      unless @f.string =~ /^.*?:$/
+        @f << @eol
+        @lwsp = SPACER
+      else
+        fold_header
+        @folded = true
+      end
+      @curlen = 0
+    end
+
+    def fold_header
+      # Called because line is too long - so we need to wrap.
+      # First look for whitespace in the text
+      # if it has text, fold there
+      # check the remaining text, if too long, fold again
+      # if it doesn't, then don't fold unless the line goes beyond 998 chars
+
+      # Check the text to see if there is whitespace, or if not
+      @wrapped_text = []
+      until @text.blank?
+        fold_the_string
+      end
+      @text = @wrapped_text.join("#{@eol}#{SPACER}")
+    end
+
+    def fold_the_string
+      whitespace_location = @text =~ /\s/ || @text.length
+      # Is the location of the whitespace shorter than the RCF_2822_MAX_LENGTH?
+      # if there is no whitespace in the string, then this
+      unless mazsize(whitespace_location) <= 0
+        @text.strip!
+        @wrapped_text << @text.slice!(0...whitespace_location)
+      # If it is not less, we have to wrap it destructively
+      else
+        slice_point = RFC_2822_MAX_LENGTH - @curlen - @lwsp.length
+        @text.strip!
+        @wrapped_text << @text.slice!(0...slice_point)
+      end
+    end
+
+    def restsize
+      MAX_LINE_LEN - (@curlen + @lwsp.size + @text.size)
+    end
+
+    def mazsize(whitespace_location)
+      # Per RFC2822, the maximum length of a line is 998 chars
+      RFC_2822_MAX_LENGTH - (@curlen + @lwsp.size + whitespace_location)
+    end
+
+  end
+  #:startdoc:
+end    # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,960 @@
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+require 'tmail/encode'
+require 'tmail/address'
+require 'tmail/parser'
+require 'tmail/config'
+require 'tmail/utils'
+
+#:startdoc:
+module TMail
+
+  # Provides methods to handle and manipulate headers in the email
+  class HeaderField
+
+    include TextUtils
+
+    class << self
+
+      alias newobj new
+
+      def new( name, body, conf = DEFAULT_CONFIG )
+        klass = FNAME_TO_CLASS[name.downcase] || UnstructuredHeader
+        klass.newobj body, conf
+      end
+
+      # Returns a HeaderField object matching the header you specify in the "name" param.
+      # Requires an initialized TMail::Port to be passed in.
+      #
+      # The method searches the header of the Port you pass into it to find a match on
+      # the header line you pass.  Once a match is found, it will unwrap the matching line
+      # as needed to return an initialized HeaderField object.
+      #
+      # If you want to get the Envelope sender of the email object, pass in "EnvelopeSender",
+      # if you want the From address of the email itself, pass in 'From'.
+      #
+      # This is because a mailbox doesn't have the : after the From that designates the
+      # beginning of the envelope sender (which can be different to the from address of 
+      # the email)
+      #
+      # Other fields can be passed as normal, "Reply-To", "Received" etc.
+      #
+      # Note: Change of behaviour in 1.2.1 => returns nil if it does not find the specified
+      # header field, otherwise returns an instantiated object of the correct header class
+      # 
+      # For example:
+      #   port = TMail::FilePort.new("/test/fixtures/raw_email_simple")
+      #   h = TMail::HeaderField.new_from_port(port, "From")
+      #   h.addrs.to_s #=> "Mikel Lindsaar <mikel at nowhere.com>"
+      #   h = TMail::HeaderField.new_from_port(port, "EvelopeSender")
+      #   h.addrs.to_s #=> "mike at anotherplace.com.au"
+      #   h = TMail::HeaderField.new_from_port(port, "SomeWeirdHeaderField")
+      #   h #=> nil
+      def new_from_port( port, name, conf = DEFAULT_CONFIG )
+        if name == "EnvelopeSender"
+          name = "From"
+          re = Regexp.new('\A(From) ', 'i')
+        else
+          re = Regexp.new('\A(' + Regexp.quote(name) + '):', 'i')
+        end
+        str = nil
+        port.ropen {|f|
+            f.each do |line|
+              if m = re.match(line)            then str = m.post_match.strip
+              elsif str and /\A[\t ]/ === line then str << ' ' << line.strip
+              elsif /\A-*\s*\z/ === line       then break
+              elsif str                        then break
+              end
+            end
+        }
+        new(name, str, Config.to_config(conf)) if str
+      end
+
+      def internal_new( name, conf )
+        FNAME_TO_CLASS[name].newobj('', conf, true)
+      end
+
+    end   # class << self
+
+    def initialize( body, conf, intern = false )
+      @body = body
+      @config = conf
+
+      @illegal = false
+      @parsed = false
+      
+      if intern
+        @parsed = true
+        parse_init
+      end
+    end
+
+    def inspect
+      "#<#{self.class} #{@body.inspect}>"
+    end
+
+    def illegal?
+      @illegal
+    end
+
+    def empty?
+      ensure_parsed
+      return true if @illegal
+      isempty?
+    end
+
+    private
+
+    def ensure_parsed
+      return if @parsed
+      @parsed = true
+      parse
+    end
+
+    # defabstract parse
+    # end
+
+    def clear_parse_status
+      @parsed = false
+      @illegal = false
+    end
+
+    public
+
+    def body
+      ensure_parsed
+      v = Decoder.new(s = '')
+      do_accept v
+      v.terminate
+      s
+    end
+
+    def body=( str )
+      @body = str
+      clear_parse_status
+    end
+
+    include StrategyInterface
+
+    def accept( strategy )
+      ensure_parsed
+      do_accept strategy
+      strategy.terminate
+    end
+
+    # abstract do_accept
+
+  end
+
+
+  class UnstructuredHeader < HeaderField
+
+    def body
+      ensure_parsed
+      @body
+    end
+
+    def body=( arg )
+      ensure_parsed
+      @body = arg
+    end
+
+    private
+
+    def parse_init
+    end
+
+    def parse
+      @body = Decoder.decode(@body.gsub(/\n|\r\n|\r/, ''))
+    end
+
+    def isempty?
+      not @body
+    end
+
+    def do_accept( strategy )
+      strategy.text @body
+    end
+
+  end
+
+
+  class StructuredHeader < HeaderField
+
+    def comments
+      ensure_parsed
+      if @comments[0]
+        [Decoder.decode(@comments[0])]
+      else
+        @comments
+      end
+    end
+
+    private
+
+    def parse
+      save = nil
+
+      begin
+        parse_init
+        do_parse
+      rescue SyntaxError
+        if not save and mime_encoded? @body
+          save = @body
+          @body = Decoder.decode(save)
+          retry
+        elsif save
+          @body = save
+        end
+
+        @illegal = true
+        raise if @config.strict_parse?
+      end
+    end
+
+    def parse_init
+      @comments = []
+      init
+    end
+
+    def do_parse
+      quote_boundary
+      obj = Parser.parse(self.class::PARSE_TYPE, @body, @comments)
+      set obj if obj
+    end
+
+  end
+
+
+  class DateTimeHeader < StructuredHeader
+
+    PARSE_TYPE = :DATETIME
+
+    def date
+      ensure_parsed
+      @date
+    end
+
+    def date=( arg )
+      ensure_parsed
+      @date = arg
+    end
+
+    private
+
+    def init
+      @date = nil
+    end
+
+    def set( t )
+      @date = t
+    end
+
+    def isempty?
+      not @date
+    end
+
+    def do_accept( strategy )
+      strategy.meta time2str(@date)
+    end
+
+  end
+
+
+  class AddressHeader < StructuredHeader
+
+    PARSE_TYPE = :MADDRESS
+
+    def addrs
+      ensure_parsed
+      @addrs
+    end
+
+    private
+
+    def init
+      @addrs = []
+    end
+
+    def set( a )
+      @addrs = a
+    end
+
+    def isempty?
+      @addrs.empty?
+    end
+
+    def do_accept( strategy )
+      first = true
+      @addrs.each do |a|
+        if first
+          first = false
+        else
+          strategy.meta ','
+          strategy.space
+        end
+        a.accept strategy
+      end
+
+      @comments.each do |c|
+        strategy.space
+        strategy.meta '('
+        strategy.text c
+        strategy.meta ')'
+      end
+    end
+
+  end
+
+
+  class ReturnPathHeader < AddressHeader
+
+    PARSE_TYPE = :RETPATH
+
+    def addr
+      addrs()[0]
+    end
+
+    def spec
+      a = addr() or return nil
+      a.spec
+    end
+
+    def routes
+      a = addr() or return nil
+      a.routes
+    end
+
+    private
+
+    def do_accept( strategy )
+      a = addr()
+
+      strategy.meta '<'
+      unless a.routes.empty?
+        strategy.meta a.routes.map {|i| '@' + i }.join(',')
+        strategy.meta ':'
+      end
+      spec = a.spec
+      strategy.meta spec if spec
+      strategy.meta '>'
+    end
+
+  end
+
+
+  class SingleAddressHeader < AddressHeader
+
+    def addr
+      addrs()[0]
+    end
+
+    private
+
+    def do_accept( strategy )
+      a = addr()
+      a.accept strategy
+      @comments.each do |c|
+        strategy.space
+        strategy.meta '('
+        strategy.text c
+        strategy.meta ')'
+      end
+    end
+
+  end
+
+
+  class MessageIdHeader < StructuredHeader
+
+    def id
+      ensure_parsed
+      @id
+    end
+
+    def id=( arg )
+      ensure_parsed
+      @id = arg
+    end
+
+    private
+
+    def init
+      @id = nil
+    end
+
+    def isempty?
+      not @id
+    end
+
+    def do_parse
+      @id = @body.slice(MESSAGE_ID) or
+              raise SyntaxError, "wrong Message-ID format: #{@body}"
+    end
+
+    def do_accept( strategy )
+      strategy.meta @id
+    end
+
+  end
+
+
+  class ReferencesHeader < StructuredHeader
+
+    def refs
+      ensure_parsed
+      @refs
+    end
+
+    def each_id
+      self.refs.each do |i|
+        yield i if MESSAGE_ID === i
+      end
+    end
+
+    def ids
+      ensure_parsed
+      @ids
+    end
+
+    def each_phrase
+      self.refs.each do |i|
+        yield i unless MESSAGE_ID === i
+      end
+    end
+
+    def phrases
+      ret = []
+      each_phrase {|i| ret.push i }
+      ret
+    end
+
+    private
+
+    def init
+      @refs = []
+      @ids = []
+    end
+
+    def isempty?
+      @ids.empty?
+    end
+
+    def do_parse
+      str = @body
+      while m = MESSAGE_ID.match(str)
+        pre = m.pre_match.strip
+        @refs.push pre unless pre.empty?
+        @refs.push s = m[0]
+        @ids.push s
+        str = m.post_match
+      end
+      str = str.strip
+      @refs.push str unless str.empty?
+    end
+
+    def do_accept( strategy )
+      first = true
+      @ids.each do |i|
+        if first
+          first = false
+        else
+          strategy.space
+        end
+        strategy.meta i
+      end
+    end
+
+  end
+
+
+  class ReceivedHeader < StructuredHeader
+
+    PARSE_TYPE = :RECEIVED
+
+    def from
+      ensure_parsed
+      @from
+    end
+
+    def from=( arg )
+      ensure_parsed
+      @from = arg
+    end
+
+    def by
+      ensure_parsed
+      @by
+    end
+
+    def by=( arg )
+      ensure_parsed
+      @by = arg
+    end
+
+    def via
+      ensure_parsed
+      @via
+    end
+
+    def via=( arg )
+      ensure_parsed
+      @via = arg
+    end
+
+    def with
+      ensure_parsed
+      @with
+    end
+
+    def id
+      ensure_parsed
+      @id
+    end
+
+    def id=( arg )
+      ensure_parsed
+      @id = arg
+    end
+
+    def _for
+      ensure_parsed
+      @_for
+    end
+
+    def _for=( arg )
+      ensure_parsed
+      @_for = arg
+    end
+
+    def date
+      ensure_parsed
+      @date
+    end
+
+    def date=( arg )
+      ensure_parsed
+      @date = arg
+    end
+
+    private
+
+    def init
+      @from = @by = @via = @with = @id = @_for = nil
+      @with = []
+      @date = nil
+    end
+
+    def set( args )
+      @from, @by, @via, @with, @id, @_for, @date = *args
+    end
+
+    def isempty?
+      @with.empty? and not (@from or @by or @via or @id or @_for or @date)
+    end
+
+    def do_accept( strategy )
+      list = []
+      list.push 'from '  + @from       if @from
+      list.push 'by '    + @by         if @by
+      list.push 'via '   + @via        if @via
+      @with.each do |i|
+        list.push 'with ' + i
+      end
+      list.push 'id '    + @id         if @id
+      list.push 'for <'  + @_for + '>' if @_for
+
+      first = true
+      list.each do |i|
+        strategy.space unless first
+        strategy.meta i
+        first = false
+      end
+      if @date
+        strategy.meta ';'
+        strategy.space
+        strategy.meta time2str(@date)
+      end
+    end
+
+  end
+
+
+  class KeywordsHeader < StructuredHeader
+
+    PARSE_TYPE = :KEYWORDS
+
+    def keys
+      ensure_parsed
+      @keys
+    end
+
+    private
+
+    def init
+      @keys = []
+    end
+
+    def set( a )
+      @keys = a
+    end
+
+    def isempty?
+      @keys.empty?
+    end
+
+    def do_accept( strategy )
+      first = true
+      @keys.each do |i|
+        if first
+          first = false
+        else
+          strategy.meta ','
+        end
+        strategy.meta i
+      end
+    end
+
+  end
+
+
+  class EncryptedHeader < StructuredHeader
+
+    PARSE_TYPE = :ENCRYPTED
+
+    def encrypter
+      ensure_parsed
+      @encrypter
+    end
+
+    def encrypter=( arg )
+      ensure_parsed
+      @encrypter = arg
+    end
+
+    def keyword
+      ensure_parsed
+      @keyword
+    end
+
+    def keyword=( arg )
+      ensure_parsed
+      @keyword = arg
+    end
+
+    private
+
+    def init
+      @encrypter = nil
+      @keyword = nil
+    end
+
+    def set( args )
+      @encrypter, @keyword = args
+    end
+
+    def isempty?
+      not (@encrypter or @keyword)
+    end
+
+    def do_accept( strategy )
+      if @key
+        strategy.meta @encrypter + ','
+        strategy.space
+        strategy.meta @keyword
+      else
+        strategy.meta @encrypter
+      end
+    end
+
+  end
+
+
+  class MimeVersionHeader < StructuredHeader
+
+    PARSE_TYPE = :MIMEVERSION
+
+    def major
+      ensure_parsed
+      @major
+    end
+
+    def major=( arg )
+      ensure_parsed
+      @major = arg
+    end
+
+    def minor
+      ensure_parsed
+      @minor
+    end
+
+    def minor=( arg )
+      ensure_parsed
+      @minor = arg
+    end
+
+    def version
+      sprintf('%d.%d', major, minor)
+    end
+
+    private
+
+    def init
+      @major = nil
+      @minor = nil
+    end
+
+    def set( args )
+      @major, @minor = *args
+    end
+
+    def isempty?
+      not (@major or @minor)
+    end
+
+    def do_accept( strategy )
+      strategy.meta sprintf('%d.%d', @major, @minor)
+    end
+
+  end
+
+
+  class ContentTypeHeader < StructuredHeader
+
+    PARSE_TYPE = :CTYPE
+
+    def main_type
+      ensure_parsed
+      @main
+    end
+
+    def main_type=( arg )
+      ensure_parsed
+      @main = arg.downcase
+    end
+
+    def sub_type
+      ensure_parsed
+      @sub
+    end
+
+    def sub_type=( arg )
+      ensure_parsed
+      @sub = arg.downcase
+    end
+
+    def content_type
+      ensure_parsed
+      @sub ? sprintf('%s/%s', @main, @sub) : @main
+    end
+
+    def params
+      ensure_parsed
+      unless @params.blank?
+        @params.each do |k, v|
+          @params[k] = unquote(v)
+        end
+      end
+      @params
+    end
+
+    def []( key )
+      ensure_parsed
+      @params and unquote(@params[key])
+    end
+
+    def []=( key, val )
+      ensure_parsed
+      (@params ||= {})[key] = val
+    end
+
+    private
+
+    def init
+      @main = @sub = @params = nil
+    end
+
+    def set( args )
+      @main, @sub, @params = *args
+    end
+
+    def isempty?
+      not (@main or @sub)
+    end
+
+    def do_accept( strategy )
+      if @sub
+        strategy.meta sprintf('%s/%s', @main, @sub)
+      else
+        strategy.meta @main
+      end
+      @params.each do |k,v|
+        if v
+          strategy.meta ';'
+          strategy.space
+          strategy.kv_pair k, v
+        end
+      end
+    end
+
+  end
+
+
+  class ContentTransferEncodingHeader < StructuredHeader
+
+    PARSE_TYPE = :CENCODING
+
+    def encoding
+      ensure_parsed
+      @encoding
+    end
+
+    def encoding=( arg )
+      ensure_parsed
+      @encoding = arg
+    end
+
+    private
+
+    def init
+      @encoding = nil
+    end
+
+    def set( s )
+      @encoding = s
+    end
+
+    def isempty?
+      not @encoding
+    end
+
+    def do_accept( strategy )
+      strategy.meta @encoding.capitalize
+    end
+
+  end
+
+
+  class ContentDispositionHeader < StructuredHeader
+
+    PARSE_TYPE = :CDISPOSITION
+
+    def disposition
+      ensure_parsed
+      @disposition
+    end
+
+    def disposition=( str )
+      ensure_parsed
+      @disposition = str.downcase
+    end
+
+    def params
+      ensure_parsed
+      unless @params.blank?
+        @params.each do |k, v|
+          @params[k] = unquote(v)
+        end
+      end
+      @params
+    end
+
+    def []( key )
+      ensure_parsed
+      @params and unquote(@params[key])
+    end
+
+    def []=( key, val )
+      ensure_parsed
+      (@params ||= {})[key] = val
+    end
+
+    private
+
+    def init
+      @disposition = @params = nil
+    end
+
+    def set( args )
+      @disposition, @params = *args
+    end
+
+    def isempty?
+      not @disposition and (not @params or @params.empty?)
+    end
+
+    def do_accept( strategy )
+      strategy.meta @disposition
+      @params.each do |k,v|
+        strategy.meta ';'
+        strategy.space
+        strategy.kv_pair k, unquote(v)
+      end
+    end
+      
+  end
+
+
+  class HeaderField   # redefine
+
+    FNAME_TO_CLASS = {
+      'date'                      => DateTimeHeader,
+      'resent-date'               => DateTimeHeader,
+      'to'                        => AddressHeader,
+      'cc'                        => AddressHeader,
+      'bcc'                       => AddressHeader,
+      'from'                      => AddressHeader,
+      'reply-to'                  => AddressHeader,
+      'resent-to'                 => AddressHeader,
+      'resent-cc'                 => AddressHeader,
+      'resent-bcc'                => AddressHeader,
+      'resent-from'               => AddressHeader,
+      'resent-reply-to'           => AddressHeader,
+      'sender'                    => SingleAddressHeader,
+      'resent-sender'             => SingleAddressHeader,
+      'return-path'               => ReturnPathHeader,
+      'message-id'                => MessageIdHeader,
+      'resent-message-id'         => MessageIdHeader,
+      'in-reply-to'               => ReferencesHeader,
+      'received'                  => ReceivedHeader,
+      'references'                => ReferencesHeader,
+      'keywords'                  => KeywordsHeader,
+      'encrypted'                 => EncryptedHeader,
+      'mime-version'              => MimeVersionHeader,
+      'content-type'              => ContentTypeHeader,
+      'content-transfer-encoding' => ContentTransferEncodingHeader,
+      'content-disposition'       => ContentDispositionHeader,
+      'content-id'                => MessageIdHeader,
+      'subject'                   => UnstructuredHeader,
+      'comments'                  => UnstructuredHeader,
+      'content-description'       => UnstructuredHeader
+    }
+
+  end
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/index.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,9 @@
+#:stopdoc:
+# This is here for Rolls. 
+# Rolls uses this instead of lib/tmail.rb.
+
+require 'tmail/version'
+require 'tmail/mail'
+require 'tmail/mailbox'
+require 'tmail/core_extensions'
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/interface.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,1130 @@
+=begin rdoc
+
+= interface.rb Provides an interface to the TMail object
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+# TMail::Mail objects get accessed primarily through the methods in this file.
+# 
+# 
+
+require 'tmail/utils'
+
+module TMail
+
+  class Mail
+
+    # Allows you to query the mail object with a string to get the contents
+    # of the field you want.
+    # 
+    # Returns a string of the exact contents of the field
+    # 
+    #  mail.from = "mikel <mikel at lindsaar.net>"
+    #  mail.header_string("From") #=> "mikel <mikel at lindsaar.net>"
+    def header_string( name, default = nil )
+      h = @header[name.downcase] or return default
+      h.to_s
+    end
+
+    #:stopdoc:
+    #--
+    #== Attributes
+
+    include TextUtils
+
+    def set_string_array_attr( key, strs )
+      strs.flatten!
+      if strs.empty?
+        @header.delete key.downcase
+      else
+        store key, strs.join(', ')
+      end
+      strs
+    end
+    private :set_string_array_attr
+
+    def set_string_attr( key, str )
+      if str
+        store key, str
+      else
+        @header.delete key.downcase
+      end
+      str
+    end
+    private :set_string_attr
+
+    def set_addrfield( name, arg )
+      if arg
+        h = HeaderField.internal_new(name, @config)
+        h.addrs.replace [arg].flatten
+        @header[name] = h
+      else
+        @header.delete name
+      end
+      arg
+    end
+    private :set_addrfield
+
+    def addrs2specs( addrs )
+      return nil unless addrs
+      list = addrs.map {|addr|
+          if addr.address_group?
+          then addr.map {|a| a.spec }
+          else addr.spec
+          end
+      }.flatten
+      return nil if list.empty?
+      list
+    end
+    private :addrs2specs
+
+    #:startdoc:
+
+    #== Date and Time methods
+
+    # Returns the date of the email message as per the "date" header value or returns
+    # nil by default (if no date field exists).  
+    # 
+    # You can also pass whatever default you want into this method and it will return 
+    # that instead of nil if there is no date already set. 
+    def date( default = nil )
+      if h = @header['date']
+        h.date
+      else
+        default
+      end
+    end
+
+    # Destructively sets the date of the mail object with the passed Time instance,
+    # returns a Time instance set to the date/time of the mail
+    # 
+    # Example:
+    # 
+    #  now = Time.now
+    #  mail.date = now
+    #  mail.date #=> Sat Nov 03 18:47:50 +1100 2007
+    #  mail.date.class #=> Time
+    def date=( time )
+      if time
+        store 'Date', time2str(time)
+      else
+        @header.delete 'date'
+      end
+      time
+    end
+
+    # Returns the time of the mail message formatted to your taste using a 
+    # strftime format string.  If no date set returns nil by default or whatever value
+    # you pass as the second optional parameter.
+    # 
+    #  time = Time.now # (on Nov 16 2007)
+    #  mail.date = time
+    #  mail.strftime("%D") #=> "11/16/07"
+    def strftime( fmt, default = nil )
+      if t = date
+        t.strftime(fmt)
+      else
+        default
+      end
+    end
+
+    #== Destination methods
+
+    # Return a TMail::Addresses instance for each entry in the "To:" field of the mail object header.
+    # 
+    # If the "To:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.to_addrs #=> nil
+    #  mail.to_addrs([]) #=> []
+    #  mail.to = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.to_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def to_addrs( default = nil )
+      if h = @header['to']
+        h.addrs
+      else
+        default
+      end
+    end
+
+    # Return a TMail::Addresses instance for each entry in the "Cc:" field of the mail object header.
+    # 
+    # If the "Cc:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.cc_addrs #=> nil
+    #  mail.cc_addrs([]) #=> []
+    #  mail.cc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.cc_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+     def cc_addrs( default = nil )
+      if h = @header['cc']
+        h.addrs
+      else
+        default
+      end
+    end
+
+    # Return a TMail::Addresses instance for each entry in the "Bcc:" field of the mail object header.
+    # 
+    # If the "Bcc:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.bcc_addrs #=> nil
+    #  mail.bcc_addrs([]) #=> []
+    #  mail.bcc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.bcc_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def bcc_addrs( default = nil )
+      if h = @header['bcc']
+        h.addrs
+      else
+        default
+      end
+    end
+
+    # Destructively set the to field of the "To:" header to equal the passed in string.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.to = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.to_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def to_addrs=( arg )
+      set_addrfield 'to', arg
+    end
+
+    # Destructively set the to field of the "Cc:" header to equal the passed in string.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.cc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.cc_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def cc_addrs=( arg )
+      set_addrfield 'cc', arg
+    end
+
+    # Destructively set the to field of the "Bcc:" header to equal the passed in string.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.bcc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.bcc_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def bcc_addrs=( arg )
+      set_addrfield 'bcc', arg
+    end
+
+    # Returns who the email is to as an Array of email addresses as opposed to an Array of 
+    # TMail::Address objects which is what Mail#to_addrs returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.to = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.to #=>  ["mikel at me.org", "mikel at you.org"]
+    def to( default = nil )
+      addrs2specs(to_addrs(nil)) || default
+    end
+
+    # Returns who the email cc'd as an Array of email addresses as opposed to an Array of 
+    # TMail::Address objects which is what Mail#to_addrs returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.cc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.cc #=>  ["mikel at me.org", "mikel at you.org"]
+    def cc( default = nil )
+      addrs2specs(cc_addrs(nil)) || default
+    end
+
+    # Returns who the email bcc'd as an Array of email addresses as opposed to an Array of 
+    # TMail::Address objects which is what Mail#to_addrs returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.bcc = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.bcc #=>  ["mikel at me.org", "mikel at you.org"]
+    def bcc( default = nil )
+      addrs2specs(bcc_addrs(nil)) || default
+    end
+
+    # Destructively sets the "To:" field to the passed array of strings (which should be valid 
+    # email addresses)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.to = ["mikel at abc.com", "Mikel <mikel at xyz.com>"]
+    #  mail.to #=>  ["mikel at abc.org", "mikel at xyz.org"]
+    #  mail['to'].to_s #=> "mikel at abc.com, Mikel <mikel at xyz.com>"
+    def to=( *strs )
+      set_string_array_attr 'To', strs
+    end
+
+    # Destructively sets the "Cc:" field to the passed array of strings (which should be valid 
+    # email addresses)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.cc = ["mikel at abc.com", "Mikel <mikel at xyz.com>"]
+    #  mail.cc #=>  ["mikel at abc.org", "mikel at xyz.org"]
+    #  mail['cc'].to_s #=> "mikel at abc.com, Mikel <mikel at xyz.com>"
+    def cc=( *strs )
+      set_string_array_attr 'Cc', strs
+    end
+
+    # Destructively sets the "Bcc:" field to the passed array of strings (which should be valid 
+    # email addresses)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.bcc = ["mikel at abc.com", "Mikel <mikel at xyz.com>"]
+    #  mail.bcc #=>  ["mikel at abc.org", "mikel at xyz.org"]
+    #  mail['bcc'].to_s #=> "mikel at abc.com, Mikel <mikel at xyz.com>"
+    def bcc=( *strs )
+      set_string_array_attr 'Bcc', strs
+    end
+
+    #== Originator methods
+
+    # Return a TMail::Addresses instance for each entry in the "From:" field of the mail object header.
+    # 
+    # If the "From:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.from_addrs #=> nil
+    #  mail.from_addrs([]) #=> []
+    #  mail.from = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.from_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def from_addrs( default = nil )
+      if h = @header['from']
+        h.addrs
+      else
+        default
+      end
+    end
+
+    # Destructively set the to value of the "From:" header to equal the passed in string.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.from_addrs = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.from_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def from_addrs=( arg )
+      set_addrfield 'from', arg
+    end
+
+    # Returns who the email is from as an Array of email address strings instead to an Array of 
+    # TMail::Address objects which is what Mail#from_addrs returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.from = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.from #=>  ["mikel at me.org", "mikel at you.org"]
+    def from( default = nil )
+      addrs2specs(from_addrs(nil)) || default
+    end
+
+    # Destructively sets the "From:" field to the passed array of strings (which should be valid 
+    # email addresses)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.from = ["mikel at abc.com", "Mikel <mikel at xyz.com>"]
+    #  mail.from #=>  ["mikel at abc.org", "mikel at xyz.org"]
+    #  mail['from'].to_s #=> "mikel at abc.com, Mikel <mikel at xyz.com>"
+    def from=( *strs )
+      set_string_array_attr 'From', strs
+    end
+
+    # Returns the "friendly" human readable part of the address
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.from = "Mikel Lindsaar <mikel at abc.com>"
+    #  mail.friendly_from #=> "Mikel Lindsaar"
+    def friendly_from( default = nil )
+      h = @header['from']
+      a, = h.addrs
+      return default unless a
+      return a.phrase if a.phrase
+      return h.comments.join(' ') unless h.comments.empty?
+      a.spec
+    end
+
+    # Return a TMail::Addresses instance for each entry in the "Reply-To:" field of the mail object header.
+    # 
+    # If the "Reply-To:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.reply_to_addrs #=> nil
+    #  mail.reply_to_addrs([]) #=> []
+    #  mail.reply_to = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.reply_to_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def reply_to_addrs( default = nil )
+      if h = @header['reply-to']
+        h.addrs.blank? ? default : h.addrs
+      else
+        default
+      end
+    end
+
+    # Destructively set the to value of the "Reply-To:" header to equal the passed in argument.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.reply_to_addrs = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.reply_to_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def reply_to_addrs=( arg )
+      set_addrfield 'reply-to', arg
+    end
+
+    # Returns who the email is from as an Array of email address strings instead to an Array of 
+    # TMail::Address objects which is what Mail#reply_to_addrs returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.reply_to = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.reply_to #=>  ["mikel at me.org", "mikel at you.org"]
+    def reply_to( default = nil )
+      addrs2specs(reply_to_addrs(nil)) || default
+    end
+
+    # Destructively sets the "Reply-To:" field to the passed array of strings (which should be valid 
+    # email addresses)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.reply_to = ["mikel at abc.com", "Mikel <mikel at xyz.com>"]
+    #  mail.reply_to #=>  ["mikel at abc.org", "mikel at xyz.org"]
+    #  mail['reply_to'].to_s #=> "mikel at abc.com, Mikel <mikel at xyz.com>"
+    def reply_to=( *strs )
+      set_string_array_attr 'Reply-To', strs
+    end
+
+    # Return a TMail::Addresses instance of the "Sender:" field of the mail object header.
+    # 
+    # If the "Sender:" field does not exist, will return nil by default or the value you
+    # pass as the optional parameter.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.sender #=> nil
+    #  mail.sender([]) #=> []
+    #  mail.sender = "Mikel <mikel at me.org>"
+    #  mail.reply_to_addrs #=>  [#<TMail::Address mikel at me.org>]
+    def sender_addr( default = nil )
+      f = @header['sender'] or return default
+      f.addr                or return default
+    end
+
+    # Destructively set the to value of the "Sender:" header to equal the passed in argument.
+    # 
+    # TMail will parse your contents and turn each valid email address into a TMail::Address 
+    # object before assigning it to the mail message.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.sender_addrs = "Mikel <mikel at me.org>, another Mikel <mikel at you.org>"
+    #  mail.sender_addrs #=>  [#<TMail::Address mikel at me.org>, #<TMail::Address mikel at you.org>]
+    def sender_addr=( addr )
+      if addr
+        h = HeaderField.internal_new('sender', @config)
+        h.addr = addr
+        @header['sender'] = h
+      else
+        @header.delete 'sender'
+      end
+      addr
+    end
+
+    # Returns who the sender of this mail is as string instead to an Array of 
+    # TMail::Address objects which is what Mail#sender_addr returns
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.sender = "Mikel <mikel at me.org>"
+    #  mail.sender #=>  "mikel at me.org"
+    def sender( default = nil )
+      f = @header['sender'] or return default
+      a = f.addr            or return default
+      a.spec
+    end
+
+    # Destructively sets the "Sender:" field to the passed string (which should be a valid 
+    # email address)
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.sender = "mikel at abc.com"
+    #  mail.sender #=>  "mikel at abc.org"
+    #  mail['sender'].to_s #=> "mikel at abc.com"
+    def sender=( str )
+      set_string_attr 'Sender', str
+    end
+
+    #== Subject methods
+
+    # Returns the subject of the mail instance.
+    # 
+    # If the subject field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.subject #=> nil
+    #  mail.subject("") #=> ""
+    #  mail.subject = "Hello"
+    #  mail.subject #=> "Hello"
+    def subject( default = nil )
+      if h = @header['subject']
+        h.body
+      else
+        default
+      end
+    end
+    alias quoted_subject subject
+
+    # Destructively sets the passed string as the subject of the mail message.
+    # 
+    # Example
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.subject #=> "This subject"
+    #  mail.subject = "Another subject"
+    #  mail.subject #=> "Another subject"
+    def subject=( str )
+      set_string_attr 'Subject', str
+    end
+
+    #== Message Identity & Threading Methods
+    
+    # Returns the message ID for this mail object instance.
+    # 
+    # If the message_id field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.message_id #=> nil
+    #  mail.message_id(TMail.new_message_id) #=> "<47404c5326d9c_2ad4fbb80161 at baci.local.tmail>"
+    #  mail.message_id = TMail.new_message_id
+    #  mail.message_id #=> "<47404c5326d9c_2ad4fbb80161 at baci.local.tmail>"
+    def message_id( default = nil )
+      if h = @header['message-id']
+        h.id || default
+      else
+        default
+      end
+    end
+
+    # Destructively sets the message ID of the mail object instance to the passed in string
+    # 
+    # Invalid message IDs are ignored (silently, unless configured otherwise) and result in 
+    # a nil message ID.  Left and right angle brackets are required.
+    #
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.message_id = "<348F04F142D69C21-291E56D292BC at xxxx.net>"
+    #  mail.message_id #=> "<348F04F142D69C21-291E56D292BC at xxxx.net>"
+    #  mail.message_id = "this_is_my_badly_formatted_message_id"
+    #  mail.message_id #=> nil
+    def message_id=( str )
+      set_string_attr 'Message-Id', str
+    end
+
+    # Returns the "In-Reply-To:" field contents as an array of this mail instance if it exists
+    # 
+    # If the in_reply_to field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.in_reply_to #=> nil
+    #  mail.in_reply_to([]) #=> []
+    #  TMail::Mail.load("../test/fixtures/raw_email_reply")
+    #  mail.in_reply_to #=> ["<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    def in_reply_to( default = nil )
+      if h = @header['in-reply-to']
+        h.ids
+      else
+        default
+      end
+    end
+
+    # Destructively sets the value of the "In-Reply-To:" field of an email.
+    # 
+    # Accepts an array of a single string of a message id
+    #
+    # Example: 
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.in_reply_to = ["<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    #  mail.in_reply_to #=> ["<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    def in_reply_to=( *idstrs )
+      set_string_array_attr 'In-Reply-To', idstrs
+    end
+
+    # Returns the references of this email (prior messages relating to this message)
+    # as an array of message ID strings.  Useful when you are trying to thread an
+    # email.
+    # 
+    # If the references field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    #
+    #  mail = TMail::Mail.new
+    #  mail.references #=> nil
+    #  mail.references([]) #=> []
+    #  mail = TMail::Mail.load("../test/fixtures/raw_email_reply")
+    #  mail.references #=> ["<473FF3B8.9020707 at xxx.org>", "<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    def references( default = nil )
+      if h = @header['references']
+        h.refs
+      else
+        default
+      end
+    end
+
+    # Destructively sets the value of the "References:" field of an email.
+    # 
+    # Accepts an array of strings of message IDs
+    #
+    # Example: 
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.references = ["<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    #  mail.references #=> ["<348F04F142D69C21-291E56D292BC at xxxx.net>"]
+    def references=( *strs )
+      set_string_array_attr 'References', strs
+    end
+
+    #== MIME header methods
+
+    # Returns the listed MIME version of this email from the "Mime-Version:" header field
+    # 
+    # If the mime_version field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    #
+    #  mail = TMail::Mail.new
+    #  mail.mime_version #=> nil
+    #  mail.mime_version([]) #=> []
+    #  mail = TMail::Mail.load("../test/fixtures/raw_email")
+    #  mail.mime_version #=> "1.0"
+    def mime_version( default = nil )
+      if h = @header['mime-version']
+        h.version || default
+      else
+        default
+      end
+    end
+
+    def mime_version=( m, opt = nil )
+      if opt
+        if h = @header['mime-version']
+          h.major = m
+          h.minor = opt
+        else
+          store 'Mime-Version', "#{m}.#{opt}"
+        end
+      else
+        store 'Mime-Version', m
+      end
+      m
+    end
+
+    # Returns the current "Content-Type" of the mail instance.
+    #
+    # If the content_type field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    #
+    #  mail = TMail::Mail.new
+    #  mail.content_type #=> nil
+    #  mail.content_type([]) #=> []
+    #  mail = TMail::Mail.load("../test/fixtures/raw_email")
+    #  mail.content_type #=> "text/plain"
+    def content_type( default = nil )
+      if h = @header['content-type']
+        h.content_type || default
+      else
+        default
+      end
+    end
+
+    # Returns the current main type of the "Content-Type" of the mail instance.
+    #
+    # If the content_type field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    #
+    #  mail = TMail::Mail.new
+    #  mail.main_type #=> nil
+    #  mail.main_type([]) #=> []
+    #  mail = TMail::Mail.load("../test/fixtures/raw_email")
+    #  mail.main_type #=> "text"
+    def main_type( default = nil )
+      if h = @header['content-type']
+        h.main_type || default
+      else
+        default
+      end
+    end
+
+    # Returns the current sub type of the "Content-Type" of the mail instance.
+    #
+    # If the content_type field does not exist, returns nil by default or you can pass in as
+    # the parameter for what you want the default value to be.
+    # 
+    # Example:
+    #
+    #  mail = TMail::Mail.new
+    #  mail.sub_type #=> nil
+    #  mail.sub_type([]) #=> []
+    #  mail = TMail::Mail.load("../test/fixtures/raw_email")
+    #  mail.sub_type #=> "plain"
+    def sub_type( default = nil )
+      if h = @header['content-type']
+        h.sub_type || default
+      else
+        default
+      end
+    end
+
+    # Destructively sets the "Content-Type:" header field of this mail object
+    # 
+    # Allows you to set the main type, sub type as well as parameters to the field.
+    # The main type and sub type need to be a string.
+    # 
+    # The optional params hash can be passed with keys as symbols and values as a string,
+    # or strings as keys and values.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.set_content_type("text", "plain")
+    #  mail.to_s #=> "Content-Type: text/plain\n\n"
+    # 
+    #  mail.set_content_type("text", "plain", {:charset => "EUC-KR", :format => "flowed"})
+    #  mail.to_s #=> "Content-Type: text/plain; charset=EUC-KR; format=flowed\n\n"
+    #
+    #  mail.set_content_type("text", "plain", {"charset" => "EUC-KR", "format" => "flowed"})
+    #  mail.to_s #=> "Content-Type: text/plain; charset=EUC-KR; format=flowed\n\n"
+    def set_content_type( str, sub = nil, param = nil )
+      if sub
+        main, sub = str, sub
+      else
+        main, sub = str.split(%r</>, 2)
+        raise ArgumentError, "sub type missing: #{str.inspect}" unless sub
+      end
+      if h = @header['content-type']
+        h.main_type = main
+        h.sub_type  = sub
+        h.params.clear
+      else
+        store 'Content-Type', "#{main}/#{sub}"
+      end
+      @header['content-type'].params.replace param if param
+      str
+    end
+
+    alias content_type= set_content_type
+    
+    # Returns the named type parameter as a string, from the "Content-Type:" header.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.type_param("charset") #=> nil
+    #  mail.type_param("charset", []) #=> []
+    #  mail.set_content_type("text", "plain", {:charset => "EUC-KR", :format => "flowed"})
+    #  mail.type_param("charset") #=> "EUC-KR"
+    #  mail.type_param("format") #=> "flowed"
+    def type_param( name, default = nil )
+      if h = @header['content-type']
+        h[name] || default
+      else
+        default
+      end
+    end
+
+    # Returns the character set of the email.  Returns nil if no encoding set or returns
+    # whatever default you pass as a parameter - note passing the parameter does NOT change
+    # the mail object in any way.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.load("path_to/utf8_email")
+    #  mail.charset #=> "UTF-8"
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.charset #=> nil
+    #  mail.charset("US-ASCII") #=> "US-ASCII"
+    def charset( default = nil )
+      if h = @header['content-type']
+        h['charset'] or default
+      else
+        default
+      end
+    end
+
+    # Destructively sets the character set used by this mail object to the passed string, you
+    # should note though that this does nothing to the mail body, just changes the header
+    # value, you will need to transliterate the body as well to match whatever you put 
+    # in this header value if you are changing character sets.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.charset #=> nil
+    #  mail.charset = "UTF-8"
+    #  mail.charset #=> "UTF-8"
+    def charset=( str )
+      if str
+        if h = @header[ 'content-type' ]
+          h['charset'] = str
+        else
+          store 'Content-Type', "text/plain; charset=#{str}"
+        end
+      end
+      str
+    end
+
+    # Returns the transfer encoding of the email.  Returns nil if no encoding set or returns
+    # whatever default you pass as a parameter - note passing the parameter does NOT change
+    # the mail object in any way.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.load("path_to/base64_encoded_email")
+    #  mail.transfer_encoding #=> "base64"
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.transfer_encoding #=> nil
+    #  mail.transfer_encoding("base64") #=> "base64"
+    def transfer_encoding( default = nil )
+      if h = @header['content-transfer-encoding']
+        h.encoding || default
+      else
+        default
+      end
+    end
+
+    # Destructively sets the transfer encoding of the mail object to the passed string, you
+    # should note though that this does nothing to the mail body, just changes the header
+    # value, you will need to encode or decode the body as well to match whatever you put 
+    # in this header value.
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.new
+    #  mail.transfer_encoding #=> nil
+    #  mail.transfer_encoding = "base64"
+    #  mail.transfer_encoding #=> "base64"
+    def transfer_encoding=( str )
+      set_string_attr 'Content-Transfer-Encoding', str
+    end
+
+    alias encoding                   transfer_encoding
+    alias encoding=                  transfer_encoding=
+    alias content_transfer_encoding  transfer_encoding
+    alias content_transfer_encoding= transfer_encoding=
+
+    # Returns the content-disposition of the mail object, returns nil or the passed 
+    # default value if given
+    # 
+    # Example:
+    # 
+    #  mail = TMail::Mail.load("path_to/raw_mail_with_attachment") 
+    #  mail.disposition #=> "attachment"
+    #
+    #  mail = TMail::Mail.load("path_to/plain_simple_email")
+    #  mail.disposition #=> nil
+    #  mail.disposition(false) #=> false
+    def disposition( default = nil )
+      if h = @header['content-disposition']
+        h.disposition || default
+      else
+        default
+      end
+    end
+
+    alias content_disposition     disposition
+
+    # Allows you to set the content-disposition of the mail object.  Accepts a type
+    # and a hash of parameters.
+    # 
+    # Example:
+    # 
+    #  mail.set_disposition("attachment", {:filename => "test.rb"})
+    #  mail.disposition #=> "attachment"
+    #  mail['content-disposition'].to_s #=> "attachment; filename=test.rb"
+    def set_disposition( str, params = nil )
+      if h = @header['content-disposition']
+        h.disposition = str
+        h.params.clear
+      else
+        store('Content-Disposition', str)
+        h = @header['content-disposition']
+      end
+      h.params.replace params if params
+    end
+
+    alias disposition=            set_disposition
+    alias set_content_disposition set_disposition
+    alias content_disposition=    set_disposition
+
+    # Returns the value of a parameter in an existing content-disposition header
+    # 
+    # Example:
+    # 
+    #  mail.set_disposition("attachment", {:filename => "test.rb"})
+    #  mail['content-disposition'].to_s #=> "attachment; filename=test.rb"
+    #  mail.disposition_param("filename") #=> "test.rb"
+    #  mail.disposition_param("missing_param_key") #=> nil
+    #  mail.disposition_param("missing_param_key", false) #=> false
+    #  mail.disposition_param("missing_param_key", "Nothing to see here") #=> "Nothing to see here"
+    def disposition_param( name, default = nil )
+      if h = @header['content-disposition']
+        h[name] || default
+      else
+        default
+      end
+    end
+
+    # Convert the Mail object's body into a Base64 encoded email
+    # returning the modified Mail object
+    def base64_encode!
+      store 'Content-Transfer-Encoding', 'Base64'
+      self.body = base64_encode
+    end
+
+    # Return the result of encoding the TMail::Mail object body
+    # without altering the current body
+    def base64_encode
+      Base64.folding_encode(self.body)
+    end
+
+    # Convert the Mail object's body into a Base64 decoded email
+    # returning the modified Mail object
+    def base64_decode!
+      if /base64/i === self.transfer_encoding('')
+        store 'Content-Transfer-Encoding', '8bit'
+        self.body = base64_decode
+      end
+    end
+
+    # Returns the result of decoding the TMail::Mail object body
+    # without altering the current body
+    def base64_decode
+      Base64.decode(self.body, @config.strict_base64decode?)
+    end
+
+    # Returns an array of each destination in the email message including to: cc: or bcc:
+    # 
+    # Example:
+    # 
+    #  mail.to = "Mikel <mikel at lindsaar.net>"
+    #  mail.cc = "Trans <t at t.com>"
+    #  mail.bcc = "bob <bob at me.com>"
+    #  mail.destinations #=> ["mikel at lindsaar.net", "t at t.com", "bob at me.com"]
+    def destinations( default = nil )
+      ret = []
+      %w( to cc bcc ).each do |nm|
+        if h = @header[nm]
+          h.addrs.each {|i| ret.push i.address }
+        end
+      end
+      ret.empty? ? default : ret
+    end
+
+    # Yields a block of destination, yielding each as a string.
+    #  (from the destinations example)
+    #  mail.each_destination { |d| puts "#{d.class}: #{d}" }
+    #  String: mikel at lindsaar.net
+    #  String: t at t.com
+    #  String: bob at me.com
+    def each_destination( &block )
+      destinations([]).each do |i|
+        if Address === i
+          yield i
+        else
+          i.each(&block)
+        end
+      end
+    end
+
+    alias each_dest each_destination
+
+    # Returns an array of reply to addresses that the Mail object has, 
+    # or if the Mail message has no reply-to, returns an array of the
+    # Mail objects from addresses.  Else returns the default which can
+    # either be passed as a parameter or defaults to nil
+    # 
+    # Example:
+    #  mail.from = "Mikel <mikel at lindsaar.net>"
+    #  mail.reply_to = nil
+    #  mail.reply_addresses #=> [""]  
+    # 
+    def reply_addresses( default = nil )
+      reply_to_addrs(nil) or from_addrs(nil) or default
+    end
+
+    # Returns the "sender" field as an array -> useful to find out who to 
+    # send an error email to.
+    def error_reply_addresses( default = nil )
+      if s = sender(nil)
+        [s]
+      else
+        from_addrs(default)
+      end
+    end
+
+    # Returns true if the Mail object is a multipart message
+    def multipart?
+      main_type('').downcase == 'multipart'
+    end
+
+    # Creates a new email in reply to self.  Sets the In-Reply-To and
+    # References headers for you automagically.
+    #
+    # Example:
+    #  mail = TMail::Mail.load("my_email")
+    #  reply_email = mail.create_reply
+    #  reply_email.class         #=> TMail::Mail
+    #  reply_email.references  #=> ["<d3b8cf8e49f04480850c28713a1f473e at lindsaar.net>"]
+    #  reply_email.in_reply_to #=> ["<d3b8cf8e49f04480850c28713a1f473e at lindsaar.net>"]
+    def create_reply
+      setup_reply create_empty_mail()
+    end
+
+    # Creates a new email in reply to self.  Sets the In-Reply-To and
+    # References headers for you automagically.
+    #
+    # Example:
+    #  mail = TMail::Mail.load("my_email")
+    #  forward_email = mail.create_forward
+    #  forward_email.class         #=> TMail::Mail
+    #  forward_email.content_type  #=> "multipart/mixed"
+    #  forward_email.body          #=> "Attachment: (unnamed)"
+    #  forward_email.encoded       #=> Returns the original email as a MIME attachment
+    def create_forward
+      setup_forward create_empty_mail()
+    end
+
+    #:stopdoc:
+    private
+
+    def create_empty_mail
+      self.class.new(StringPort.new(''), @config)
+    end
+
+    def setup_reply( mail )
+      if tmp = reply_addresses(nil)
+        mail.to_addrs = tmp
+      end
+
+      mid = message_id(nil)
+      tmp = references(nil) || []
+      tmp.push mid if mid
+      mail.in_reply_to = [mid] if mid
+      mail.references = tmp unless tmp.empty?
+      mail.subject = 'Re: ' + subject('').sub(/\A(?:\[[^\]]+\])?(?:\s*Re:)*\s*/i, '')
+      mail.mime_version = '1.0'
+      mail
+    end
+
+    def setup_forward( mail )
+      m = Mail.new(StringPort.new(''))
+      m.body = decoded
+      m.set_content_type 'message', 'rfc822'
+      m.encoding = encoding('7bit')
+      mail.parts.push m
+      # call encoded to reparse the message
+      mail.encoded
+      mail
+    end
+
+  #:startdoc:
+  end   # class Mail
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/loader.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,3 @@
+#:stopdoc:
+require 'tmail/mailbox'
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mail.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,578 @@
+=begin rdoc
+
+= Mail class
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+ 
+
+require 'tmail/interface'
+require 'tmail/encode'
+require 'tmail/header'
+require 'tmail/port'
+require 'tmail/config'
+require 'tmail/utils'
+require 'tmail/attachments'
+require 'tmail/quoting'
+require 'socket'
+
+module TMail
+
+  # == Mail Class
+  # 
+  # Accessing a TMail object done via the TMail::Mail class.  As email can be fairly complex
+  # creatures, you will find a large amount of accessor and setter methods in this class!
+  # 
+  # Most of the below methods handle the header, in fact, what TMail does best is handle the
+  # header of the email object.  There are only a few methods that deal directly with the body
+  # of the email, such as base64_encode and base64_decode.
+  # 
+  # === Using TMail inside your code
+  # 
+  # The usual way is to install the gem (see the {README}[link:/README] on how to do this) and
+  # then put at the top of your class:
+  # 
+  #  require 'tmail'
+  # 
+  # You can then create a new TMail object in your code with:
+  # 
+  #  @email = TMail::Mail.new
+  # 
+  # Or if you have an email as a string, you can initialize a new TMail::Mail object and get it
+  # to parse that string for you like so:
+  # 
+  #  @email = TMail::Mail.parse(email_text)
+  # 
+  # You can also read a single email off the disk, for example:
+  # 
+  #  @email = TMail::Mail.load('filename.txt')
+  # 
+  # Also, you can read a mailbox (usual unix mbox format) and end up with an array of TMail
+  # objects by doing something like this:
+  # 
+  #  # Note, we pass true as the last variable to open the mailbox read only
+  #  mailbox = TMail::UNIXMbox.new("mailbox", nil, true)
+  #  @emails = []
+  #  mailbox.each_port { |m| @emails << TMail::Mail.new(m) }
+  #
+  class Mail
+
+    class << self
+      
+      # Opens an email that has been saved out as a file by itself.
+      # 
+      # This function will read a file non-destructively and then parse
+      # the contents and return a TMail::Mail object.
+      # 
+      # Does not handle multiple email mailboxes (like a unix mbox) for that
+      # use the TMail::UNIXMbox class.
+      # 
+      # Example:
+      #  mail = TMail::Mail.load('filename')
+      # 
+      def load( fname )
+        new(FilePort.new(fname))
+      end
+
+      alias load_from load
+      alias loadfrom load
+      
+      # Parses an email from the supplied string and returns a TMail::Mail
+      # object.
+      # 
+      # Example:
+      #  require 'rubygems'; require 'tmail'
+      #  email_string =<<HEREDOC
+      #  To: mikel at lindsaar.net
+      #  From: mikel at me.com
+      #  Subject: This is a short Email
+      #  
+      #  Hello there Mikel!
+      #  
+      #  HEREDOC
+      #  mail = TMail::Mail.parse(email_string)
+      #  #=> #<TMail::Mail port=#<TMail::StringPort:id=0xa30ac0> bodyport=nil>
+      #  mail.body
+      #  #=> "Hello there Mikel!\n\n"
+      def parse( str )
+        new(StringPort.new(str))
+      end
+
+    end
+
+    def initialize( port = nil, conf = DEFAULT_CONFIG ) #:nodoc:
+      @port = port || StringPort.new
+      @config = Config.to_config(conf)
+
+      @header      = {}
+      @body_port   = nil
+      @body_parsed = false
+      @epilogue    = ''
+      @parts       = []
+
+      @port.ropen {|f|
+          parse_header f
+          parse_body f unless @port.reproducible?
+      }
+    end
+
+    # Provides access to the port this email is using to hold it's data
+    # 
+    # Example:
+    #  mail = TMail::Mail.parse(email_string)
+    #  mail.port
+    #  #=> #<TMail::StringPort:id=0xa2c952>
+    attr_reader :port
+
+    def inspect
+      "\#<#{self.class} port=#{@port.inspect} bodyport=#{@body_port.inspect}>"
+    end
+
+    #
+    # to_s interfaces
+    #
+
+    public
+
+    include StrategyInterface
+
+    def write_back( eol = "\n", charset = 'e' )
+      parse_body
+      @port.wopen {|stream| encoded eol, charset, stream }
+    end
+
+    def accept( strategy )
+      with_multipart_encoding(strategy) {
+          ordered_each do |name, field|
+            next if field.empty?
+            strategy.header_name canonical(name)
+            field.accept strategy
+            strategy.puts
+          end
+          strategy.puts
+          body_port().ropen {|r|
+              strategy.write r.read
+          }
+      }
+    end
+
+    private
+
+    def canonical( name )
+      name.split(/-/).map {|s| s.capitalize }.join('-')
+    end
+
+    def with_multipart_encoding( strategy )
+      if parts().empty?    # DO NOT USE @parts
+        yield
+
+      else
+        bound = ::TMail.new_boundary
+        if @header.key? 'content-type'
+          @header['content-type'].params['boundary'] = bound
+        else
+          store 'Content-Type', %<multipart/mixed; boundary="#{bound}">
+        end
+
+        yield
+
+        parts().each do |tm|
+          strategy.puts
+          strategy.puts '--' + bound
+          tm.accept strategy
+        end
+        strategy.puts
+        strategy.puts '--' + bound + '--'
+        strategy.write epilogue()
+      end
+    end
+
+    ###
+    ### header
+    ###
+
+    public
+
+    ALLOW_MULTIPLE = {
+      'received'          => true,
+      'resent-date'       => true,
+      'resent-from'       => true,
+      'resent-sender'     => true,
+      'resent-to'         => true,
+      'resent-cc'         => true,
+      'resent-bcc'        => true,
+      'resent-message-id' => true,
+      'comments'          => true,
+      'keywords'          => true
+    }
+    USE_ARRAY = ALLOW_MULTIPLE
+
+    def header
+      @header.dup
+    end
+
+    # Returns a TMail::AddressHeader object of the field you are querying.
+    # Examples:
+    #  @mail['from']  #=> #<TMail::AddressHeader "mikel at test.com.au">
+    #  @mail['to']    #=> #<TMail::AddressHeader "mikel at test.com.au">
+    #
+    # You can get the string value of this by passing "to_s" to the query:
+    # Example:
+    #  @mail['to'].to_s #=> "mikel at test.com.au"
+    def []( key )
+      @header[key.downcase]
+    end
+
+    def sub_header(key, param)
+      (hdr = self[key]) ? hdr[param] : nil
+    end
+
+    alias fetch []
+
+    # Allows you to set or delete TMail header objects at will.
+    # Examples:
+    #  @mail = TMail::Mail.new
+    #  @mail['to'].to_s       # => 'mikel at test.com.au'
+    #  @mail['to'] = 'mikel at elsewhere.org'
+    #  @mail['to'].to_s       # => 'mikel at elsewhere.org'
+    #  @mail.encoded          # => "To: mikel at elsewhere.org\r\n\r\n"
+    #  @mail['to'] = nil
+    #  @mail['to'].to_s       # => nil
+    #  @mail.encoded          # => "\r\n"
+    # 
+    # Note: setting mail[] = nil actually deletes the header field in question from the object,
+    # it does not just set the value of the hash to nil
+    def []=( key, val )
+      dkey = key.downcase
+
+      if val.nil?
+        @header.delete dkey
+        return nil
+      end
+
+      case val
+      when String
+        header = new_hf(key, val)
+      when HeaderField
+        ;
+      when Array
+        ALLOW_MULTIPLE.include? dkey or
+                raise ArgumentError, "#{key}: Header must not be multiple"
+        @header[dkey] = val
+        return val
+      else
+        header = new_hf(key, val.to_s)
+      end
+      if ALLOW_MULTIPLE.include? dkey
+        (@header[dkey] ||= []).push header
+      else
+        @header[dkey] = header
+      end
+
+      val
+    end
+
+    alias store []=
+    
+    # Allows you to loop through each header in the TMail::Mail object in a block
+    # Example:
+    #   @mail['to'] = 'mikel at elsewhere.org'
+    #   @mail['from'] = 'me at me.com'
+    #   @mail.each_header { |k,v| puts "#{k} = #{v}" }
+    #   # => from = me at me.com
+    #   # => to = mikel at elsewhere.org
+    def each_header
+      @header.each do |key, val|
+        [val].flatten.each {|v| yield key, v }
+      end
+    end
+
+    alias each_pair each_header
+
+    def each_header_name( &block )
+      @header.each_key(&block)
+    end
+
+    alias each_key each_header_name
+
+    def each_field( &block )
+      @header.values.flatten.each(&block)
+    end
+
+    alias each_value each_field
+
+    FIELD_ORDER = %w(
+      return-path received
+      resent-date resent-from resent-sender resent-to
+      resent-cc resent-bcc resent-message-id
+      date from sender reply-to to cc bcc
+      message-id in-reply-to references
+      subject comments keywords
+      mime-version content-type content-transfer-encoding
+      content-disposition content-description
+    )
+
+    def ordered_each
+      list = @header.keys
+      FIELD_ORDER.each do |name|
+        if list.delete(name)
+          [@header[name]].flatten.each {|v| yield name, v }
+        end
+      end
+      list.each do |name|
+        [@header[name]].flatten.each {|v| yield name, v }
+      end
+    end
+
+    def clear
+      @header.clear
+    end
+
+    def delete( key )
+      @header.delete key.downcase
+    end
+
+    def delete_if
+      @header.delete_if do |key,val|
+        if Array === val
+          val.delete_if {|v| yield key, v }
+          val.empty?
+        else
+          yield key, val
+        end
+      end
+    end
+
+    def keys
+      @header.keys
+    end
+
+    def key?( key )
+      @header.key? key.downcase
+    end
+
+    def values_at( *args )
+      args.map {|k| @header[k.downcase] }.flatten
+    end
+
+    alias indexes values_at
+    alias indices values_at
+
+    private
+
+    def parse_header( f )
+      name = field = nil
+      unixfrom = nil
+
+      while line = f.gets
+        case line
+        when /\A[ \t]/             # continue from prev line
+          raise SyntaxError, 'mail is began by space' unless field
+          field << ' ' << line.strip
+
+        when /\A([^\: \t]+):\s*/   # new header line
+          add_hf name, field if field
+          name = $1
+          field = $' #.strip
+
+        when /\A\-*\s*\z/          # end of header
+          add_hf name, field if field
+          name = field = nil
+          break
+
+        when /\AFrom (\S+)/
+          unixfrom = $1
+
+        when /^charset=.*/
+
+        else
+          raise SyntaxError, "wrong mail header: '#{line.inspect}'"
+        end
+      end
+      add_hf name, field if name
+
+      if unixfrom
+        add_hf 'Return-Path', "<#{unixfrom}>" unless @header['return-path']
+      end
+    end
+
+    def add_hf( name, field )
+      key = name.downcase
+      field = new_hf(name, field)
+
+      if ALLOW_MULTIPLE.include? key
+        (@header[key] ||= []).push field
+      else
+        @header[key] = field
+      end
+    end
+
+    def new_hf( name, field )
+      HeaderField.new(name, field, @config)
+    end
+
+    ###
+    ### body
+    ###
+
+    public
+
+    def body_port
+      parse_body
+      @body_port
+    end
+
+    def each( &block )
+      body_port().ropen {|f| f.each(&block) }
+    end
+
+    def quoted_body
+      body_port.ropen {|f| return f.read }
+    end
+
+    def quoted_body= str
+      body_port.wopen { |f| f.write str }
+      str
+    end
+
+    def body=( str )
+      # Sets the body of the email to a new (encoded) string.
+      # 
+      # We also reparses the email if the body is ever reassigned, this is a performance hit, however when
+      # you assign the body, you usually want to be able to make sure that you can access the attachments etc.
+      # 
+      # Usage:
+      # 
+      #  mail.body = "Hello, this is\nthe body text"
+      #  # => "Hello, this is\nthe body"
+      #  mail.body
+      #  # => "Hello, this is\nthe body"
+      @body_parsed = false
+      parse_body(StringInput.new(str))
+      parse_body
+      @body_port.wopen {|f| f.write str }
+      str
+    end
+
+    alias preamble  quoted_body
+    alias preamble= quoted_body=
+
+    def epilogue
+      parse_body
+      @epilogue.dup
+    end
+
+    def epilogue=( str )
+      parse_body
+      @epilogue = str
+      str
+    end
+
+    def parts
+      parse_body
+      @parts
+    end
+    
+    def each_part( &block )
+      parts().each(&block)
+    end
+    
+    # Returns true if the content type of this part of the email is
+    # a disposition attachment
+    def disposition_is_attachment?
+      (self['content-disposition'] && self['content-disposition'].disposition == "attachment")
+    end
+
+    # Returns true if this part's content main type is text, else returns false.
+    # By main type is meant "text/plain" is text.  "text/html" is text
+    def content_type_is_text?
+      self.header['content-type'] && (self.header['content-type'].main_type != "text")
+    end
+
+    private
+
+    def parse_body( f = nil )
+      return if @body_parsed
+      if f
+        parse_body_0 f
+      else
+        @port.ropen {|f|
+            skip_header f
+            parse_body_0 f
+        }
+      end
+      @body_parsed = true
+    end
+
+    def skip_header( f )
+      while line = f.gets
+        return if /\A[\r\n]*\z/ === line
+      end
+    end
+
+    def parse_body_0( f )
+      if multipart?
+        read_multipart f
+      else
+        @body_port = @config.new_body_port(self)
+        @body_port.wopen {|w|
+            w.write f.read
+        }
+      end
+    end
+    
+    def read_multipart( src )
+      bound = @header['content-type'].params['boundary']
+      is_sep = /\A--#{Regexp.quote bound}(?:--)?[ \t]*(?:\n|\r\n|\r)/
+      lastbound = "--#{bound}--"
+
+      ports = [ @config.new_preamble_port(self) ]
+      begin
+        f = ports.last.wopen
+        while line = src.gets
+          if is_sep === line
+            f.close
+            break if line.strip == lastbound
+            ports.push @config.new_part_port(self)
+            f = ports.last.wopen
+          else
+            f << line
+          end
+        end
+        @epilogue = (src.read || '')
+      ensure
+        f.close if f and not f.closed?
+      end
+
+      @body_port = ports.shift
+      @parts = ports.map {|p| self.class.new(p, @config) }
+    end
+
+  end   # class Mail
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mailbox.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,495 @@
+=begin rdoc
+
+= Mailbox and Mbox interaction class
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+require 'tmail/port'
+require 'socket'
+require 'mutex_m'
+
+
+unless [].respond_to?(:sort_by)
+module Enumerable#:nodoc:
+  def sort_by
+    map {|i| [yield(i), i] }.sort {|a,b| a.first <=> b.first }.map {|i| i[1] }
+  end
+end
+end
+
+
+module TMail
+
+  class MhMailbox
+
+    PORT_CLASS = MhPort
+
+    def initialize( dir )
+      edir = File.expand_path(dir)
+      raise ArgumentError, "not directory: #{dir}"\
+                              unless FileTest.directory? edir
+      @dirname = edir
+      @last_file = nil
+      @last_atime = nil
+    end
+
+    def directory
+      @dirname
+    end
+
+    alias dirname directory
+
+    attr_accessor :last_atime
+
+    def inspect
+      "#<#{self.class} #{@dirname}>"
+    end
+
+    def close
+    end
+
+    def new_port
+      PORT_CLASS.new(next_file_name())
+    end
+
+    def each_port
+      mail_files().each do |path|
+        yield PORT_CLASS.new(path)
+      end
+      @last_atime = Time.now
+    end
+
+    alias each each_port
+
+    def reverse_each_port
+      mail_files().reverse_each do |path|
+        yield PORT_CLASS.new(path)
+      end
+      @last_atime = Time.now
+    end
+
+    alias reverse_each reverse_each_port
+
+    # old #each_mail returns Port
+    #def each_mail
+    #  each_port do |port|
+    #    yield Mail.new(port)
+    #  end
+    #end
+
+    def each_new_port( mtime = nil, &block )
+      mtime ||= @last_atime
+      return each_port(&block) unless mtime
+      return unless File.mtime(@dirname) >= mtime
+
+      mail_files().each do |path|
+        yield PORT_CLASS.new(path) if File.mtime(path) > mtime
+      end
+      @last_atime = Time.now
+    end
+
+    private
+
+    def mail_files
+      Dir.entries(@dirname)\
+              .select {|s| /\A\d+\z/ === s }\
+              .map {|s| s.to_i }\
+              .sort\
+              .map {|i| "#{@dirname}/#{i}" }\
+              .select {|path| FileTest.file? path }
+    end
+
+    def next_file_name
+      unless n = @last_file
+        n = 0
+        Dir.entries(@dirname)\
+                .select {|s| /\A\d+\z/ === s }\
+                .map {|s| s.to_i }.sort\
+        .each do |i|
+          next unless FileTest.file? "#{@dirname}/#{i}"
+          n = i
+        end
+      end
+      begin
+        n += 1
+      end while FileTest.exist? "#{@dirname}/#{n}"
+      @last_file = n
+
+      "#{@dirname}/#{n}"
+    end
+
+  end   # MhMailbox
+
+  MhLoader = MhMailbox
+
+
+  class UNIXMbox
+  
+    class << self
+      alias newobj new
+    end
+
+    # Creates a new mailbox object that you can iterate through to collect the
+    # emails from with "each_port".  
+    # 
+    # You need to pass it a filename of a unix mailbox format file, the format of this
+    # file can be researched at this page at {wikipedia}[link:http://en.wikipedia.org/wiki/Mbox]
+    # 
+    # ==== Parameters
+    # 
+    # +filename+: The filename of the mailbox you want to open
+    # 
+    # +tmpdir+: Can be set to override TMail using the system environment's temp dir. TMail will first
+    # use the temp dir specified by you (if any) or then the temp dir specified in the Environment's TEMP
+    # value then the value in the Environment's TMP value or failing all of the above, '/tmp'
+    # 
+    # +readonly+: If set to false, each email you take from the mail box will be removed from the mailbox.
+    # default is *false* - ie, it *WILL* truncate your mailbox file to ZERO once it has read the emails out.
+    # 
+    # ==== Options:
+    # 
+    # None
+    # 
+    # ==== Examples:
+    # 
+    #  # First show using readonly true:
+    # 
+    #  require 'ftools'
+    #  File.size("../test/fixtures/mailbox")
+    #  #=> 20426
+    #
+    #  mailbox = TMail::UNIXMbox.new("../test/fixtures/mailbox", nil, true) 
+    #  #=> #<TMail::UNIXMbox:0x14a2aa8 @readonly=true.....>
+    #
+    #  mailbox.each_port do |port| 
+    #    mail = TMail::Mail.new(port)
+    #    puts mail.subject
+    #  end
+    #  #Testing mailbox 1
+    #  #Testing mailbox 2
+    #  #Testing mailbox 3
+    #  #Testing mailbox 4
+    #  require 'ftools'
+    #  File.size?("../test/fixtures/mailbox")
+    #  #=> 20426
+    # 
+    #  # Now show with readonly set to the default false
+    # 
+    #  mailbox = TMail::UNIXMbox.new("../test/fixtures/mailbox") 
+    #  #=> #<TMail::UNIXMbox:0x14a2aa8 @readonly=false.....>
+    #
+    #  mailbox.each_port do |port| 
+    #    mail = TMail::Mail.new(port)
+    #    puts mail.subject
+    #  end
+    #  #Testing mailbox 1
+    #  #Testing mailbox 2
+    #  #Testing mailbox 3
+    #  #Testing mailbox 4
+    # 
+    #  File.size?("../test/fixtures/mailbox")
+    #  #=> nil
+    def UNIXMbox.new( filename, tmpdir = nil, readonly = false )
+      tmpdir = ENV['TEMP'] || ENV['TMP'] || '/tmp'
+      newobj(filename, "#{tmpdir}/ruby_tmail_#{$$}_#{rand()}", readonly, false)
+    end
+
+    def UNIXMbox.lock( fname )
+      begin
+        f = File.open(fname, 'r+')
+        f.flock File::LOCK_EX
+        yield f
+      ensure
+        f.flock File::LOCK_UN
+        f.close if f and not f.closed?
+      end
+    end
+
+    def UNIXMbox.static_new( fname, dir, readonly = false )
+      newobj(fname, dir, readonly, true)
+    end
+
+    def initialize( fname, mhdir, readonly, static )
+      @filename = fname
+      @readonly = readonly
+      @closed = false
+
+      Dir.mkdir mhdir
+      @real = MhMailbox.new(mhdir)
+      @finalizer = UNIXMbox.mkfinal(@real, @filename, !@readonly, !static)
+      ObjectSpace.define_finalizer self, @finalizer
+    end
+
+    def UNIXMbox.mkfinal( mh, mboxfile, writeback_p, cleanup_p )
+      lambda {
+          if writeback_p
+            lock(mboxfile) {|f|
+                mh.each_port do |port|
+                  f.puts create_from_line(port)
+                  port.ropen {|r|
+                      f.puts r.read
+                  }
+                end
+            }
+          end
+          if cleanup_p
+            Dir.foreach(mh.dirname) do |fname|
+              next if /\A\.\.?\z/ === fname
+              File.unlink "#{mh.dirname}/#{fname}"
+            end
+            Dir.rmdir mh.dirname
+          end
+      }
+    end
+
+    # make _From line
+    def UNIXMbox.create_from_line( port )
+      sprintf 'From %s %s',
+              fromaddr(), TextUtils.time2str(File.mtime(port.filename))
+    end
+
+    def UNIXMbox.fromaddr(port)
+      h = HeaderField.new_from_port(port, 'Return-Path') ||
+      HeaderField.new_from_port(port, 'From') ||
+      HeaderField.new_from_port(port, 'EnvelopeSender') or return 'nobody'
+      a = h.addrs[0] or return 'nobody'
+      a.spec
+    end
+
+    def close
+      return if @closed
+
+      ObjectSpace.undefine_finalizer self
+      @finalizer.call
+      @finalizer = nil
+      @real = nil
+      @closed = true
+      @updated = nil
+    end
+
+    def each_port( &block )
+      close_check
+      update
+      @real.each_port(&block)
+    end
+
+    alias each each_port
+
+    def reverse_each_port( &block )
+      close_check
+      update
+      @real.reverse_each_port(&block)
+    end
+
+    alias reverse_each reverse_each_port
+
+    # old #each_mail returns Port
+    #def each_mail( &block )
+    #  each_port do |port|
+    #    yield Mail.new(port)
+    #  end
+    #end
+
+    def each_new_port( mtime = nil )
+      close_check
+      update
+      @real.each_new_port(mtime) {|p| yield p }
+    end
+
+    def new_port
+      close_check
+      @real.new_port
+    end
+
+    private
+
+    def close_check
+      @closed and raise ArgumentError, 'accessing already closed mbox'
+    end
+
+    def update
+      return if FileTest.zero?(@filename)
+      return if @updated and File.mtime(@filename) < @updated
+      w = nil
+      port = nil
+      time = nil
+      UNIXMbox.lock(@filename) {|f|
+          begin
+            f.each do |line|
+              if /\AFrom / === line
+                w.close if w
+                File.utime time, time, port.filename if time
+
+                port = @real.new_port
+                w = port.wopen
+                time = fromline2time(line)
+              else
+                w.print line if w
+              end
+            end
+          ensure
+            if w and not w.closed?
+              w.close
+              File.utime time, time, port.filename if time
+            end
+          end
+          f.truncate(0) unless @readonly
+          @updated = Time.now
+      }
+    end
+
+    def fromline2time( line )
+      m = /\AFrom \S+ \w+ (\w+) (\d+) (\d+):(\d+):(\d+) (\d+)/.match(line) \
+              or return nil
+      Time.local(m[6].to_i, m[1], m[2].to_i, m[3].to_i, m[4].to_i, m[5].to_i)
+    end
+
+  end   # UNIXMbox
+
+  MboxLoader = UNIXMbox
+
+
+  class Maildir
+
+    extend Mutex_m
+
+    PORT_CLASS = MaildirPort
+
+    @seq = 0
+    def Maildir.unique_number
+      synchronize {
+          @seq += 1
+          return @seq
+      }
+    end
+
+    def initialize( dir = nil )
+      @dirname = dir || ENV['MAILDIR']
+      raise ArgumentError, "not directory: #{@dirname}"\
+                              unless FileTest.directory? @dirname
+      @new = "#{@dirname}/new"
+      @tmp = "#{@dirname}/tmp"
+      @cur = "#{@dirname}/cur"
+    end
+
+    def directory
+      @dirname
+    end
+
+    def inspect
+      "#<#{self.class} #{@dirname}>"
+    end
+
+    def close
+    end
+
+    def each_port
+      mail_files(@cur).each do |path|
+        yield PORT_CLASS.new(path)
+      end
+    end
+
+    alias each each_port
+
+    def reverse_each_port
+      mail_files(@cur).reverse_each do |path|
+        yield PORT_CLASS.new(path)
+      end
+    end
+
+    alias reverse_each reverse_each_port
+
+    def new_port
+      fname = nil
+      tmpfname = nil
+      newfname = nil
+
+      begin
+        fname = "#{Time.now.to_i}.#{$$}_#{Maildir.unique_number}.#{Socket.gethostname}"
+        
+        tmpfname = "#{@tmp}/#{fname}"
+        newfname = "#{@new}/#{fname}"
+      end while FileTest.exist? tmpfname
+
+      if block_given?
+        File.open(tmpfname, 'w') {|f| yield f }
+        File.rename tmpfname, newfname
+        PORT_CLASS.new(newfname)
+      else
+        File.open(tmpfname, 'w') {|f| f.write "\n\n" }
+        PORT_CLASS.new(tmpfname)
+      end
+    end
+
+    def each_new_port
+      mail_files(@new).each do |path|
+        dest = @cur + '/' + File.basename(path)
+        File.rename path, dest
+        yield PORT_CLASS.new(dest)
+      end
+
+      check_tmp
+    end
+
+    TOO_OLD = 60 * 60 * 36   # 36 hour
+
+    def check_tmp
+      old = Time.now.to_i - TOO_OLD
+      
+      each_filename(@tmp) do |full, fname|
+        if FileTest.file? full and
+           File.stat(full).mtime.to_i < old
+          File.unlink full
+        end
+      end
+    end
+
+    private
+
+    def mail_files( dir )
+      Dir.entries(dir)\
+              .select {|s| s[0] != ?. }\
+              .sort_by {|s| s.slice(/\A\d+/).to_i }\
+              .map {|s| "#{dir}/#{s}" }\
+              .select {|path| FileTest.file? path }
+    end
+
+    def each_filename( dir )
+      Dir.foreach(dir) do |fname|
+        path = "#{dir}/#{fname}"
+        if fname[0] != ?. and FileTest.file? path
+          yield path, fname
+        end
+      end
+    end
+    
+  end   # Maildir
+
+  MaildirLoader = Maildir
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/main.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,6 @@
+#:stopdoc:
+require 'tmail/version'
+require 'tmail/mail'
+require 'tmail/mailbox'
+require 'tmail/core_extensions'
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/mbox.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,3 @@
+#:stopdoc:
+require 'tmail/mailbox'
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/net.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,248 @@
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+#:stopdoc:
+require 'nkf'
+#:startdoc:
+
+module TMail
+
+  class Mail
+    
+    def send_to( smtp )
+      do_send_to(smtp) do
+        ready_to_send
+      end
+    end
+
+    def send_text_to( smtp )
+      do_send_to(smtp) do
+        ready_to_send
+        mime_encode
+      end
+    end
+
+    def do_send_to( smtp )
+      from = from_address or raise ArgumentError, 'no from address'
+      (dests = destinations).empty? and raise ArgumentError, 'no receipient'
+      yield
+      send_to_0 smtp, from, dests
+    end
+    private :do_send_to
+
+    def send_to_0( smtp, from, to )
+      smtp.ready(from, to) do |f|
+        encoded "\r\n", 'j', f, ''
+      end
+    end
+
+    def ready_to_send
+      delete_no_send_fields
+      add_message_id
+      add_date
+    end
+
+    NOSEND_FIELDS = %w(
+      received
+      bcc
+    )
+
+    def delete_no_send_fields
+      NOSEND_FIELDS.each do |nm|
+        delete nm
+      end
+      delete_if {|n,v| v.empty? }
+    end
+
+    def add_message_id( fqdn = nil )
+      self.message_id = ::TMail::new_message_id(fqdn)
+    end
+
+    def add_date
+      self.date = Time.now
+    end
+
+    def mime_encode
+      if parts.empty?
+        mime_encode_singlepart
+      else
+        mime_encode_multipart true
+      end
+    end
+
+    def mime_encode_singlepart
+      self.mime_version = '1.0'
+      b = body
+      if NKF.guess(b) != NKF::BINARY
+        mime_encode_text b
+      else
+        mime_encode_binary b
+      end
+    end
+
+    def mime_encode_text( body )
+      self.body = NKF.nkf('-j -m0', body)
+      self.set_content_type 'text', 'plain', {'charset' => 'iso-2022-jp'}
+      self.encoding = '7bit'
+    end
+
+    def mime_encode_binary( body )
+      self.body = [body].pack('m')
+      self.set_content_type 'application', 'octet-stream'
+      self.encoding = 'Base64'
+    end
+
+    def mime_encode_multipart( top = true )
+      self.mime_version = '1.0' if top
+      self.set_content_type 'multipart', 'mixed'
+      e = encoding(nil)
+      if e and not /\A(?:7bit|8bit|binary)\z/i === e
+        raise ArgumentError,
+              'using C.T.Encoding with multipart mail is not permitted'
+      end
+    end
+  
+  end
+
+  #:stopdoc:
+  class DeleteFields
+
+    NOSEND_FIELDS = %w(
+      received
+      bcc
+    )
+
+    def initialize( nosend = nil, delempty = true )
+      @no_send_fields = nosend || NOSEND_FIELDS.dup
+      @delete_empty_fields = delempty
+    end
+
+    attr :no_send_fields
+    attr :delete_empty_fields, true
+
+    def exec( mail )
+      @no_send_fields.each do |nm|
+        delete nm
+      end
+      delete_if {|n,v| v.empty? } if @delete_empty_fields
+    end
+  
+  end
+  #:startdoc:
+
+  #:stopdoc:
+  class AddMessageId
+
+    def initialize( fqdn = nil )
+      @fqdn = fqdn
+    end
+
+    attr :fqdn, true
+
+    def exec( mail )
+      mail.message_id = ::TMail::new_msgid(@fqdn)
+    end
+  
+  end
+  #:startdoc:
+
+  #:stopdoc:
+  class AddDate
+
+    def exec( mail )
+      mail.date = Time.now
+    end
+  
+  end
+  #:startdoc:
+
+  #:stopdoc:
+  class MimeEncodeAuto
+
+    def initialize( s = nil, m = nil )
+      @singlepart_composer = s || MimeEncodeSingle.new
+      @multipart_composer  = m || MimeEncodeMulti.new
+    end
+
+    attr :singlepart_composer
+    attr :multipart_composer
+
+    def exec( mail )
+      if mail._builtin_multipart?
+      then @multipart_composer
+      else @singlepart_composer end.exec mail
+    end
+  
+  end
+  #:startdoc:
+  
+  #:stopdoc:
+  class MimeEncodeSingle
+
+    def exec( mail )
+      mail.mime_version = '1.0'
+      b = mail.body
+      if NKF.guess(b) != NKF::BINARY
+        on_text b
+      else
+        on_binary b
+      end
+    end
+
+    def on_text( body )
+      mail.body = NKF.nkf('-j -m0', body)
+      mail.set_content_type 'text', 'plain', {'charset' => 'iso-2022-jp'}
+      mail.encoding = '7bit'
+    end
+
+    def on_binary( body )
+      mail.body = [body].pack('m')
+      mail.set_content_type 'application', 'octet-stream'
+      mail.encoding = 'Base64'
+    end
+  
+  end
+  #:startdoc:
+  
+  #:stopdoc:
+  class MimeEncodeMulti
+
+    def exec( mail, top = true )
+      mail.mime_version = '1.0' if top
+      mail.set_content_type 'multipart', 'mixed'
+      e = encoding(nil)
+      if e and not /\A(?:7bit|8bit|binary)\z/i === e
+        raise ArgumentError,
+              'using C.T.Encoding with multipart mail is not permitted'
+      end
+      mail.parts.each do |m|
+        exec m, false if m._builtin_multipart?
+      end
+    end
+
+  end
+  #:startdoc:
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/obsolete.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,132 @@
+=begin rdoc
+
+= Obsolete methods that are depriciated
+
+If you really want to see them, go to lib/tmail/obsolete.rb and view to your
+heart's content.
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+#:stopdoc:
+module TMail #:nodoc:
+
+  class Mail
+    alias include? key?
+    alias has_key? key?
+
+    def values
+      ret = []
+      each_field {|v| ret.push v }
+      ret
+    end
+
+    def value?( val )
+      HeaderField === val or return false
+
+      [ @header[val.name.downcase] ].flatten.include? val
+    end
+
+    alias has_value? value?
+  end
+
+  class Mail
+    def from_addr( default = nil )
+      addr, = from_addrs(nil)
+      addr || default
+    end
+
+    def from_address( default = nil )
+      if a = from_addr(nil)
+        a.spec
+      else
+        default
+      end
+    end
+
+    alias from_address= from_addrs=
+
+    def from_phrase( default = nil )
+      if a = from_addr(nil)
+        a.phrase
+      else
+        default
+      end
+    end
+
+    alias msgid  message_id
+    alias msgid= message_id=
+
+    alias each_dest each_destination
+  end
+
+  class Address
+    alias route routes
+    alias addr spec
+
+    def spec=( str ) 
+      @local, @domain = str.split(/@/,2).map {|s| s.split(/\./) }
+    end
+
+    alias addr= spec=
+    alias address= spec=
+  end
+
+  class MhMailbox
+    alias new_mail new_port
+    alias each_mail each_port
+    alias each_newmail each_new_port
+  end
+  class UNIXMbox
+    alias new_mail new_port
+    alias each_mail each_port
+    alias each_newmail each_new_port
+  end
+  class Maildir
+    alias new_mail new_port
+    alias each_mail each_port
+    alias each_newmail each_new_port
+  end
+
+  extend TextUtils
+
+  class << self
+    alias msgid?    message_id?
+    alias boundary  new_boundary
+    alias msgid     new_message_id
+    alias new_msgid new_message_id
+  end
+
+  def Mail.boundary
+    ::TMail.new_boundary
+  end
+
+  def Mail.msgid
+    ::TMail.new_message_id
+  end
+
+end   # module TMail
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,1476 @@
+#:stopdoc:
+# DO NOT MODIFY!!!!
+# This file is automatically generated by racc 1.4.5
+# from racc grammer file "parser.y".
+#
+#
+# parser.rb: generated by racc (runtime embedded)
+#
+###### racc/parser.rb begin
+unless $".index 'racc/parser.rb'
+$".push 'racc/parser.rb'
+
+self.class.module_eval <<'..end racc/parser.rb modeval..id8076474214', 'racc/parser.rb', 1
+#
+# $Id: parser.rb,v 1.7 2005/11/20 17:31:32 aamine Exp $
+#
+# Copyright (c) 1999-2005 Minero Aoki
+#
+# This program is free software.
+# You can distribute/modify this program under the same terms of ruby.
+#
+# As a special exception, when this code is copied by Racc
+# into a Racc output file, you may use that output file
+# without restriction.
+#
+
+unless defined?(NotImplementedError)
+  NotImplementedError = NotImplementError
+end
+
+module Racc
+  class ParseError < StandardError; end
+end
+unless defined?(::ParseError)
+  ParseError = Racc::ParseError
+end
+
+module Racc
+
+  unless defined?(Racc_No_Extentions)
+    Racc_No_Extentions = false
+  end
+
+  class Parser
+
+    Racc_Runtime_Version = '1.4.5'
+    Racc_Runtime_Revision = '$Revision: 1.7 $'.split[1]
+
+    Racc_Runtime_Core_Version_R = '1.4.5'
+    Racc_Runtime_Core_Revision_R = '$Revision: 1.7 $'.split[1]
+    begin
+      require 'racc/cparse'
+    # Racc_Runtime_Core_Version_C  = (defined in extention)
+      Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
+      unless new.respond_to?(:_racc_do_parse_c, true)
+        raise LoadError, 'old cparse.so'
+      end
+      if Racc_No_Extentions
+        raise LoadError, 'selecting ruby version of racc runtime core'
+      end
+
+      Racc_Main_Parsing_Routine    = :_racc_do_parse_c
+      Racc_YY_Parse_Method         = :_racc_yyparse_c
+      Racc_Runtime_Core_Version    = Racc_Runtime_Core_Version_C
+      Racc_Runtime_Core_Revision   = Racc_Runtime_Core_Revision_C
+      Racc_Runtime_Type            = 'c'
+    rescue LoadError
+      Racc_Main_Parsing_Routine    = :_racc_do_parse_rb
+      Racc_YY_Parse_Method         = :_racc_yyparse_rb
+      Racc_Runtime_Core_Version    = Racc_Runtime_Core_Version_R
+      Racc_Runtime_Core_Revision   = Racc_Runtime_Core_Revision_R
+      Racc_Runtime_Type            = 'ruby'
+    end
+
+    def Parser.racc_runtime_type
+      Racc_Runtime_Type
+    end
+
+    private
+
+    def _racc_setup
+      @yydebug = false unless self.class::Racc_debug_parser
+      @yydebug = false unless defined?(@yydebug)
+      if @yydebug
+        @racc_debug_out = $stderr unless defined?(@racc_debug_out)
+        @racc_debug_out ||= $stderr
+      end
+      arg = self.class::Racc_arg
+      arg[13] = true if arg.size < 14
+      arg
+    end
+
+    def _racc_init_sysvars
+      @racc_state  = [0]
+      @racc_tstack = []
+      @racc_vstack = []
+
+      @racc_t = nil
+      @racc_val = nil
+
+      @racc_read_next = true
+
+      @racc_user_yyerror = false
+      @racc_error_status = 0
+    end
+
+    ###
+    ### do_parse
+    ###
+
+    def do_parse
+      __send__(Racc_Main_Parsing_Routine, _racc_setup(), false)
+    end
+
+    def next_token
+      raise NotImplementedError, "#{self.class}\#next_token is not defined"
+    end
+
+    def _racc_do_parse_rb(arg, in_debug)
+      action_table, action_check, action_default, action_pointer,
+      goto_table,   goto_check,   goto_default,   goto_pointer,
+      nt_base,      reduce_table, token_table,    shift_n,
+      reduce_n,     use_result,   * = arg
+
+      _racc_init_sysvars
+      tok = act = i = nil
+      nerr = 0
+
+      catch(:racc_end_parse) {
+        while true
+          if i = action_pointer[@racc_state[-1]]
+            if @racc_read_next
+              if @racc_t != 0   # not EOF
+                tok, @racc_val = next_token()
+                unless tok      # EOF
+                  @racc_t = 0
+                else
+                  @racc_t = (token_table[tok] or 1)   # error token
+                end
+                racc_read_token(@racc_t, tok, @racc_val) if @yydebug
+                @racc_read_next = false
+              end
+            end
+            i += @racc_t
+            unless i >= 0 and
+                   act = action_table[i] and
+                   action_check[i] == @racc_state[-1]
+              act = action_default[@racc_state[-1]]
+            end
+          else
+            act = action_default[@racc_state[-1]]
+          end
+          while act = _racc_evalact(act, arg)
+            ;
+          end
+        end
+      }
+    end
+
+    ###
+    ### yyparse
+    ###
+
+    def yyparse(recv, mid)
+      __send__(Racc_YY_Parse_Method, recv, mid, _racc_setup(), true)
+    end
+
+    def _racc_yyparse_rb(recv, mid, arg, c_debug)
+      action_table, action_check, action_default, action_pointer,
+      goto_table,   goto_check,   goto_default,   goto_pointer,
+      nt_base,      reduce_table, token_table,    shift_n,
+      reduce_n,     use_result,   * = arg
+
+      _racc_init_sysvars
+      tok = nil
+      act = nil
+      i = nil
+      nerr = 0
+
+      catch(:racc_end_parse) {
+        until i = action_pointer[@racc_state[-1]]
+          while act = _racc_evalact(action_default[@racc_state[-1]], arg)
+            ;
+          end
+        end
+        recv.__send__(mid) do |tok, val|
+          unless tok
+            @racc_t = 0
+          else
+            @racc_t = (token_table[tok] or 1)   # error token
+          end
+          @racc_val = val
+          @racc_read_next = false
+
+          i += @racc_t
+          unless i >= 0 and
+                 act = action_table[i] and
+                 action_check[i] == @racc_state[-1]
+            act = action_default[@racc_state[-1]]
+          end
+          while act = _racc_evalact(act, arg)
+            ;
+          end
+
+          while not (i = action_pointer[@racc_state[-1]]) or
+                not @racc_read_next or
+                @racc_t == 0   # $
+            unless i and i += @racc_t and
+                   i >= 0 and
+                   act = action_table[i] and
+                   action_check[i] == @racc_state[-1]
+              act = action_default[@racc_state[-1]]
+            end
+            while act = _racc_evalact(act, arg)
+              ;
+            end
+          end
+        end
+      }
+    end
+
+    ###
+    ### common
+    ###
+
+    def _racc_evalact(act, arg)
+      action_table, action_check, action_default, action_pointer,
+      goto_table,   goto_check,   goto_default,   goto_pointer,
+      nt_base,      reduce_table, token_table,    shift_n,
+      reduce_n,     use_result,   * = arg
+      nerr = 0   # tmp
+
+      if act > 0 and act < shift_n
+        #
+        # shift
+        #
+        if @racc_error_status > 0
+          @racc_error_status -= 1 unless @racc_t == 1   # error token
+        end
+        @racc_vstack.push @racc_val
+        @racc_state.push act
+        @racc_read_next = true
+        if @yydebug
+          @racc_tstack.push @racc_t
+          racc_shift @racc_t, @racc_tstack, @racc_vstack
+        end
+
+      elsif act < 0 and act > -reduce_n
+        #
+        # reduce
+        #
+        code = catch(:racc_jump) {
+          @racc_state.push _racc_do_reduce(arg, act)
+          false
+        }
+        if code
+          case code
+          when 1 # yyerror
+            @racc_user_yyerror = true   # user_yyerror
+            return -reduce_n
+          when 2 # yyaccept
+            return shift_n
+          else
+            raise '[Racc Bug] unknown jump code'
+          end
+        end
+
+      elsif act == shift_n
+        #
+        # accept
+        #
+        racc_accept if @yydebug
+        throw :racc_end_parse, @racc_vstack[0]
+
+      elsif act == -reduce_n
+        #
+        # error
+        #
+        case @racc_error_status
+        when 0
+          unless arg[21]    # user_yyerror
+            nerr += 1
+            on_error @racc_t, @racc_val, @racc_vstack
+          end
+        when 3
+          if @racc_t == 0   # is $
+            throw :racc_end_parse, nil
+          end
+          @racc_read_next = true
+        end
+        @racc_user_yyerror = false
+        @racc_error_status = 3
+        while true
+          if i = action_pointer[@racc_state[-1]]
+            i += 1   # error token
+            if  i >= 0 and
+                (act = action_table[i]) and
+                action_check[i] == @racc_state[-1]
+              break
+            end
+          end
+          throw :racc_end_parse, nil if @racc_state.size <= 1
+          @racc_state.pop
+          @racc_vstack.pop
+          if @yydebug
+            @racc_tstack.pop
+            racc_e_pop @racc_state, @racc_tstack, @racc_vstack
+          end
+        end
+        return act
+
+      else
+        raise "[Racc Bug] unknown action #{act.inspect}"
+      end
+
+      racc_next_state(@racc_state[-1], @racc_state) if @yydebug
+
+      nil
+    end
+
+    def _racc_do_reduce(arg, act)
+      action_table, action_check, action_default, action_pointer,
+      goto_table,   goto_check,   goto_default,   goto_pointer,
+      nt_base,      reduce_table, token_table,    shift_n,
+      reduce_n,     use_result,   * = arg
+      state = @racc_state
+      vstack = @racc_vstack
+      tstack = @racc_tstack
+
+      i = act * -3
+      len       = reduce_table[i]
+      reduce_to = reduce_table[i+1]
+      method_id = reduce_table[i+2]
+      void_array = []
+
+      tmp_t = tstack[-len, len] if @yydebug
+      tmp_v = vstack[-len, len]
+      tstack[-len, len] = void_array if @yydebug
+      vstack[-len, len] = void_array
+      state[-len, len]  = void_array
+
+      # tstack must be updated AFTER method call
+      if use_result
+        vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
+      else
+        vstack.push __send__(method_id, tmp_v, vstack)
+      end
+      tstack.push reduce_to
+
+      racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
+
+      k1 = reduce_to - nt_base
+      if i = goto_pointer[k1]
+        i += state[-1]
+        if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
+          return curstate
+        end
+      end
+      goto_default[k1]
+    end
+
+    def on_error(t, val, vstack)
+      raise ParseError, sprintf("\nparse error on value %s (%s)",
+                                val.inspect, token_to_str(t) || '?')
+    end
+
+    def yyerror
+      throw :racc_jump, 1
+    end
+
+    def yyaccept
+      throw :racc_jump, 2
+    end
+
+    def yyerrok
+      @racc_error_status = 0
+    end
+
+    #
+    # for debugging output
+    #
+
+    def racc_read_token(t, tok, val)
+      @racc_debug_out.print 'read    '
+      @racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
+      @racc_debug_out.puts val.inspect
+      @racc_debug_out.puts
+    end
+
+    def racc_shift(tok, tstack, vstack)
+      @racc_debug_out.puts "shift   #{racc_token2str tok}"
+      racc_print_stacks tstack, vstack
+      @racc_debug_out.puts
+    end
+
+    def racc_reduce(toks, sim, tstack, vstack)
+      out = @racc_debug_out
+      out.print 'reduce '
+      if toks.empty?
+        out.print ' <none>'
+      else
+        toks.each {|t| out.print ' ', racc_token2str(t) }
+      end
+      out.puts " --> #{racc_token2str(sim)}"
+          
+      racc_print_stacks tstack, vstack
+      @racc_debug_out.puts
+    end
+
+    def racc_accept
+      @racc_debug_out.puts 'accept'
+      @racc_debug_out.puts
+    end
+
+    def racc_e_pop(state, tstack, vstack)
+      @racc_debug_out.puts 'error recovering mode: pop token'
+      racc_print_states state
+      racc_print_stacks tstack, vstack
+      @racc_debug_out.puts
+    end
+
+    def racc_next_state(curstate, state)
+      @racc_debug_out.puts  "goto    #{curstate}"
+      racc_print_states state
+      @racc_debug_out.puts
+    end
+
+    def racc_print_stacks(t, v)
+      out = @racc_debug_out
+      out.print '        ['
+      t.each_index do |i|
+        out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
+      end
+      out.puts ' ]'
+    end
+
+    def racc_print_states(s)
+      out = @racc_debug_out
+      out.print '        ['
+      s.each {|st| out.print ' ', st }
+      out.puts ' ]'
+    end
+
+    def racc_token2str(tok)
+      self.class::Racc_token_to_s_table[tok] or
+          raise "[Racc Bug] can't convert token #{tok} to string"
+    end
+
+    def token_to_str(t)
+      self.class::Racc_token_to_s_table[t]
+    end
+
+  end
+
+end
+..end racc/parser.rb modeval..id8076474214
+end
+###### racc/parser.rb end
+
+
+#
+# parser.rb
+#
+# Copyright (c) 1998-2007 Minero Aoki
+#
+# This program is free software.
+# You can distribute/modify this program under the terms of
+# the GNU Lesser General Public License version 2.1.
+#
+
+require 'tmail/scanner'
+require 'tmail/utils'
+
+
+module TMail
+
+  class Parser < Racc::Parser
+
+module_eval <<'..end parser.y modeval..id7b0b3dccb7', 'parser.y', 340
+
+  include TextUtils
+
+  def self.parse( ident, str, cmt = nil )
+    new.parse(ident, str, cmt)
+  end
+
+  MAILP_DEBUG = false
+
+  def initialize
+    self.debug = MAILP_DEBUG
+  end
+
+  def debug=( flag )
+    @yydebug = flag && Racc_debug_parser
+    @scanner_debug = flag
+  end
+
+  def debug
+    @yydebug
+  end
+
+  def parse( ident, str, comments = nil )
+    @scanner = Scanner.new(str, ident, comments)
+    @scanner.debug = @scanner_debug
+    @first = [ident, ident]
+    result = yyparse(self, :parse_in)
+    comments.map! {|c| to_kcode(c) } if comments
+    result
+  end
+
+  private
+
+  def parse_in( &block )
+    yield @first
+    @scanner.scan(&block)
+  end
+  
+  def on_error( t, val, vstack )
+    raise SyntaxError, "parse error on token #{racc_token2str t}"
+  end
+
+..end parser.y modeval..id7b0b3dccb7
+
+##### racc 1.4.5 generates ###
+
+racc_reduce_table = [
+ 0, 0, :racc_error,
+ 2, 35, :_reduce_1,
+ 2, 35, :_reduce_2,
+ 2, 35, :_reduce_3,
+ 2, 35, :_reduce_4,
+ 2, 35, :_reduce_5,
+ 2, 35, :_reduce_6,
+ 2, 35, :_reduce_7,
+ 2, 35, :_reduce_8,
+ 2, 35, :_reduce_9,
+ 2, 35, :_reduce_10,
+ 2, 35, :_reduce_11,
+ 2, 35, :_reduce_12,
+ 6, 36, :_reduce_13,
+ 0, 48, :_reduce_none,
+ 2, 48, :_reduce_none,
+ 3, 49, :_reduce_16,
+ 5, 49, :_reduce_17,
+ 1, 50, :_reduce_18,
+ 7, 37, :_reduce_19,
+ 0, 51, :_reduce_none,
+ 2, 51, :_reduce_21,
+ 0, 52, :_reduce_none,
+ 2, 52, :_reduce_23,
+ 1, 58, :_reduce_24,
+ 3, 58, :_reduce_25,
+ 2, 58, :_reduce_26,
+ 0, 53, :_reduce_none,
+ 2, 53, :_reduce_28,
+ 0, 54, :_reduce_29,
+ 3, 54, :_reduce_30,
+ 0, 55, :_reduce_none,
+ 2, 55, :_reduce_32,
+ 2, 55, :_reduce_33,
+ 0, 56, :_reduce_none,
+ 2, 56, :_reduce_35,
+ 1, 61, :_reduce_36,
+ 1, 61, :_reduce_37,
+ 0, 57, :_reduce_none,
+ 2, 57, :_reduce_39,
+ 1, 38, :_reduce_none,
+ 1, 38, :_reduce_none,
+ 3, 38, :_reduce_none,
+ 1, 46, :_reduce_none,
+ 1, 46, :_reduce_none,
+ 1, 46, :_reduce_none,
+ 1, 39, :_reduce_none,
+ 2, 39, :_reduce_47,
+ 1, 64, :_reduce_48,
+ 3, 64, :_reduce_49,
+ 1, 68, :_reduce_none,
+ 1, 68, :_reduce_none,
+ 1, 69, :_reduce_52,
+ 3, 69, :_reduce_53,
+ 1, 47, :_reduce_none,
+ 1, 47, :_reduce_none,
+ 2, 47, :_reduce_56,
+ 2, 67, :_reduce_none,
+ 3, 65, :_reduce_58,
+ 2, 65, :_reduce_59,
+ 1, 70, :_reduce_60,
+ 2, 70, :_reduce_61,
+ 4, 62, :_reduce_62,
+ 3, 62, :_reduce_63,
+ 2, 72, :_reduce_none,
+ 2, 73, :_reduce_65,
+ 4, 73, :_reduce_66,
+ 3, 63, :_reduce_67,
+ 1, 63, :_reduce_68,
+ 1, 74, :_reduce_none,
+ 2, 74, :_reduce_70,
+ 1, 71, :_reduce_71,
+ 3, 71, :_reduce_72,
+ 1, 59, :_reduce_73,
+ 3, 59, :_reduce_74,
+ 1, 76, :_reduce_75,
+ 2, 76, :_reduce_76,
+ 1, 75, :_reduce_none,
+ 1, 75, :_reduce_none,
+ 1, 75, :_reduce_none,
+ 1, 77, :_reduce_none,
+ 1, 77, :_reduce_none,
+ 1, 77, :_reduce_none,
+ 1, 66, :_reduce_none,
+ 2, 66, :_reduce_none,
+ 3, 60, :_reduce_85,
+ 1, 40, :_reduce_86,
+ 3, 40, :_reduce_87,
+ 1, 79, :_reduce_none,
+ 2, 79, :_reduce_89,
+ 1, 41, :_reduce_90,
+ 2, 41, :_reduce_91,
+ 3, 42, :_reduce_92,
+ 5, 43, :_reduce_93,
+ 3, 43, :_reduce_94,
+ 0, 80, :_reduce_95,
+ 5, 80, :_reduce_96,
+ 5, 80, :_reduce_97,
+ 1, 44, :_reduce_98,
+ 3, 45, :_reduce_99,
+ 0, 81, :_reduce_none,
+ 1, 81, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none,
+ 1, 78, :_reduce_none ]
+
+racc_reduce_n = 109
+
+racc_shift_n = 167
+
+racc_action_table = [
+   -70,   -69,    23,    25,   145,   146,    29,    31,   105,   106,
+    16,    17,    20,    22,   136,    27,   -70,   -69,    32,   101,
+   -70,   -69,   153,   100,   113,   115,   -70,   -69,   -70,   109,
+    75,    23,    25,   101,   154,    29,    31,   142,   143,    16,
+    17,    20,    22,   107,    27,    23,    25,    32,    98,    29,
+    31,    96,    94,    16,    17,    20,    22,    78,    27,    23,
+    25,    32,   112,    29,    31,    74,    91,    16,    17,    20,
+    22,    88,   117,    92,    81,    32,    23,    25,    80,   123,
+    29,    31,   100,   125,    16,    17,    20,    22,   126,    23,
+    25,   109,    32,    29,    31,    91,   128,    16,    17,    20,
+    22,   129,    27,    23,    25,    32,   101,    29,    31,   101,
+   130,    16,    17,    20,    22,    79,    52,    23,    25,    32,
+    78,    29,    31,   133,    78,    16,    17,    20,    22,    77,
+    23,    25,    75,    32,    29,    31,    65,    62,    16,    17,
+    20,    22,   139,    23,    25,   101,    32,    29,    31,    60,
+   100,    16,    17,    20,    22,    44,    27,   101,   147,    32,
+    23,    25,   120,   148,    29,    31,   151,   152,    16,    17,
+    20,    22,    42,    27,   156,   158,    32,    23,    25,   120,
+    40,    29,    31,    15,   163,    16,    17,    20,    22,    40,
+    27,    23,    25,    32,    68,    29,    31,   165,   166,    16,
+    17,    20,    22,   nil,    27,    23,    25,    32,   nil,    29,
+    31,    74,   nil,    16,    17,    20,    22,   nil,    23,    25,
+   nil,    32,    29,    31,   nil,   nil,    16,    17,    20,    22,
+   nil,    23,    25,   nil,    32,    29,    31,   nil,   nil,    16,
+    17,    20,    22,   nil,    23,    25,   nil,    32,    29,    31,
+   nil,   nil,    16,    17,    20,    22,   nil,    23,    25,   nil,
+    32,    29,    31,   nil,   nil,    16,    17,    20,    22,   nil,
+    27,    23,    25,    32,   nil,    29,    31,   nil,   nil,    16,
+    17,    20,    22,   nil,    23,    25,   nil,    32,    29,    31,
+   nil,   nil,    16,    17,    20,    22,   nil,    23,    25,   nil,
+    32,    29,    31,   nil,   nil,    16,    17,    20,    22,   nil,
+    84,    25,   nil,    32,    29,    31,   nil,    87,    16,    17,
+    20,    22,     4,     6,     7,     8,     9,    10,    11,    12,
+    13,     1,     2,     3,    84,    25,   nil,   nil,    29,    31,
+   nil,    87,    16,    17,    20,    22,    84,    25,   nil,   nil,
+    29,    31,   nil,    87,    16,    17,    20,    22,    84,    25,
+   nil,   nil,    29,    31,   nil,    87,    16,    17,    20,    22,
+    84,    25,   nil,   nil,    29,    31,   nil,    87,    16,    17,
+    20,    22,    84,    25,   nil,   nil,    29,    31,   nil,    87,
+    16,    17,    20,    22,    84,    25,   nil,   nil,    29,    31,
+   nil,    87,    16,    17,    20,    22 ]
+
+racc_action_check = [
+    75,    28,    68,    68,   136,   136,    68,    68,    72,    72,
+    68,    68,    68,    68,   126,    68,    75,    28,    68,    67,
+    75,    28,   143,    66,    86,    86,    75,    28,    75,    75,
+    28,     3,     3,    86,   143,     3,     3,   134,   134,     3,
+     3,     3,     3,    73,     3,   151,   151,     3,    62,   151,
+   151,    60,    56,   151,   151,   151,   151,    51,   151,    52,
+    52,   151,    80,    52,    52,    52,    50,    52,    52,    52,
+    52,    45,    89,    52,    42,    52,    71,    71,    41,    96,
+    71,    71,    97,    98,    71,    71,    71,    71,   100,     7,
+     7,   101,    71,     7,     7,   102,   104,     7,     7,     7,
+     7,   105,     7,     8,     8,     7,   108,     8,     8,   111,
+   112,     8,     8,     8,     8,    40,     8,     9,     9,     8,
+    36,     9,     9,   117,   121,     9,     9,     9,     9,    33,
+    10,    10,    70,     9,    10,    10,    13,    12,    10,    10,
+    10,    10,   130,     2,     2,   131,    10,     2,     2,    11,
+   135,     2,     2,     2,     2,     6,     2,   138,   139,     2,
+    90,    90,    90,   140,    90,    90,   141,   142,    90,    90,
+    90,    90,     5,    90,   147,   150,    90,   127,   127,   127,
+     4,   127,   127,     1,   156,   127,   127,   127,   127,   158,
+   127,    26,    26,   127,    26,    26,    26,   162,   163,    26,
+    26,    26,    26,   nil,    26,    27,    27,    26,   nil,    27,
+    27,    27,   nil,    27,    27,    27,    27,   nil,   154,   154,
+   nil,    27,   154,   154,   nil,   nil,   154,   154,   154,   154,
+   nil,   122,   122,   nil,   154,   122,   122,   nil,   nil,   122,
+   122,   122,   122,   nil,    76,    76,   nil,   122,    76,    76,
+   nil,   nil,    76,    76,    76,    76,   nil,    38,    38,   nil,
+    76,    38,    38,   nil,   nil,    38,    38,    38,    38,   nil,
+    38,    55,    55,    38,   nil,    55,    55,   nil,   nil,    55,
+    55,    55,    55,   nil,    94,    94,   nil,    55,    94,    94,
+   nil,   nil,    94,    94,    94,    94,   nil,    59,    59,   nil,
+    94,    59,    59,   nil,   nil,    59,    59,    59,    59,   nil,
+   114,   114,   nil,    59,   114,   114,   nil,   114,   114,   114,
+   114,   114,     0,     0,     0,     0,     0,     0,     0,     0,
+     0,     0,     0,     0,    77,    77,   nil,   nil,    77,    77,
+   nil,    77,    77,    77,    77,    77,    44,    44,   nil,   nil,
+    44,    44,   nil,    44,    44,    44,    44,    44,   113,   113,
+   nil,   nil,   113,   113,   nil,   113,   113,   113,   113,   113,
+    88,    88,   nil,   nil,    88,    88,   nil,    88,    88,    88,
+    88,    88,    74,    74,   nil,   nil,    74,    74,   nil,    74,
+    74,    74,    74,    74,   129,   129,   nil,   nil,   129,   129,
+   nil,   129,   129,   129,   129,   129 ]
+
+racc_action_pointer = [
+   320,   152,   129,    17,   165,   172,   137,    75,    89,   103,
+   116,   135,   106,   105,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,   nil,   177,   191,     1,   nil,
+   nil,   nil,   nil,   109,   nil,   nil,    94,   nil,   243,   nil,
+    99,    64,    74,   nil,   332,    52,   nil,   nil,   nil,   nil,
+    50,    31,    45,   nil,   nil,   257,    36,   nil,   nil,   283,
+    22,   nil,    16,   nil,   nil,   nil,    -3,   -10,   -12,   nil,
+   103,    62,    -8,    15,   368,     0,   230,   320,   nil,   nil,
+    47,   nil,   nil,   nil,   nil,   nil,     4,   nil,   356,    50,
+   146,   nil,   nil,   nil,   270,   nil,    65,    56,    52,   nil,
+    57,    62,    79,   nil,    68,    81,   nil,   nil,    77,   nil,
+   nil,    80,    96,   344,   296,   nil,   nil,   108,   nil,   nil,
+   nil,    98,   217,   nil,   nil,   nil,   -19,   163,   nil,   380,
+   128,   116,   nil,   nil,    14,   124,   -26,   nil,   128,   141,
+   148,   141,   152,     7,   nil,   nil,   nil,   160,   nil,   nil,
+   149,    31,   nil,   nil,   204,   nil,   167,   nil,   174,   nil,
+   nil,   nil,   169,   184,   nil,   nil,   nil ]
+
+racc_action_default = [
+  -109,  -109,  -109,  -109,   -14,  -109,   -20,  -109,  -109,  -109,
+  -109,  -109,  -109,  -109,   -10,   -95,  -105,  -106,   -77,   -44,
+  -107,   -11,  -108,   -79,   -43,  -102,  -109,  -109,   -60,  -103,
+   -55,  -104,   -78,   -68,   -54,   -71,   -45,   -12,  -109,    -1,
+  -109,  -109,  -109,    -2,  -109,   -22,   -51,   -48,   -50,    -3,
+   -40,   -41,  -109,   -46,    -4,   -86,    -5,   -88,    -6,   -90,
+  -109,    -7,   -95,    -8,    -9,   -98,  -100,   -61,   -59,   -56,
+   -69,  -109,  -109,  -109,  -109,   -75,  -109,  -109,   -57,   -15,
+  -109,   167,   -73,   -80,   -82,   -21,   -24,   -81,  -109,   -27,
+  -109,   -83,   -47,   -89,  -109,   -91,  -109,  -100,  -109,   -99,
+  -101,   -75,   -58,   -52,  -109,  -109,   -64,   -63,   -65,   -76,
+   -72,   -67,  -109,  -109,  -109,   -26,   -23,  -109,   -29,   -49,
+   -84,   -42,   -87,   -92,   -94,   -95,  -109,  -109,   -62,  -109,
+  -109,   -25,   -74,   -28,   -31,  -100,  -109,   -53,   -66,  -109,
+  -109,   -34,  -109,  -109,   -93,   -96,   -97,  -109,   -18,   -13,
+   -38,  -109,   -30,   -33,  -109,   -32,   -16,   -19,   -14,   -35,
+   -36,   -37,  -109,  -109,   -39,   -85,   -17 ]
+
+racc_goto_table = [
+    39,    67,    70,    73,    38,    66,    69,    24,    37,    57,
+    59,    36,    55,    67,    99,    90,    85,   157,    69,   108,
+    83,   134,   111,    76,    49,    53,   141,    70,    73,   150,
+   118,    89,    45,   155,   159,   149,   140,    21,    14,    19,
+   119,   102,    64,    63,    61,   124,    70,   104,    58,   132,
+    83,    56,    97,    83,    54,    93,    43,     5,   131,    95,
+   116,   nil,    76,   nil,    83,    76,   nil,   127,   nil,    38,
+   nil,   nil,   nil,   103,   138,   nil,   110,   nil,   nil,   nil,
+   nil,   nil,   nil,   144,   nil,   nil,   nil,   nil,   nil,    83,
+    83,   nil,   nil,   nil,    57,   nil,   nil,   122,   nil,   121,
+   nil,   nil,   nil,   nil,   nil,    83,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,   135,   nil,   nil,   nil,   nil,
+   nil,   nil,    93,   nil,   nil,   nil,    70,   161,    38,    70,
+   162,   160,   137,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   164 ]
+
+racc_goto_check = [
+     2,    37,    37,    29,    36,    46,    28,    13,    13,    41,
+    41,    31,    45,    37,    47,    32,    24,    23,    28,    25,
+    44,    20,    25,    42,     4,     4,    21,    37,    29,    22,
+    19,    18,    17,    26,    27,    16,    15,    12,    11,    33,
+    34,    35,    10,     9,     8,    47,    37,    29,     7,    43,
+    44,     6,    46,    44,     5,    41,     3,     1,    25,    41,
+    24,   nil,    42,   nil,    44,    42,   nil,    32,   nil,    36,
+   nil,   nil,   nil,    13,    25,   nil,    41,   nil,   nil,   nil,
+   nil,   nil,   nil,    47,   nil,   nil,   nil,   nil,   nil,    44,
+    44,   nil,   nil,   nil,    41,   nil,   nil,    45,   nil,    31,
+   nil,   nil,   nil,   nil,   nil,    44,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,    46,   nil,   nil,   nil,   nil,
+   nil,   nil,    41,   nil,   nil,   nil,    37,    29,    36,    37,
+    29,    28,    13,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,     2 ]
+
+racc_goto_pointer = [
+   nil,    57,    -4,    50,    17,    46,    42,    38,    33,    31,
+    29,    37,    35,     5,   nil,   -94,  -105,    26,   -14,   -59,
+   -97,  -108,  -112,  -133,   -28,   -55,  -110,  -117,   -20,   -24,
+   nil,     9,   -35,    37,   -50,   -27,     1,   -25,   nil,   nil,
+   nil,     0,    -5,   -65,   -24,     3,   -10,   -52 ]
+
+racc_goto_default = [
+   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,    48,    41,   nil,   nil,   nil,   nil,   nil,
+   nil,   nil,   nil,   nil,   nil,    86,   nil,   nil,    30,    34,
+    50,    51,   nil,    46,    47,   nil,    26,    28,    71,    72,
+    33,    35,   114,    82,    18,   nil,   nil,   nil ]
+
+racc_token_table = {
+ false => 0,
+ Object.new => 1,
+ :DATETIME => 2,
+ :RECEIVED => 3,
+ :MADDRESS => 4,
+ :RETPATH => 5,
+ :KEYWORDS => 6,
+ :ENCRYPTED => 7,
+ :MIMEVERSION => 8,
+ :CTYPE => 9,
+ :CENCODING => 10,
+ :CDISPOSITION => 11,
+ :ADDRESS => 12,
+ :MAILBOX => 13,
+ :DIGIT => 14,
+ :ATOM => 15,
+ "," => 16,
+ ":" => 17,
+ :FROM => 18,
+ :BY => 19,
+ "@" => 20,
+ :DOMLIT => 21,
+ :VIA => 22,
+ :WITH => 23,
+ :ID => 24,
+ :FOR => 25,
+ ";" => 26,
+ "<" => 27,
+ ">" => 28,
+ "." => 29,
+ :QUOTED => 30,
+ :TOKEN => 31,
+ "/" => 32,
+ "=" => 33 }
+
+racc_use_result_var = false
+
+racc_nt_base = 34
+
+Racc_arg = [
+ racc_action_table,
+ racc_action_check,
+ racc_action_default,
+ racc_action_pointer,
+ racc_goto_table,
+ racc_goto_check,
+ racc_goto_default,
+ racc_goto_pointer,
+ racc_nt_base,
+ racc_reduce_table,
+ racc_token_table,
+ racc_shift_n,
+ racc_reduce_n,
+ racc_use_result_var ]
+
+Racc_token_to_s_table = [
+'$end',
+'error',
+'DATETIME',
+'RECEIVED',
+'MADDRESS',
+'RETPATH',
+'KEYWORDS',
+'ENCRYPTED',
+'MIMEVERSION',
+'CTYPE',
+'CENCODING',
+'CDISPOSITION',
+'ADDRESS',
+'MAILBOX',
+'DIGIT',
+'ATOM',
+'","',
+'":"',
+'FROM',
+'BY',
+'"@"',
+'DOMLIT',
+'VIA',
+'WITH',
+'ID',
+'FOR',
+'";"',
+'"<"',
+'">"',
+'"."',
+'QUOTED',
+'TOKEN',
+'"/"',
+'"="',
+'$start',
+'content',
+'datetime',
+'received',
+'addrs_TOP',
+'retpath',
+'keys',
+'enc',
+'version',
+'ctype',
+'cencode',
+'cdisp',
+'addr_TOP',
+'mbox',
+'day',
+'hour',
+'zone',
+'from',
+'by',
+'via',
+'with',
+'id',
+'for',
+'received_datetime',
+'received_domain',
+'domain',
+'msgid',
+'received_addrspec',
+'routeaddr',
+'spec',
+'addrs',
+'group_bare',
+'commas',
+'group',
+'addr',
+'mboxes',
+'addr_phrase',
+'local_head',
+'routes',
+'at_domains',
+'local',
+'word',
+'dots',
+'domword',
+'atom',
+'phrase',
+'params',
+'opt_semicolon']
+
+Racc_debug_parser = false
+
+##### racc system variables end #####
+
+ # reduce 0 omitted
+
+module_eval <<'.,.,', 'parser.y', 16
+  def _reduce_1( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 17
+  def _reduce_2( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 18
+  def _reduce_3( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 19
+  def _reduce_4( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 20
+  def _reduce_5( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 21
+  def _reduce_6( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 22
+  def _reduce_7( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 23
+  def _reduce_8( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 24
+  def _reduce_9( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 25
+  def _reduce_10( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 26
+  def _reduce_11( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 27
+  def _reduce_12( val, _values)
+ val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 36
+  def _reduce_13( val, _values)
+                  t = Time.gm(val[3].to_i, val[2], val[1].to_i, 0, 0, 0)
+                  (t + val[4] - val[5]).localtime
+  end
+.,.,
+
+ # reduce 14 omitted
+
+ # reduce 15 omitted
+
+module_eval <<'.,.,', 'parser.y', 45
+  def _reduce_16( val, _values)
+                  (val[0].to_i * 60 * 60) +
+                  (val[2].to_i * 60)
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 51
+  def _reduce_17( val, _values)
+                  (val[0].to_i * 60 * 60) +
+                  (val[2].to_i * 60) +
+                  (val[4].to_i)
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 56
+  def _reduce_18( val, _values)
+                  timezone_string_to_unixtime(val[0])
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 61
+  def _reduce_19( val, _values)
+                  val
+  end
+.,.,
+
+ # reduce 20 omitted
+
+module_eval <<'.,.,', 'parser.y', 67
+  def _reduce_21( val, _values)
+                  val[1]
+  end
+.,.,
+
+ # reduce 22 omitted
+
+module_eval <<'.,.,', 'parser.y', 73
+  def _reduce_23( val, _values)
+                  val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 79
+  def _reduce_24( val, _values)
+                  join_domain(val[0])
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 83
+  def _reduce_25( val, _values)
+                  join_domain(val[2])
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 87
+  def _reduce_26( val, _values)
+                  join_domain(val[0])
+  end
+.,.,
+
+ # reduce 27 omitted
+
+module_eval <<'.,.,', 'parser.y', 93
+  def _reduce_28( val, _values)
+                  val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 98
+  def _reduce_29( val, _values)
+                  []
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 103
+  def _reduce_30( val, _values)
+                  val[0].push val[2]
+                  val[0]
+  end
+.,.,
+
+ # reduce 31 omitted
+
+module_eval <<'.,.,', 'parser.y', 109
+  def _reduce_32( val, _values)
+                  val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 113
+  def _reduce_33( val, _values)
+                  val[1]
+  end
+.,.,
+
+ # reduce 34 omitted
+
+module_eval <<'.,.,', 'parser.y', 119
+  def _reduce_35( val, _values)
+                  val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 125
+  def _reduce_36( val, _values)
+                  val[0].spec
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 129
+  def _reduce_37( val, _values)
+                  val[0].spec
+  end
+.,.,
+
+ # reduce 38 omitted
+
+module_eval <<'.,.,', 'parser.y', 136
+  def _reduce_39( val, _values)
+                  val[1]
+  end
+.,.,
+
+ # reduce 40 omitted
+
+ # reduce 41 omitted
+
+ # reduce 42 omitted
+
+ # reduce 43 omitted
+
+ # reduce 44 omitted
+
+ # reduce 45 omitted
+
+ # reduce 46 omitted
+
+module_eval <<'.,.,', 'parser.y', 146
+  def _reduce_47( val, _values)
+ [ Address.new(nil, nil) ]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 152
+  def _reduce_48( val, _values)
+                  val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 157
+  def _reduce_49( val, _values)
+                  val[0].push val[2]
+                  val[0]
+  end
+.,.,
+
+ # reduce 50 omitted
+
+ # reduce 51 omitted
+
+module_eval <<'.,.,', 'parser.y', 165
+  def _reduce_52( val, _values)
+                  val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 170
+  def _reduce_53( val, _values)
+                  val[0].push val[2]
+                  val[0]
+  end
+.,.,
+
+ # reduce 54 omitted
+
+ # reduce 55 omitted
+
+module_eval <<'.,.,', 'parser.y', 178
+  def _reduce_56( val, _values)
+                  val[1].phrase = Decoder.decode(val[0])
+                  val[1]
+  end
+.,.,
+
+ # reduce 57 omitted
+
+module_eval <<'.,.,', 'parser.y', 185
+  def _reduce_58( val, _values)
+                  AddressGroup.new(val[0], val[2])
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 185
+  def _reduce_59( val, _values)
+ AddressGroup.new(val[0], [])
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 188
+  def _reduce_60( val, _values)
+ val[0].join('.')
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 189
+  def _reduce_61( val, _values)
+ val[0] << ' ' << val[1].join('.')
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 196
+  def _reduce_62( val, _values)
+                  val[2].routes.replace val[1]
+                  val[2]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 200
+  def _reduce_63( val, _values)
+                  val[1]
+  end
+.,.,
+
+ # reduce 64 omitted
+
+module_eval <<'.,.,', 'parser.y', 203
+  def _reduce_65( val, _values)
+ [ val[1].join('.') ]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 204
+  def _reduce_66( val, _values)
+ val[0].push val[3].join('.'); val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 206
+  def _reduce_67( val, _values)
+ Address.new( val[0], val[2] )
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 207
+  def _reduce_68( val, _values)
+ Address.new( val[0], nil )
+  end
+.,.,
+
+ # reduce 69 omitted
+
+module_eval <<'.,.,', 'parser.y', 210
+  def _reduce_70( val, _values)
+ val[0].push ''; val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 213
+  def _reduce_71( val, _values)
+ val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 222
+  def _reduce_72( val, _values)
+                  val[1].times do
+                    val[0].push ''
+                  end
+                  val[0].push val[2]
+                  val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 224
+  def _reduce_73( val, _values)
+ val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 233
+  def _reduce_74( val, _values)
+                  val[1].times do
+                    val[0].push ''
+                  end
+                  val[0].push val[2]
+                  val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 234
+  def _reduce_75( val, _values)
+ 0
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 235
+  def _reduce_76( val, _values)
+ 1
+  end
+.,.,
+
+ # reduce 77 omitted
+
+ # reduce 78 omitted
+
+ # reduce 79 omitted
+
+ # reduce 80 omitted
+
+ # reduce 81 omitted
+
+ # reduce 82 omitted
+
+ # reduce 83 omitted
+
+ # reduce 84 omitted
+
+module_eval <<'.,.,', 'parser.y', 253
+  def _reduce_85( val, _values)
+                  val[1] = val[1].spec
+                  val.join('')
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 254
+  def _reduce_86( val, _values)
+ val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 255
+  def _reduce_87( val, _values)
+ val[0].push val[2]; val[0]
+  end
+.,.,
+
+ # reduce 88 omitted
+
+module_eval <<'.,.,', 'parser.y', 258
+  def _reduce_89( val, _values)
+ val[0] << ' ' << val[1]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 265
+  def _reduce_90( val, _values)
+                  val.push nil
+                  val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 269
+  def _reduce_91( val, _values)
+                  val
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 274
+  def _reduce_92( val, _values)
+                  [ val[0].to_i, val[2].to_i ]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 279
+  def _reduce_93( val, _values)
+                  [ val[0].downcase, val[2].downcase, decode_params(val[3]) ]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 283
+  def _reduce_94( val, _values)
+                  [ val[0].downcase, nil, decode_params(val[1]) ]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 288
+  def _reduce_95( val, _values)
+                  {}
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 293
+  def _reduce_96( val, _values)
+                  val[0][ val[2].downcase ] = ('"' + val[4].to_s + '"')
+                  val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 298
+  def _reduce_97( val, _values)
+                  val[0][ val[2].downcase ] = val[4]
+                  val[0]
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 303
+  def _reduce_98( val, _values)
+                  val[0].downcase
+  end
+.,.,
+
+module_eval <<'.,.,', 'parser.y', 308
+  def _reduce_99( val, _values)
+                  [ val[0].downcase, decode_params(val[1]) ]
+  end
+.,.,
+
+ # reduce 100 omitted
+
+ # reduce 101 omitted
+
+ # reduce 102 omitted
+
+ # reduce 103 omitted
+
+ # reduce 104 omitted
+
+ # reduce 105 omitted
+
+ # reduce 106 omitted
+
+ # reduce 107 omitted
+
+ # reduce 108 omitted
+
+ def _reduce_none( val, _values)
+  val[0]
+ end
+
+  end   # class Parser
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/port.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,379 @@
+=begin rdoc
+
+= Port class
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+require 'tmail/stringio'
+
+
+module TMail
+
+  class Port
+    def reproducible?
+      false
+    end
+  end
+
+
+  ###
+  ### FilePort
+  ###
+
+  class FilePort < Port
+
+    def initialize( fname )
+      @filename = File.expand_path(fname)
+      super()
+    end
+
+    attr_reader :filename
+
+    alias ident filename
+
+    def ==( other )
+      other.respond_to?(:filename) and @filename == other.filename
+    end
+
+    alias eql? ==
+
+    def hash
+      @filename.hash
+    end
+
+    def inspect
+      "#<#{self.class}:#{@filename}>"
+    end
+
+    def reproducible?
+      true
+    end
+
+    def size
+      File.size @filename
+    end
+
+
+    def ropen( &block )
+      File.open(@filename, &block)
+    end
+
+    def wopen( &block )
+      File.open(@filename, 'w', &block)
+    end
+
+    def aopen( &block )
+      File.open(@filename, 'a', &block)
+    end
+
+
+    def read_all
+      ropen {|f|
+          return f.read
+      }
+    end
+
+
+    def remove
+      File.unlink @filename
+    end
+
+    def move_to( port )
+      begin
+        File.link @filename, port.filename
+      rescue Errno::EXDEV
+        copy_to port
+      end
+      File.unlink @filename
+    end
+
+    alias mv move_to
+
+    def copy_to( port )
+      if FilePort === port
+        copy_file @filename, port.filename
+      else
+        File.open(@filename) {|r|
+        port.wopen {|w|
+            while s = r.sysread(4096)
+              w.write << s
+            end
+        } }
+      end
+    end
+
+    alias cp copy_to
+
+    private
+
+    # from fileutils.rb
+    def copy_file( src, dest )
+      st = r = w = nil
+
+      File.open(src,  'rb') {|r|
+      File.open(dest, 'wb') {|w|
+          st = r.stat
+          begin
+            while true
+              w.write r.sysread(st.blksize)
+            end
+          rescue EOFError
+          end
+      } }
+    end
+
+  end
+
+
+  module MailFlags
+
+    def seen=( b )
+      set_status 'S', b
+    end
+
+    def seen?
+      get_status 'S'
+    end
+
+    def replied=( b )
+      set_status 'R', b
+    end
+
+    def replied?
+      get_status 'R'
+    end
+
+    def flagged=( b )
+      set_status 'F', b
+    end
+
+    def flagged?
+      get_status 'F'
+    end
+
+    private
+
+    def procinfostr( str, tag, true_p )
+      a = str.upcase.split(//)
+      a.push true_p ? tag : nil
+      a.delete tag unless true_p
+      a.compact.sort.join('').squeeze
+    end
+  
+  end
+
+
+  class MhPort < FilePort
+
+    include MailFlags
+
+    private
+    
+    def set_status( tag, flag )
+      begin
+        tmpfile = @filename + '.tmailtmp.' + $$.to_s
+        File.open(tmpfile, 'w') {|f|
+          write_status f, tag, flag
+        }
+        File.unlink @filename
+        File.link tmpfile, @filename
+      ensure
+        File.unlink tmpfile
+      end
+    end
+
+    def write_status( f, tag, flag )
+      stat = ''
+      File.open(@filename) {|r|
+        while line = r.gets
+          if line.strip.empty?
+            break
+          elsif m = /\AX-TMail-Status:/i.match(line)
+            stat = m.post_match.strip
+          else
+            f.print line
+          end
+        end
+
+        s = procinfostr(stat, tag, flag)
+        f.puts 'X-TMail-Status: ' + s unless s.empty?
+        f.puts
+
+        while s = r.read(2048)
+          f.write s
+        end
+      }
+    end
+
+    def get_status( tag )
+      File.foreach(@filename) {|line|
+        return false if line.strip.empty?
+        if m = /\AX-TMail-Status:/i.match(line)
+          return m.post_match.strip.include?(tag[0])
+        end
+      }
+      false
+    end
+  
+  end
+
+
+  class MaildirPort < FilePort
+
+    def move_to_new
+      new = replace_dir(@filename, 'new')
+      File.rename @filename, new
+      @filename = new
+    end
+
+    def move_to_cur
+      new = replace_dir(@filename, 'cur')
+      File.rename @filename, new
+      @filename = new
+    end
+
+    def replace_dir( path, dir )
+      "#{File.dirname File.dirname(path)}/#{dir}/#{File.basename path}"
+    end
+    private :replace_dir
+
+
+    include MailFlags
+
+    private
+
+    MAIL_FILE = /\A(\d+\.[\d_]+\.[^:]+)(?:\:(\d),(\w+)?)?\z/
+
+    def set_status( tag, flag )
+      if m = MAIL_FILE.match(File.basename(@filename))
+        s, uniq, type, info, = m.to_a
+        return if type and type != '2'  # do not change anything
+        newname = File.dirname(@filename) + '/' +
+                  uniq + ':2,' + procinfostr(info.to_s, tag, flag)
+      else
+        newname = @filename + ':2,' + tag
+      end
+
+      File.link @filename, newname
+      File.unlink @filename
+      @filename = newname
+    end
+
+    def get_status( tag )
+      m = MAIL_FILE.match(File.basename(@filename)) or return false
+      m[2] == '2' and m[3].to_s.include?(tag[0])
+    end
+  
+  end
+
+
+  ###
+  ###  StringPort
+  ###
+
+  class StringPort < Port
+
+    def initialize( str = '' )
+      @buffer = str
+      super()
+    end
+
+    def string
+      @buffer
+    end
+
+    def to_s
+      @buffer.dup
+    end
+
+    alias read_all to_s
+
+    def size
+      @buffer.size
+    end
+
+    def ==( other )
+      StringPort === other and @buffer.equal? other.string
+    end
+
+    alias eql? ==
+
+    def hash
+      @buffer.object_id.hash
+    end
+
+    def inspect
+      "#<#{self.class}:id=#{sprintf '0x%x', @buffer.object_id}>"
+    end
+
+    def reproducible?
+      true
+    end
+
+    def ropen( &block )
+      @buffer or raise Errno::ENOENT, "#{inspect} is already removed"
+      StringInput.open(@buffer, &block)
+    end
+
+    def wopen( &block )
+      @buffer = ''
+      StringOutput.new(@buffer, &block)
+    end
+
+    def aopen( &block )
+      @buffer ||= ''
+      StringOutput.new(@buffer, &block)
+    end
+
+    def remove
+      @buffer = nil
+    end
+
+    alias rm remove
+
+    def copy_to( port )
+      port.wopen {|f|
+          f.write @buffer
+      }
+    end
+
+    alias cp copy_to
+
+    def move_to( port )
+      if StringPort === port
+        str = @buffer
+        port.instance_eval { @buffer = str }
+      else
+        copy_to port
+      end
+      remove
+    end
+
+  end
+
+end   # module TMail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/quoting.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,118 @@
+=begin rdoc
+
+= Quoting methods
+
+=end
+module TMail
+  class Mail
+    def subject(to_charset = 'utf-8')
+      Unquoter.unquote_and_convert_to(quoted_subject, to_charset)
+    end
+
+    def unquoted_body(to_charset = 'utf-8')
+      from_charset = sub_header("content-type", "charset")
+      case (content_transfer_encoding || "7bit").downcase
+        when "quoted-printable"
+          # the default charset is set to iso-8859-1 instead of 'us-ascii'.
+          # This is needed as many mailer do not set the charset but send in ISO. This is only used if no charset is set.
+          if !from_charset.blank? && from_charset.downcase == 'us-ascii'
+            from_charset = 'iso-8859-1'
+          end
+
+          Unquoter.unquote_quoted_printable_and_convert_to(quoted_body,
+            to_charset, from_charset, true)
+        when "base64"
+          Unquoter.unquote_base64_and_convert_to(quoted_body, to_charset,
+            from_charset)
+        when "7bit", "8bit"
+          Unquoter.convert_to(quoted_body, to_charset, from_charset)
+        when "binary"
+          quoted_body
+        else
+          quoted_body
+      end
+    end
+
+    def body(to_charset = 'utf-8', &block)
+      attachment_presenter = block || Proc.new { |file_name| "Attachment: #{file_name}\n" }
+
+      if multipart?
+        parts.collect { |part|
+          header = part["content-type"]
+
+          if part.multipart?
+            part.body(to_charset, &attachment_presenter)
+          elsif header.nil?
+            ""
+          elsif !attachment?(part)
+            part.unquoted_body(to_charset)
+          else
+            attachment_presenter.call(header["name"] || "(unnamed)")
+          end
+        }.join
+      else
+        unquoted_body(to_charset)
+      end
+    end
+  end
+
+  class Unquoter
+    class << self
+      def unquote_and_convert_to(text, to_charset, from_charset = "iso-8859-1", preserve_underscores=false)
+        return "" if text.nil?
+        text.gsub(/(.*?)(?:(?:=\?(.*?)\?(.)\?(.*?)\?=)|$)/) do
+          before = $1
+          from_charset = $2
+          quoting_method = $3
+          text = $4
+
+          before = convert_to(before, to_charset, from_charset) if before.length > 0
+          before + case quoting_method
+              when "q", "Q" then
+                unquote_quoted_printable_and_convert_to(text, to_charset, from_charset, preserve_underscores)
+              when "b", "B" then
+                unquote_base64_and_convert_to(text, to_charset, from_charset)
+              when nil then
+                # will be nil at the end of the string, due to the nature of
+                # the regex used.
+                ""
+              else
+                raise "unknown quoting method #{quoting_method.inspect}"
+            end
+        end
+      end
+
+      def unquote_quoted_printable_and_convert_to(text, to, from, preserve_underscores=false)
+        text = text.gsub(/_/, " ") unless preserve_underscores
+        text = text.gsub(/\r\n|\r/, "\n") # normalize newlines
+        convert_to(text.unpack("M*").first, to, from)
+      end
+
+      def unquote_base64_and_convert_to(text, to, from)
+        convert_to(Base64.decode(text), to, from)
+      end
+
+      begin
+        require 'iconv'
+        def convert_to(text, to, from)
+          return text unless to && from
+          text ? Iconv.iconv(to, from, text).first : ""
+        rescue Iconv::IllegalSequence, Iconv::InvalidEncoding, Errno::EINVAL
+          # the 'from' parameter specifies a charset other than what the text
+          # actually is...not much we can do in this case but just return the
+          # unconverted text.
+          #
+          # Ditto if either parameter represents an unknown charset, like
+          # X-UNKNOWN.
+          text
+        end
+      rescue LoadError
+        # Not providing quoting support
+        def convert_to(text, to, from)
+          warn "Action Mailer: iconv not loaded; ignoring conversion from #{from} to #{to} (#{__FILE__}:#{__LINE__})"
+          text
+        end
+      end
+    end
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/require_arch.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,58 @@
+#:stopdoc:
+require 'rbconfig'
+
+# Attempts to require anative extension.
+# Falls back to pure-ruby version, if it fails.
+#
+# This uses Config::CONFIG['arch'] from rbconfig.
+
+def require_arch(fname)
+  arch = Config::CONFIG['arch']
+  begin
+    path = File.join("tmail", arch, fname)
+    require path
+  rescue LoadError => e
+    # try pre-built Windows binaries
+    if arch =~ /mswin/
+      require File.join("tmail", 'mswin32', fname)
+    else
+      raise e
+    end
+  end
+end
+
+
+# def require_arch(fname)
+#   dext = Config::CONFIG['DLEXT']
+#   begin
+#     if File.extname(fname) == dext
+#       path = fname
+#     else
+#       path = File.join("tmail","#{fname}.#{dext}")
+#     end
+#     require path
+#   rescue LoadError => e
+#     begin
+#       arch = Config::CONFIG['arch']
+#       path = File.join("tmail", arch, "#{fname}.#{dext}")
+#       require path
+#     rescue LoadError
+#       case path
+#       when /i686/
+#         path.sub!('i686', 'i586')
+#       when /i586/
+#         path.sub!('i586', 'i486')
+#       when /i486/
+#         path.sub!('i486', 'i386')
+#       else
+#         begin
+#           require fname + '.rb'
+#         rescue LoadError
+#           raise e
+#         end
+#       end
+#       retry
+#     end
+#   end
+# end
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,49 @@
+=begin rdoc
+
+= Scanner for TMail
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+#:stopdoc:
+#require 'tmail/require_arch'
+require 'tmail/utils'
+require 'tmail/config'
+
+module TMail
+  # NOTE: It woiuld be nice if these two libs could boith be called "tmailscanner", and
+  # the native extension would have precedence. However RubyGems boffs that up b/c
+  # it does not gaurantee load_path order.
+  begin
+    raise LoadError, 'Turned off native extentions by user choice' if ENV['NORUBYEXT']
+    require('tmail/tmailscanner') # c extension
+    Scanner = TMailScanner
+  rescue LoadError
+    require 'tmail/scanner_r'
+    Scanner = TMailScanner
+  end
+end
+#:stopdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/scanner_r.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,261 @@
+# scanner_r.rb
+#
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+#:stopdoc:
+require 'tmail/config'
+
+module TMail
+
+  class TMailScanner
+
+    Version = '1.2.3'
+    Version.freeze
+
+    MIME_HEADERS = {
+      :CTYPE        => true,
+      :CENCODING    => true,
+      :CDISPOSITION => true
+    }
+
+    alnum      = 'a-zA-Z0-9'
+    atomsyms   = %q[  _#!$%&`'*+-{|}~^/=?  ].strip
+    tokensyms  = %q[  _#!$%&`'*+-{|}~^@.    ].strip
+    atomchars  = alnum + Regexp.quote(atomsyms)
+    tokenchars = alnum + Regexp.quote(tokensyms)
+    iso2022str = '\e(?!\(B)..(?:[^\e]+|\e(?!\(B)..)*\e\(B'
+
+    eucstr  = "(?:[\xa1-\xfe][\xa1-\xfe])+"
+    sjisstr = "(?:[\x81-\x9f\xe0-\xef][\x40-\x7e\x80-\xfc])+"
+    utf8str = "(?:[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf])+"
+
+    quoted_with_iso2022  = /\A(?:[^\\\e"]+|#{iso2022str})+/n
+    domlit_with_iso2022  = /\A(?:[^\\\e\]]+|#{iso2022str})+/n
+    comment_with_iso2022 = /\A(?:[^\\\e()]+|#{iso2022str})+/n
+
+    quoted_without_iso2022  = /\A[^\\"]+/n
+    domlit_without_iso2022  = /\A[^\\\]]+/n
+    comment_without_iso2022 = /\A[^\\()]+/n
+
+    PATTERN_TABLE = {}
+    PATTERN_TABLE['EUC'] =
+      [
+        /\A(?:[#{atomchars}]+|#{iso2022str}|#{eucstr})+/n,
+        /\A(?:[#{tokenchars}]+|#{iso2022str}|#{eucstr})+/n,
+        quoted_with_iso2022,
+        domlit_with_iso2022,
+        comment_with_iso2022
+      ]
+    PATTERN_TABLE['SJIS'] =
+      [
+        /\A(?:[#{atomchars}]+|#{iso2022str}|#{sjisstr})+/n,
+        /\A(?:[#{tokenchars}]+|#{iso2022str}|#{sjisstr})+/n,
+        quoted_with_iso2022,
+        domlit_with_iso2022,
+        comment_with_iso2022
+      ]
+    PATTERN_TABLE['UTF8'] =
+      [
+        /\A(?:[#{atomchars}]+|#{utf8str})+/n,
+        /\A(?:[#{tokenchars}]+|#{utf8str})+/n,
+        quoted_without_iso2022,
+        domlit_without_iso2022,
+        comment_without_iso2022
+      ]
+    PATTERN_TABLE['NONE'] =
+      [
+        /\A[#{atomchars}]+/n,
+        /\A[#{tokenchars}]+/n,
+        quoted_without_iso2022,
+        domlit_without_iso2022,
+        comment_without_iso2022
+      ]
+
+
+    def initialize( str, scantype, comments )
+      init_scanner str
+      @comments = comments || []
+      @debug    = false
+
+      # fix scanner mode
+      @received  = (scantype == :RECEIVED)
+      @is_mime_header = MIME_HEADERS[scantype]
+
+      atom, token, @quoted_re, @domlit_re, @comment_re = PATTERN_TABLE[TMail.KCODE]
+      @word_re = (MIME_HEADERS[scantype] ? token : atom)
+    end
+
+    attr_accessor :debug
+
+    def scan( &block )
+      if @debug
+        scan_main do |arr|
+          s, v = arr
+          printf "%7d %-10s %s\n",
+                 rest_size(),
+                 s.respond_to?(:id2name) ? s.id2name : s.inspect,
+                 v.inspect
+          yield arr
+        end
+      else
+        scan_main(&block)
+      end
+    end
+
+    private
+
+    RECV_TOKEN = {
+      'from' => :FROM,
+      'by'   => :BY,
+      'via'  => :VIA,
+      'with' => :WITH,
+      'id'   => :ID,
+      'for'  => :FOR
+    }
+
+    def scan_main
+      until eof?
+        if skip(/\A[\n\r\t ]+/n)   # LWSP
+          break if eof?
+        end
+
+        if s = readstr(@word_re)
+          if @is_mime_header
+            yield [:TOKEN, s]
+          else
+            # atom
+            if /\A\d+\z/ === s
+              yield [:DIGIT, s]
+            elsif @received
+              yield [RECV_TOKEN[s.downcase] || :ATOM, s]
+            else
+              yield [:ATOM, s]
+            end
+          end
+
+        elsif skip(/\A"/)
+          yield [:QUOTED, scan_quoted_word()]
+
+        elsif skip(/\A\[/)
+          yield [:DOMLIT, scan_domain_literal()]
+
+        elsif skip(/\A\(/)
+          @comments.push scan_comment()
+
+        else
+          c = readchar()
+          yield [c, c]
+        end
+      end
+
+      yield [false, '$']
+    end
+
+    def scan_quoted_word
+      scan_qstr(@quoted_re, /\A"/, 'quoted-word')
+    end
+
+    def scan_domain_literal
+      '[' + scan_qstr(@domlit_re, /\A\]/, 'domain-literal') + ']'
+    end
+
+    def scan_qstr( pattern, terminal, type )
+      result = ''
+      until eof?
+        if    s = readstr(pattern) then result << s
+        elsif skip(terminal)       then return result
+        elsif skip(/\A\\/)         then result << readchar()
+        else
+          raise "TMail FATAL: not match in #{type}"
+        end
+      end
+      scan_error! "found unterminated #{type}"
+    end
+
+    def scan_comment
+      result = ''
+      nest = 1
+      content = @comment_re
+
+      until eof?
+        if s = readstr(content) then result << s
+        elsif skip(/\A\)/)      then nest -= 1
+                                     return result if nest == 0
+                                     result << ')'
+        elsif skip(/\A\(/)      then nest += 1
+                                     result << '('
+        elsif skip(/\A\\/)      then result << readchar()
+        else
+          raise 'TMail FATAL: not match in comment'
+        end
+      end
+      scan_error! 'found unterminated comment'
+    end
+
+    # string scanner
+
+    def init_scanner( str )
+      @src = str
+    end
+
+    def eof?
+      @src.empty?
+    end
+
+    def rest_size
+      @src.size
+    end
+
+    def readstr( re )
+      if m = re.match(@src)
+        @src = m.post_match
+        m[0]
+      else
+        nil
+      end
+    end
+
+    def readchar
+      readstr(/\A./)
+    end
+
+    def skip( re )
+      if m = re.match(@src)
+        @src = m.post_match
+        true
+      else
+        false
+      end
+    end
+
+    def scan_error!( msg )
+      raise SyntaxError, msg
+    end
+
+  end
+
+end   # module TMail
+#:startdoc:
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/stringio.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,280 @@
+# encoding: utf-8
+=begin rdoc
+
+= String handling class
+
+=end
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+class StringInput#:nodoc:
+
+  include Enumerable
+
+  class << self
+
+    def new( str )
+      if block_given?
+        begin
+          f = super
+          yield f
+        ensure
+          f.close if f
+        end
+      else
+        super
+      end
+    end
+
+    alias open new
+  
+  end
+
+  def initialize( str )
+    @src = str
+    @pos = 0
+    @closed = false
+    @lineno = 0
+  end
+
+  attr_reader :lineno
+
+  def string
+    @src
+  end
+
+  def inspect
+    "#<#{self.class}:#{@closed ? 'closed' : 'open'},src=#{@src[0,30].inspect}>"
+  end
+
+  def close
+    stream_check!
+    @pos = nil
+    @closed = true
+  end
+
+  def closed?
+    @closed
+  end
+
+  def pos
+    stream_check!
+    [@pos, @src.size].min
+  end
+
+  alias tell pos
+
+  def seek( offset, whence = IO::SEEK_SET )
+    stream_check!
+    case whence
+    when IO::SEEK_SET
+      @pos = offset
+    when IO::SEEK_CUR
+      @pos += offset
+    when IO::SEEK_END
+      @pos = @src.size - offset
+    else
+      raise ArgumentError, "unknown seek flag: #{whence}"
+    end
+    @pos = 0 if @pos < 0
+    @pos = [@pos, @src.size + 1].min
+    offset
+  end
+
+  def rewind
+    stream_check!
+    @pos = 0
+  end
+
+  def eof?
+    stream_check!
+    @pos > @src.size
+  end
+
+  def each( &block )
+    stream_check!
+    begin
+      @src.each(&block)
+    ensure
+      @pos = 0
+    end
+  end
+
+  def gets
+    stream_check!
+    if idx = @src.index(?\n, @pos)
+      idx += 1  # "\n".size
+      line = @src[ @pos ... idx ]
+      @pos = idx
+      @pos += 1 if @pos == @src.size
+    else
+      line = @src[ @pos .. -1 ]
+      @pos = @src.size + 1
+    end
+    @lineno += 1
+
+    line
+  end
+
+  def getc
+    stream_check!
+    ch = @src[@pos]
+    @pos += 1
+    @pos += 1 if @pos == @src.size
+    ch
+  end
+
+  def read( len = nil )
+    stream_check!
+    return read_all unless len
+    str = @src[@pos, len]
+    @pos += len
+    @pos += 1 if @pos == @src.size
+    str
+  end
+
+  alias sysread read
+
+  def read_all
+    stream_check!
+    return nil if eof?
+    rest = @src[@pos ... @src.size]
+    @pos = @src.size + 1
+    rest
+  end
+
+  def stream_check!
+    @closed and raise IOError, 'closed stream'
+  end
+
+end
+
+
+class StringOutput#:nodoc:
+
+  class << self
+
+    def new( str = '' )
+      if block_given?
+        begin
+          f = super
+          yield f
+        ensure
+          f.close if f
+        end
+      else
+        super
+      end
+    end
+
+    alias open new
+  
+  end
+
+  def initialize( str = '' )
+    @dest = str
+    @closed = false
+  end
+
+  def close
+    @closed = true
+  end
+
+  def closed?
+    @closed
+  end
+
+  def string
+    @dest
+  end
+
+  alias value string
+  alias to_str string
+
+  def size
+    @dest.size
+  end
+
+  alias pos size
+
+  def inspect
+    "#<#{self.class}:#{@dest ? 'open' : 'closed'},#{object_id}>"
+  end
+
+  def print( *args )
+    stream_check!
+    raise ArgumentError, 'wrong # of argument (0 for >1)' if args.empty?
+    args.each do |s|
+      raise ArgumentError, 'nil not allowed' if s.nil?
+      @dest << s.to_s
+    end
+    nil
+  end
+
+  def puts( *args )
+    stream_check!
+    args.each do |str|
+      @dest << (s = str.to_s)
+      @dest << "\n" unless s[-1] == ?\n
+    end
+    @dest << "\n" if args.empty?
+    nil
+  end
+
+  def putc( ch )
+    stream_check!
+    @dest << ch.chr
+    nil
+  end
+
+  def printf( *args )
+    stream_check!
+    @dest << sprintf(*args)
+    nil
+  end
+
+  def write( str )
+    stream_check!
+    s = str.to_s
+    @dest << s
+    s.size
+  end
+
+  alias syswrite write
+
+  def <<( str )
+    stream_check!
+    @dest << str.to_s
+    self
+  end
+
+  private
+
+  def stream_check!
+    @closed and raise IOError, 'closed stream'
+  end
+
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/utils.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,337 @@
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+# = TMail - The EMail Swiss Army Knife for Ruby
+# 
+# The TMail library provides you with a very complete way to handle and manipulate EMails
+# from within your Ruby programs.
+# 
+# Used as the backbone for email handling by the Ruby on Rails and Nitro web frameworks as
+# well as a bunch of other Ruby apps including the Ruby-Talk mailing list to newsgroup email
+# gateway, it is a proven and reliable email handler that won't let you down.
+# 
+# Originally created by Minero Aoki, TMail has been recently picked up by Mikel Lindsaar and
+# is being actively maintained.  Numerous backlogged bug fixes have been applied as well as
+# Ruby 1.9 compatibility and a swath of documentation to boot.
+# 
+# TMail allows you to treat an email totally as an object and allow you to get on with your
+# own programming without having to worry about crafting the perfect email address validation
+# parser, or assembling an email from all it's component parts.
+# 
+# TMail handles the most complex part of the email - the header.  It generates and parses
+# headers and provides you with instant access to their innards through simple and logically
+# named accessor and setter methods.
+# 
+# TMail also provides a wrapper to Net/SMTP as well as Unix Mailbox handling methods to
+# directly read emails from your unix mailbox, parse them and use them.
+# 
+# Following is the comprehensive list of methods to access TMail::Mail objects.  You can also
+# check out TMail::Mail, TMail::Address and TMail::Headers for other lists.
+module TMail
+
+  # Provides an exception to throw on errors in Syntax within TMail's parsers
+  class SyntaxError < StandardError; end
+
+  # Provides a new email boundary to separate parts of the email.  This is a random
+  # string based off the current time, so should be fairly unique.
+  # 
+  # For Example:
+  # 
+  #  TMail.new_boundary
+  #  #=> "mimepart_47bf656968207_25a8fbb80114"
+  #  TMail.new_boundary
+  #  #=> "mimepart_47bf66051de4_25a8fbb80240"
+  def TMail.new_boundary
+    'mimepart_' + random_tag
+  end
+
+  # Provides a new email message ID.  You can use this to generate unique email message
+  # id's for your email so you can track them.
+  # 
+  # Optionally takes a fully qualified domain name (default to the current hostname 
+  # returned by Socket.gethostname) that will be appended to the message ID.
+  # 
+  # For Example:
+  # 
+  #  email.message_id = TMail.new_message_id
+  #  #=> "<47bf66845380e_25a8fbb80332 at baci.local.tmail>"
+  #  email.to_s
+  #  #=> "Message-Id: <47bf668b633f1_25a8fbb80475 at baci.local.tmail>\n\n"
+  #  email.message_id = TMail.new_message_id("lindsaar.net")
+  #  #=> "<47bf668b633f1_25a8fbb80475 at lindsaar.net.tmail>"
+  #  email.to_s
+  #  #=> "Message-Id: <47bf668b633f1_25a8fbb80475 at lindsaar.net.tmail>\n\n"
+  def TMail.new_message_id( fqdn = nil )
+    fqdn ||= ::Socket.gethostname
+    "<#{random_tag()}@#{fqdn}.tmail>"
+  end
+
+  #:stopdoc:
+  def TMail.random_tag #:nodoc:
+    @uniq += 1
+    t = Time.now
+    sprintf('%x%x_%x%x%d%x',
+            t.to_i, t.tv_usec,
+            $$, Thread.current.object_id, @uniq, rand(255))
+  end
+  private_class_method :random_tag
+
+  @uniq = 0
+
+  #:startdoc:
+  
+  # Text Utils provides a namespace to define TOKENs, ATOMs, PHRASEs and CONTROL characters that
+  # are OK per RFC 2822.
+  # 
+  # It also provides methods you can call to determine if a string is safe
+  module TextUtils
+
+    aspecial     = %Q|()<>[]:;.\\,"|
+    tspecial     = %Q|()<>[];:\\,"/?=|
+    lwsp         = %Q| \t\r\n|
+    control      = %Q|\x00-\x1f\x7f-\xff|
+
+    CONTROL_CHAR  = /[#{control}]/n
+    ATOM_UNSAFE   = /[#{Regexp.quote aspecial}#{control}#{lwsp}]/n
+    PHRASE_UNSAFE = /[#{Regexp.quote aspecial}#{control}]/n
+    TOKEN_UNSAFE  = /[#{Regexp.quote tspecial}#{control}#{lwsp}]/n
+    
+    # Returns true if the string supplied is free from characters not allowed as an ATOM
+    def atom_safe?( str )
+      not ATOM_UNSAFE === str
+    end
+
+    # If the string supplied has ATOM unsafe characters in it, will return the string quoted 
+    # in double quotes, otherwise returns the string unmodified
+    def quote_atom( str )
+      (ATOM_UNSAFE === str) ? dquote(str) : str
+    end
+
+    # If the string supplied has PHRASE unsafe characters in it, will return the string quoted 
+    # in double quotes, otherwise returns the string unmodified
+    def quote_phrase( str )
+      (PHRASE_UNSAFE === str) ? dquote(str) : str
+    end
+
+    # Returns true if the string supplied is free from characters not allowed as a TOKEN
+    def token_safe?( str )
+      not TOKEN_UNSAFE === str
+    end
+
+    # If the string supplied has TOKEN unsafe characters in it, will return the string quoted 
+    # in double quotes, otherwise returns the string unmodified
+    def quote_token( str )
+      (TOKEN_UNSAFE === str) ? dquote(str) : str
+    end
+
+    # Wraps supplied string in double quotes unless it is already wrapped
+    # Returns double quoted string
+    def dquote( str ) #:nodoc:
+      unless str =~ /^".*?"$/
+        '"' + str.gsub(/["\\]/n) {|s| '\\' + s } + '"'
+      else
+        str
+      end
+    end
+    private :dquote
+
+    # Unwraps supplied string from inside double quotes
+    # Returns unquoted string
+    def unquote( str )
+      str =~ /^"(.*?)"$/ ? $1 : str
+    end
+    
+    # Provides a method to join a domain name by it's parts and also makes it
+    # ATOM safe by quoting it as needed
+    def join_domain( arr )
+      arr.map {|i|
+          if /\A\[.*\]\z/ === i
+            i
+          else
+            quote_atom(i)
+          end
+      }.join('.')
+    end
+
+    #:stopdoc:
+    ZONESTR_TABLE = {
+      'jst' =>   9 * 60,
+      'eet' =>   2 * 60,
+      'bst' =>   1 * 60,
+      'met' =>   1 * 60,
+      'gmt' =>   0,
+      'utc' =>   0,
+      'ut'  =>   0,
+      'nst' => -(3 * 60 + 30),
+      'ast' =>  -4 * 60,
+      'edt' =>  -4 * 60,
+      'est' =>  -5 * 60,
+      'cdt' =>  -5 * 60,
+      'cst' =>  -6 * 60,
+      'mdt' =>  -6 * 60,
+      'mst' =>  -7 * 60,
+      'pdt' =>  -7 * 60,
+      'pst' =>  -8 * 60,
+      'a'   =>  -1 * 60,
+      'b'   =>  -2 * 60,
+      'c'   =>  -3 * 60,
+      'd'   =>  -4 * 60,
+      'e'   =>  -5 * 60,
+      'f'   =>  -6 * 60,
+      'g'   =>  -7 * 60,
+      'h'   =>  -8 * 60,
+      'i'   =>  -9 * 60,
+      # j not use
+      'k'   => -10 * 60,
+      'l'   => -11 * 60,
+      'm'   => -12 * 60,
+      'n'   =>   1 * 60,
+      'o'   =>   2 * 60,
+      'p'   =>   3 * 60,
+      'q'   =>   4 * 60,
+      'r'   =>   5 * 60,
+      's'   =>   6 * 60,
+      't'   =>   7 * 60,
+      'u'   =>   8 * 60,
+      'v'   =>   9 * 60,
+      'w'   =>  10 * 60,
+      'x'   =>  11 * 60,
+      'y'   =>  12 * 60,
+      'z'   =>   0 * 60
+    }
+    #:startdoc:
+
+    # Takes a time zone string from an EMail and converts it to Unix Time (seconds)
+    def timezone_string_to_unixtime( str )
+      if m = /([\+\-])(\d\d?)(\d\d)/.match(str)
+        sec = (m[2].to_i * 60 + m[3].to_i) * 60
+        m[1] == '-' ? -sec : sec
+      else
+        min = ZONESTR_TABLE[str.downcase] or
+                raise SyntaxError, "wrong timezone format '#{str}'"
+        min * 60
+      end
+    end
+
+    #:stopdoc:
+    WDAY = %w( Sun Mon Tue Wed Thu Fri Sat TMailBUG )
+    MONTH = %w( TMailBUG Jan Feb Mar Apr May Jun
+                         Jul Aug Sep Oct Nov Dec TMailBUG )
+
+    def time2str( tm )
+      # [ruby-list:7928]
+      gmt = Time.at(tm.to_i)
+      gmt.gmtime
+      offset = tm.to_i - Time.local(*gmt.to_a[0,6].reverse).to_i
+
+      # DO NOT USE strftime: setlocale() breaks it
+      sprintf '%s, %s %s %d %02d:%02d:%02d %+.2d%.2d',
+              WDAY[tm.wday], tm.mday, MONTH[tm.month],
+              tm.year, tm.hour, tm.min, tm.sec,
+              *(offset / 60).divmod(60)
+    end
+
+
+    MESSAGE_ID = /<[^\@>]+\@[^>\@]+>/
+    
+    def message_id?( str )
+      MESSAGE_ID === str
+    end
+
+
+    MIME_ENCODED = /=\?[^\s?=]+\?[QB]\?[^\s?=]+\?=/i
+
+    def mime_encoded?( str )
+      MIME_ENCODED === str
+    end
+  
+
+    def decode_params( hash )
+      new = Hash.new
+      encoded = nil
+      hash.each do |key, value|
+        if m = /\*(?:(\d+)\*)?\z/.match(key)
+          ((encoded ||= {})[m.pre_match] ||= [])[(m[1] || 0).to_i] = value
+        else
+          new[key] = to_kcode(value)
+        end
+      end
+      if encoded
+        encoded.each do |key, strings|
+          new[key] = decode_RFC2231(strings.join(''))
+        end
+      end
+
+      new
+    end
+
+    NKF_FLAGS = {
+      'EUC'  => '-e -m',
+      'SJIS' => '-s -m'
+    }
+
+    def to_kcode( str )
+      flag = NKF_FLAGS[TMail.KCODE] or return str
+      NKF.nkf(flag, str)
+    end
+
+    RFC2231_ENCODED = /\A(?:iso-2022-jp|euc-jp|shift_jis|us-ascii)?'[a-z]*'/in
+
+    def decode_RFC2231( str )
+      m = RFC2231_ENCODED.match(str) or return str
+      begin
+        to_kcode(m.post_match.gsub(/%[\da-f]{2}/in) {|s| s[1,2].hex.chr })
+      rescue
+        m.post_match.gsub(/%[\da-f]{2}/in, "")
+      end
+    end
+
+    def quote_boundary
+      # Make sure the Content-Type boundary= parameter is quoted if it contains illegal characters
+      # (to ensure any special characters in the boundary text are escaped from the parser
+      # (such as = in MS Outlook's boundary text))
+      if @body =~ /^(.*)boundary=(.*)$/m
+        preamble = $1
+        remainder = $2
+        if remainder =~ /;/
+          remainder =~ /^(.*?)(;.*)$/m
+          boundary_text = $1
+          post = $2.chomp
+        else
+          boundary_text = remainder.chomp
+        end
+        if boundary_text =~ /[\/\?\=]/
+          boundary_text = "\"#{boundary_text}\"" unless boundary_text =~ /^".*?"$/
+          @body = "#{preamble}boundary=#{boundary_text}#{post}"
+        end
+      end
+    end
+    #:startdoc:
+
+
+  end
+
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail/version.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,39 @@
+#
+# version.rb
+#
+#--
+# Copyright (c) 1998-2003 Minero Aoki <aamine at loveruby.net>
+#
+# 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.
+#
+# Note: Originally licensed under LGPL v2+. Using MIT license for Rails
+# with permission of Minero Aoki.
+#++
+
+#:stopdoc:
+module TMail
+  module VERSION
+    MAJOR = 1
+    MINOR = 2
+    TINY  = 3
+
+    STRING = [MAJOR, MINOR, TINY].join('.')
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor/tmail-1.2.3/tmail.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5 @@
+require 'tmail/version'
+require 'tmail/mail'
+require 'tmail/mailbox'
+require 'tmail/core_extensions'
+require 'tmail/net'

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/vendor.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,14 @@
+# Prefer gems to the bundled libs.
+require 'rubygems'
+
+begin
+  gem 'tmail', '~> 1.2.3'
+rescue Gem::LoadError
+  $:.unshift "#{File.dirname(__FILE__)}/vendor/tmail-1.2.3"
+end
+
+begin
+  gem 'text-format', '>= 0.6.3'
+rescue Gem::LoadError
+  $:.unshift "#{File.dirname(__FILE__)}/vendor/text-format-0.6.3"
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/version.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/version.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer/version.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,9 @@
+module ActionMailer
+  module VERSION #:nodoc:
+    MAJOR = 2
+    MINOR = 2
+    TINY  = 2
+
+    STRING = [MAJOR, MINOR, TINY].join('.')
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/action_mailer.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,52 @@
+#--
+# Copyright (c) 2004-2008 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.
+#++
+
+begin
+  require 'action_controller'
+rescue LoadError
+  actionpack_path = "#{File.dirname(__FILE__)}/../../actionpack/lib"
+  if File.directory?(actionpack_path)
+    $:.unshift actionpack_path
+    require 'action_controller'
+  end
+end
+
+require 'action_mailer/vendor'
+require 'tmail'
+
+require 'action_mailer/base'
+require 'action_mailer/helpers'
+require 'action_mailer/mail_helper'
+require 'action_mailer/quoting'
+require 'action_mailer/test_helper'
+
+require 'net/smtp'
+
+ActionMailer::Base.class_eval do
+  include ActionMailer::Quoting
+  include ActionMailer::Helpers
+
+  helper MailHelper
+end
+
+silence_warnings { TMail::Encoder.const_set("MAX_LINE_LEN", 200) }

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/actionmailer.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/actionmailer.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/lib/actionmailer.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+require 'action_mailer'

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/abstract_unit.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/abstract_unit.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/abstract_unit.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,62 @@
+require 'test/unit'
+
+$:.unshift "#{File.dirname(__FILE__)}/../lib"
+$:.unshift "#{File.dirname(__FILE__)}/../../activesupport/lib"
+$:.unshift "#{File.dirname(__FILE__)}/../../actionpack/lib"
+require 'action_mailer'
+require 'action_mailer/test_case'
+
+# Show backtraces for deprecated behavior for quicker cleanup.
+ActiveSupport::Deprecation.debug = true
+
+$:.unshift "#{File.dirname(__FILE__)}/fixtures/helpers"
+ActionMailer::Base.template_root = "#{File.dirname(__FILE__)}/fixtures"
+
+class MockSMTP
+  def self.deliveries
+    @@deliveries
+  end
+
+  def initialize
+    @@deliveries = []
+  end
+
+  def sendmail(mail, from, to)
+    @@deliveries << [mail, from, to]
+  end
+
+  def start(*args)
+    yield self
+  end
+end
+
+class Net::SMTP
+  def self.new(*args)
+    MockSMTP.new
+  end
+end
+
+def uses_gem(gem_name, test_name, version = '> 0')
+  require 'rubygems'
+  gem gem_name.to_s, version
+  require gem_name.to_s
+  yield
+rescue LoadError
+  $stderr.puts "Skipping #{test_name} tests. `gem install #{gem_name}` and try again."
+end
+
+# Wrap tests that use Mocha and skip if unavailable.
+unless defined? uses_mocha
+  def uses_mocha(test_name, &block)
+    uses_gem('mocha', test_name, '>= 0.5.5', &block)
+  end
+end
+
+def set_delivery_method(delivery_method)
+  @old_delivery_method = ActionMailer::Base.delivery_method
+  ActionMailer::Base.delivery_method = delivery_method
+end
+
+def restore_delivery_method
+  ActionMailer::Base.delivery_method = @old_delivery_method
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/delivery_method_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/delivery_method_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/delivery_method_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,51 @@
+require 'abstract_unit'
+
+class DefaultDeliveryMethodMailer < ActionMailer::Base
+end
+
+class NonDefaultDeliveryMethodMailer < ActionMailer::Base
+  self.delivery_method = :sendmail
+end
+
+class ActionMailerBase_delivery_method_Test < Test::Unit::TestCase
+  def setup
+    set_delivery_method :smtp
+  end
+  
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_should_be_the_default_smtp
+    assert_equal :smtp, ActionMailer::Base.delivery_method
+  end
+end
+
+class DefaultDeliveryMethodMailer_delivery_method_Test < Test::Unit::TestCase
+  def setup
+    set_delivery_method :smtp
+  end
+  
+  def teardown
+    restore_delivery_method
+  end
+  
+  def test_should_be_the_default_smtp
+    assert_equal :smtp, DefaultDeliveryMethodMailer.delivery_method
+  end
+end
+
+class NonDefaultDeliveryMethodMailer_delivery_method_Test < Test::Unit::TestCase
+  def setup
+    set_delivery_method :smtp
+  end
+  
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_should_be_the_set_delivery_method
+    assert_equal :sendmail, NonDefaultDeliveryMethodMailer.delivery_method
+  end
+end
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer/hello.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer/hello.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/auto_layout_mailer/hello.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Inside
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/logout.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/logout.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/logout.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+You logged out
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/signup.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/signup.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/explicit_layout_mailer/signup.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+We do not spam
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer/share.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer/share.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/first_mailer/share.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+first mail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_example_helper.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_example_helper.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_example_helper.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+So, <%= example_format(@text) %>

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Hello, <%= person_name %>. Thanks for registering!

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper_method.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper_method.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_helper_method.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+This message brought to you by <%= name_of_the_mailer_class %>.

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_mail_helper.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_mail_helper.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helper_mailer/use_mail_helper.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5 @@
+From "Romeo and Juliet":
+
+<%= block_format @text %>
+
+Good ol' Shakespeare.

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers/example_helper.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers/example_helper.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/helpers/example_helper.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5 @@
+module ExampleHelper
+  def example_format(text)
+    "<em><strong><small>#{text}</small></strong></em>"
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/auto_layout_mailer.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/auto_layout_mailer.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/auto_layout_mailer.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Hello from layout <%= yield %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/spam.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/spam.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/layouts/spam.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Spammer layout <%= yield %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Have a lovely picture, from me. Enjoy!
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,14 @@
+From jamis_buck at byu.edu Mon May  2 16:07:05 2005
+Mime-Version: 1.0 (Apple Message framework v622)
+Content-Transfer-Encoding: base64
+Message-Id: <d3b8cf8e49f04480850c28713a1f473e at 37signals.com>
+Content-Type: text/plain;
+  charset=EUC-KR;
+  format=flowed
+To: willard15georgina at jamis.backpackit.com
+From: Jamis Buck <jamis at 37signals.com>
+Subject: =?EUC-KR?Q?NOTE:_=C7=D1=B1=B9=B8=BB=B7=CE_=C7=CF=B4=C2_=B0=CD?=
+Date: Mon, 2 May 2005 16:07:05 -0600
+
+tOu6zrrQwMcguLbC+bChwfa3ziwgv+y4rrTCIMfPs6q01MC7ILnPvcC0z7TZLg0KDQrBpiDAzLin
+wLogSmFtaXPA1LTPtNku

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email10
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email10	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email10	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,20 @@
+Return-Path: <xxx at xxxx.xxx>
+Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
+Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
+Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
+Date: Tue, 10 May 2005 15:27:03 -0500
+From: xxx at xxxx.xxx
+Sender: xxx at xxxx.xxx
+To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Message-Id: <xxx at xxxx.xxx>
+X-Original-To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Delivered-To: xxx at xxxx.xxx
+Importance: normal
+Content-Type: text/plain; charset=X-UNKNOWN
+
+Test test. Hi. Waving. m
+
+----------------------------------------------------------------
+Sent via Bell Mobility's Text Messaging service. 
+Envoyé par le service de messagerie texte de Bell Mobilité.
+----------------------------------------------------------------

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email12
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email12	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email12	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,32 @@
+Mime-Version: 1.0 (Apple Message framework v730)
+Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
+Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012 at example.com>
+From: foo at example.com
+Subject: testing
+Date: Mon, 6 Jun 2005 22:21:22 +0200
+To: blah at example.com
+
+
+--Apple-Mail-13-196941151
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain;
+	charset=ISO-8859-1;
+	delsp=yes;
+	format=flowed
+
+This is the first part.
+
+--Apple-Mail-13-196941151
+Content-Type: image/jpeg
+Content-Transfer-Encoding: base64
+Content-Location: Photo25.jpg
+Content-ID: <qbFGyPQAS8>
+Content-Disposition: inline
+
+jamisSqGSIb3DQEHAqCAMIjamisxCzAJBgUrDgMCGgUAMIAGCSqGSjamisEHAQAAoIIFSjCCBUYw
+ggQujamisQICBD++ukQwDQYJKojamisNAQEFBQAwMTELMAkGA1UEBhMCRjamisAKBgNVBAoTA1RE
+QzEUMBIGjamisxMLVERDIE9DRVMgQ0jamisNMDQwMjI5MTE1OTAxWhcNMDYwMjamisIyOTAxWjCB
+gDELMAkGA1UEjamisEsxKTAnBgNVBAoTIEjamisuIG9yZ2FuaXNhdG9yaXNrIHRpbjamisRuaW5=
+
+--Apple-Mail-13-196941151--
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email13
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email13	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email13	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,29 @@
+Mime-Version: 1.0 (Apple Message framework v730)
+Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
+Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012 at example.com>
+From: foo at example.com
+Subject: testing
+Date: Mon, 6 Jun 2005 22:21:22 +0200
+To: blah at example.com
+
+
+--Apple-Mail-13-196941151
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain;
+	charset=ISO-8859-1;
+	delsp=yes;
+	format=flowed
+
+This is the first part.
+
+--Apple-Mail-13-196941151
+Content-Type: text/x-ruby-script; name="hello.rb"
+Content-Transfer-Encoding: 7bit
+Content-Disposition: attachment;
+	filename="api.rb"
+
+puts "Hello, world!"
+gets
+
+--Apple-Mail-13-196941151--
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email2
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email2	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email2	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,114 @@
+From xxxxxxxxx.xxxxxxx at gmail.com Sun May  8 19:07:09 2005
+Return-Path: <xxxxxxxxx.xxxxxxx at gmail.com>
+X-Original-To: xxxxx at xxxxx.xxxxxxxxx.com
+Delivered-To: xxxxx at xxxxx.xxxxxxxxx.com
+Received: from localhost (localhost [127.0.0.1])
+	by xxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 06C9DA98D
+	for <xxxxx at xxxxx.xxxxxxxxx.com>; Sun,  8 May 2005 19:09:13 +0000 (GMT)
+Received: from xxxxx.xxxxxxxxx.com ([127.0.0.1])
+ by localhost (xxxxx.xxxxxxxxx.com [127.0.0.1]) (amavisd-new, port 10024)
+ with LMTP id 88783-08 for <xxxxx at xxxxx.xxxxxxxxx.com>;
+ Sun,  8 May 2005 19:09:12 +0000 (GMT)
+Received: from xxxxxxx.xxxxxxxxx.com (xxxxxxx.xxxxxxxxx.com [69.36.39.150])
+	by xxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 10D8BA960
+	for <xxxxx at xxxxxxxxx.org>; Sun,  8 May 2005 19:09:12 +0000 (GMT)
+Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199])
+	by xxxxxxx.xxxxxxxxx.com (Postfix) with ESMTP id 9EBC4148EAB
+	for <xxxxx at xxxxxxxxx.com>; Sun,  8 May 2005 14:09:11 -0500 (CDT)
+Received: by zproxy.gmail.com with SMTP id 13so1233405nzp
+        for <xxxxx at xxxxxxxxx.com>; Sun, 08 May 2005 12:09:11 -0700 (PDT)
+DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
+        s=beta; d=gmail.com;
+        h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references;
+        b=cid1mzGEFa3gtRa06oSrrEYfKca2CTKu9sLMkWxjbvCsWMtp9RGEILjUz0L5RySdH5iO661LyNUoHRFQIa57bylAbXM3g2DTEIIKmuASDG3x3rIQ4sHAKpNxP7Pul+mgTaOKBv+spcH7af++QEJ36gHFXD2O/kx9RePs3JNf/K8=
+Received: by 10.36.10.16 with SMTP id 16mr1012493nzj;
+        Sun, 08 May 2005 12:09:11 -0700 (PDT)
+Received: by 10.36.5.10 with HTTP; Sun, 8 May 2005 12:09:11 -0700 (PDT)
+Message-ID: <e85734b90505081209eaaa17b at mail.gmail.com>
+Date: Sun, 8 May 2005 14:09:11 -0500
+From: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx at gmail.com>
+Reply-To: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx at gmail.com>
+To: xxxxx xxxx <xxxxx at xxxxxxxxx.com>
+Subject: Fwd: Signed email causes file attachments
+In-Reply-To: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13 at mac.com>
+Mime-Version: 1.0
+Content-Type: multipart/mixed; 
+	boundary="----=_Part_5028_7368284.1115579351471"
+References: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13 at mac.com>
+
+------=_Part_5028_7368284.1115579351471
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+We should not include these files or vcards as attachments.
+
+---------- Forwarded message ----------
+From: xxxxx xxxxxx <xxxxxxxx at xxx.com>
+Date: May 8, 2005 1:17 PM
+Subject: Signed email causes file attachments
+To: xxxxxxx at xxxxxxxxxx.com
+
+
+Hi,
+
+Just started to use my xxxxxxxx account (to set-up a GTD system,
+natch) and noticed that when I send content via email the signature/
+certificate from my email account gets added as a file (e.g.
+"smime.p7s").
+
+Obviously I can uncheck the signature option in the Mail compose
+window but how often will I remember to do that?
+
+Is there any way these kind of files could be ignored, e.g. via some
+sort of exclusions list?
+
+------=_Part_5028_7368284.1115579351471
+Content-Type: application/pkcs7-signature; name=smime.p7s
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment; filename="smime.p7s"
+
+MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGFDCCAs0w
+ggI2oAMCAQICAw5c+TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
+d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
+YWlsIElzc3VpbmcgQ0EwHhcNMDUwMzI5MDkzOTEwWhcNMDYwMzI5MDkzOTEwWjBCMR8wHQYDVQQD
+ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzbWhhdW5jaEBtYWMuY29t
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn90dPsYS3LjfMY211OSYrDQLzwNYPlAL
+7+/0XA+kdy8/rRnyEHFGwhNCDmg0B6pxC7z3xxJD/8GfCd+IYUUNUQV5m9MkxfP9pTVXZVIYLaBw
+o8xS3A0a1LXealcmlEbJibmKkEaoXci3MhryLgpaa+Kk/sH02SNatDO1vS28bPsibZpcc6deFrla
+hSYnL+PW54mDTGHIcCN2fbx/Y6qspzqmtKaXrv75NBtuy9cB6KzU4j2xXbTkAwz3pRSghJJaAwdp
++yIivAD3vr0kJE3p+Ez34HMh33EXEpFoWcN+MCEQZD9WnmFViMrvfvMXLGVFQfAAcC060eGFSRJ1
+ZQ9UVQIDAQABoy0wKzAbBgNVHREEFDASgRBzbWhhdW5jaEBtYWMuY29tMAwGA1UdEwEB/wQCMAAw
+DQYJKoZIhvcNAQEEBQADgYEAQMrg1n2pXVWteP7BBj+Pk3UfYtbuHb42uHcLJjfjnRlH7AxnSwrd
+L3HED205w3Cq8T7tzVxIjRRLO/ljq0GedSCFBky7eYo1PrXhztGHCTSBhsiWdiyLWxKlOxGAwJc/
+lMMnwqLOdrQcoF/YgbjeaUFOQbUh94w9VDNpWZYCZwcwggM/MIICqKADAgECAgENMA0GCSqGSIb3
+DQEBBQUAMIHRMQswCQYDVQQGEwJaQTEVMBMGA1UECBMMV2VzdGVybiBDYXBlMRIwEAYDVQQHEwlD
+YXBlIFRvd24xGjAYBgNVBAoTEVRoYXd0ZSBDb25zdWx0aW5nMSgwJgYDVQQLEx9DZXJ0aWZpY2F0
+aW9uIFNlcnZpY2VzIERpdmlzaW9uMSQwIgYDVQQDExtUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwg
+Q0ExKzApBgkqhkiG9w0BCQEWHHBlcnNvbmFsLWZyZWVtYWlsQHRoYXd0ZS5jb20wHhcNMDMwNzE3
+MDAwMDAwWhcNMTMwNzE2MjM1OTU5WjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENv
+bnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElz
+c3VpbmcgQ0EwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMSmPFVzVftOucqZWh5owHUEcJ3f
+6f+jHuy9zfVb8hp2vX8MOmHyv1HOAdTlUAow1wJjWiyJFXCO3cnwK4Vaqj9xVsuvPAsH5/EfkTYk
+KhPPK9Xzgnc9A74r/rsYPge/QIACZNenprufZdHFKlSFD0gEf6e20TxhBEAeZBlyYLf7AgMBAAGj
+gZQwgZEwEgYDVR0TAQH/BAgwBgEB/wIBADBDBgNVHR8EPDA6MDigNqA0hjJodHRwOi8vY3JsLnRo
+YXd0ZS5jb20vVGhhd3RlUGVyc29uYWxGcmVlbWFpbENBLmNybDALBgNVHQ8EBAMCAQYwKQYDVR0R
+BCIwIKQeMBwxGjAYBgNVBAMTEVByaXZhdGVMYWJlbDItMTM4MA0GCSqGSIb3DQEBBQUAA4GBAEiM
+0VCD6gsuzA2jZqxnD3+vrL7CF6FDlpSdf0whuPg2H6otnzYvwPQcUCCTcDz9reFhYsPZOhl+hLGZ
+GwDFGguCdJ4lUJRix9sncVcljd2pnDmOjCBPZV+V2vf3h9bGCE6u9uo05RAaWzVNd+NWIXiC3CEZ
+Nd4ksdMdRv9dX2VPMYIC5zCCAuMCAQEwaTBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl
+IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWls
+IElzc3VpbmcgQ0ECAw5c+TAJBgUrDgMCGgUAoIIBUzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcB
+MBwGCSqGSIb3DQEJBTEPFw0wNTA1MDgxODE3NDZaMCMGCSqGSIb3DQEJBDEWBBQSkG9j6+hB0pKp
+fV9tCi/iP59sNTB4BgkrBgEEAYI3EAQxazBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3
+dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1h
+aWwgSXNzdWluZyBDQQIDDlz5MHoGCyqGSIb3DQEJEAILMWugaTBiMQswCQYDVQQGEwJaQTElMCMG
+A1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
+bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECAw5c+TANBgkqhkiG9w0BAQEFAASCAQAm1GeF7dWfMvrW
+8yMPjkhE+R8D1DsiCoWSCp+5gAQm7lcK7V3KrZh5howfpI3TmCZUbbaMxOH+7aKRKpFemxoBY5Q8
+rnCkbpg/++/+MI01T69hF/rgMmrGcrv2fIYy8EaARLG0xUVFSZHSP+NQSYz0TTmh4cAESHMzY3JA
+nHOoUkuPyl8RXrimY1zn0lceMXlweZRouiPGuPNl1hQKw8P+GhOC5oLlM71UtStnrlk3P9gqX5v7
+Tj7Hx057oVfY8FMevjxGwU3EK5TczHezHbWWgTyum9l2ZQbUQsDJxSniD3BM46C1VcbDLPaotAZ0
+fTYLZizQfm5hcWEbfYVzkSzLAAAAAAAA
+------=_Part_5028_7368284.1115579351471--
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email3
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email3	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email3	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,70 @@
+From xxxx at xxxx.com Tue May 10 11:28:07 2005
+Return-Path: <xxxx at xxxx.com>
+X-Original-To: xxxx at xxxx.com
+Delivered-To: xxxx at xxxx.com
+Received: from localhost (localhost [127.0.0.1])
+	by xxx.xxxxx.com (Postfix) with ESMTP id 50FD3A96F
+	for <xxxx at xxxx.com>; Tue, 10 May 2005 17:26:50 +0000 (GMT)
+Received: from xxx.xxxxx.com ([127.0.0.1])
+ by localhost (xxx.xxxxx.com [127.0.0.1]) (amavisd-new, port 10024)
+ with LMTP id 70060-03 for <xxxx at xxxx.com>;
+ Tue, 10 May 2005 17:26:49 +0000 (GMT)
+Received: from xxx.xxxxx.com (xxx.xxxxx.com [69.36.39.150])
+	by xxx.xxxxx.com (Postfix) with ESMTP id 8B957A94B
+	for <xxxx at xxxx.com>; Tue, 10 May 2005 17:26:48 +0000 (GMT)
+Received: from xxx.xxxxx.com (xxx.xxxxx.com [64.233.184.203])
+	by xxx.xxxxx.com (Postfix) with ESMTP id 9972514824C
+	for <xxxx at xxxx.com>; Tue, 10 May 2005 12:26:40 -0500 (CDT)
+Received: by xxx.xxxxx.com with SMTP id 68so1694448wri
+        for <xxxx at xxxx.com>; Tue, 10 May 2005 10:26:40 -0700 (PDT)
+DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
+        s=beta; d=xxxxx.com;
+        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type;
+        b=g8ZO5ttS6GPEMAz9WxrRk9+9IXBUfQIYsZLL6T88+ECbsXqGIgfGtzJJFn6o9CE3/HMrrIGkN5AisxVFTGXWxWci5YA/7PTVWwPOhJff5BRYQDVNgRKqMl/SMttNrrRElsGJjnD1UyQ/5kQmcBxq2PuZI5Zc47u6CILcuoBcM+A=
+Received: by 10.54.96.19 with SMTP id t19mr621017wrb;
+        Tue, 10 May 2005 10:26:39 -0700 (PDT)
+Received: by 10.54.110.5 with HTTP; Tue, 10 May 2005 10:26:39 -0700 (PDT)
+Message-ID: <xxxx at xxxx.com>
+Date: Tue, 10 May 2005 11:26:39 -0600
+From: Test Tester <xxxx at xxxx.com>
+Reply-To: Test Tester <xxxx at xxxx.com>
+To: xxxx at xxxx.com, xxxx at xxxx.com
+Subject: Another PDF
+Mime-Version: 1.0
+Content-Type: multipart/mixed; 
+	boundary="----=_Part_2192_32400445.1115745999735"
+X-Virus-Scanned: amavisd-new at textdrive.com
+
+------=_Part_2192_32400445.1115745999735
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+Just attaching another PDF, here, to see what the message looks like,
+and to see if I can figure out what is going wrong here.
+
+------=_Part_2192_32400445.1115745999735
+Content-Type: application/pdf; name="broken.pdf"
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment; filename="broken.pdf"
+
+JVBERi0xLjQNCiXk9tzfDQoxIDAgb2JqDQo8PCAvTGVuZ3RoIDIgMCBSDQogICAvRmlsdGVyIC9G
+bGF0ZURlY29kZQ0KPj4NCnN0cmVhbQ0KeJy9Wt2KJbkNvm/od6jrhZxYln9hWEh2p+8HBvICySaE
+ycLuTV4/1ifJ9qnq09NpSBimu76yLUuy/qzqcPz7+em3Ixx/CDc6CsXxs3b5+fvfjr/8cPz6/BRu
+rbfAx/n3739/fuJylJ5u5fjX81OuDr4deK4Bz3z/aDP+8fz0yw8g0Ofq7ktr1Mn+u28rvhy/jVeD
+QSa+9YNKHP/pxjvDNfVAx/m3MFz54FhvTbaseaxiDoN2LeMVMw+yA7RbHSCDzxZuaYB2E1Yay7QU
+x89vz0+tyFDKMlAHK5yqLmnjF+c4RjEiQIUeKwblXMe+AsZjN1J5yGQL5DHpDHksurM81rF6PKab
+gK6zAarIDzIiUY23rJsN9iorAE816aIu6lsgAdQFsuhhkHOUFgVjp2GjMqSewITXNQ27jrMeamkg
+1rPI3iLWG2CIaSBB+V1245YVRICGbbpYKHc2USFDl6M09acQVQYhlwIrkBNLISvXhGlF1wi5FHCw
+wxZkoGNJlVeJCEsqKA+3YAV5AMb6KkeaqEJQmFKKQU8T1pRi2ihE1Y4CDrqoYFFXYjJJOatsyzuI
+8SIlykuxKTMibWK8H1PgEvqYgs4GmQSrEjJAalgGirIhik+p4ZQN9E3ETFPAHE1b8pp1l/0Rc1gl
+fQs0ABWvyoZZzU8VnPXwVVcO9BEsyjEJaO6eBoZRyKGlrKoYoOygA8BGIzgwN3RQ15ouigG5idZQ
+fx2U4Db2CqiLO0WHAZoylGiCAqhniNQjFjQPSkmjwfNTgQ6M1Ih+eWo36wFmjIxDJZiGUBiWsAyR
+xX3EekGOizkGI96Ol9zVZTAivikURhRsHh2E3JhWMpSTZCnnonrLhMCodgrNcgo4uyJUJc6qnVss
+nrGd1Ptr0YwisCOYyIbUwVjV4xBUNLbguSO2YHujonAMJkMdSI7bIw91Akq2AUlMUWGFTMAOamjU
+OvZQCxIkY2pCpMFo/IwLdVLHs6nddwTRrgoVbvLU9eB0G4EMndV0TNoxHbt3JBWwK6hhv3iHfDtF
+yokB302IpEBTnWICde4uYc/1khDbSIkQopO6lcqamGBu1OSE3N5IPSsZX00CkSHRiiyx6HQIShsS
+HSVNswdVsaOUSAWq9aYhDtGDaoG5a3lBGkYt/lFlBFt1UqrYnzVtUpUQnLiZeouKgf1KhRBViRRk
+ExepJCzTwEmFDalIRbLEGtw0gfpESOpIAF/NnpPzcVCG86s0g2DuSyd41uhNGbEgaSrWEXORErbw
+------=_Part_2192_32400445.1115745999735--
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email4
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email4	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email4	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,59 @@
+Return-Path: <xxx at xxxx.xxx>
+Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id 6AAEE3B4D23 for <xxx at xxxx.xxx>; Sun, 8 May 2005 12:30:23 -0500
+Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id j48HUC213279 for <xxx at xxxx.xxx>; Sun, 8 May 2005 12:30:13 -0500
+Received: from conversion-xxx.xxxx.xxx.net by xxx.xxxx.xxx id <0IG600901LQ64I at xxx.xxxx.xxx> for <xxx at xxxx.xxx>; Sun, 8 May 2005 12:30:12 -0500
+Received: from agw1 by xxx.xxxx.xxx with ESMTP id <0IG600JFYLYCAxxx at xxxx.xxx> for <xxx at xxxx.xxx>; Sun, 8 May 2005 12:30:12 -0500
+Date: Sun, 8 May 2005 12:30:08 -0500
+From: xxx at xxxx.xxx
+To: xxx at xxxx.xxx
+Message-Id: <7864245.1115573412626.JavaMxxx at xxxx.xxx>
+Subject: Filth
+Mime-Version: 1.0
+Content-Type: multipart/mixed; boundary=mimepart_427e4cb4ca329_133ae40413c81ef
+X-Mms-Priority: 1
+X-Mms-Transaction-Id: 3198421808-0
+X-Mms-Message-Type: 0
+X-Mms-Sender-Visibility: 1
+X-Mms-Read-Reply: 1
+X-Original-To: xxx at xxxx.xxx
+X-Mms-Message-Class: 0
+X-Mms-Delivery-Report: 0
+X-Mms-Mms-Version: 16
+Delivered-To: xxx at xxxx.xxx
+X-Nokia-Ag-Version: 2.0
+
+This is a multi-part message in MIME format.
+
+--mimepart_427e4cb4ca329_133ae40413c81ef
+Content-Type: multipart/mixed; boundary=mimepart_427e4cb4cbd97_133ae40413c8217
+
+
+
+--mimepart_427e4cb4cbd97_133ae40413c8217
+Content-Type: text/plain; charset=utf-8
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+Content-Location: text.txt
+
+Some text
+
+--mimepart_427e4cb4cbd97_133ae40413c8217--
+
+--mimepart_427e4cb4ca329_133ae40413c81ef
+Content-Type: text/plain; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+
+
+--
+This Orange Multi Media Message was sent wirefree from an Orange
+MMS phone. If you would like to reply, please text or phone the
+sender directly by using the phone number listed in the sender's
+address. To learn more about Orange's Multi Media Messaging
+Service, find us on the Web at xxx.xxxx.xxx.uk/mms
+
+
+--mimepart_427e4cb4ca329_133ae40413c81ef
+
+
+--mimepart_427e4cb4ca329_133ae40413c81ef-
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email5
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email5	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email5	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,19 @@
+Return-Path: <xxx at xxxx.xxx>
+Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
+Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
+Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
+Date: Tue, 10 May 2005 15:27:03 -0500
+From: xxx at xxxx.xxx
+Sender: xxx at xxxx.xxx
+To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Message-Id: <xxx at xxxx.xxx>
+X-Original-To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Delivered-To: xxx at xxxx.xxx
+Importance: normal
+
+Test test. Hi. Waving. m
+
+----------------------------------------------------------------
+Sent via Bell Mobility's Text Messaging service. 
+Envoyé par le service de messagerie texte de Bell Mobilité.
+----------------------------------------------------------------

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email6
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email6	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email6	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,20 @@
+Return-Path: <xxx at xxxx.xxx>
+Received: from xxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id C1B953B4CB6 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:05 -0500
+Received: from SMS-GTYxxx.xxxx.xxx by xxx.xxxx.xxx with ESMTP id ca for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:04 -0500
+Received: from xxx.xxxx.xxx by SMS-GTYxxx.xxxx.xxx with ESMTP id j4AKR3r23323 for <xxxxx at Exxx.xxxx.xxx>; Tue, 10 May 2005 15:27:03 -0500
+Date: Tue, 10 May 2005 15:27:03 -0500
+From: xxx at xxxx.xxx
+Sender: xxx at xxxx.xxx
+To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Message-Id: <xxx at xxxx.xxx>
+X-Original-To: xxxxxxxxxxx at xxxx.xxxx.xxx
+Delivered-To: xxx at xxxx.xxx
+Importance: normal
+Content-Type: text/plain; charset=us-ascii
+
+Test test. Hi. Waving. m
+
+----------------------------------------------------------------
+Sent via Bell Mobility's Text Messaging service. 
+Envoyé par le service de messagerie texte de Bell Mobilité.
+----------------------------------------------------------------

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email7
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email7	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email7	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,66 @@
+Mime-Version: 1.0 (Apple Message framework v730)
+Content-Type: multipart/mixed; boundary=Apple-Mail-13-196941151
+Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012 at example.com>
+From: foo at example.com
+Subject: testing
+Date: Mon, 6 Jun 2005 22:21:22 +0200
+To: blah at example.com
+
+
+--Apple-Mail-13-196941151
+Content-Type: multipart/mixed;
+	boundary=Apple-Mail-12-196940926
+
+
+--Apple-Mail-12-196940926
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain;
+	charset=ISO-8859-1;
+	delsp=yes;
+	format=flowed
+
+This is the first part.
+
+--Apple-Mail-12-196940926
+Content-Transfer-Encoding: 7bit
+Content-Type: text/x-ruby-script;
+	x-unix-mode=0666;
+	name="test.rb"
+Content-Disposition: attachment;
+	filename=test.rb
+
+puts "testing, testing"
+
+--Apple-Mail-12-196940926
+Content-Transfer-Encoding: base64
+Content-Type: application/pdf;
+	x-unix-mode=0666;
+	name="test.pdf"
+Content-Disposition: inline;
+	filename=test.pdf
+
+YmxhaCBibGFoIGJsYWg=
+
+--Apple-Mail-12-196940926
+Content-Transfer-Encoding: 7bit
+Content-Type: text/plain;
+	charset=US-ASCII;
+	format=flowed
+
+
+
+--Apple-Mail-12-196940926--
+
+--Apple-Mail-13-196941151
+Content-Transfer-Encoding: base64
+Content-Type: application/pkcs7-signature;
+	name=smime.p7s
+Content-Disposition: attachment;
+	filename=smime.p7s
+
+jamisSqGSIb3DQEHAqCAMIjamisxCzAJBgUrDgMCGgUAMIAGCSqGSjamisEHAQAAoIIFSjCCBUYw
+ggQujamisQICBD++ukQwDQYJKojamisNAQEFBQAwMTELMAkGA1UEBhMCRjamisAKBgNVBAoTA1RE
+QzEUMBIGjamisxMLVERDIE9DRVMgQ0jamisNMDQwMjI5MTE1OTAxWhcNMDYwMjamisIyOTAxWjCB
+gDELMAkGA1UEjamisEsxKTAnBgNVBAoTIEjamisuIG9yZ2FuaXNhdG9yaXNrIHRpbjamisRuaW5=
+
+--Apple-Mail-13-196941151--

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email8
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email8	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email8	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,47 @@
+From xxxxxxxxx.xxxxxxx at gmail.com Sun May  8 19:07:09 2005
+Return-Path: <xxxxxxxxx.xxxxxxx at gmail.com>
+Message-ID: <e85734b90505081209eaaa17b at mail.gmail.com>
+Date: Sun, 8 May 2005 14:09:11 -0500
+From: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx at gmail.com>
+Reply-To: xxxxxxxxx xxxxxxx <xxxxxxxxx.xxxxxxx at gmail.com>
+To: xxxxx xxxx <xxxxx at xxxxxxxxx.com>
+Subject: Fwd: Signed email causes file attachments
+In-Reply-To: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13 at mac.com>
+Mime-Version: 1.0
+Content-Type: multipart/mixed; 
+	boundary="----=_Part_5028_7368284.1115579351471"
+References: <F6E2D0B4-CC35-4A91-BA4C-C7C712B10C13 at mac.com>
+
+------=_Part_5028_7368284.1115579351471
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: quoted-printable
+Content-Disposition: inline
+
+We should not include these files or vcards as attachments.
+
+---------- Forwarded message ----------
+From: xxxxx xxxxxx <xxxxxxxx at xxx.com>
+Date: May 8, 2005 1:17 PM
+Subject: Signed email causes file attachments
+To: xxxxxxx at xxxxxxxxxx.com
+
+
+Hi,
+
+Test attachments oddly encoded with japanese charset.
+
+
+------=_Part_5028_7368284.1115579351471
+Content-Type: application/octet-stream; name*=iso-2022-jp'ja'01%20Quien%20Te%20Dij%8aat.%20Pitbull.mp3
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment
+
+MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGFDCCAs0w
+ggI2oAMCAQICAw5c+TANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
+d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
+YWlsIElzc3VpbmcgQ0EwHhcNMDUwMzI5MDkzOTEwWhcNMDYwMzI5MDkzOTEwWjBCMR8wHQYDVQQD
+ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMR8wHQYJKoZIhvcNAQkBFhBzbWhhdW5jaEBtYWMuY29t
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn90dPsYS3LjfMY211OSYrDQLzwNYPlAL
+7+/0XA+kdy8/rRnyEHFGwhNCDmg0B6pxC7z3xxJD/8GfCd+IYUUNUQV5m9MkxfP9pTVXZVIYLaBw
+------=_Part_5028_7368284.1115579351471--
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email9
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email9	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email9	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,28 @@
+Received: from xxx.xxx.xxx ([xxx.xxx.xxx.xxx] verified)
+  by xxx.com (CommuniGate Pro SMTP 4.2.8)
+  with SMTP id 2532598 for xxx at xxx.com; Wed, 23 Feb 2005 17:51:49 -0500
+Received-SPF: softfail
+ receiver=xxx.com; client-ip=xxx.xxx.xxx.xxx; envelope-from=xxx at xxx.xxx
+quite Delivered-To: xxx at xxx.xxx
+Received: by xxx.xxx.xxx (Wostfix, from userid xxx)
+	  id 0F87F333; Wed, 23 Feb 2005 16:16:17 -0600
+Date: Wed, 23 Feb 2005 18:20:17 -0400
+From: "xxx xxx" <xxx at xxx.xxx>
+Message-ID: <4D6AA7EB.6490534 at xxx.xxx>
+To: xxx at xxx.com
+Subject: Stop adware/spyware once and for all. 
+X-Scanned-By: MIMEDefang 2.11 (www dot roaringpenguin dot com slash mimedefang)
+
+You are infected with: 
+Ad Ware and Spy Ware
+
+Get your free scan and removal download now, 
+before it gets any worse. 
+
+http://xxx.xxx.info?aid=3D13&?stat=3D4327kdzt
+
+
+
+
+no more? (you will still be infected) 
+http://xxx.xxx.info/discon/[email protected]

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_quoted_with_0d0a
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_quoted_with_0d0a	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_quoted_with_0d0a	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,14 @@
+Mime-Version: 1.0 (Apple Message framework v730)
+Message-Id: <9169D984-4E0B-45EF-82D4-8F5E53AD7012 at example.com>
+From: foo at example.com
+Subject: testing
+Date: Mon, 6 Jun 2005 22:21:22 +0200
+To: blah at example.com
+Content-Transfer-Encoding: quoted-printable
+Content-Type: text/plain
+
+A fax has arrived from remote ID ''.=0D=0A-----------------------=
+-------------------------------------=0D=0ATime: 3/9/2006 3:50:52=
+ PM=0D=0AReceived from remote ID: =0D=0AInbound user ID XXXXXXXXXX, r=
+outing code XXXXXXXXX=0D=0AResult: (0/352;0/0) Successful Send=0D=0AP=
+age record: 1 - 1=0D=0AElapsed time: 00:58 on channel 11=0D=0A

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_invalid_characters_in_content_type
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_invalid_characters_in_content_type	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_invalid_characters_in_content_type	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,104 @@
+Return-Path: <mikel.other at baci>
+Received: from some.isp.com by baci with ESMTP id 632BD5758 for <mikel.lindsaar at baci>; Sun, 21 Oct 2007 19:38:21 +1000
+Date: Sun, 21 Oct 2007 19:38:13 +1000
+From: Mikel Lindsaar <mikel.other at baci>
+Reply-To: Mikel Lindsaar <mikel.other at baci>
+To: mikel.lindsaar at baci
+Message-Id: <009601c813c6$19df3510$0437d30a at mikel091a>
+Subject: Testing outlook
+Mime-Version: 1.0
+Content-Type: multipart/alternative; boundary=----=_NextPart_000_0093_01C81419.EB75E850
+Delivered-To: mikel.lindsaar at baci
+X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.3138
+X-Msmail-Priority: Normal
+
+This is a multi-part message in MIME format.
+
+
+------=_NextPart_000_0093_01C81419.EB75E850
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: Quoted-printable
+
+Hello
+This is an outlook test
+
+So there.
+
+Me.
+
+------=_NextPart_000_0093_01C81419.EB75E850
+Content-Type: text/html; charset=iso-8859-1
+Content-Transfer-Encoding: Quoted-printable
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD>
+<META http-equiv=3DContent-Type content=3D"text/html; =
+charset=3Diso-8859-1">
+<META content=3D"MSHTML 6.00.6000.16525" name=3DGENERATOR>
+<STYLE></STYLE>
+</HEAD>
+<BODY bgColor=3D#ffffff>
+<DIV><FONT face=3DArial size=3D2>Hello</FONT></DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG>This is an outlook=20
+test</STRONG></FONT></DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG>So there.</STRONG></FONT></DIV>
+<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
+<DIV><FONT face=3DArial size=3D2>Me.</FONT></DIV></BODY></HTML>
+
+
+------=_NextPart_000_0093_01C81419.EB75E850--
+
+
+Return-Path: <mikel.other at baci>
+Received: from some.isp.com by baci with ESMTP id 632BD5758 for <mikel.lindsaar at baci>; Sun, 21 Oct 2007 19:38:21 +1000
+Date: Sun, 21 Oct 2007 19:38:13 +1000
+From: Mikel Lindsaar <mikel.other at baci>
+Reply-To: Mikel Lindsaar <mikel.other at baci>
+To: mikel.lindsaar at baci
+Message-Id: <009601c813c6$19df3510$0437d30a at mikel091a>
+Subject: Testing outlook
+Mime-Version: 1.0
+Content-Type: multipart/alternative; boundary=----=_NextPart_000_0093_01C81419.EB75E850
+Delivered-To: mikel.lindsaar at baci
+X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.3138
+X-Msmail-Priority: Normal
+
+This is a multi-part message in MIME format.
+
+
+------=_NextPart_000_0093_01C81419.EB75E850
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: Quoted-printable
+
+Hello
+This is an outlook test
+
+So there.
+
+Me.
+
+------=_NextPart_000_0093_01C81419.EB75E850
+Content-Type: text/html; charset=iso-8859-1
+Content-Transfer-Encoding: Quoted-printable
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<HTML><HEAD>
+<META http-equiv=3DContent-Type content=3D"text/html; =
+charset=3Diso-8859-1">
+<META content=3D"MSHTML 6.00.6000.16525" name=3DGENERATOR>
+<STYLE></STYLE>
+</HEAD>
+<BODY bgColor=3D#ffffff>
+<DIV><FONT face=3DArial size=3D2>Hello</FONT></DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG>This is an outlook=20
+test</STRONG></FONT></DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG></STRONG></FONT>&nbsp;</DIV>
+<DIV><FONT face=3DArial size=3D2><STRONG>So there.</STRONG></FONT></DIV>
+<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
+<DIV><FONT face=3DArial size=3D2>Me.</FONT></DIV></BODY></HTML>
+
+
+------=_NextPart_000_0093_01C81419.EB75E850--
+
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_nested_attachment
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_nested_attachment	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_nested_attachment	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,100 @@
+From jamis at 37signals.com Thu Feb 22 11:20:31 2007
+Mime-Version: 1.0 (Apple Message framework v752.3)
+Message-Id: <2CCE0408-10C7-4045-9B16-A1C11C31469B at 37signals.com>
+Content-Type: multipart/signed;
+	micalg=sha1;
+	boundary=Apple-Mail-42-587703407;
+	protocol="application/pkcs7-signature"
+To: Jamis Buck <jamis at jamisbuck.org>
+Subject: Testing attachments
+From: Jamis Buck <jamis at 37signals.com>
+Date: Thu, 22 Feb 2007 11:20:31 -0700
+
+
+--Apple-Mail-42-587703407
+Content-Type: multipart/mixed;
+	boundary=Apple-Mail-41-587703287
+
+
+--Apple-Mail-41-587703287
+Content-Transfer-Encoding: 7bit
+Content-Type: text/plain;
+	charset=US-ASCII;
+	format=flowed
+
+Here is a test of an attachment via email.
+
+- Jamis
+
+
+--Apple-Mail-41-587703287
+Content-Transfer-Encoding: base64
+Content-Type: image/png;
+	x-unix-mode=0644;
+	name=byo-ror-cover.png
+Content-Disposition: inline;
+	filename=truncated.png
+
+iVBORw0KGgoAAAANSUhEUgAAAKUAAADXCAYAAAB7wZEQAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz
+AAALEgAACxIB0t1+/AAAABd0RVh0Q3JlYXRpb24gVGltZQAxLzI1LzIwMDeD9CJVAAAAGHRFWHRT
+b2Z0d2FyZQBBZG9iZSBGaXJld29ya3NPsx9OAAAyBWlUWHRYTUw6Y29tLmFkb2JlLnhtcDw/eHBh
+Y2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1l
+dGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDQuMS1j
+MDIwIDEuMjU1NzE2LCBUdWUgT2N0IDEwIDIwMDYgMjM6MTY6MzQiPgogICA8cmRmOlJERiB4bWxu
+czpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAg
+ICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp4YXA9Imh0
+dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iPgogICAgICAgICA8eGFwOkNyZWF0b3JUb29sPkFk
+b2JlIEZpcmV3b3JrcyBDUzM8L3hhcDpDcmVhdG9yVG9vbD4KICAgICAgICAgPHhhcDpDcmVhdGVE
+YXRlPjIwMDctMDEtMjVUMDU6Mjg6MjFaPC94YXA6Q3JlYXRlRGF0ZT4KICAgICAgICAgPHhhcDpN
+b2RpZnlEYXRlPjIwMDctMDEtMjVUMDU6Mjg6MjFaPC94YXA6TW9kaWZ5RGF0ZT4KICAgICAgPC9y
+ZGY6RGVzY3JpcHRpb24+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAg
+ICAgICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+CiAgICAg
+ICAgIDxkYzpmb3JtYXQ+aW1hZ2UvcG5nPC9kYzpmb3JtYXQ+CiAgICAgIDwvcmRmOkRlc2NyaXB0
+hhojpmnJMfaYFmSkXWg5PGCmHXVj/c9At0hSK2xGdd8F3muk0VFjb4f5Ue0ksQ8qAcq0delaXhdb
+DjKNnF+3B3t9kObZYmk7AZgWYqO9anpR3wpM9sQ5XslB9a+kWyTtNb0fOmudzGHfPFBQDKesyycm
+DBL7Cw5bXjIEuci+SSOm/LYnXDZu6iuPEj8lYBb+OU8xx1f9m+e5rhJiYKqjo5vHfiZp+VUkW9xc
+Ufd6JHNWc47PkQqb9ie3SLEZB/ZqyAssiqURY+G35iOMZUrHbasHnb80QAPv9FHtAbJIyro7bi5b
+ai2TEAKen5+LJNWrglZjm3UbZvt7KryA2J5b5J1jZF8kL6GzvG1Zqx54Y1y7J7n20wMOt9frG2sW
+uwGP07kNz3732vf6bfvAvLldfS+9fts2euXY37D+R29FGZdlnhzV4TTFmPJduBP2RbNNua4rTqcT
+Qt7Xy1KUB0AHSdP5AZQYvHZg7WD1XvYeMO1A9HhZPqMX5KXbMBrn2efxns/ee21674efxz4Tp/fq
+2HZ648dgYaC1i3Vq1IbNPq3PvDTPezY9FaRISjvnzWqdgcWN8EJgjnNq+Z7ktOm9l2Nfth28EZi4
+bG/we5JwxM+Tql47/D/X6b38I8/RyxvxPJrX6zvQbo3h9jyJx+C0ALX327QETHl5eYlaYCT5rPTb
++5/rAq26t3lKIxV/p88hq6ptngdgCzoPjJqndiLfc/6y5A14WeDFGNPct4iUsJBV2bYzLEV7m83s
+6Rp63VPhHKC/g/LzaU9qexJRr56043JWinqAtfZqsSm1sjoznthl54dtCqv+uL4nIY+oYWuc3+nH
+kGfn8b0HQpvOYLQAZUDanbJs3jQhITZEgdarZK+cO6ySlL13rut5nFaN23s7u3Snz6eRPTkCoc2/
+Vp1zHfZVFpZ87FiMVLV1iqyK5rlzfji2GzjfDsodlD+Weo5UD4h6PwKqzQMqID0tq2VjjFVSMpis
+ZLRAs7sePZBZAHI+gIanB8I7MD+femAceeUe2Kxa5jS950kZ1p5eNEdeX1+jFmSpZ+1EdWCsDcne
+NPNgUHNw3aYpnzv9PGTX0uo94EtN9qq1rOdxe3kc79T8ukeHJJ8Fnxej6qlylbLLsjQLOy6Xy2a1
+kefs/N+nM7+S7IG5/E5Yc7F003pWErLjbH0O5cGadiMptSB/DZ5U5DI9yeg5MFYyMj8lC/Y7/Xjq
+OZlWcnpg9aQfXz2HRq+Wn5xOp6gN8tWq8R44e2pfyzLYemEgprst+XXk2Zj2nXlbsG05BprndTMv
+C3QRaXczshhVsHnMgfYn80Y2g5JureA6wBasPeP7LkE/jvZMJAaf/g/U2RelHsisvan5FqweIAHg
+Pwc7L68GxvVDAAAAAElFTkSuQmCC
+
+--Apple-Mail-41-587703287--
+
+--Apple-Mail-42-587703407
+Content-Transfer-Encoding: base64
+Content-Type: application/pkcs7-signature;
+	name=smime.p7s
+Content-Disposition: attachment;
+	filename=smime.p7s
+
+MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGJzCCAuAw
+ggJJoAMCAQICEFjnFNYXwDEZRWY5EkfzopUwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UEBhMCWkEx
+JTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMTI1RoYXd0ZSBQ
+ZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA2MDkxMjE3MDExMloXDTA3MDkxMjE3MDEx
+MlowRTEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEiMCAGCSqGSIb3DQEJARYTamFt
+aXNAMzdzaWduYWxzLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAO2A9JeOFIFJ
+G6z8pTcAldrZ2nMe+Xb1tNrbHgoVzN/QhHXM4qst2Ml93cmFLjMmwG7P9RJeU4oNx+jTqVoBB7NV
+Ne1/o56Do0KhfMZ9iUDQdPLbkZMq4EEpFMdm6PyM3muRKwPhj66iAWe/osCb8DowUK2f66vaRx0Z
+Y0MQHIIrXE02Ta4IfAhIfPqBLkZ4WgTYBHN9vMdYea1jF0GO4gqGk1wqwb3yxv2QMYMbwJ6SI+k/
+ZjkSR/OilTCBhwYLKoZIhvcNAQkQAgsxeKB2MGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3
+dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1h
+aWwgSXNzdWluZyBDQQIQWOcU1hfAMRlFZjkSR/OilTANBgkqhkiG9w0BAQEFAASCAQCfwQiC3v6/
+yleRDGv3bJ4nQYQ+c3mz3+mn3Xi6uU35n3piwxZZaWRdmLyiXPvU+QReHpSf3l2qsEZM3sdE0XF9
+eRul/+QTFJcDNXOEAxG1zC2Gpz+6c6RrX4Ou12Pwkp+pNrZWTSY/mZgdqcArupOBcZi7qBjoWcy5
+wb54dfvSSjrjmqLbkH/E8ww/6gGQuU/xXpAUZgUrTmQHrNKeIdSh5oDkOxFaFWvnmb8Z/2ixKqW/
+Ux6WqamyvBtTs/5YBEtnpZOk+uVoscYEUBhU+DVJ2OSvTdXSivMtBdXmGTsG22k+P1NGUHi/A7ev
+xPaO0uk4V8xyjNlN4HPuGpkrlXwPAAAAAAAA
+
+--Apple-Mail-42-587703407--

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_partially_quoted_subject
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_partially_quoted_subject	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/raw_email_with_partially_quoted_subject	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,14 @@
+From jamis at 37signals.com Mon May  2 16:07:05 2005
+Mime-Version: 1.0 (Apple Message framework v622)
+Content-Transfer-Encoding: base64
+Message-Id: <d3b8cf8e49f04480850c28713a1f473e at 37signals.com>
+Content-Type: text/plain;
+  charset=EUC-KR;
+  format=flowed
+To: jamis at 37signals.com
+From: Jamis Buck <jamis at 37signals.com>
+Subject: Re: Test: =?UTF-8?B?Iua8ouWtlyI=?= mid =?UTF-8?B?Iua8ouWtlyI=?= tail
+Date: Mon, 2 May 2005 16:07:05 -0600
+
+tOu6zrrQwMcguLbC+bChwfa3ziwgv+y4rrTCIMfPs6q01MC7ILnPvcC0z7TZLg0KDQrBpiDAzLin
+wLogSmFtaXPA1LTPtNku

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer/share.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer/share.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/second_mailer/share.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+second mail

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates/signed_up.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates/signed_up.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/templates/signed_up.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,3 @@
+Hello there, 
+
+Mr. <%= @recipient %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/_subtemplate.text.plain.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/_subtemplate.text.plain.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/_subtemplate.text.plain.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+let's go!
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/body_ivar.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/body_ivar.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/body_ivar.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+body: <%= @body %>
+bar: <%= @bar %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.html.haml
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.html.haml	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.html.haml	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,6 @@
+%p Hello there, 
+
+%p 
+  Mr.
+  = @recipient
+  from haml
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/custom_templating_extension.text.plain.haml	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,6 @@
+%p Hello there, 
+
+%p 
+  Mr.
+  = @recipient
+  from haml
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Ignored when searching for implicitly multipart parts.

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,10 @@
+<html>
+  <body>
+    HTML formatted message to <strong><%= @recipient %></strong>.
+  </body>
+</html>
+<html>
+  <body>
+    HTML formatted message to <strong><%= @recipient %></strong>.
+  </body>
+</html>

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+Plain text to <%= @recipient %>.
+Plain text to <%= @recipient %>.

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+yaml to: <%= @recipient %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/included_subtemplate.text.plain.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/included_subtemplate.text.plain.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/included_subtemplate.text.plain.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1 @@
+Hey Ho, <%= render :partial => "subtemplate" %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.builder
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.builder	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.builder	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+xml.instruct!
+xml.test
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.rxml
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.rxml	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/rxml_template.rxml	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,2 @@
+xml.instruct!
+xml.test
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up.html.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up.html.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up.html.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,3 @@
+Hello there, 
+
+Mr. <%= @recipient %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up_with_url.erb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up_with_url.erb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/fixtures/test_mailer/signed_up_with_url.erb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5 @@
+Hello there, 
+
+Mr. <%= @recipient %>. Please see our greeting at <%= @welcome_url %> <%= welcome_url %>
+
+<%= image_tag "somelogo.png" %>
\ No newline at end of file

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_helper_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_helper_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_helper_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,95 @@
+require 'abstract_unit'
+
+module MailerHelper
+  def person_name
+    "Mr. Joe Person"
+  end
+end
+
+class HelperMailer < ActionMailer::Base
+  helper MailerHelper
+  helper :example
+
+  def use_helper(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+  end
+
+  def use_example_helper(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+    self.body = { :text => "emphasize me!" }
+  end
+
+  def use_mail_helper(recipient)
+    recipients recipient
+    subject    "using mailing helpers"
+    from       "tester at example.com"
+    self.body = { :text => 
+      "But soft! What light through yonder window breaks? It is the east, " +
+      "and Juliet is the sun. Arise, fair sun, and kill the envious moon, " +
+      "which is sick and pale with grief that thou, her maid, art far more " +
+      "fair than she. Be not her maid, for she is envious! Her vestal " +
+      "livery is but sick and green, and none but fools do wear it. Cast " +
+      "it off!"
+    }
+  end
+
+  def use_helper_method(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+    self.body = { :text => "emphasize me!" }
+  end
+
+  private
+
+    def name_of_the_mailer_class
+      self.class.name
+    end
+    helper_method :name_of_the_mailer_class
+end
+
+class MailerHelperTest < Test::Unit::TestCase
+  def new_mail( charset="utf-8" )
+    mail = TMail::Mail.new
+    mail.set_content_type "text", "plain", { "charset" => charset } if charset
+    mail
+  end
+
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+
+    @recipient = 'test at localhost'
+  end
+  
+  def teardown
+    restore_delivery_method
+  end
+  
+  def test_use_helper
+    mail = HelperMailer.create_use_helper(@recipient)
+    assert_match %r{Mr. Joe Person}, mail.encoded
+  end
+
+  def test_use_example_helper
+    mail = HelperMailer.create_use_example_helper(@recipient)
+    assert_match %r{<em><strong><small>emphasize me!}, mail.encoded
+  end
+
+  def test_use_helper_method
+    mail = HelperMailer.create_use_helper_method(@recipient)
+    assert_match %r{HelperMailer}, mail.encoded
+  end
+
+  def test_use_mail_helper
+    mail = HelperMailer.create_use_mail_helper(@recipient)
+    assert_match %r{  But soft!}, mail.encoded
+    assert_match %r{east, and\n  Juliet}, mail.encoded
+  end
+end
+

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_layout_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_layout_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_layout_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,78 @@
+require 'abstract_unit'
+
+class AutoLayoutMailer < ActionMailer::Base
+  def hello(recipient)
+    recipients recipient
+    subject    "You have a mail"
+    from       "tester at example.com"
+  end
+
+  def spam(recipient)
+    recipients recipient
+    subject    "You have a mail"
+    from       "tester at example.com"
+    body       render(:inline => "Hello, <%= @world %>", :layout => 'spam', :body => { :world => "Earth" })
+  end
+
+  def nolayout(recipient)
+    recipients recipient
+    subject    "You have a mail"
+    from       "tester at example.com"
+    body       render(:inline => "Hello, <%= @world %>", :layout => false, :body => { :world => "Earth" })
+  end
+end
+
+class ExplicitLayoutMailer < ActionMailer::Base
+  layout 'spam', :except => [:logout]
+
+  def signup(recipient)
+    recipients recipient
+    subject    "You have a mail"
+    from       "tester at example.com"
+  end
+
+  def logout(recipient)
+    recipients recipient
+    subject    "You have a mail"
+    from       "tester at example.com"
+  end
+end
+
+class LayoutMailerTest < Test::Unit::TestCase
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+
+    @recipient = 'test at localhost'
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_should_pickup_default_layout
+    mail = AutoLayoutMailer.create_hello(@recipient)
+    assert_equal "Hello from layout Inside", mail.body.strip
+  end
+
+  def test_should_pickup_layout_given_to_render
+    mail = AutoLayoutMailer.create_spam(@recipient)
+    assert_equal "Spammer layout Hello, Earth", mail.body.strip
+  end
+
+  def test_should_respect_layout_false
+    mail = AutoLayoutMailer.create_nolayout(@recipient)
+    assert_equal "Hello, Earth", mail.body.strip
+  end
+
+  def test_explicit_class_layout
+    mail = ExplicitLayoutMailer.create_signup(@recipient)
+    assert_equal "Spammer layout We do not spam", mail.body.strip
+  end
+
+  def test_explicit_layout_exceptions
+    mail = ExplicitLayoutMailer.create_logout(@recipient)
+    assert_equal "You logged out", mail.body.strip
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_render_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_render_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_render_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,116 @@
+require 'abstract_unit'
+
+class RenderMailer < ActionMailer::Base
+  def inline_template(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+    body       render(:inline => "Hello, <%= @world %>", :body => { :world => "Earth" })
+  end
+
+  def file_template(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+    body       render(:file => "signed_up", :body => { :recipient => recipient })
+  end
+
+  def rxml_template(recipient)
+    recipients recipient
+    subject    "rendering rxml template"
+    from       "tester at example.com"
+  end
+
+  def included_subtemplate(recipient)
+    recipients recipient
+    subject    "Including another template in the one being rendered"
+    from       "tester at example.com"
+  end
+
+  def included_old_subtemplate(recipient)
+    recipients recipient
+    subject    "Including another template in the one being rendered"
+    from       "tester at example.com"
+    body       render(:inline => "Hello, <%= render \"subtemplate\" %>", :body => { :world => "Earth" })
+  end
+
+  def initialize_defaults(method_name)
+    super
+    mailer_name "test_mailer"
+  end
+end
+
+class FirstMailer < ActionMailer::Base
+  def share(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+  end
+end
+
+class SecondMailer < ActionMailer::Base
+  def share(recipient)
+    recipients recipient
+    subject    "using helpers"
+    from       "tester at example.com"
+  end
+end
+
+class RenderHelperTest < Test::Unit::TestCase
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+
+    @recipient = 'test at localhost'
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_inline_template
+    mail = RenderMailer.create_inline_template(@recipient)
+    assert_equal "Hello, Earth", mail.body.strip
+  end
+
+  def test_file_template
+    mail = RenderMailer.create_file_template(@recipient)
+    assert_equal "Hello there, \n\nMr. test at localhost", mail.body.strip
+  end
+
+  def test_rxml_template
+    mail = RenderMailer.deliver_rxml_template(@recipient)
+    assert_equal "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<test/>", mail.body.strip
+  end
+
+  def test_included_subtemplate
+    mail = RenderMailer.deliver_included_subtemplate(@recipient)
+    assert_equal "Hey Ho, let's go!", mail.body.strip
+  end
+end
+
+class FirstSecondHelperTest < Test::Unit::TestCase
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+
+    @recipient = 'test at localhost'
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_ordering
+    mail = FirstMailer.create_share(@recipient)
+    assert_equal "first mail", mail.body.strip
+    mail = SecondMailer.create_share(@recipient)
+    assert_equal "second mail", mail.body.strip
+    mail = FirstMailer.create_share(@recipient)
+    assert_equal "first mail", mail.body.strip
+    mail = SecondMailer.create_share(@recipient)
+    assert_equal "second mail", mail.body.strip
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_service_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_service_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/mail_service_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,1060 @@
+# encoding: utf-8
+require 'abstract_unit'
+
+class FunkyPathMailer < ActionMailer::Base
+  self.template_root = "#{File.dirname(__FILE__)}/fixtures/path.with.dots"
+
+  def multipart_with_template_path_with_dots(recipient)
+    recipients recipient
+    subject    "Have a lovely picture"
+    from       "Chad Fowler <chad at chadfowler.com>"
+    attachment :content_type => "image/jpeg",
+      :body => "not really a jpeg, we're only testing, after all"
+  end
+end
+
+class TestMailer < ActionMailer::Base
+  def signed_up(recipient)
+    @recipients   = recipient
+    @subject      = "[Signed up] Welcome #{recipient}"
+    @from         = "system at loudthinking.com"
+    @sent_on      = Time.local(2004, 12, 12)
+    @body["recipient"] = recipient
+  end
+
+  def cancelled_account(recipient)
+    self.recipients = recipient
+    self.subject    = "[Cancelled] Goodbye #{recipient}"
+    self.from       = "system at loudthinking.com"
+    self.sent_on    = Time.local(2004, 12, 12)
+    self.body       = "Goodbye, Mr. #{recipient}"
+  end
+
+  def cc_bcc(recipient)
+    recipients recipient
+    subject    "testing bcc/cc"
+    from       "system at loudthinking.com"
+    sent_on    Time.local(2004, 12, 12)
+    cc         "nobody at loudthinking.com"
+    bcc        "root at loudthinking.com"
+    body       "Nothing to see here."
+  end
+
+  def different_reply_to(recipient)
+    recipients recipient
+    subject    "testing reply_to"
+    from       "system at loudthinking.com"
+    sent_on    Time.local(2008, 5, 23)
+    reply_to   "atraver at gmail.com"
+    body       "Nothing to see here."
+  end
+
+  def iso_charset(recipient)
+    @recipients = recipient
+    @subject    = "testing isø charsets"
+    @from       = "system at loudthinking.com"
+    @sent_on    = Time.local 2004, 12, 12
+    @cc         = "nobody at loudthinking.com"
+    @bcc        = "root at loudthinking.com"
+    @body       = "Nothing to see here."
+    @charset    = "iso-8859-1"
+  end
+
+  def unencoded_subject(recipient)
+    @recipients = recipient
+    @subject    = "testing unencoded subject"
+    @from       = "system at loudthinking.com"
+    @sent_on    = Time.local 2004, 12, 12
+    @cc         = "nobody at loudthinking.com"
+    @bcc        = "root at loudthinking.com"
+    @body       = "Nothing to see here."
+  end
+
+  def extended_headers(recipient)
+    @recipients = recipient
+    @subject    = "testing extended headers"
+    @from       = "Grytøyr <stian1 at example.net>"
+    @sent_on    = Time.local 2004, 12, 12
+    @cc         = "Grytøyr <stian2 at example.net>"
+    @bcc        = "Grytøyr <stian3 at example.net>"
+    @body       = "Nothing to see here."
+    @charset    = "iso-8859-1"
+  end
+
+  def utf8_body(recipient)
+    @recipients = recipient
+    @subject    = "testing utf-8 body"
+    @from       = "Foo áëô îü <extended at example.net>"
+    @sent_on    = Time.local 2004, 12, 12
+    @cc         = "Foo áëô îü <extended at example.net>"
+    @bcc        = "Foo áëô îü <extended at example.net>"
+    @body       = "åœö blah"
+    @charset    = "utf-8"
+  end
+
+  def multipart_with_mime_version(recipient)
+    recipients   recipient
+    subject      "multipart with mime_version"
+    from         "test at example.com"
+    sent_on      Time.local(2004, 12, 12)
+    mime_version "1.1"
+    content_type "multipart/alternative"
+
+    part "text/plain" do |p|
+      p.body = "blah"
+    end
+
+    part "text/html" do |p|
+      p.body = "<b>blah</b>"
+    end
+  end
+
+  def multipart_with_utf8_subject(recipient)
+    recipients   recipient
+    subject      "Foo áëô îü"
+    from         "test at example.com"
+    charset      "utf-8"
+
+    part "text/plain" do |p|
+      p.body = "blah"
+    end
+
+    part "text/html" do |p|
+      p.body = "<b>blah</b>"
+    end
+  end
+
+  def explicitly_multipart_example(recipient, ct=nil)
+    recipients   recipient
+    subject      "multipart example"
+    from         "test at example.com"
+    sent_on      Time.local(2004, 12, 12)
+    body         "plain text default"
+    content_type ct if ct
+
+    part "text/html" do |p|
+      p.charset = "iso-8859-1"
+      p.body = "blah"
+    end
+
+    attachment :content_type => "image/jpeg", :filename => "foo.jpg",
+      :body => "123456789"
+  end
+
+  def implicitly_multipart_example(recipient, cs = nil, order = nil)
+    @recipients = recipient
+    @subject    = "multipart example"
+    @from       = "test at example.com"
+    @sent_on    = Time.local 2004, 12, 12
+    @body       = { "recipient" => recipient }
+    @charset    = cs if cs
+    @implicit_parts_order = order if order
+  end
+
+  def implicitly_multipart_with_utf8
+    recipients "no.one at nowhere.test"
+    subject    "Foo áëô îü"
+    from       "some.one at somewhere.test"
+    template   "implicitly_multipart_example"
+    body       ({ "recipient" => "no.one at nowhere.test" })
+  end
+
+  def html_mail(recipient)
+    recipients   recipient
+    subject      "html mail"
+    from         "test at example.com"
+    body         "<em>Emphasize</em> <strong>this</strong>"
+    content_type "text/html"
+  end
+
+  def html_mail_with_underscores(recipient)
+    subject      "html mail with underscores"
+    body         %{<a href="http://google.com" target="_blank">_Google</a>}
+  end
+
+  def custom_template(recipient)
+    recipients recipient
+    subject    "[Signed up] Welcome #{recipient}"
+    from       "system at loudthinking.com"
+    sent_on    Time.local(2004, 12, 12)
+    template   "signed_up"
+
+    body["recipient"] = recipient
+  end
+
+  def custom_templating_extension(recipient)
+    recipients recipient
+    subject    "[Signed up] Welcome #{recipient}"
+    from       "system at loudthinking.com"
+    sent_on    Time.local(2004, 12, 12)
+
+    body["recipient"] = recipient
+  end
+
+  def various_newlines(recipient)
+    recipients   recipient
+    subject      "various newlines"
+    from         "test at example.com"
+    body         "line #1\nline #2\rline #3\r\nline #4\r\r" +
+                 "line #5\n\nline#6\r\n\r\nline #7"
+  end
+
+  def various_newlines_multipart(recipient)
+    recipients   recipient
+    subject      "various newlines multipart"
+    from         "test at example.com"
+    content_type "multipart/alternative"
+    part :content_type => "text/plain", :body => "line #1\nline #2\rline #3\r\nline #4\r\r"
+    part :content_type => "text/html", :body => "<p>line #1</p>\n<p>line #2</p>\r<p>line #3</p>\r\n<p>line #4</p>\r\r"
+  end
+
+  def nested_multipart(recipient)
+    recipients   recipient
+    subject      "nested multipart"
+    from         "test at example.com"
+    content_type "multipart/mixed"
+    part :content_type => "multipart/alternative", :content_disposition => "inline", :headers => { "foo" => "bar" } do |p|
+      p.part :content_type => "text/plain", :body => "test text\nline #2"
+      p.part :content_type => "text/html", :body => "<b>test</b> HTML<br/>\nline #2"
+    end
+    attachment :content_type => "application/octet-stream",:filename => "test.txt", :body => "test abcdefghijklmnopqstuvwxyz"
+  end
+
+  def nested_multipart_with_body(recipient)
+    recipients   recipient
+    subject      "nested multipart with body"
+    from         "test at example.com"
+    content_type "multipart/mixed"
+    part :content_type => "multipart/alternative", :content_disposition => "inline", :body => "Nothing to see here." do |p|
+      p.part :content_type => "text/html", :body => "<b>test</b> HTML<br/>"
+    end
+  end
+
+  def attachment_with_custom_header(recipient)
+    recipients   recipient
+    subject      "custom header in attachment"
+    from         "test at example.com"
+    content_type "multipart/related"
+    part :content_type => "text/html", :body => 'yo'
+    attachment :content_type => "image/jpeg",:filename => "test.jpeg", :body => "i am not a real picture", :headers => { 'Content-ID' => '<test at test.com>' }
+  end
+
+  def unnamed_attachment(recipient)
+    recipients   recipient
+    subject      "nested multipart"
+    from         "test at example.com"
+    content_type "multipart/mixed"
+    part :content_type => "text/plain", :body => "hullo"
+    attachment :content_type => "application/octet-stream", :body => "test abcdefghijklmnopqstuvwxyz"
+  end
+
+  def headers_with_nonalpha_chars(recipient)
+    recipients   recipient
+    subject      "nonalpha chars"
+    from         "One: Two <test at example.com>"
+    cc           "Three: Four <test at example.com>"
+    bcc          "Five: Six <test at example.com>"
+    body         "testing"
+  end
+
+  def custom_content_type_attributes
+    recipients   "no.one at nowhere.test"
+    subject      "custom content types"
+    from         "some.one at somewhere.test"
+    content_type "text/plain; format=flowed"
+    body         "testing"
+  end
+
+  def return_path
+    recipients   "no.one at nowhere.test"
+    subject      "return path test"
+    from         "some.one at somewhere.test"
+    body         "testing"
+    headers      "return-path" => "another at somewhere.test"
+  end
+
+  def body_ivar(recipient)
+    recipients   recipient
+    subject      "Body as a local variable"
+    from         "test at example.com"
+    body         :body => "foo", :bar => "baz"
+  end
+
+  class <<self
+    attr_accessor :received_body
+  end
+
+  def receive(mail)
+    self.class.received_body = mail.body
+  end
+end
+
+uses_mocha 'ActionMailerTest' do
+
+class ActionMailerTest < Test::Unit::TestCase
+  include ActionMailer::Quoting
+
+  def encode( text, charset="utf-8" )
+    quoted_printable( text, charset )
+  end
+
+  def new_mail( charset="utf-8" )
+    mail = TMail::Mail.new
+    mail.mime_version = "1.0"
+    if charset
+      mail.set_content_type "text", "plain", { "charset" => charset }
+    end
+    mail
+  end
+
+  # Replacing logger work around for mocha bug. Should be fixed in mocha 0.3.3
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.raise_delivery_errors = true
+    ActionMailer::Base.deliveries = []
+
+    @original_logger = TestMailer.logger
+    @recipient = 'test at localhost'
+  end
+
+  def teardown
+    TestMailer.logger = @original_logger
+    restore_delivery_method
+  end
+
+  def test_nested_parts
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_nested_multipart(@recipient)}
+    assert_equal 2,created.parts.size
+    assert_equal 2,created.parts.first.parts.size
+
+    assert_equal "multipart/mixed", created.content_type
+    assert_equal "multipart/alternative", created.parts.first.content_type
+    assert_equal "bar", created.parts.first.header['foo'].to_s
+    assert_equal "text/plain", created.parts.first.parts.first.content_type
+    assert_equal "text/html", created.parts.first.parts[1].content_type
+    assert_equal "application/octet-stream", created.parts[1].content_type
+  end
+
+  def test_nested_parts_with_body
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_nested_multipart_with_body(@recipient)}
+    assert_equal 1,created.parts.size
+    assert_equal 2,created.parts.first.parts.size
+
+    assert_equal "multipart/mixed", created.content_type
+    assert_equal "multipart/alternative", created.parts.first.content_type
+    assert_equal "Nothing to see here.", created.parts.first.parts.first.body
+    assert_equal "text/plain", created.parts.first.parts.first.content_type
+    assert_equal "text/html", created.parts.first.parts[1].content_type
+  end
+
+  def test_attachment_with_custom_header
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_attachment_with_custom_header(@recipient)}
+    assert_equal "<test at test.com>", created.parts[1].header['content-id'].to_s
+  end
+
+  def test_signed_up
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "[Signed up] Welcome #{@recipient}"
+    expected.body    = "Hello there, \n\nMr. #{@recipient}"
+    expected.from    = "system at loudthinking.com"
+    expected.date    = Time.local(2004, 12, 12)
+
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_signed_up(@recipient) }
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised { TestMailer.deliver_signed_up(@recipient) }
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_custom_template
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "[Signed up] Welcome #{@recipient}"
+    expected.body    = "Hello there, \n\nMr. #{@recipient}"
+    expected.from    = "system at loudthinking.com"
+    expected.date    = Time.local(2004, 12, 12)
+
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_custom_template(@recipient) }
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+  end
+
+  def test_custom_templating_extension
+    # N.b., custom_templating_extension.text.plain.haml is expected to be in fixtures/test_mailer directory
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "[Signed up] Welcome #{@recipient}"
+    expected.body    = "Hello there, \n\nMr. #{@recipient}"
+    expected.from    = "system at loudthinking.com"
+    expected.date    = Time.local(2004, 12, 12)
+
+    # Stub the render method so no alternative renderers need be present.
+    ActionView::Base.any_instance.stubs(:render).returns("Hello there, \n\nMr. #{@recipient}")
+
+    # Now that the template is registered, there should be one part. The text/plain part.
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_custom_templating_extension(@recipient) }
+    assert_not_nil created
+    assert_equal 2, created.parts.length
+    assert_equal 'text/plain', created.parts[0].content_type
+    assert_equal 'text/html', created.parts[1].content_type
+  end
+
+  def test_cancelled_account
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "[Cancelled] Goodbye #{@recipient}"
+    expected.body    = "Goodbye, Mr. #{@recipient}"
+    expected.from    = "system at loudthinking.com"
+    expected.date    = Time.local(2004, 12, 12)
+
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_cancelled_account(@recipient) }
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised { TestMailer.deliver_cancelled_account(@recipient) }
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_cc_bcc
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "testing bcc/cc"
+    expected.body    = "Nothing to see here."
+    expected.from    = "system at loudthinking.com"
+    expected.cc      = "nobody at loudthinking.com"
+    expected.bcc     = "root at loudthinking.com"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = nil
+    assert_nothing_raised do
+      created = TestMailer.create_cc_bcc @recipient
+    end
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised do
+      TestMailer.deliver_cc_bcc @recipient
+    end
+
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_reply_to
+    expected = new_mail
+
+    expected.to       = @recipient
+    expected.subject  = "testing reply_to"
+    expected.body     = "Nothing to see here."
+    expected.from     = "system at loudthinking.com"
+    expected.reply_to = "atraver at gmail.com"
+    expected.date     = Time.local 2008, 5, 23
+
+    created = nil
+    assert_nothing_raised do
+      created = TestMailer.create_different_reply_to @recipient
+    end
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised do
+      TestMailer.deliver_different_reply_to @recipient
+    end
+
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_iso_charset
+    expected = new_mail( "iso-8859-1" )
+    expected.to      = @recipient
+    expected.subject = encode "testing isø charsets", "iso-8859-1"
+    expected.body    = "Nothing to see here."
+    expected.from    = "system at loudthinking.com"
+    expected.cc      = "nobody at loudthinking.com"
+    expected.bcc     = "root at loudthinking.com"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = nil
+    assert_nothing_raised do
+      created = TestMailer.create_iso_charset @recipient
+    end
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised do
+      TestMailer.deliver_iso_charset @recipient
+    end
+
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_unencoded_subject
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "testing unencoded subject"
+    expected.body    = "Nothing to see here."
+    expected.from    = "system at loudthinking.com"
+    expected.cc      = "nobody at loudthinking.com"
+    expected.bcc     = "root at loudthinking.com"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = nil
+    assert_nothing_raised do
+      created = TestMailer.create_unencoded_subject @recipient
+    end
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised do
+      TestMailer.deliver_unencoded_subject @recipient
+    end
+
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_instances_are_nil
+    assert_nil ActionMailer::Base.new
+    assert_nil TestMailer.new
+  end
+
+  def test_deliveries_array
+    assert_not_nil ActionMailer::Base.deliveries
+    assert_equal 0, ActionMailer::Base.deliveries.size
+    TestMailer.deliver_signed_up(@recipient)
+    assert_equal 1, ActionMailer::Base.deliveries.size
+    assert_not_nil ActionMailer::Base.deliveries.first
+  end
+
+  def test_perform_deliveries_flag
+    ActionMailer::Base.perform_deliveries = false
+    TestMailer.deliver_signed_up(@recipient)
+    assert_equal 0, ActionMailer::Base.deliveries.size
+    ActionMailer::Base.perform_deliveries = true
+    TestMailer.deliver_signed_up(@recipient)
+    assert_equal 1, ActionMailer::Base.deliveries.size
+  end
+
+  def test_doesnt_raise_errors_when_raise_delivery_errors_is_false
+    ActionMailer::Base.raise_delivery_errors = false
+    TestMailer.any_instance.expects(:perform_delivery_test).raises(Exception)
+    assert_nothing_raised { TestMailer.deliver_signed_up(@recipient) }
+  end
+
+  def test_performs_delivery_via_sendmail
+    sm = mock()
+    sm.expects(:print).with(anything)
+    sm.expects(:flush)
+    IO.expects(:popen).once.with('/usr/sbin/sendmail -i -t', 'w+').yields(sm)
+    ActionMailer::Base.delivery_method = :sendmail
+    TestMailer.deliver_signed_up(@recipient)
+  end
+
+  def test_delivery_logs_sent_mail
+    mail = TestMailer.create_signed_up(@recipient)
+    logger = mock()
+    logger.expects(:info).with("Sent mail to #{@recipient}")
+    logger.expects(:debug).with("\n#{mail.encoded}")
+    TestMailer.logger = logger
+    TestMailer.deliver_signed_up(@recipient)
+  end
+
+  def test_unquote_quoted_printable_subject
+    msg = <<EOF
+From: me at example.com
+Subject: =?utf-8?Q?testing_testing_=D6=A4?=
+Content-Type: text/plain; charset=iso-8859-1
+
+The body
+EOF
+    mail = TMail::Mail.parse(msg)
+    assert_equal "testing testing \326\244", mail.subject
+    assert_equal "=?utf-8?Q?testing_testing_=D6=A4?=", mail.quoted_subject
+  end
+
+  def test_unquote_7bit_subject
+    msg = <<EOF
+From: me at example.com
+Subject: this == working?
+Content-Type: text/plain; charset=iso-8859-1
+
+The body
+EOF
+    mail = TMail::Mail.parse(msg)
+    assert_equal "this == working?", mail.subject
+    assert_equal "this == working?", mail.quoted_subject
+  end
+
+  def test_unquote_7bit_body
+    msg = <<EOF
+From: me at example.com
+Subject: subject
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: 7bit
+
+The=3Dbody
+EOF
+    mail = TMail::Mail.parse(msg)
+    assert_equal "The=3Dbody", mail.body.strip
+    assert_equal "The=3Dbody", mail.quoted_body.strip
+  end
+
+  def test_unquote_quoted_printable_body
+    msg = <<EOF
+From: me at example.com
+Subject: subject
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: quoted-printable
+
+The=3Dbody
+EOF
+    mail = TMail::Mail.parse(msg)
+    assert_equal "The=body", mail.body.strip
+    assert_equal "The=3Dbody", mail.quoted_body.strip
+  end
+
+  def test_unquote_base64_body
+    msg = <<EOF
+From: me at example.com
+Subject: subject
+Content-Type: text/plain; charset=iso-8859-1
+Content-Transfer-Encoding: base64
+
+VGhlIGJvZHk=
+EOF
+    mail = TMail::Mail.parse(msg)
+    assert_equal "The body", mail.body.strip
+    assert_equal "VGhlIGJvZHk=", mail.quoted_body.strip
+  end
+
+  def test_extended_headers
+    @recipient = "Grytøyr <test at localhost>"
+
+    expected = new_mail "iso-8859-1"
+    expected.to      = quote_address_if_necessary @recipient, "iso-8859-1"
+    expected.subject = "testing extended headers"
+    expected.body    = "Nothing to see here."
+    expected.from    = quote_address_if_necessary "Grytøyr <stian1 at example.net>", "iso-8859-1"
+    expected.cc      = quote_address_if_necessary "Grytøyr <stian2 at example.net>", "iso-8859-1"
+    expected.bcc     = quote_address_if_necessary "Grytøyr <stian3 at example.net>", "iso-8859-1"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = nil
+    assert_nothing_raised do
+      created = TestMailer.create_extended_headers @recipient
+    end
+
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised do
+      TestMailer.deliver_extended_headers @recipient
+    end
+
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+
+  def test_utf8_body_is_not_quoted
+    @recipient = "Foo áëô îü <extended at example.net>"
+    expected = new_mail "utf-8"
+    expected.to      = quote_address_if_necessary @recipient, "utf-8"
+    expected.subject = "testing utf-8 body"
+    expected.body    = "åœö blah"
+    expected.from    = quote_address_if_necessary @recipient, "utf-8"
+    expected.cc      = quote_address_if_necessary @recipient, "utf-8"
+    expected.bcc     = quote_address_if_necessary @recipient, "utf-8"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = TestMailer.create_utf8_body @recipient
+    assert_match(/åœö blah/, created.encoded)
+  end
+
+  def test_multiple_utf8_recipients
+    @recipient = ["\"Foo áëô îü\" <extended at example.net>", "\"Example Recipient\" <me at example.com>"]
+    expected = new_mail "utf-8"
+    expected.to      = quote_address_if_necessary @recipient, "utf-8"
+    expected.subject = "testing utf-8 body"
+    expected.body    = "åœö blah"
+    expected.from    = quote_address_if_necessary @recipient.first, "utf-8"
+    expected.cc      = quote_address_if_necessary @recipient, "utf-8"
+    expected.bcc     = quote_address_if_necessary @recipient, "utf-8"
+    expected.date    = Time.local 2004, 12, 12
+
+    created = TestMailer.create_utf8_body @recipient
+    assert_match(/\nFrom: =\?utf-8\?Q\?Foo_.*?\?= <extended at example.net>\r/, created.encoded)
+    assert_match(/\nTo: =\?utf-8\?Q\?Foo_.*?\?= <extended at example.net>, Example Recipient <me/, created.encoded)
+  end
+
+  def test_receive_decodes_base64_encoded_mail
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email")
+    TestMailer.receive(fixture)
+    assert_match(/Jamis/, TestMailer.received_body)
+  end
+
+  def test_receive_attachments
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email2")
+    mail = TMail::Mail.parse(fixture)
+    attachment = mail.attachments.last
+    assert_equal "smime.p7s", attachment.original_filename
+    assert_equal "application/pkcs7-signature", attachment.content_type
+  end
+
+  def test_decode_attachment_without_charset
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email3")
+    mail = TMail::Mail.parse(fixture)
+    attachment = mail.attachments.last
+    assert_equal 1026, attachment.read.length
+  end
+
+  def test_attachment_using_content_location
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email12")
+    mail = TMail::Mail.parse(fixture)
+    assert_equal 1, mail.attachments.length
+    assert_equal "Photo25.jpg", mail.attachments.first.original_filename
+  end
+
+  def test_attachment_with_text_type
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email13")
+    mail = TMail::Mail.parse(fixture)
+    assert mail.has_attachments?
+    assert_equal 1, mail.attachments.length
+    assert_equal "hello.rb", mail.attachments.first.original_filename
+  end
+
+  def test_decode_part_without_content_type
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email4")
+    mail = TMail::Mail.parse(fixture)
+    assert_nothing_raised { mail.body }
+  end
+
+  def test_decode_message_without_content_type
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email5")
+    mail = TMail::Mail.parse(fixture)
+    assert_nothing_raised { mail.body }
+  end
+
+  def test_decode_message_with_incorrect_charset
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email6")
+    mail = TMail::Mail.parse(fixture)
+    assert_nothing_raised { mail.body }
+  end
+
+  def test_multipart_with_mime_version
+    mail = TestMailer.create_multipart_with_mime_version(@recipient)
+    assert_equal "1.1", mail.mime_version
+  end
+
+  def test_multipart_with_utf8_subject
+    mail = TestMailer.create_multipart_with_utf8_subject(@recipient)
+    assert_match(/\nSubject: =\?utf-8\?Q\?Foo_.*?\?=/, mail.encoded)
+  end
+
+  def test_implicitly_multipart_with_utf8
+    mail = TestMailer.create_implicitly_multipart_with_utf8
+    assert_match(/\nSubject: =\?utf-8\?Q\?Foo_.*?\?=/, mail.encoded)
+  end
+
+  def test_explicitly_multipart_messages
+    mail = TestMailer.create_explicitly_multipart_example(@recipient)
+    assert_equal 3, mail.parts.length
+    assert_nil mail.content_type
+    assert_equal "text/plain", mail.parts[0].content_type
+
+    assert_equal "text/html", mail.parts[1].content_type
+    assert_equal "iso-8859-1", mail.parts[1].sub_header("content-type", "charset")
+    assert_equal "inline", mail.parts[1].content_disposition
+
+    assert_equal "image/jpeg", mail.parts[2].content_type
+    assert_equal "attachment", mail.parts[2].content_disposition
+    assert_equal "foo.jpg", mail.parts[2].sub_header("content-disposition", "filename")
+    assert_equal "foo.jpg", mail.parts[2].sub_header("content-type", "name")
+    assert_nil mail.parts[2].sub_header("content-type", "charset")
+  end
+
+  def test_explicitly_multipart_with_content_type
+    mail = TestMailer.create_explicitly_multipart_example(@recipient, "multipart/alternative")
+    assert_equal 3, mail.parts.length
+    assert_equal "multipart/alternative", mail.content_type
+  end
+
+  def test_explicitly_multipart_with_invalid_content_type
+    mail = TestMailer.create_explicitly_multipart_example(@recipient, "text/xml")
+    assert_equal 3, mail.parts.length
+    assert_nil mail.content_type
+  end
+
+  def test_implicitly_multipart_messages
+    mail = TestMailer.create_implicitly_multipart_example(@recipient)
+    assert_equal 3, mail.parts.length
+    assert_equal "1.0", mail.mime_version
+    assert_equal "multipart/alternative", mail.content_type
+    assert_equal "text/yaml", mail.parts[0].content_type
+    assert_equal "utf-8", mail.parts[0].sub_header("content-type", "charset")
+    assert_equal "text/plain", mail.parts[1].content_type
+    assert_equal "utf-8", mail.parts[1].sub_header("content-type", "charset")
+    assert_equal "text/html", mail.parts[2].content_type
+    assert_equal "utf-8", mail.parts[2].sub_header("content-type", "charset")
+  end
+
+  def test_implicitly_multipart_messages_with_custom_order
+    mail = TestMailer.create_implicitly_multipart_example(@recipient, nil, ["text/yaml", "text/plain"])
+    assert_equal 3, mail.parts.length
+    assert_equal "text/html", mail.parts[0].content_type
+    assert_equal "text/plain", mail.parts[1].content_type
+    assert_equal "text/yaml", mail.parts[2].content_type
+  end
+
+  def test_implicitly_multipart_messages_with_charset
+    mail = TestMailer.create_implicitly_multipart_example(@recipient, 'iso-8859-1')
+
+    assert_equal "multipart/alternative", mail.header['content-type'].body
+
+    assert_equal 'iso-8859-1', mail.parts[0].sub_header("content-type", "charset")
+    assert_equal 'iso-8859-1', mail.parts[1].sub_header("content-type", "charset")
+    assert_equal 'iso-8859-1', mail.parts[2].sub_header("content-type", "charset")
+  end
+
+  def test_html_mail
+    mail = TestMailer.create_html_mail(@recipient)
+    assert_equal "text/html", mail.content_type
+  end
+
+  def test_html_mail_with_underscores
+    mail = TestMailer.create_html_mail_with_underscores(@recipient)
+    assert_equal %{<a href="http://google.com" target="_blank">_Google</a>}, mail.body
+  end
+
+  def test_various_newlines
+    mail = TestMailer.create_various_newlines(@recipient)
+    assert_equal("line #1\nline #2\nline #3\nline #4\n\n" +
+                 "line #5\n\nline#6\n\nline #7", mail.body)
+  end
+
+  def test_various_newlines_multipart
+    mail = TestMailer.create_various_newlines_multipart(@recipient)
+    assert_equal "line #1\nline #2\nline #3\nline #4\n\n", mail.parts[0].body
+    assert_equal "<p>line #1</p>\n<p>line #2</p>\n<p>line #3</p>\n<p>line #4</p>\n\n", mail.parts[1].body
+  end
+
+  def test_headers_removed_on_smtp_delivery
+    ActionMailer::Base.delivery_method = :smtp
+    TestMailer.deliver_cc_bcc(@recipient)
+    assert MockSMTP.deliveries[0][2].include?("root at loudthinking.com")
+    assert MockSMTP.deliveries[0][2].include?("nobody at loudthinking.com")
+    assert MockSMTP.deliveries[0][2].include?(@recipient)
+    assert_match %r{^Cc: nobody at loudthinking.com}, MockSMTP.deliveries[0][0]
+    assert_match %r{^To: #{@recipient}}, MockSMTP.deliveries[0][0]
+    assert_no_match %r{^Bcc: root at loudthinking.com}, MockSMTP.deliveries[0][0]
+  end
+
+  def test_recursive_multipart_processing
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email7")
+    mail = TMail::Mail.parse(fixture)
+    assert_equal "This is the first part.\n\nAttachment: test.rb\nAttachment: test.pdf\n\n\nAttachment: smime.p7s\n", mail.body
+  end
+
+  def test_decode_encoded_attachment_filename
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email8")
+    mail = TMail::Mail.parse(fixture)
+    attachment = mail.attachments.last
+
+    expected = "01 Quien Te Dij\212at. Pitbull.mp3"
+    expected.force_encoding(Encoding::ASCII_8BIT) if expected.respond_to?(:force_encoding)
+
+    assert_equal expected, attachment.original_filename
+  end
+
+  def test_wrong_mail_header
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email9")
+    assert_raise(TMail::SyntaxError) { TMail::Mail.parse(fixture) }
+  end
+
+  def test_decode_message_with_unknown_charset
+    fixture = File.read(File.dirname(__FILE__) + "/fixtures/raw_email10")
+    mail = TMail::Mail.parse(fixture)
+    assert_nothing_raised { mail.body }
+  end
+
+  def test_empty_header_values_omitted
+    result = TestMailer.create_unnamed_attachment(@recipient).encoded
+    assert_match %r{Content-Type: application/octet-stream[^;]}, result
+    assert_match %r{Content-Disposition: attachment[^;]}, result
+  end
+
+  def test_headers_with_nonalpha_chars
+    mail = TestMailer.create_headers_with_nonalpha_chars(@recipient)
+    assert !mail.from_addrs.empty?
+    assert !mail.cc_addrs.empty?
+    assert !mail.bcc_addrs.empty?
+    assert_match(/:/, mail.from_addrs.to_s)
+    assert_match(/:/, mail.cc_addrs.to_s)
+    assert_match(/:/, mail.bcc_addrs.to_s)
+  end
+
+  def test_deliver_with_mail_object
+    mail = TestMailer.create_headers_with_nonalpha_chars(@recipient)
+    assert_nothing_raised { TestMailer.deliver(mail) }
+    assert_equal 1, TestMailer.deliveries.length
+  end
+
+  def test_multipart_with_template_path_with_dots
+    mail = FunkyPathMailer.create_multipart_with_template_path_with_dots(@recipient)
+    assert_equal 2, mail.parts.length
+  end
+
+  def test_custom_content_type_attributes
+    mail = TestMailer.create_custom_content_type_attributes
+    assert_match %r{format=flowed}, mail['content-type'].to_s
+    assert_match %r{charset=utf-8}, mail['content-type'].to_s
+  end
+
+  def test_return_path_with_create
+    mail = TestMailer.create_return_path
+    assert_equal "<another at somewhere.test>", mail['return-path'].to_s
+  end
+
+  def test_return_path_with_deliver
+    ActionMailer::Base.delivery_method = :smtp
+    TestMailer.deliver_return_path
+    assert_match %r{^Return-Path: <another at somewhere.test>}, MockSMTP.deliveries[0][0]
+  end
+
+  def test_body_is_stored_as_an_ivar
+    mail = TestMailer.create_body_ivar(@recipient)
+    assert_equal "body: foo\nbar: baz", mail.body
+  end
+
+  def test_starttls_is_enabled_if_supported
+    MockSMTP.any_instance.expects(:respond_to?).with(:enable_starttls_auto).returns(true)
+    MockSMTP.any_instance.expects(:enable_starttls_auto)
+    ActionMailer::Base.delivery_method = :smtp
+    TestMailer.deliver_signed_up(@recipient)
+  end
+
+  def test_starttls_is_disabled_if_not_supported
+    MockSMTP.any_instance.expects(:respond_to?).with(:enable_starttls_auto).returns(false)
+    MockSMTP.any_instance.expects(:enable_starttls_auto).never
+    ActionMailer::Base.delivery_method = :smtp
+    TestMailer.deliver_signed_up(@recipient)
+  end
+end
+
+end # uses_mocha
+
+class InheritableTemplateRootTest < Test::Unit::TestCase
+  def test_attr
+    expected = "#{File.dirname(__FILE__)}/fixtures/path.with.dots"
+    assert_equal expected, FunkyPathMailer.template_root
+
+    sub = Class.new(FunkyPathMailer)
+    sub.template_root = 'test/path'
+
+    assert_equal 'test/path', sub.template_root
+    assert_equal expected, FunkyPathMailer.template_root
+  end
+end
+
+class MethodNamingTest < Test::Unit::TestCase
+  class TestMailer < ActionMailer::Base
+    def send
+      body 'foo'
+    end
+  end
+
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_send_method
+    assert_nothing_raised do
+      assert_emails 1 do
+        TestMailer.deliver_send
+      end
+    end
+  end
+end
+
+class RespondToTest < Test::Unit::TestCase
+  class RespondToMailer < ActionMailer::Base; end
+
+  def setup
+    set_delivery_method :test
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_should_respond_to_new
+    assert RespondToMailer.respond_to?(:new)
+  end
+
+  def test_should_respond_to_create_with_template_suffix
+    assert RespondToMailer.respond_to?(:create_any_old_template)
+  end
+
+  def test_should_respond_to_deliver_with_template_suffix
+    assert RespondToMailer.respond_to?(:deliver_any_old_template)
+  end
+
+  def test_should_not_respond_to_new_with_template_suffix
+    assert !RespondToMailer.respond_to?(:new_any_old_template)
+  end
+
+  def test_should_not_respond_to_create_with_template_suffix_unless_it_is_separated_by_an_underscore
+    assert !RespondToMailer.respond_to?(:createany_old_template)
+  end
+
+  def test_should_not_respond_to_deliver_with_template_suffix_unless_it_is_separated_by_an_underscore
+    assert !RespondToMailer.respond_to?(:deliverany_old_template)
+  end
+
+  def test_should_not_respond_to_create_with_template_suffix_if_it_begins_with_a_uppercase_letter
+    assert !RespondToMailer.respond_to?(:create_Any_old_template)
+  end
+
+  def test_should_not_respond_to_deliver_with_template_suffix_if_it_begins_with_a_uppercase_letter
+    assert !RespondToMailer.respond_to?(:deliver_Any_old_template)
+  end
+
+  def test_should_not_respond_to_create_with_template_suffix_if_it_begins_with_a_digit
+    assert !RespondToMailer.respond_to?(:create_1_template)
+  end
+
+  def test_should_not_respond_to_deliver_with_template_suffix_if_it_begins_with_a_digit
+    assert !RespondToMailer.respond_to?(:deliver_1_template)
+  end
+
+  def test_should_not_respond_to_method_where_deliver_is_not_a_suffix
+    assert !RespondToMailer.respond_to?(:foo_deliver_template)
+  end
+
+  def test_should_still_raise_exception_with_expected_message_when_calling_an_undefined_method
+    error = assert_raises NoMethodError do
+      RespondToMailer.not_a_method
+    end
+
+    assert_match /undefined method.*not_a_method/, error.message
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/quoting_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/quoting_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/quoting_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,98 @@
+# encoding: utf-8
+require 'abstract_unit'
+require 'tmail'
+require 'tempfile'
+
+class QuotingTest < Test::Unit::TestCase
+  # Move some tests from TMAIL here
+  def test_unquote_quoted_printable
+    a ="=?ISO-8859-1?Q?[166417]_Bekr=E6ftelse_fra_Rejsefeber?="
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
+    assert_equal "[166417] Bekr\303\246ftelse fra Rejsefeber", b
+  end
+
+  def test_unquote_base64
+    a ="=?ISO-8859-1?B?WzE2NjQxN10gQmVrcuZmdGVsc2UgZnJhIFJlanNlZmViZXI=?="
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
+    assert_equal "[166417] Bekr\303\246ftelse fra Rejsefeber", b
+  end
+
+  def test_unquote_without_charset
+    a ="[166417]_Bekr=E6ftelse_fra_Rejsefeber"
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
+    assert_equal "[166417]_Bekr=E6ftelse_fra_Rejsefeber", b
+  end
+
+  def test_unqoute_multiple
+    a ="=?utf-8?q?Re=3A_=5B12=5D_=23137=3A_Inkonsistente_verwendung_von_=22Hin?==?utf-8?b?enVmw7xnZW4i?="
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
+    assert_equal "Re: [12] #137: Inkonsistente verwendung von \"Hinzuf\303\274gen\"", b
+  end
+
+  def test_unqoute_in_the_middle
+    a ="Re: Photos =?ISO-8859-1?Q?Brosch=FCre_Rand?="
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'utf-8')
+    assert_equal "Re: Photos Brosch\303\274re Rand", b
+  end
+
+  def test_unqoute_iso
+    a ="=?ISO-8859-1?Q?Brosch=FCre_Rand?="
+    b = TMail::Unquoter.unquote_and_convert_to(a, 'iso-8859-1')
+    expected = "Brosch\374re Rand"
+    expected.force_encoding 'iso-8859-1' if expected.respond_to?(:force_encoding)
+    assert_equal expected, b
+  end
+
+  def test_quote_multibyte_chars
+    original = "\303\246 \303\270 and \303\245"
+    original.force_encoding('ASCII-8BIT') if original.respond_to?(:force_encoding)
+
+    result = execute_in_sandbox(<<-CODE)
+      $:.unshift(File.dirname(__FILE__) + "/../lib/")
+      $KCODE = 'u'
+      require 'jcode'
+      require 'action_mailer/quoting'
+      include ActionMailer::Quoting
+      quoted_printable(#{original.inspect}, "UTF-8")
+    CODE
+
+    unquoted = TMail::Unquoter.unquote_and_convert_to(result, nil)
+    assert_equal unquoted, original
+  end
+
+
+  # test an email that has been created using \r\n newlines, instead of
+  # \n newlines.
+  def test_email_quoted_with_0d0a
+    mail = TMail::Mail.parse(IO.read("#{File.dirname(__FILE__)}/fixtures/raw_email_quoted_with_0d0a"))
+    assert_match %r{Elapsed time}, mail.body
+  end
+
+  def test_email_with_partially_quoted_subject
+    mail = TMail::Mail.parse(IO.read("#{File.dirname(__FILE__)}/fixtures/raw_email_with_partially_quoted_subject"))
+    assert_equal "Re: Test: \"\346\274\242\345\255\227\" mid \"\346\274\242\345\255\227\" tail", mail.subject
+  end
+
+  private
+    # This whole thing *could* be much simpler, but I don't think Tempfile,
+    # popen and others exist on all platforms (like Windows).
+    def execute_in_sandbox(code)
+      test_name = "#{File.dirname(__FILE__)}/am-quoting-test.#{$$}.rb"
+      res_name = "#{File.dirname(__FILE__)}/am-quoting-test.#{$$}.out"
+
+      File.open(test_name, "w+") do |file|
+        file.write(<<-CODE)
+          block = Proc.new do
+            #{code}
+          end
+          puts block.call
+        CODE
+      end
+
+      system("ruby #{test_name} > #{res_name}") or raise "could not run test in sandbox"
+      File.read(res_name).chomp
+    ensure
+      File.delete(test_name) rescue nil
+      File.delete(res_name) rescue nil
+    end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/test_helper_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/test_helper_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/test_helper_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,129 @@
+require 'abstract_unit'
+
+class TestHelperMailer < ActionMailer::Base
+  def test
+    recipients "test at example.com"
+    from       "tester at example.com"
+    body       render(:inline => "Hello, <%= @world %>", :body => { :world => "Earth" })
+  end
+end
+
+class TestHelperMailerTest < ActionMailer::TestCase
+  def test_setup_sets_right_action_mailer_options
+    assert_equal :test, ActionMailer::Base.delivery_method
+    assert ActionMailer::Base.perform_deliveries
+    assert_equal [], ActionMailer::Base.deliveries
+  end
+
+  def test_setup_creates_the_expected_mailer
+    assert @expected.is_a?(TMail::Mail)
+    assert_equal "1.0", @expected.mime_version
+    assert_equal "text/plain", @expected.content_type
+  end
+
+  def test_mailer_class_is_correctly_inferred
+    assert_equal TestHelperMailer, self.class.mailer_class
+  end
+
+  def test_determine_default_mailer_raises_correct_error
+    assert_raises(ActionMailer::NonInferrableMailerError) do
+      self.class.determine_default_mailer("NotAMailerTest")
+    end
+  end
+  
+  def test_charset_is_utf_8
+    assert_equal "utf-8", charset
+  end
+
+  def test_encode
+    assert_equal "=?utf-8?Q?=0aasdf=0a?=", encode("\nasdf\n")
+  end
+
+  def test_assert_emails
+    assert_nothing_raised do
+      assert_emails 1 do
+        TestHelperMailer.deliver_test
+      end
+    end
+  end
+  
+  def test_repeated_assert_emails_calls
+    assert_nothing_raised do
+      assert_emails 1 do
+        TestHelperMailer.deliver_test
+      end
+    end
+    
+    assert_nothing_raised do
+      assert_emails 2 do
+        TestHelperMailer.deliver_test
+        TestHelperMailer.deliver_test
+      end
+    end
+  end
+  
+  def test_assert_emails_with_no_block
+    assert_nothing_raised do
+      TestHelperMailer.deliver_test
+      assert_emails 1
+    end
+    
+    assert_nothing_raised do
+      TestHelperMailer.deliver_test
+      TestHelperMailer.deliver_test
+      assert_emails 3
+    end
+  end
+  
+  def test_assert_no_emails
+    assert_nothing_raised do
+      assert_no_emails do
+        TestHelperMailer.create_test
+      end
+    end
+  end
+  
+  def test_assert_emails_too_few_sent
+    error = assert_raises Test::Unit::AssertionFailedError do
+      assert_emails 2 do
+        TestHelperMailer.deliver_test
+      end
+    end
+    
+    assert_match /2 .* but 1/, error.message
+  end
+  
+  def test_assert_emails_too_many_sent
+    error = assert_raises Test::Unit::AssertionFailedError do
+      assert_emails 1 do
+        TestHelperMailer.deliver_test
+        TestHelperMailer.deliver_test
+      end
+    end
+    
+    assert_match /1 .* but 2/, error.message
+  end
+  
+  def test_assert_no_emails_failure
+    error = assert_raises Test::Unit::AssertionFailedError do
+      assert_no_emails do
+        TestHelperMailer.deliver_test
+      end
+    end
+    
+    assert_match /0 .* but 1/, error.message
+  end
+end
+
+class AnotherTestHelperMailerTest < ActionMailer::TestCase
+  tests TestHelperMailer
+
+  def setup
+    @test_var = "a value"
+  end
+
+  def test_setup_shouldnt_conflict_with_mailer_setup
+    assert @expected.is_a?(TMail::Mail)
+    assert_equal 'a value', @test_var
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/tmail_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/tmail_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/tmail_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,22 @@
+require 'abstract_unit'
+
+class TMailMailTest < Test::Unit::TestCase
+  def test_body
+    m = TMail::Mail.new
+    expected = 'something_with_underscores'
+    m.encoding = 'quoted-printable'
+    quoted_body = [expected].pack('*M')
+    m.body = quoted_body
+    assert_equal "something_with_underscores=\n", m.quoted_body
+    assert_equal expected, m.body
+  end
+
+  def test_nested_attachments_are_recognized_correctly
+    fixture = File.read("#{File.dirname(__FILE__)}/fixtures/raw_email_with_nested_attachment")
+    mail = TMail::Mail.parse(fixture)
+    assert_equal 2, mail.attachments.length
+    assert_equal "image/png", mail.attachments.first.content_type
+    assert_equal 1902, mail.attachments.first.length
+    assert_equal "application/pkcs7-signature", mail.attachments.last.content_type
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/url_test.rb
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/url_test.rb	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionmailer-2.2.2/test/url_test.rb	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,76 @@
+require 'abstract_unit'
+
+class TestMailer < ActionMailer::Base
+  
+  default_url_options[:host] = 'www.basecamphq.com'
+  
+  def signed_up_with_url(recipient)
+    @recipients   = recipient
+    @subject      = "[Signed up] Welcome #{recipient}"
+    @from         = "system at loudthinking.com"
+    @sent_on      = Time.local(2004, 12, 12)
+
+    @body["recipient"]   = recipient
+    @body["welcome_url"] = url_for :host => "example.com", :controller => "welcome", :action => "greeting"
+  end
+
+  class <<self
+    attr_accessor :received_body
+  end
+
+  def receive(mail)
+    self.class.received_body = mail.body
+  end
+end
+
+class ActionMailerUrlTest < Test::Unit::TestCase
+  include ActionMailer::Quoting
+
+  def encode( text, charset="utf-8" )
+    quoted_printable( text, charset )
+  end
+
+  def new_mail( charset="utf-8" )
+    mail = TMail::Mail.new
+    mail.mime_version = "1.0"
+    if charset
+      mail.set_content_type "text", "plain", { "charset" => charset }
+    end
+    mail
+  end
+
+  def setup
+    set_delivery_method :test
+    ActionMailer::Base.perform_deliveries = true
+    ActionMailer::Base.deliveries = []
+
+    @recipient = 'test at localhost'
+  end
+
+  def teardown
+    restore_delivery_method
+  end
+
+  def test_signed_up_with_url
+    ActionController::Routing::Routes.draw do |map| 
+      map.connect ':controller/:action/:id' 
+      map.welcome 'welcome', :controller=>"foo", :action=>"bar"
+    end
+
+    expected = new_mail
+    expected.to      = @recipient
+    expected.subject = "[Signed up] Welcome #{@recipient}"
+    expected.body    = "Hello there, \n\nMr. #{@recipient}. Please see our greeting at http://example.com/welcome/greeting http://www.basecamphq.com/welcome\n\n<img alt=\"Somelogo\" src=\"/images/somelogo.png\" />"
+    expected.from    = "system at loudthinking.com"
+    expected.date    = Time.local(2004, 12, 12)
+
+    created = nil
+    assert_nothing_raised { created = TestMailer.create_signed_up_with_url(@recipient) }
+    assert_not_nil created
+    assert_equal expected.encoded, created.encoded
+
+    assert_nothing_raised { TestMailer.deliver_signed_up_with_url(@recipient) }
+    assert_not_nil ActionMailer::Base.deliveries.first
+    assert_equal expected.encoded, ActionMailer::Base.deliveries.first.encoded
+  end
+end

Added: trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/CHANGELOG
===================================================================
--- trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/CHANGELOG	2008-12-20 20:26:23 UTC (rev 1003)
+++ trunk/src/main/webapp/WEB-INF/gems/gems/actionpack-2.2.2/CHANGELOG	2008-12-20 21:22:52 UTC (rev 1004)
@@ -0,0 +1,5038 @@
+*2.2.2 [2.2 Final]*
+
+* Deprecated the :file default for ActionView#render to prepare for 2.3's new :partial default [DHH]
+
+
+*2.2.1 [RC2] (November 14th, 2008)*
+
+* Restore backwards compatible functionality for setting relative_url_root.  Include deprecation
+
+* Switched the CSRF module to use the request content type to decide if the request is forgeable.  #1145 [Jeff Cohen]
+
+* Added :only and :except to map.resources to let people cut down on the number of redundant routes in an application. Typically only useful for huge routesets.  #1215 [Tom Stuart]
+
+   map.resources :products, :only => :show do |product|
+     product.resources :images, :except => :destroy
+   end
+
+* Added render :js for people who want to render inline JavaScript replies without using RJS [DHH]
+
+* Fixed that polymorphic_url should compact given array #1317 [hiroshi]
+
+* Fixed the sanitize helper to avoid double escaping already properly escaped entities #683 [antonmos/Ryan McGeary]
+
+* Fixed that FormTagHelper generated illegal html if name contained square brackets #1238 [Vladimir Dobriakov]
+
+* Fix regression bug that made date_select and datetime_select raise a Null Pointer Exception when a nil date/datetime was passed and only month and year were displayed #1289 [Bernardo Padua/Tor Erik]
+
+* Simplified the logging format for parameters (don't include controller, action, and format as duplicates) [DHH]
+
+* Remove the logging of the Session ID when the session store is CookieStore [DHH]
+
+* Fixed regex in redirect_to to fully support URI schemes #1247 [Seth Fitzsimmons]
+
+* Fixed bug with asset timestamping when using relative_url_root #1265 [Joe Goldwasser]
+
+
+*2.2.0 [RC1] (October 24th, 2008)*
+
+* Fix incorrect closing CDATA delimiter and that HTML::Node.parse would blow up on unclosed CDATA sections [packagethief]
+
+* Added stale? and fresh_when methods to provide a layer of abstraction above request.fresh? and friends [DHH]. Example:
+
+    class ArticlesController < ApplicationController
+      def show_with_respond_to_block
+        @article = Article.find(params[:id])
+
+
+        # If the request sends headers that differs from the options provided to stale?, then
+        # the request is indeed stale and the respond_to block is triggered (and the options
+        # to the stale? call is set on the response).
+        #
+        # If the request headers match, then the request is fresh and the respond_to block is
+        # not triggered. Instead the default render will occur, which will check the last-modified
+        # and etag headers and conclude that it only needs to send a "304 Not Modified" instead
+        # of rendering the template.
+        if stale?(:last_modified => @article.published_at.utc, :etag => @article)
+          respond_to do |wants|
+            # normal response processing
+          end
+        end
+      end
+
+      def show_with_implied_render
+        @article = Article.find(params[:id])
+
+        # Sets the response headers and checks them against the request, if the request is stale
+        # (i.e. no match of either etag or last-modified), then the default render of the template happens.
+        # If the request is fresh, then the default render will return a "304 Not Modified"
+        # instead of rendering the template.
+        fresh_when(:last_modified => @article.published_at.utc, :etag => @article)
+      end
+    end
+
+
+* Added inline builder yield to atom_feed_helper tags where appropriate [Sam Ruby]. Example:
+
+    entry.summary :type => 'xhtml' do |xhtml|
+      xhtml.p pluralize(order.line_items.count, "line item")
+      xhtml.p "Shipped to #{order.address}"
+      xhtml.p "Paid by #{order.pay_type}"
+    end
+
+* Make PrototypeHelper#submit_to_remote a wrapper around PrototypeHelper#button_to_remote. [Tarmo Tänav]
+
+* Set HttpOnly for the cookie session store's cookie.  #1046 
+
+* Added FormTagHelper#image_submit_tag confirm option #784 [Alastair Brunton]
+
+* Fixed FormTagHelper#submit_tag with :disable_with option wouldn't submit the button's value when was clicked #633 [Jose Fernandez]
+
+* Stopped logging template compiles as it only clogs up the log [DHH]
+
+* Changed the X-Runtime header to report in milliseconds [DHH]
+
+* Changed BenchmarkHelper#benchmark to report in milliseconds [DHH]
+
+* Changed logging format to be millisecond based and skip misleading stats [DHH]. Went from:
+
+    Completed in 0.10000 (4 reqs/sec) | Rendering: 0.04000 (40%) | DB: 0.00400 (4%) | 200 OK [http://example.com]
+
+  ...to:
+  
+    Completed in 100ms (View: 40, DB: 4) | 200 OK [http://example.com]
+
+* Add support for shallow nesting of routes. #838 [S. Brent Faulkner]
+
+  Example :
+
+  map.resources :users, :shallow => true do |user|
+    user.resources :posts
+  end
+
+  - GET /users/1/posts (maps to PostsController#index action as usual)
+    named route "user_posts" is added as usual.
+
+  - GET /posts/2 (maps to PostsController#show action as if it were not nested)
+    Additionally, named route "post" is added too.
+
+* Added button_to_remote helper.  #3641 [Donald Piret, Tarmo Tänav]
+
+* Deprecate render_component. Please use render_component plugin from http://github.com/rails/render_component/tree/master [Pratik]
+
+* Routes may be restricted to lists of HTTP methods instead of a single method or :any.  #407 [Brennan Dunn, Gaius Centus Novus]
+    map.resource :posts, :collection => { :search => [:get, :post] }
+    map.session 'session', :requirements => { :method => [:get, :post, :delete] }
+
+* Deprecated implicit local assignments when rendering partials [Josh Peek]
+
+* Introduce current_cycle helper method to return the current value without bumping the cycle.  #417 [Ken Collins]
+
+* Allow polymorphic_url helper to take url options. #880 [Tarmo Tänav]
+
+* Switched integration test runner to use Rack processor instead of CGI [Josh Peek]
+
+* Made AbstractRequest.if_modified_sense return nil if the header could not be parsed [Jamis Buck]
+
+* Added back ActionController::Base.allow_concurrency flag [Josh Peek]
+
+* AbstractRequest.relative_url_root is no longer automatically configured by a HTTP header. It can now be set in your configuration environment with config.action_controller.relative_url_root [Josh Peek]
+
+* Update Prototype to 1.6.0.2 #599 [Patrick Joyce]
+
+* Conditional GET utility methods.  [Jeremy Kemper]
+    response.last_modified = @post.updated_at
+    response.etag = [:admin, @post, current_user]
+
+    if request.fresh?(response)
+      head :not_modified
+    else
+      # render ...
+    end
+
+* All 2xx requests are considered successful [Josh Peek]
+
+* Fixed that AssetTagHelper#compute_public_path shouldn't cache the asset_host along with the source or per-request proc's won't run [DHH]
+
+* Removed config.action_view.cache_template_loading, use config.cache_classes instead [Josh Peek]
+
+* Get buffer for fragment cache from template's @output_buffer [Josh Peek]
+
+* Set config.action_view.warn_cache_misses = true to receive a warning if you perform an action that results in an expensive disk operation that could be cached [Josh Peek]
+
+* Refactor template preloading. New abstractions include Renderable mixins and a refactored Template class [Josh Peek]
+
+* Changed ActionView::TemplateHandler#render API method signature to render(template, local_assigns = {}) [Josh Peek]
+
+* Changed PrototypeHelper#submit_to_remote to PrototypeHelper#button_to_remote to stay consistent with link_to_remote (submit_to_remote still works as an alias) #8994 [clemens]
+
+* Add :recursive option to javascript_include_tag and stylesheet_link_tag to be used along with :all. #480 [Damian Janowski]
+
+* Allow users to disable the use of the Accept header [Michael Koziarski]
+
+    The accept header is poorly implemented by browsers and causes strange
+	errors when used on public sites where crawlers make requests too.  You
+	can use formatted urls (e.g. /people/1.xml) to support API clients in a
+	much simpler way.
+
+	To disable the header you need to set:
+
+	config.action_controller.use_accept_header = false
+
+* Do not stat template files in production mode before rendering. You will no longer be able to modify templates in production mode without restarting the server [Josh Peek]
+
+* Deprecated TemplateHandler line offset [Josh Peek]
+
+* Allow caches_action to accept cache store options. #416. [José Valim]. Example:
+  
+  caches_action :index, :redirected, :if => Proc.new { |c| !c.request.format.json? }, :expires_in => 1.hour
+
+* Remove define_javascript_functions, javascript_include_tag and friends are far superior. [Michael Koziarski]
+
+* Deprecate :use_full_path render option. The supplying the option no longer has an effect [Josh Peek]
+
+* Add :as option to render a collection of partials with a custom local variable name. #509 [Simon Jefford, Pratik Naik]
+
+  render :partial => 'other_people', :collection => @people, :as => :person
+  
+  This will let you access objects of @people as 'person' local variable inside 'other_people' partial template.
+
+* time_zone_select: support for regexp matching of priority zones. Resolves #195 [Ernie Miller]
+
+* Made ActionView::Base#render_file private [Josh Peek]
+
+* Refactor and simplify the implementation of assert_redirected_to.  Arguments are now normalised relative to the controller being tested,  not the root of the application.  [Michael Koziarski]
+
+  This could cause some erroneous test failures if you were redirecting between controllers
+  in different namespaces and wrote your assertions relative to the root of the application.
+
+* Remove follow_redirect from controller functional tests.
+
+	If you want to follow redirects you can use integration tests.  The functional test
+	version was only useful if you were using redirect_to :id=>...
+
+* Fix polymorphic_url with singleton resources.  #461 [Tammer Saleh]
+
+* Replaced TemplateFinder abstraction with ViewLoadPaths [Josh Peek]
+
+* Added block-call style to link_to [Sam Stephenson/DHH]. Example:
+
+    <% link_to(@profile) do %>
+      <strong><%= @profile.name %></strong> -- <span>Check it out!!</span>
+    <% end %>
+
+* Performance: integration test benchmarking and profiling.  [Jeremy Kemper]
+
+* Make caching more aware of mime types. Ensure request format is not considered while expiring cache.  [Jonathan del Strother]
+
+* Drop ActionController::Base.allow_concurrency flag [Josh Peek]
+
+* More efficient concat and capture helpers. Remove ActionView::Base.erb_variable.  [Jeremy Kemper]
+
+* Added page.reload functionality. Resolves #277. [Sean Huber]
+
+* Fixed Request#remote_ip to only raise hell if the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR doesn't match (not just if they're both present) [Mark Imbriaco, Bradford Folkens]
+
+* Allow caches_action to accept a layout option [José Valim]
+
+* Added Rack processor [Ezra Zygmuntowicz, Josh Peek]
+
+
+*2.1.0 (May 31st, 2008)*
+
+* InstanceTag#default_time_from_options overflows to DateTime [Geoff Buesing]
+
+* Fixed that forgery protection can be used without session tracking (Peter Jones) [#139]
+
+* Added session(:on) to turn session management back on in a controller subclass if the superclass turned it off (Peter Jones) [#136]
+
+* Change the request forgery protection to go by Content-Type instead of request.format so that you can't bypass it by POSTing to "#{request.uri}.xml" [rick]
+* InstanceTag#default_time_from_options with hash args uses Time.current as default; respects hash settings when time falls in system local spring DST gap [Geoff Buesing]
+
+* select_date defaults to Time.zone.today when config.time_zone is set [Geoff Buesing]
+
+* Fixed that TextHelper#text_field would corrypt when raw HTML was used as the value (mchenryc, Kevin Glowacz) [#80]
+
+* Added ActionController::TestCase#rescue_action_in_public! to control whether the action under test should use the regular rescue_action path instead of simply raising the exception inline (great for error testing) [DHH]
+
+* Reduce number of instance variables being copied from controller to view. [Pratik]
+
+* select_datetime and select_time default to Time.zone.now when config.time_zone is set [Geoff Buesing]
+
+* datetime_select defaults to Time.zone.now when config.time_zone is set [Geoff Buesing]
+
+* Remove ActionController::Base#view_controller_internals flag. [Pratik]
+
+* Add conditional options to caches_page method. [Paul Horsfall]
+
+* Move missing template logic to ActionView. [Pratik]
+
+* Introduce ActionView::InlineTemplate class. [Pratik]
+
+* Automatically parse posted JSON content for Mime::JSON requests.  [rick]
+
+  POST /posts
+  {"post": {"title": "Breaking News"}}
+
+  def create
+    @post = Post.create params[:post]
+    # ...
+  end
+
+* add json_escape ERB util to escape html entities in json strings that are output in HTML pages. [rick]
+
+* Provide a helper proxy to access helper methods from outside views. Closes #10839 [Josh Peek]
+  e.g. ApplicationController.helpers.simple_format(text)
+
+* Improve documentation. [Xavier Noria, leethal, jerome]
+
+* Ensure RJS redirect_to doesn't html-escapes string argument. Closes #8546 [josh, eventualbuddha, Pratik]
+
+* Support render :partial => collection of heterogeneous elements.  #11491 [Zach Dennis]
+
+* Avoid remote_ip spoofing.  [Brian Candler]
+
+* Added support for regexp flags like ignoring case in the :requirements part of routes declarations #11421 [NeilW]
+
+* Fixed that ActionController::Base#read_multipart would fail if boundary was exactly 10240 bytes #10886 [ariejan]
+
+* Fixed HTML::Tokenizer (used in sanitize helper) didn't handle unclosed CDATA tags #10071 [esad, packagethief]
+
+* Improve documentation. [Radar, Jan De Poorter, chuyeow, xaviershay, danger, miloops, Xavier Noria,  Sunny Ripert]
+
+* Fixed that FormHelper#radio_button would produce invalid ids #11298 [harlancrystal]
+
+* Added :confirm option to submit_tag #11415 [miloops]
+
+* Fixed NumberHelper#number_with_precision to properly round in a way that works equally on Mac, Windows, Linux (closes #11409, #8275, #10090, #8027) [zhangyuanyi]
+
+* Allow the #simple_format text_helper to take an html_options hash for each paragraph.  #2448 [Francois Beausoleil, thechrisoshow]
+
+* Fix regression from filter refactoring where re-adding a skipped filter resulted in it being called twice.  [rick]
+
+* Refactor filters to use Active Support callbacks.  #11235 [Josh Peek]
+
+* Fixed that polymorphic routes would modify the input array #11363 [thomas.lee]
+
+* Added :format option to NumberHelper#number_to_currency to enable better localization support #11149 [lylo]
+
+* Fixed that TextHelper#excerpt would include one character too many #11268 [Irfy]
+
+* Fix more obscure nested parameter hash parsing bug.  #10797 [thomas.lee]
+
+* Added ActionView::Helpers::register_javascript/stylesheet_expansion to make it easier for plugin developers to inject multiple assets.  #10350 [lotswholetime]
+
+* Fix nested parameter hash parsing bug.  #10797 [thomas.lee]
+
+* Allow using named routes in ActionController::TestCase before any request has been made. Closes #11273 [alloy]
+
+* Fixed that sweepers defined by cache_sweeper will be added regardless of the perform_caching setting. Instead, control whether the sweeper should be run with the perform_caching setting. This makes testing easier when you want to turn perform_caching on/off [DHH]
+
+* Make MimeResponds::Responder#any work without explicit types. Closes #11140 [jaw6]
+
+* Better error message for type conflicts when parsing params.  Closes #7962 [spicycode, matt]
+
+* Remove unused ActionController::Base.template_class. Closes #10787 [Pratik]
+
+* Moved template handlers related code from ActionView::Base to ActionView::Template. [Pratik]
+
+* Tests for div_for and content_tag_for helpers. Closes #11223 [thechrisoshow]
+
+* Allow file uploads in Integration Tests.  Closes #11091 [RubyRedRick]
+
+* Refactor partial rendering into a PartialTemplate class. [Pratik]
+
+* Added that requests with JavaScript as the priority mime type in the accept header and no format extension in the parameters will be treated as though their format was :js when it comes to determining which template to render. This makes it possible for JS requests to automatically render action.js.rjs files without an explicit respond_to block  [DHH]
+
+* Tests for distance_of_time_in_words with TimeWithZone instances. Closes #10914 [ernesto.jimenez]
+
+* Remove support for multivalued (e.g., '&'-delimited) cookies. [Jamis Buck]
+
+* Fix problem with render :partial collections, records, and locals. #11057 [lotswholetime] 
+
+* Added support for naming concrete classes in sweeper declarations [DHH]
+
+* Remove ERB trim variables from trace template in case ActionView::Base.erb_trim_mode is changed in the application.  #10098 [tpope, kampers]
+
+* Fix typo in form_helper documentation.  #10650 [xaviershay, kampers]
+
+* Fix bug with setting Request#format= after the getter has cached the value.  #10889 [cch1]
+
+* Correct inconsistencies in RequestForgeryProtection docs.  #11032 [mislav]
+
+* Introduce a Template class to ActionView.  #11024 [lifofifo]
+
+* Introduce the :index option for form_for and fields_for to simplify multi-model forms (see http://railscasts.com/episodes/75).  #9883 [rmm5t]
+
+* Introduce map.resources :cards, :as => 'tarjetas' to use a custom resource name in the URL: cards_path == '/tarjetas'.  #10578 [blj]
+
+* TestSession supports indifferent access.  #7372 [tamc, Arsen7, mhackett, julik, jean.helou]
+
+* Make assert_routing aware of the HTTP method used.  #8039 [mpalmer]
+  e.g. assert_routing({ :method => 'put', :path => '/product/321' }, { :controller => "product", :action => "update", :id => "321" })
+
+* Make map.root accept a single symbol as an argument to declare an alias.  #10818 [bscofield] 
+
+  e.g.  map.dashboard '/dashboard', :controller=>'dashboard'
+        map.root      :dashboard
+
+* Handle corner case with image_tag when passed 'messed up' image names. #9018 [duncanbeevers, mpalmer]
+
+* Add label_tag helper for generating elements. #10802 [DefV]
+
+* Introduce TemplateFinder to handle view paths and lookups.  #10800 [Pratik Naik] 
+
+* Performance: optimize route recognition. Large speedup for apps with many resource routes.  #10835 [oleganza]
+
+* Make render :partial recognise form builders and use the _form partial.  #10814 [djanowski]
+
+* Allow users to declare other namespaces when using the atom feed helpers. #10304 [david.calavera]
+
+* Introduce send_file :x_sendfile => true to send an X-Sendfile response header.  [Jeremy Kemper]
+
+* Fixed ActionView::Helpers::ActiveRecordHelper::form for when protect_from_forgery is used #10739 [jeremyevans]
+
+* Provide nicer access to HTTP Headers.  Instead of request.env["HTTP_REFERRER"] you can now use request.headers["Referrer"]. [Koz]
+
+* UrlWriter respects relative_url_root.  #10748 [Cheah Chu Yeow]
+
+* The asset_host block takes the controller request as an optional second argument. Example: use a single asset host for SSL requests.  #10549 [Cheah Chu Yeow, Peter B, Tom Taylor]
+
+* Support render :text => nil.  #6684 [tjennings, PotatoSalad, Cheah Chu Yeow]
+
+* assert_response failures include the exception message.  #10688 [Seth Rasmussen]
+
+* All fragment cache keys are now by default prefixed with the "views/" namespace [DHH]
+
+* Moved the caching stores from ActionController::Caching::Fragments::* to ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH]
+
+* Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH]
+
+* Made fragment caching in views work for rjs and builder as well #6642 [zsombor]
+
+* Fixed rendering of partials with layout when done from site layout #9209 [antramm]
+
+* Fix atom_feed_helper to comply with the atom spec.  Closes #10672 [xaviershay]
+
+  * The tags created do not contain a date (http://feedvalidator.org/docs/error/InvalidTAG.html)
+  * IDs are not guaranteed unique
+  * A default self link was not provided, contrary to the documentation
+  * NOTE:  This changes tags for existing atom entries, but at least they validate now.
+
+* Correct indentation in tests.  Closes #10671 [l.guidi]
+
+* Fix that auto_link looks for ='s in url paths (Amazon urls have them).  Closes #10640 [bgreenlee]
+
+* Ensure that test case setup is run even if overridden.  #10382 [Josh Peek]
+
+* Fix HTML Sanitizer to allow trailing spaces in CSS style attributes.  Closes #10566 [wesley.moxam]
+
+* Add :default option to time_zone_select.  #10590 [Matt Aimonetti]
+
+
+*2.0.2* (December 16th, 2007)
+
+* Added delete_via_redirect and put_via_redirect to integration testing #10497 [philodespotos]
+
+* Allow headers['Accept'] to be set by hand when calling xml_http_request #10461 [BMorearty]
+
+* Added OPTIONS to list of default accepted HTTP methods #10449 [holoway]
+
+* Added option to pass proc to ActionController::Base.asset_host for maximum configurability #10521 [chuyeow]. Example:
+
+    ActionController::Base.asset_host = Proc.new { |source|
+      if source.starts_with?('/images')
+        "http://images.example.com"
+      else
+        "http://assets.example.com"
+      end
+    }
+
+* Fixed that ActionView#file_exists? would be incorrect if @first_render is set #10569 [dbussink]
+
+* Added that Array#to_param calls to_param on all it's elements #10473 [brandon]
+
+* Ensure asset cache directories are automatically created.  #10337 [Josh Peek, Cheah Chu Yeow]
+
+* render :xml and :json preserve custom content types.  #10388 [jmettraux, Cheah Chu Yeow]
+
+* Refactor Action View template handlers.  #10437, #10455 [Josh Peek]
+
+* Fix DoubleRenderError message and leave out mention of returning false from filters.  Closes #10380 [Frederick Cheung]
+
+* Clean up some cruft around ActionController::Base#head.  Closes #10417 [ssoroka]
+
+
+*2.0.1* (December 7th, 2007)
+
+* Fixed send_file/binary_content for testing #8044 [tolsen]
+
+* When a NonInferrableControllerError is raised, make the proposed fix clearer in the error message. Closes #10199 [danger]
+
+* Update Prototype to 1.6.0.1.  [sam]
+
+* Update script.aculo.us to 1.8.0.1.  [madrobby]
+
+* Add 'disabled' attribute to <OPTION> separators used in time zone and country selects.  Closes #10354 [hasmanyjosh]
+
+* Added the same record identification guessing rules to fields_for as form_for has [DHH]
+
+* Fixed that verification violations with no specified action didn't halt the chain (now they do with a 400 Bad Request) [DHH]
+
+* Raise UnknownHttpMethod exception for unknown HTTP methods. Closes #10303 [Tarmo Tänav]
+
+* Update to Prototype -r8232.  [sam]
+
+* Make sure the optimisation code for routes doesn't get used if :host, :anchor or :port are provided in the hash arguments. [pager, Koz] #10292
+
+* Added protection from trailing slashes on page caching #10229 [devrieda]
+
+* Asset timestamps are appended, not prepended. Closes #10276 [mnaberez]
+
+* Minor inconsistency in description of render example. Closes #10029 [ScottSchram]
+
+* Add #prepend_view_path and #append_view_path instance methods on ActionController::Base for consistency with the class methods.  [rick]
+
+* Refactor sanitizer helpers into HTML classes and make it easy to swap them out with custom implementations.  Closes #10129.  [rick]
+
+* Add deprecation for old subtemplate syntax for ActionMailer templates, use render :partial [rick]
+
+* Fix TemplateError so it doesn't bomb on exceptions while running tests [rick]
+
+* Fixed that named routes living under resources shouldn't have double slashes #10198 [isaacfeliu]
+
+* Make sure that cookie sessions use a secret that is at least 30 chars in length. [Koz]
+
+* Fixed that partial rendering should look at the type of the first render to determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) #10130 [java]
+
+* Fixed that has_many :through associations should render as collections too #9051 [mathie/danger]
+
+* Added :mouseover short-cut to AssetTagHelper#image_tag for doing easy image swaps #6893 [joost]
+
+* Fixed handling of non-domain hosts #9479 [purp]
+
+* Fix syntax error in documentation example for cycle method. Closes #8735 [foca]
+
+* Document :with option for link_to_remote. Closes #8765 [ryanb]
+
+* Document :minute_step option for time_select. Closes #8814 [brupm]
+
+* Explain how to use the :href option for link_to_remote to degrade gracefully in the absence of JavaScript. Closes #8911 [vlad]
+
+* Disambiguate :size option for text area tag. Closes #8955 [redbeard]
+
+* Fix broken tag in assert_tag documentation. Closes #9037 [mfazekas]
+
+* Add documentation for route conditions. Closes #9041 [innu, manfred]
+
+* Fix typo left over from previous typo fix in url helper. Closes #9414 [Henrik N]
+
+* Fixed that ActionController::CgiRequest#host_with_port() should handle standard port #10082 [moro]
+
+* Update Prototype to 1.6.0 and script.aculo.us to 1.8.0.  [sam, madrobby]
+
+* Expose the cookie jar as a helper method (before the view would just get the raw cookie hash) [DHH]
+
+* Integration tests: get_ and post_via_redirect take a headers hash.  #9130 [simonjefford]
+
+* Simplfy #view_paths implementation.  ActionView templates get the exact object, not a dup.  [Rick]
+
+* Update tests for ActiveSupport's JSON escaping change.  [rick]
+
+* FormHelper's auto_index should use #to_param instead of #id_before_type_cast.  Closes #9994 [mattly]
+
+* Doc typo fixes for ActiveRecordHelper. Closes #9973 [mikong]
+
+* Make example parameters in restful routing docs idiomatic. Closes #9993 [danger]
+
+* Make documentation comment for mime responders match documentation example.  Closes #9357 [yon]
+
+* Introduce a new test case class for functional tests.  ActionController::TestCase. [Koz]
+
+* Fix incorrect path in helper rdoc. Closes #9926 [viktor tron]
+
+* Partials also set 'object' to the default partial variable.  #8823 [Nick Retallack, Jeremy Kemper]
+
+* Request profiler.  [Jeremy Kemper]
+    $ cat login_session.rb
+    get_with_redirect '/'
+    say "GET / => #{path}"
+    post_with_redirect '/sessions', :username => 'john', :password => 'doe'
+    say "POST /sessions => #{path}"
+    $ ./script/performance/request -n 10 login_session.rb
+
+* Disabled checkboxes don't submit a form value.  #9301 [vladr, robinjfisher]
+
+* Added tests for options to ActiveRecordHelper#form. Closes #7213 [richcollins, mikong, mislav]
+
+* Changed before_filter halting to happen automatically on render or redirect but no longer on simply returning false [DHH]
+
+* Ensure that cookies handle array values correctly.  Closes #9937 [queso]
+
+* Make sure resource routes don't clash with internal helpers like javascript_path, image_path etc.  #9928 [gbuesing]
+
+* caches_page uses a single after_filter instead of one per action.  #9891 [Pratik Naik]
+
+* Update Prototype to 1.6.0_rc1 and script.aculo.us to 1.8.0 preview 0.  [sam, madrobby]
+
+* Dispatcher: fix that to_prepare should only run once in production.  #9889 [Nathaniel Talbott]
+
+* Memcached sessions: add session data on initialization; don't silently discard exceptions; add unit tests.  #9823 [kamk]
+
+* error_messages_for also takes :message and :header_message options which defaults to the old "There were problems with the following fields:" and "<count> errors prohibited this <object_name> from being saved".  #8270 [rmm5t, zach-inglis-lt3]
+
+* Make sure that custom inflections are picked up by map.resources.  #9815 [mislav]
+
+* Changed SanitizeHelper#sanitize to only allow the custom attributes and tags when specified in the call [DHH]
+
+* Extracted sanitization methods from TextHelper to SanitizeHelper [DHH]
+
+* rescue_from accepts :with => lambda { |exception| ... } or a normal block.  #9827 [Pratik Naik]
+
+* Add :status to redirect_to allowing users to choose their own response code without manually setting headers. #8297 [codahale, chasgrundy]
+
+* Add link_to :back which uses your referrer with a fallback to a javascript link. #7366 [eventualbuddha, Tarmo Tänav]
+
+* error_messages_for and friends also work with local variables.  #9699 [Frederick Cheung]
+
+* Fix url_for, redirect_to, etc. with :controller => :symbol instead of 'string'.  #8562, #9525 [Justin Lynn, Tarmo Tänav, shoe]
+
+* Use #require_library_or_gem to load the memcache library for the MemCache session and fragment cache stores.  Closes #8662. [Rick]
+
+* Move ActionController::Routing.optimise_named_routes to ActionController::Base.optimise_named_routes.  Now you can set it in the config. [Rick]
+
+  config.action_controller.optimise_named_routes = false
+
+* ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape.  [Rick]
+
+* Only accept session ids from cookies, prevents session fixation attacks.  [bradediger] 
+
+
+*2.0.0 [Preview Release]* (September 29th, 2007) [Includes duplicates of changes from 1.12.2 - 1.13.3]
+
+* Fixed that render template did not honor exempt_from_layout #9698 [pezra]
+
+* Better error messages if you leave out the :secret option for request forgery protection.  Closes #9670 [rick]
+
+* Allow ability to disable request forgery protection, disable it in test mode by default.  Closes #9693 [Pratik Naik]
+
+* Avoid calling is_missing on LoadErrors. Closes #7460. [ntalbott]
+
+* Move Railties' Dispatcher to ActionController::Dispatcher, introduce before_ and after_dispatch callbacks, and warm up to non-CGI requests.  [Jeremy Kemper]
+
+* The tag helper may bypass escaping.  [Jeremy Kemper]
+
+* Cache asset ids.  [Jeremy Kemper]
+
+* Optimized named routes respect AbstractRequest.relative_url_root.  #9612 [danielmorrison, Jeremy Kemper]
+
+* Introduce ActionController::Base.rescue_from to declare exception-handling methods. Cleaner style than the case-heavy rescue_action_in_public.  #9449 [Norbert Crombach]
+
+* Rename some RequestForgeryProtection methods.  The class method is now #protect_from_forgery, and the default parameter is now 'authenticity_token'.  [Rick]
+
+* Merge csrf_killer plugin into rails.  Adds RequestForgeryProtection model that verifies session-specific _tokens for non-GET requests.  [Rick]
+
+* Secure #sanitize, #strip_tags, and #strip_links helpers against xss attacks.  Closes #8877. [Rick, Pratik Naik, Jacques Distler]
+
+  This merges and renames the popular white_list helper (along with some css sanitizing from Jacques Distler version of the same plugin).
+  Also applied updated versions of #strip_tags and #strip_links from #8877.
+
+* Remove use of & logic operator. Closes #8114. [watson]
+
+* Fixed JavaScriptHelper#escape_javascript to also escape closing tags #8023 [rubyruy]
+
+* Fixed TextHelper#word_wrap for multiline strings with extra carrier returns #8663 [seth]
+
+* Fixed that setting the :host option in url_for would automatically turn off :only_path (since :host would otherwise not be shown) #9586 [Bounga]
+
+* Added FormHelper#label.  #8641, #9850 [jcoglan, jarkko]
+
+* Added AtomFeedHelper (slightly improved from the atom_feed_helper plugin) [DHH]
+
+* Prevent errors when generating routes for uncountable resources, (i.e. sheep where plural == singluar).   map.resources :sheep now creates sheep_index_url for the collection and sheep_url for the specific item.  [Koz]
+
+* Added support for HTTP Only cookies (works in IE6+ and FF 2.0.5+) as an improvement for XSS attacks #8895 [Pratik Naik, Spakman]
+
+* Don't warn when a path segment precedes a required segment. Closes #9615. [Nicholas Seckar]
+
+* Fixed CaptureHelper#content_for to work with the optional content parameter instead of just the block #9434 [sandofsky/wildchild].
+
+* Added Mime::Type.register_alias for dealing with different formats using the same mime type [DHH]. Example:
+
+    class PostsController < ApplicationController
+      before_filter :adjust_format_for_iphone
+
+      def index
+        @posts = Post.find(:all)
+        
+        respond_to do |format|
+          format.html   # => renders index.html.erb and uses "text/html" as the content type
+          format.iphone # => renders index.iphone.erb and uses "text/html" as the content type
+        end
+      end
+
+
+      private
+        def adjust_format_for_iphone
+          if request.env["HTTP_USER_AGENT"] && request.env["HTTP_USER_AGENT"][/iPhone/]
+            request.format = :iphone
+          end
+        end
+    end
+
+* Added that render :json will automatically call .to_json unless it's being passed a string [DHH].
+
+* Autolink behaves well with emails embedded in URLs.  #7313 [Jeremy McAnally, Tarmo Tänav]
+
+* Fixed that default layouts did not take the format into account #9564 [Pratik Naik]
+
+* Fixed optimized route segment escaping.  #9562 [wildchild, Jeremy Kemper]
+
+* Added block acceptance to JavaScriptHelper#javascript_tag.  #7527 [Bob Silva, Tarmo Tänav, rmm5t]
+
+* root_path returns '/' not ''.  #9563 [Pratik Naik]
+
+* Fixed that setting request.format should also affect respond_to blocks [DHH]
+
+* Add option to force binary mode on tempfile used for fixture_file_upload.  #6380 [Jonathan Viney]
+
+* Fixed that resource namespaces wouldn't stick to all nested resources #9399 [pixeltrix]
+
+* Moved ActionController::Macros::AutoComplete into the auto_complete plugin on the official Rails svn.  #9512 [Pratik Naik]
+
+* Moved ActionController::Macros::InPlaceEditing into the in_place_editor plugin on the official Rails svn.  #9513 [Pratik Naik]
+
+* Removed deprecated form of calling xml_http_request/xhr without the first argument being the http verb [DHH]
+
+* Removed deprecated methods [DHH]:
+
+  - ActionController::Base#keep_flash (use flash.keep instead)
+  - ActionController::Base#expire_matched_fragments (just call expire_fragment with a regular expression)
+  - ActionController::Base.template_root/= methods (use ActionController#Base.view_paths/= instead)
+  - ActionController::Base.cookie (use ActionController#Base.cookies[]= instead)
+
+* Removed the deprecated behavior of appending ".png" to image_tag/image_path calls without an existing extension [DHH]
+
+* Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [DHH]
+
+* Optimise named route generation when using positional arguments.  [Koz]
+
+  This change delivers significant performance benefits for the most
+  common usage scenarios for modern rails applications by avoiding the
+  costly trip through url_for.  Initial benchmarks indicate this is
+  between 6 and 20 times as fast.
+
+* Explicitly require active_record/query_cache before using it.  [Jeremy Kemper]
+
+* Fix layout overriding response status.  #9476 [lotswholetime]
+
+* Add field_set_tag for generating field_sets, closes #9477. [djanowski]
+
+* Allow additional parameters to be passed to named route helpers when using positional arguments.  Closes #8930 [ian.w.white at gmail.com]
+
+* Make render :partial work with a :collection of Hashes, previously this wasn't possible due to backwards compatibility restrictions.  [Pratik Naik]
+
+* request.host works with IPv6 addresses.  #9458 [yuya]
+
+* Fix bug where action caching sets the content type to the ActionCachePath object.  Closes #9282 [mindforge]
+
+* Find layouts even if they're not in the first view_paths directory.  Closes #9258 [caio]
+
+* Major improvement to the documentation for the options / select form helpers. Closes #9038 [kampers, jardeon, wesg]
+
+* Fix number_to_human_size when using different precisions. Closes #7536. [RichardStrand, mpalmer]
+
+* Added partial layouts (see example in action_view/lib/partials.rb) [DHH]
+
+* Allow you to set custom :conditions on resource routes.  [Rick]
+
+* Fixed that file.content_type for uploaded files would include a trailing \r #9053 [bgreenlee]
+
+* url_for now accepts a series of symbols representing the namespace of the record [Josh Knowles]
+
+* Make :trailing_slash work with query parameters for url_for. Closes #4004 [nov]
+
+* Make sure missing template exceptions actually say which template they were looking for.  Closes #8683 [dasil003]
+
+* Fix errors with around_filters which do not yield, restore 1.1 behaviour with after filters. Closes #8891 [skaes]
+
+  After filters will *no longer* be run if an around_filter fails to yield, users relying on
+  this behaviour are advised to put the code in question after a yield statement in an around filter.
+  
+
+* Allow you to delete cookies with options. Closes #3685 [Josh Peek, Chris Wanstrath]
+
+* Allow you to render views with periods in the name.  Closes #8076 [Norbert Crombach]
+
+  render :partial => 'show.html.erb'
+
+* Improve capture helper documentation.  #8796 [kampers]
+
+* Prefix nested resource named routes with their action name, e.g. new_group_user_path(@group) instead of group_new_user_path(@group). The old nested action named route is deprecated in Rails 1.2.4.  #8558 [David Chelimsky]
+
+* Allow sweepers to be created solely for expiring after controller actions, not model changes [DHH]
+
+* Added assigns method to ActionController::Caching::Sweeper to easily access instance variables on the controller [DHH]
+
+* Give the legacy X-POST_DATA_FORMAT header greater precedence during params parsing for backward compatibility.  [Jeremy Kemper]
+
+* Fixed that link_to with an href of # when using :method will not allow for click-through without JavaScript #7037 [Steven Bristol, Josh Peek]
+
+* Fixed that radio_button_tag should generate unique ids #3353 [Bob Silva, Rebecca, Josh Peek]
+
+* Fixed that HTTP authentication should work if the header is called REDIRECT_X_HTTP_AUTHORIZATION as well #6754 [mislaw]
+
+* Don't mistakenly interpret the request uri as the query string.  #8731 [Pratik Naik, Jeremy Kemper]
+
+* Make ActionView#view_paths an attr_accessor for real this time.  Also, don't perform an unnecessary #compact on the @view_paths array in #initialize.  Closes #8582 [dasil003, julik, rick]
+
+* Tolerate missing content type on multipart file uploads. Fix for Safari 3.  [Jeremy Kemper]
+
+* Deprecation: remove pagination. Install the classic_pagination plugin for forward compatibility, or move to the superior will_paginate plugin.  #8157 [Josh Peek]
+
+* Action caching is limited to GET requests returning 200 OK status.  #3335 [tom at craz8.com, halfbyte, Dan Kubb, Josh Peek]
+
+* Improve Text Helper test coverage.  #7274 [Rob Sanheim, Josh Peek]
+
+* Improve helper test coverage.  #7208, #7212, #7215, #7233, #7234, #7235, #7236, #7237, #7238, #7241, #7243, #7244 [Rich Collins, Josh Peek]
+
+* Improve UrlRewriter tests.  #7207 [Rich Collins]
+
+* Resources: url_for([parent, child]) generates /parents/1/children/2 for the nested resource. Likewise with the other simply helpful methods like form_for and link_to.  #6432 [mhw, Jonathan Vaught, lotswholetime]
+
+* Assume html format when rendering partials in RJS. #8076 [Rick]
+
+* Don't double-escape url_for in views.  #8144 [Rich Collins, Josh Peek]
+
+* Allow JSON-style values for the :with option of observe_field.  Closes #8557 [kommen]
+
+* Remove RAILS_ROOT from backtrace paths.  #8540 [Tim Pope]
+
+* Routing: map.resource :logo routes to LogosController so the controller may be reused for multiple nestings or namespaces.  [Jeremy Kemper]
+
+* render :partial recognizes Active Record associations as Arrays.  #8538 [Kamal Fariz Mahyuddin]
+
+* Routing: drop semicolon and comma as route separators.  [Jeremy Kemper]
+
+* request.remote_ip understands X-Forwarded-For addresses with nonstandard whitespace.  #7386 [moses]
+
+* Don't prepare response when rendering a component.  #8493 [jsierles]
+
+* Reduce file stat calls when checking for template changes.  #7736 [alex]
+
+* Added custom path cache_page/expire_page parameters in addition to the options hashes [DHH]. Example:
+
+    def index
+      caches_page(response.body, "/index.html")
+    end
+
+* Action Caching speedup.  #8231 [skaes]
+
+* Wordsmith resources documentation.  #8484 [marclove]
+
+* Fix syntax error in code example for routing documentation. #8377. [Norbert Crombach]
+
+* Routing: respond with 405 Method Not Allowed status when the route path matches but the HTTP method does not.  #6953 [Josh Peek, defeated, Dan Kubb, Coda Hale]
+
+* Add support for assert_select_rjs with :show and :hide. #7780 [dchelimsky]
+
+* Make assert_select's failure messages clearer about what failed. #7779 [dchelimsky]
+
+* Introduce a default respond_to block for custom types.  #8174 [Josh Peek]
+
+* auto_complete_field takes a :method option so you can GET or POST.  #8120 [zapnap]
+
+* Added option to suppress :size when using :maxlength for FormTagHelper#text_field #3112 [Tim Pope]
+
+* catch possible WSOD when trying to render a missing partial. Closes #8454 [Catfish]
+
+* Rewind request body after reading it, if possible.  #8438 [s450r1]
+
+* Resource namespaces are inherited by their has_many subresources.  #8280 [marclove, ggarside]
+
+* Fix filtered parameter logging with nil parameter values.  #8422 [choonkeat]
+
+* Integration tests: alias xhr to xml_http_request and add a request_method argument instead of always using POST.  #7124 [Nik Wakelin, Francois Beausoleil, Wizard]
+
+* Document caches_action.  #5419 [Jarkko Laine]
+
+* Update to Prototype 1.5.1.  [Sam Stephenson]
+
+* Allow routes to be decalred under namespaces [Tobias Luetke]: 
+  
+  map.namespace :admin do |admin|
+    admin.root :controller => "products"       
+    admin.feed 'feed.xml', :controller => 'products', :action => 'feed', :format => 'xml'
+  end
+  
+* Update to script.aculo.us 1.7.1_beta3.  [Thomas Fuchs]
+
+* observe_form always sends the serialized form.  #5271 [manfred, normelton at gmail.com]
+
+* Parse url-encoded and multipart requests ourselves instead of delegating to CGI.  [Jeremy Kemper]
+
+* select :include_blank option can be set to a string instead of true, which just uses an empty string.  #7664 [Wizard]
+
+* Added url_for usage on render :location, which allows for record identification [DHH]. Example:
+
+    render :xml => person, :status => :created, :location => person
+  
+  ...expands the location to person_url(person).
+
+* Introduce the request.body stream. Lazy-read to parse parameters rather than always setting RAW_POST_DATA. Reduces the memory footprint of large binary PUT requests.  [Jeremy Kemper]
+
+* Add some performance enhancements to ActionView.
+
+  * Cache base_paths in @@cached_base_paths
+  * Cache template extensions in @@cached_template_extension
+  * Remove unnecessary rescues
+
+* Assume that rendered partials go by the HTML format by default
+
+  def my_partial
+    render :update do |page|
+      # in this order
+      # _foo.html.erb
+      # _foo.erb
+      # _foo.rhtml
+      page.replace :foo, :partial => 'foo'
+    end
+  end
+
+* Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [DHH]. Examples:
+
+    <% form_for(@post) do |f| %>
+      ...
+    <% end %>
+  
+  This will expand to be the same as:
+  
+    <% form_for :post, @post, :url => post_path(@post), :html => { :method => :put, :class => "edit_post", :id => "edit_post_45" } do |f| %>
+      ...
+    <% end %>
+  
+  And for new records:
+  
+    <% form_for(Post.new) do |f| %>
+      ...
+    <% end %>
+  
+  This will expand to be the same as:
+  
+    <% form_for :post, @post, :url => posts_path, :html => { :class => "new_post", :id => "new_post" } do |f| %>
+      ...
+    <% end %>
+
+* Rationalize route path escaping according to RFC 2396 section 3.3.  #7544, #8307. [Jeremy Kemper, chrisroos, begemot, jugend]
+
+* Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH]. Examples:
+
+    redirect_to(post)         # => redirect_to(posts_url(post))         => Location: http://example.com/posts/1
+    link_to(post.title, post) # => link_to(post.title, posts_url(post)) => <a href="/posts/1">Hello world</a>
+
+  Any method that calls url_for on its parameters will automatically benefit from this. 
+
+* Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH]
+
+* Add ActionController::Routing::Helpers, a module to contain common URL helpers such as polymorphic_url. [Nicholas Seckar]
+
+* Included the HttpAuthentication plugin as part of core (ActionController::HttpAuthentication::Basic) [DHH]
+
+* Modernize documentation for form helpers. [jeremymcanally]
+
+* Add brief introduction to REST to the resources documentation. [fearoffish]
+
+* Fix various documentation typos throughout ActionPack. [Henrik N]
+
+* Enhance documentation and add examples for url_for. [jeremymcanally]
+
+* Fix documentation typo in routes. [Norbert Crombach, pam]
+
+* Sweep flash when filter chain is halted. [Caio Chassot <lists at v2studio.com>]
+
+* Fixed that content_tag with a block will just return the result instead of concate it if not used in a ERb view #7857, #7432 [michael.niessner]
+
+* Replace the current block/continuation filter chain handling by an implementation based on a simple loop.  #8226 [Stefan Kaes]
+
+* Update UrlWriter to accept :anchor parameter. Closes #6771. [octopod]
+
+* Added RecordTagHelper for using RecordIdentifier conventions on divs and other container elements [DHH]. Example:
+
+    <% div_for(post) do %>     <div id="post_45" class="post">
+      <%= post.body %>           What a wonderful world!
+    <% end %>                  </div>
+
+* Added page[record] accessor to JavaScriptGenerator that relies on RecordIdentifier to find the right dom id [DHH]. Example:
+
+    format.js do
+      # Calls: new Effect.fade('post_45');
+      render(:update) { |page| page[post].visual_effect(:fade) }
+    end
+
+* Added RecordIdentifier to enforce view conventions on records for dom ids, classes, and partial paths [DHH]
+
+* Added map.namespace to deal with the common situation of admin sections and the like [DHH]
+
+    Before:
+    
+      map.resources :products, :path_prefix => "admin", :controller => "admin/products", :collection => { :inventory => :get }, :member => { :duplicate => :post }
+      map.resources :tags, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_tags"
+      map.resources :images, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_images"
+      map.resources :variants, :name_prefix => 'admin_product_', :path_prefix => "admin/products/:product_id", :controller => "admin/product_variants"
+
+    After:
+    
+      map.namespace(:admin) do |admin|
+        admin.resources :products,
+          :collection => { :inventory => :get },
+          :member     => { :duplicate => :post },
+          :has_many   => [ :tags, :images, :variants ]
+      end
+
+* Added :name_prefix as standard for nested resources [DHH]. WARNING: May be backwards incompatible with your app
+
+    Before:
+
+      map.resources :emails do |emails|
+        emails.resources :comments,    :name_prefix => "email_"
+        emails.resources :attachments, :name_prefix => "email_"
+      end
+      
+    After:
+
+      map.resources :emails do |emails|
+        emails.resources :comments
+        emails.resources :attachments
+      end
+    
+    This does mean that if you intended to have comments_url go to /emails/5/comments, then you'll have to set :name_prefix to nil explicitly.
+
+* Added :has_many and :has_one for declaring plural and singular resources beneath the current [DHH]
+
+    Before:
+      
+      map.resources :notes do |notes|
+        notes.resources :comments
+        notes.resources :attachments
+        notes.resource :author
+      end
+    
+    After:
+    
+      map.resources :notes, :has_many => [ :comments, :attachments ], :has_one => :author
+
+* Added that render :xml will try to call to_xml if it can [DHH]. Makes these work:
+
+    render :xml => post
+    render :xml => comments
+
+* Added :location option to render so that the common pattern of rendering a response after creating a new resource is now a 1-liner [DHH]
+
+    render :xml => post.to_xml, :status => :created, :location => post_url(post)
+
+* Ensure that render_text only adds string content to the body of the response [DHH]
+
+* Return the string representation from an Xml Builder when rendering a partial. Closes #5044 [Tim Pope]
+
+* Fixed that parameters from XML should also be presented in a hash with indifferent access [DHH]
+
+* Tweak template format rules so that the ACCEPT header is only used if it's text/javascript.  This is so ajax actions without a :format param get recognized as Mime::JS. [Rick]
+
+* The default respond_to blocks don't set a specific extension anymore, so that both 'show.rjs' and 'show.js.rjs' will work. [Rick]
+
+* Allow layouts with extension of .html.erb.  Closes #8032 [Josh Knowles]
+
+* Change default respond_to templates for xml and rjs formats. [Rick]
+
+  * Default xml template goes from #{action_name}.rxml => #{action_name}.xml.builder.
+  * Default rjs template goes from #{action_name}.rjs => #{action_name}.js.rjs.
+  
+  You can still specify your old templates:
+  
+    respond_to do |format|
+      format.xml do
+        render :action => "#{action_name}.rxml"
+      end
+    end
+
+* Fix WSOD due to modification of a formatted template extension so that requests to templates like 'foo.html.erb' fail on the second hit.  [Rick]
+
+* Fix WSOD when template compilation fails [Rick]
+
+* Change ActionView template defaults.  Look for templates using the request format first, such as "show.html.erb" or "show.xml.builder", before looking for the old defaults like "show.erb" or "show.builder" [Rick]
+
+* Highlight helper highlights one or many terms in a single pass.  [Jeremy Kemper]
+
+* Dropped the use of ; as a separator of non-crud actions on resources and went back to the vanilla slash. It was a neat idea, but lots of the non-crud actions turned out not to be RPC (as the ; was primarily intended to discourage), but legitimate sub-resources, like /parties/recent, which didn't deserve the uglification of /parties;recent. Further more, the semicolon caused issues with caching and HTTP authentication in Safari. Just Not Worth It [DHH]
+
+* Added that FormTagHelper#submit_tag will return to its original state if the submit fails and you're using :disable_with [DHH]
+
+* Cleaned up, corrected, and mildly expanded ActionPack documentation.  Closes #7190 [jeremymcanally]
+
+* Small collection of ActionController documentation cleanups.  Closes #7319 [jeremymcanally]
+
+* Make sure the route expiry hash is constructed by comparing the to_param-ized values of each hash. [Jamis Buck]
+
+* Allow configuration of the default action cache path for #caches_action calls.  [Rick Olson]
+
+  class ListsController < ApplicationController
+    caches_action :index, :cache_path => Proc.new { |controller| 
+      controller.params[:user_id] ? 
+        controller.send(:user_lists_url, c.params[:user_id]) :
+        controller.send(:lists_url) }
+  end
+
+* Performance: patch cgi/session/pstore to require digest/md5 once rather than per #initialize.  #7583 [Stefan Kaes]
+
+* Cookie session store: ensure that new sessions doesn't reuse data from a deleted session in the same request.  [Jeremy Kemper]
+
+* Deprecation: verification with :redirect_to => :named_route shouldn't be deprecated.  #7525 [Justin French]
+
+* Cookie session store: raise ArgumentError when :session_key is blank.  [Jeremy Kemper]
+
+* Deprecation: remove deprecated request, redirect, and dependency methods. Remove deprecated instance variables. Remove deprecated url_for(:symbol, *args) and redirect_to(:symbol, *args) in favor of named routes. Remove uses_component_template_root for toplevel components directory. Privatize deprecated render_partial and render_partial_collection view methods. Remove deprecated link_to_image, link_image_to, update_element_function, start_form_tag, and end_form_tag helper methods. Remove deprecated human_size helper alias.  [Jeremy Kemper]
+
+* Consistent public/protected/private visibility for chained methods.  #7813 [Dan Manges]
+
+* Prefer MIME constants to strings.  #7707 [Dan Kubb]
+
+* Allow array and hash query parameters. Array route parameters are converted/to/a/path as before.  #6765, #7047, #7462 [bgipsy, Jeremy McAnally, Dan Kubb, brendan]
+
+# Add a #dbman attr_reader for CGI::Session and make CGI::Session::CookieStore#generate_digest public so it's easy to generate digests
+using the cookie store's secret. [Rick]
+
+* Added Request#url that returns the complete URL used for the request [DHH]
+
+* Extract dynamic scaffolding into a plugin.  #7700 [Josh Peek]
+
+* Added user/password options for url_for to add http authentication in a URL [DHH]
+
+* Fixed that FormTagHelper#text_area_tag should disregard :size option if it's not a string [Brendon Davidson]
+
+* Set the original button value in an attribute of the button when using the :disable_with key with submit_tag, so that the original can be restored later. [Jamis Buck]
+
+* session_enabled? works with session :off.  #6680 [Catfish]
+
+* Added :port and :host handling to UrlRewriter (which unified url_for usage, regardless of whether it's called in view or controller) #7616 [alancfrancis]
+
+* Allow send_file/send_data to use a registered mime type as the :type parameter #7620 [jonathan]
+
+* Allow routing requirements on map.resource(s) #7633 [quixoten]. Example:
+
+  map.resources :network_interfaces, :requirements => { :id => /^\d+\.\d+\.\d+\.\d+$/ }
+
+* Cookie session store: empty and unchanged sessions don't write a cookie.  [Jeremy Kemper]
+
+* Added helper(:all) as a way to include all helpers from app/helpers/**/*.rb in ApplicationController [DHH]
+
+* Integration tests: introduce methods for other HTTP methods.  #6353 [caboose]
+
+* Routing: better support for escaped values in route segments.  #7544 [Chris
+Roos]
+
+* Introduce a cookie-based session store as the Rails default. Sessions typically contain at most a user_id and flash message; both fit within the 4K cookie size limit. A secure message digest is included with the cookie to ensure data integrity (a user cannot alter his user_id without knowing the secret key included in the digest). If you have more than 4K of session data or don't want your data to be visible to the user, pick another session store.  Cookie-based sessions are dramatically faster than the alternatives.   [Jeremy Kemper]
+
+  Example config/environment.rb:
+    # Use an application-wide secret key and the default SHA1 message digest.
+    config.action_controller.session = { :secret => "can't touch this" }
+
+    # Store a secret key per user and employ a stronger message digest.
+    config.action_controller.session = {
+      :digest => 'SHA512',
+      :secret => Proc.new { User.current.secret_key }
+    }
+
+* Added .erb and .builder as preferred aliases to the now deprecated .rhtml and .rxml extensions [Chad Fowler]. This is done to separate the renderer from the mime type. .erb templates are often used to render emails, atom, csv, whatever. So labeling them .rhtml doesn't make too much sense. The same goes for .rxml, which can be used to build everything from HTML to Atom to whatever. .rhtml and .rxml will continue to work until Rails 3.0, though. So this is a slow phasing out. All generators and examples will start using the new aliases, though.
+
+* Added caching option to AssetTagHelper#stylesheet_link_tag and AssetTagHelper#javascript_include_tag [DHH]. Examples:
+
+    stylesheet_link_tag :all, :cache => true # when ActionController::Base.perform_caching is false =>
+      <link href="/stylesheets/style1.css"  media="screen" rel="Stylesheet" type="text/css" />
+      <link href="/stylesheets/styleB.css"  media="screen" rel="Stylesheet" type="text/css" />
+      <link href="/stylesheets/styleX2.css" media="screen" rel="Stylesheet" type="text/css" />
+ 
+    stylesheet_link_tag :all, :cache => true # when ActionController::Base.perform_caching is true =>
+      <link href="/stylesheets/all.css"  media="screen" rel="Stylesheet" type="text/css" />
+
+  ...when caching is on, all.css is the concatenation of style1.css, styleB.css, and styleX2.css.
+  Same deal for JavaScripts.
+
+* Work around the two connection per host browser limit: use asset%d.myapp.com to distribute asset requests among asset[0123].myapp.com. Use a DNS wildcard or CNAMEs to map these hosts to your asset server. See http://www.die.net/musings/page_load_time/ for background.  [Jeremy Kemper]
+
+* Added default mime type for CSS (Mime::CSS) [DHH]
+
+* Added that rendering will automatically insert the etag header on 200 OK responses. The etag is calculated using MD5 of the response body. If a request comes in that has a matching etag, the response will be changed to a 304 Not Modified and the response body will be set to an empty string. [DHH]
+
+* Added X-Runtime to all responses with the request run time [DHH]
+
+* Add Mime::Type convenience methods to check the current mime type. [Rick]
+
+  request.format.html? # => true if Mime::HTML
+  request.format.jpg?  # => true if Mime::JPG
+
+  # ActionController sample usage:
+  # the session will be disabled for non html/ajax requests
+  session :off, :if => Proc.new { |req| !(req.format.html? || req.format.js?) }
+
+* Performance: patch cgi/session to require digest/md5 once rather than per #create_new_id.  [Stefan Kaes]
+
+* Add a :url_based_filename => true option to ActionController::Streaming::send_file, which allows URL-based filenames.  [Thomas Fuchs]
+
+* Fix that FormTagHelper#submit_tag using :disable_with should trigger the onsubmit handler of its form if available [DHH]
+
+* Fix #render_file so that TemplateError is called with the correct params and you don't get the WSOD.  [Rick]
+
+* Fix issue with deprecation messing up #template_root= usage.  Add #prepend_view_path and #append_view_path to allow modification of a copy of the
+superclass' view_paths.  [Rick]
+
+* Allow Controllers to have multiple view_paths instead of a single template_root.  Closes #2754 [John Long]
+
+* Add much-needed html-scanner tests.  Fixed CDATA parsing bug. [Rick]
+
+* improve error message for Routing for named routes.  Closes #7346 [Rob Sanheim]
+
+* Added enhanced docs to routing assertions.  Closes #7359 [Rob Sanheim]
+
+* fix form_for example in ActionController::Resources documentation.  Closes #7362 [gnarg]
+
+* Make sure that the string returned by TextHelper#truncate is actually a string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH]
+
+* Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]
+
+* Allow Routes to generate all urls for a set of options by specifying :generate_all => true. Allows caching to properly set or expire all paths for a resource. References #1739. [Nicholas Seckar]
+
+* Change the query parser to map empty GET params to "" rather than nil. Closes #5694. [Nicholas Seckar]
+
+* date_select and datetime_select take a :default option.  #7052 [nik.wakelin]
+    date_select "post", "written_on", :default => 3.days.from_now
+    date_select "credit_card", "bill_due", :default => { :day => 20 }
+
+* select :multiple => true suffixes the attribute name with [] unless already suffixed.  #6977 [nik.kakelin, ben, julik]
+
+* Improve routes documentation.  #7095 [zackchandler]
+
+* mail_to :encode => 'hex' also encodes the mailto: part of the href attribute as well as the linked email when no name is given.  #2061 [Jarkko Laine, pfc.pille at gmx.net]
+
+* Resource member routes require :id, eliminating the ambiguous overlap with collection routes.  #7229 [dkubb]
+
+* Remove deprecated assertions.  [Jeremy Kemper]
+
+* Change session restoration to allow namespaced models to be autoloaded. Closes #6348. [Nicholas Seckar]
+
+* Fix doubly appearing parameters due to string and symbol mixups. Closes #2551. [aeden]
+
+* Fix overly greedy rescues when loading helpers. Fixes #6268. [Nicholas Seckar]
+
+* Fixed NumberHelper#number_with_delimiter to use "." always for splitting the original number, not the delimiter parameter #7389 [ceefour]
+
+* Autolinking recognizes trailing and embedded . , : ;  #7354 [Jarkko Laine]
+
+* Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268.  [imajes]
+
+* Update to script.aculo.us 1.7.0.  [Thomas Fuchs]
+
+* Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin Clark]
+
+* Improve Test Coverage for ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark]
+
+* Heckling ActionController::Resources::Resource revealed that set_prefixes didn't break when :name_prefix was munged. #7081 [Kevin Clark]
+
+* Fix #distance_of_time_in_words to report accurately against the Duration class.  #7114 [eventualbuddha]
+
+* Refactor #form_tag to allow easy extending.  [Rick]
+
+* Update to Prototype 1.5.0. [Sam Stephenson]
+
+* RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError => 409 Conflict.  #7097 [dkubb]
+
+* Allow fields_for to be nested inside form_for, so that the name and id get properly constructed [Jamis Buck]
+
+* Allow inGroupsOf and eachSlice to be called through rjs. #7046 [Cody Fauser]
+
+* Allow exempt_from_layout :rhtml.  #6742, #7026 [Dan Manges, Squeegy]
+
+* Recognize the .txt extension as Mime::TEXT [Rick]
+
+* Fix parsing of array[] CGI parameters so extra empty values aren't included.  #6252 [Nicholas Seckar, aiwilliams, brentrowland]
+
+* link_to_unless_current works with full URLs as well as paths.  #6891 [Jarkko Laine, manfred, idrifter]
+
+* Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class.  Closes #6941 [Josh Peek]
+
+* Fix bug where nested resources ignore a parent singleton parent's path prefix.  Closes #6940 [Dan Kubb]
+
+* Fix no method error with error_messages_on.  Closes #6935 [nik.wakelin Koz]
+
+* Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs.  Closes #6922 [Steven Bristol]
+
+* Slight doc tweak to #prepend_filter.  Closes #6493 [Jeremy Voorhis]
+
+* Add more extensive documentation to the AssetTagHelper.  Closes #6452 [Bob Silva]
+
+* Clean up multiple calls to #stringify_keys in TagHelper, add better documentation and testing for TagHelper.  Closes #6394 [Bob Silva]
+
+* [DOCS] fix reference to ActionController::Macros::AutoComplete for #text_field_with_auto_complete. Closes #2578 [Jan Prill]
+
+* Make sure html_document is reset between integration test requests. [ctm]
+
+* Set session to an empty hash if :new_session => false and no session cookie or param is present. CGI::Session was raising an unrescued ArgumentError.  [Josh Susser]
+
+* Routing uses URI escaping for path components and CGI escaping for query parameters.  [darix, Jeremy Kemper]
+
+* Fix assert_redirected_to bug where redirecting from a nested to to a top-level controller incorrectly added the current controller's nesting.  Closes #6128.  [Rick Olson]
+
+* Singleton resources: POST /singleton => create, GET /singleton/new => new.  [Jeremy Kemper]
+
+* Use 400 Bad Request status for unrescued ActiveRecord::RecordInvalid exceptions.  [Jeremy Kemper]
+
+* Silence log_error deprecation warnings from inspecting deprecated instance variables.  [Nate Wiger]
+
+* Only cache GET requests with a 200 OK response.  #6514, #6743 [RSL, anamba]
+
+* Add a 'referer' attribute to TestRequest. [Jamis Buck]
+
+* Ensure render :json => ... skips the layout.  Closes #6808 [Josh Peek]
+
+* Fix HTML::Node to output double quotes instead of single quotes.  Closes #6845 [mitreandy]
+
+* Correctly report which filter halted the chain.  #6699 [Martin Emde]
+
+* Fix a bug in Routing where a parameter taken from the path of the current request could not be used as a query parameter for the next. Closes #6752. [Nicholas Seckar]
+
+* Unrescued ActiveRecord::RecordNotFound responds with 404 instead of 500.  [Jeremy Kemper]
+
+* Improved auto_link to match more valid urls correctly [Tobias Luetke]
+
+* Add singleton resources. [Rick Olson]
+
+  map.resource :account
+  
+  GET /account
+  GET /account;edit
+  UPDATE /account
+  DELETE /account
+
+* respond_to recognizes JSON. render :json => @person.to_json automatically sets the content type and takes a :callback option to specify a client-side function to call using the rendered JSON as an argument.  #4185 [Scott Raymond, eventualbuddha]
+    # application/json response with body 'Element.show({:name: "David"})'
+    respond_to do |format|
+      format.json { render :json => { :name => "David" }.to_json, :callback => 'Element.show' }
+    end
+
+* Makes :discard_year work without breaking multi-attribute parsing in AR.  #1260, #3800 [sean at ardismg.com, jmartin at desertflood.com, stephen at touset.org, Bob Silva]
+
+* Adds html id attribute to date helper elements.  #1050, #1382 [mortonda at dgrmm.net, David North, Bob Silva]
+
+* Add :index and @auto_index capability to model driven date/time selects.  #847, #2655 [moriq, Doug Fales, Bob Silva]
+
+* Add :order to datetime_select, select_datetime, and select_date.  #1427 [Timothee Peignier, patrick at lenz.sh, Bob Silva]
+
+* Added time_select to work with time values in models. Update scaffolding.  #2489, #2833 [Justin Palmer, Andre Caum, Bob Silva]
+
+* Added :include_seconds to select_datetime, datetime_select and time_select.  #2998 [csn, Bob Silva]
+
+* All date/datetime selects can now accept an array of month names with :use_month_names. Allows for localization.  #363 [tomasj, Bob Silva]
+
+* Adds :time_separator to select_time and :date_separator to select_datetime. Preserves BC.  #3811 [Bob Silva]
+
+* Added map.root as an alias for map.connect '' [DHH]
+
+* Added Request#format to return the format used for the request as a mime type. If no format is specified, the first Request#accepts type is used. This means you can stop using respond_to for anything else than responses [DHH]. Examples:
+
+    GET /posts/5.xml   | request.format => Mime::XML
+    GET /posts/5.xhtml | request.format => Mime::HTML
+    GET /posts/5       | request.format => request.accepts.first (usually Mime::HTML for browsers)
+
+* Added the option for extension aliases to mime type registration [DHH]. Example (already in the default routes):
+
+    Mime::Type.register "text/html", :html, %w( application/xhtml+xml ), %w( xhtml )
+  
+  ...will respond on both .html and .xhtml.
+
+* @response.redirect_url works with 201 Created responses: just return headers['Location'] rather than checking the response status.  [Jeremy Kemper]
+
+* Added CSV to Mime::SET so that respond_to csv will work [Cody Fauser]
+
+* Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [DHH]
+
+* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you don't even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH]
+
+* Update Routing to complain when :controller is not specified by a route. Closes #6669. [Nicholas Seckar]
+
+* Ensure render_to_string cleans up after itself when an exception is raised.  #6658 [Rob Sanheim]
+
+* Extract template_changed_since? from compile_template? so plugins may override its behavior for non-file-based templates.  #6651 [Jeff Barczewski]
+
+* Update to Prototype and script.aculo.us [5579]. [Thomas Fuchs]
+
+* simple_format helper doesn't choke on nil.  #6644 [jerry426]
+
+* Update to Prototype 1.5.0_rc2 [5550] which makes it work in Opera again [Thomas Fuchs]
+
+* Reuse named route helper module between Routing reloads. Use remove_method to delete named route methods after each load. Since the module is never collected, this fixes a significant memory leak. [Nicholas Seckar]
+
+* ActionView::Base.erb_variable accessor names the buffer variable used to render templates. Defaults to _erbout; use _buf for erubis.  [Rick Olson]
+
+* assert_select_rjs :remove.  [Dylan Egan]
+
+* Always clear model associations from session.  #4795 [sd at notso.net, andylien at gmail.com]
+
+* Update to Prototype 1.5.0_rc2. [Sam Stephenson]
+
+* Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable. [Sam Stephenson]
+
+* Sync ActionController::StatusCodes::STATUS_CODES with http://www.iana.org/assignments/http-status-codes.  #6586 [dkubb]
+
+* Multipart form values may have a content type without being treated as uploaded files if they do not provide a filename.  #6401 [Andreas Schwarz, Jeremy Kemper]
+
+* assert_response supports symbolic status codes.  #6569 [Kevin Clark]
+    assert_response :ok
+    assert_response :not_found
+    assert_response :forbidden
+
+* Cache parsed query parameters.  #6559 [Stefan Kaes]
+
+* Deprecate JavaScriptHelper#update_element_function, which is superseeded by RJS [Thomas Fuchs]
+
+* pluralize helper interprets nil as zero.  #6474 [Tim Pope]
+
+* Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing.  #6524 [Bob Silva]
+
+* Set ActionView::Base.default_form_builder once rather than passing the :builder option to every form or overriding the form helper methods.  [Jeremy Kemper]
+
+* Deprecate expire_matched_fragments. Use expire_fragment instead.  #6535 [Bob Silva]
+
+* Update to latest Prototype, which doesn't serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
+
+* Deprecate start_form_tag and end_form_tag.  Use form_tag / '</form>' from now on.  [Rick]
+
+* Added block-usage to PrototypeHelper#form_remote_tag, document block-usage of FormTagHelper#form_tag [Rick]
+
+* Add a 0 margin/padding div around the hidden _method input tag that form_tag outputs.  [Rick]
+
+* Added block-usage to TagHelper#content_tag [DHH]. Example:
+
+   <% content_tag :div, :class => "strong" %>
+     Hello world!
+   <% end %>
+  
+  Will output:
+    <div class="strong">Hello world!</div>
+
+* Deprecated UrlHelper#link_to_image and UrlHelper#link_to :post => true #6409 [BobSilva]
+
+* Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) #6421 [BobSilva]
+
+* Fixed that