gettext 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +122 -1
- data/NEWS +21 -0
- data/README +30 -22
- data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
- data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
- data/lib/gettext.rb +119 -37
- data/lib/gettext/active_record.rb +51 -31
- data/lib/gettext/locale_win32.rb +2 -1
- data/lib/gettext/parser/active_record.rb +2 -2
- data/lib/gettext/parser/ruby.rb +2 -2
- data/lib/gettext/poparser.rb +19 -14
- data/lib/gettext/rails.rb +104 -50
- data/lib/gettext/rails_compat.rb +16 -0
- data/lib/gettext/rgettext.rb +37 -3
- data/lib/gettext/textdomain.rb +45 -6
- data/lib/gettext/utils.rb +7 -0
- data/lib/gettext/version.rb +1 -1
- data/po/bs/rails.po +148 -0
- data/po/bs/rgettext.po +131 -0
- data/po/ca/rails.po +45 -26
- data/po/ca/rgettext.po +21 -21
- data/po/cs/rails.po +46 -24
- data/po/cs/rgettext.po +21 -21
- data/po/de/rails.po +46 -27
- data/po/de/rgettext.po +21 -21
- data/po/el/rails.po +46 -25
- data/po/el/rgettext.po +22 -22
- data/po/eo/rails.po +49 -30
- data/po/eo/rgettext.po +21 -21
- data/po/es/rails.po +45 -24
- data/po/es/rgettext.po +21 -21
- data/po/et/rails.po +49 -30
- data/po/fr/rails.po +47 -28
- data/po/fr/rgettext.po +31 -29
- data/po/hr/rails.po +148 -0
- data/po/hr/rgettext.po +131 -0
- data/po/it/rails.po +42 -24
- data/po/it/rgettext.po +21 -21
- data/po/ja/rails.po +43 -25
- data/po/ja/rgettext.po +21 -21
- data/po/ko/rails.po +44 -24
- data/po/ko/rgettext.po +21 -21
- data/po/nb/rails.po +140 -0
- data/po/nb/rgettext.po +127 -0
- data/po/nl/rails.po +50 -30
- data/po/nl/rgettext.po +21 -21
- data/po/pt_BR/rails.po +48 -29
- data/po/pt_BR/rgettext.po +21 -21
- data/po/rails.pot +42 -24
- data/po/rgettext.pot +21 -21
- data/po/ru/rails.po +50 -31
- data/po/ru/rgettext.po +21 -21
- data/po/sv/rgettext.po +21 -21
- data/po/vi/rails.po +141 -0
- data/po/vi/rgettext.po +126 -0
- data/po/zh/rails.po +60 -43
- data/po/zh/rgettext.po +22 -22
- data/po/zh_TW/rails.po +61 -43
- data/po/zh_TW/rgettext.po +22 -22
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
- data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
- data/samples/cgi/po/bs/helloerb1.po +59 -0
- data/samples/cgi/po/bs/helloerb2.po +51 -0
- data/samples/cgi/po/bs/hellolib.po +23 -0
- data/samples/cgi/po/bs/main.po +83 -0
- data/samples/cgi/po/hr/helloerb1.po +59 -0
- data/samples/cgi/po/hr/helloerb2.po +51 -0
- data/samples/cgi/po/hr/hellolib.po +23 -0
- data/samples/cgi/po/hr/main.po +83 -0
- data/samples/cgi/po/nb/helloerb1.po +58 -0
- data/samples/cgi/po/nb/helloerb2.po +50 -0
- data/samples/cgi/po/nb/hellolib.po +22 -0
- data/samples/cgi/po/nb/main.po +82 -0
- data/samples/cgi/po/vi/helloerb1.po +65 -0
- data/samples/cgi/po/vi/helloerb2.po +52 -0
- data/samples/cgi/po/vi/hellolib.po +24 -0
- data/samples/cgi/po/vi/main.po +77 -0
- data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/bs/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/hr/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/helloglade2.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hellogtk.mo +0 -0
- data/samples/locale/vi/LC_MESSAGES/hellotk.mo +0 -0
- data/samples/po/bs/hello.po +23 -0
- data/samples/po/bs/hello2.po +31 -0
- data/samples/po/bs/hello_noop.po +27 -0
- data/samples/po/bs/hello_plural.po +26 -0
- data/samples/po/bs/helloglade2.po +31 -0
- data/samples/po/bs/hellogtk.po +23 -0
- data/samples/po/bs/hellotk.po +23 -0
- data/samples/po/hr/hello.po +23 -0
- data/samples/po/hr/hello2.po +31 -0
- data/samples/po/hr/hello_noop.po +27 -0
- data/samples/po/hr/hello_plural.po +26 -0
- data/samples/po/hr/helloglade2.po +31 -0
- data/samples/po/hr/hellogtk.po +23 -0
- data/samples/po/hr/hellotk.po +23 -0
- data/samples/po/ja/hello_plural.po +1 -1
- data/samples/po/nb/hello.po +22 -0
- data/samples/po/nb/hello2.po +31 -0
- data/samples/po/nb/hello_noop.po +26 -0
- data/samples/po/nb/hello_plural.po +24 -0
- data/samples/po/nb/helloglade2.po +30 -0
- data/samples/po/nb/hellogtk.po +22 -0
- data/samples/po/nb/hellotk.po +22 -0
- data/samples/po/vi/hello.po +23 -0
- data/samples/po/vi/hello2.po +31 -0
- data/samples/po/vi/hello_noop.po +27 -0
- data/samples/po/vi/hello_plural.po +26 -0
- data/samples/po/vi/helloglade2.po +38 -0
- data/samples/po/vi/hellogtk.po +23 -0
- data/samples/po/vi/hellotk.po +24 -0
- data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
- data/samples/rails/po/bs/blog.po +106 -0
- data/samples/rails/po/hr/blog.po +106 -0
- data/samples/rails/po/nb/blog.po +104 -0
- data/samples/rails/po/vi/blog.po +110 -0
- data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
- data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +27 -0
- data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +28 -0
- data/src/poparser.ry +9 -4
- data/test/README +2 -0
- data/test/Rakefile +2 -0
- data/test/db/mysql.drop.sql +4 -0
- data/test/db/mysql.sql +44 -0
- data/test/gettext_test.rb +51 -13
- data/test/gettext_test_active_record.rb +33 -0
- data/test/gettext_test_parser.rb +5 -0
- data/test/gettext_test_rails_caching.rb +211 -0
- data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_nsgettext.mo +0 -0
- data/test/locale/ja/LC_MESSAGES/test_sgettext.mo +0 -0
- data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
- data/test/po/da/plural_error.po +3 -3
- data/test/po/fr/plural.po +6 -0
- data/test/po/fr/plural_error.po +3 -3
- data/test/po/ja/plural.po +6 -0
- data/test/po/ja/plural_error.po +2 -2
- data/test/po/ja/test_nsgettext.po +65 -0
- data/test/po/la/plural_error.po +3 -3
- data/test/rails/README +5 -0
- data/test/rails/Rakefile +35 -0
- data/test/rails/app/controllers/application.rb +8 -0
- data/test/rails/app/controllers/articles_controller.rb +61 -0
- data/test/rails/app/controllers/mailer_controller.rb +19 -0
- data/test/rails/app/helpers/application_helper.rb +3 -0
- data/test/rails/app/helpers/articles_helper.rb +2 -0
- data/test/rails/app/helpers/mailer_helper.rb +2 -0
- data/test/rails/app/models/article.rb +5 -0
- data/test/rails/app/models/mailer.rb +38 -0
- data/test/rails/app/models/user.rb +3 -0
- data/test/rails/app/views/articles/_form.rhtml +13 -0
- data/test/rails/app/views/articles/edit.rhtml +9 -0
- data/test/rails/app/views/articles/list.rhtml +30 -0
- data/test/rails/app/views/articles/list_fr.rhtml +1 -0
- data/test/rails/app/views/articles/multi_error_messages_for.rhtml +19 -0
- data/test/rails/app/views/articles/new.rhtml +8 -0
- data/test/rails/app/views/articles/show.rhtml +28 -0
- data/test/rails/app/views/layouts/application.rhtml +14 -0
- data/test/rails/app/views/layouts/mailer.rhtml +20 -0
- data/test/rails/app/views/mailer/coverpage.rhtml +6 -0
- data/test/rails/app/views/mailer/coverpage_fr.rhtml +6 -0
- data/test/rails/app/views/mailer/singlepart.rhtml +3 -0
- data/test/rails/app/views/mailer/singlepart_fr.rhtml +3 -0
- data/test/rails/config/boot.rb +45 -0
- data/test/rails/config/database.yml +36 -0
- data/test/rails/config/environment.rb +64 -0
- data/test/rails/config/environments/development.rb +21 -0
- data/test/rails/config/environments/production.rb +18 -0
- data/test/rails/config/environments/test.rb +19 -0
- data/test/rails/config/routes.rb +23 -0
- data/test/rails/db/schema.rb +27 -0
- data/test/rails/log/development.log +29 -0
- data/test/rails/log/test.log +329 -0
- data/test/rails/po/ja/rails_test.po +142 -0
- data/test/rails/po/rails_test.pot +147 -0
- data/test/rails/public/404.html +30 -0
- data/test/rails/public/500.html +30 -0
- data/test/rails/public/dispatch.cgi +10 -0
- data/test/rails/public/dispatch.fcgi +24 -0
- data/test/rails/public/dispatch.rb +10 -0
- data/test/rails/public/favicon.ico +0 -0
- data/test/rails/public/images/rails.png +0 -0
- data/test/rails/public/index.html +277 -0
- data/test/rails/public/javascripts/application.js +2 -0
- data/test/rails/public/javascripts/controls.js +833 -0
- data/test/rails/public/javascripts/dragdrop.js +942 -0
- data/test/rails/public/javascripts/effects.js +1088 -0
- data/test/rails/public/javascripts/prototype.js +2515 -0
- data/test/rails/public/robots.txt +1 -0
- data/test/rails/public/stylesheets/scaffold.css +74 -0
- data/test/rails/script/about +3 -0
- data/test/rails/script/breakpointer +3 -0
- data/test/rails/script/console +3 -0
- data/test/rails/script/destroy +3 -0
- data/test/rails/script/generate +3 -0
- data/test/rails/script/performance/benchmarker +3 -0
- data/test/rails/script/performance/profiler +3 -0
- data/test/rails/script/plugin +3 -0
- data/test/rails/script/process/inspector +3 -0
- data/test/rails/script/process/reaper +3 -0
- data/test/rails/script/process/spawner +3 -0
- data/test/rails/script/runner +3 -0
- data/test/rails/script/server +3 -0
- data/test/rails/test/fixtures/articles.yml +11 -0
- data/test/rails/test/functional/articles_controller_test.rb +109 -0
- data/test/rails/test/functional/mailer_controller_test.rb +93 -0
- data/test/rails/test/integration/general_stories_test.rb +58 -0
- data/test/rails/test/result/en/create_error.html +95 -0
- data/test/rails/test/result/en/list.html +65 -0
- data/test/rails/test/result/en/multi_error_messages_for.html +153 -0
- data/test/rails/test/result/en/multipart.html +67 -0
- data/test/rails/test/result/en/new.html +95 -0
- data/test/rails/test/result/en/show.html +50 -0
- data/test/rails/test/result/en/singlepart.html +10 -0
- data/test/rails/test/result/fr/list.html +15 -0
- data/test/rails/test/result/fr/multipart.html +67 -0
- data/test/rails/test/result/fr/singlepart.html +10 -0
- data/test/rails/test/result/ja/create_error.html +95 -0
- data/test/rails/test/result/ja/list.html +65 -0
- data/test/rails/test/result/ja/multi_error_messages_for.html +153 -0
- data/test/rails/test/result/ja/multipart.html +67 -0
- data/test/rails/test/result/ja/new.html +95 -0
- data/test/rails/test/result/ja/show.html +50 -0
- data/test/rails/test/result/ja/singlepart.html +10 -0
- data/test/rails/test/test_helper.rb +28 -0
- data/test/rails/test/unit/article_test.rb +18 -0
- data/test/test.sh +4 -0
- data/test/test_nsgettext.rb +44 -0
- data/test/test_rubyparser_n_.rb +10 -0
- metadata +587 -288
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
|
2
|
+
|
|
3
|
+
# In the development environment your application's code is reloaded on
|
|
4
|
+
# every request. This slows down response time but is perfect for development
|
|
5
|
+
# since you don't have to restart the webserver when you make code changes.
|
|
6
|
+
config.cache_classes = false
|
|
7
|
+
|
|
8
|
+
# Log error messages when you accidentally call methods on nil.
|
|
9
|
+
config.whiny_nils = true
|
|
10
|
+
|
|
11
|
+
# Enable the breakpoint server that script/breakpointer connects to
|
|
12
|
+
config.breakpoint_server = true
|
|
13
|
+
|
|
14
|
+
# Show full error reports and disable caching
|
|
15
|
+
config.action_controller.consider_all_requests_local = true
|
|
16
|
+
config.action_controller.perform_caching = false
|
|
17
|
+
config.action_view.cache_template_extensions = false
|
|
18
|
+
config.action_view.debug_rjs = true
|
|
19
|
+
|
|
20
|
+
# Don't care if the mailer can't send
|
|
21
|
+
config.action_mailer.raise_delivery_errors = false
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
|
2
|
+
|
|
3
|
+
# The production environment is meant for finished, "live" apps.
|
|
4
|
+
# Code is not reloaded between requests
|
|
5
|
+
config.cache_classes = true
|
|
6
|
+
|
|
7
|
+
# Use a different logger for distributed setups
|
|
8
|
+
# config.logger = SyslogLogger.new
|
|
9
|
+
|
|
10
|
+
# Full error reports are disabled and caching is turned on
|
|
11
|
+
config.action_controller.consider_all_requests_local = false
|
|
12
|
+
config.action_controller.perform_caching = true
|
|
13
|
+
|
|
14
|
+
# Enable serving of images, stylesheets, and javascripts from an asset server
|
|
15
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
|
16
|
+
|
|
17
|
+
# Disable delivery errors, bad email addresses will be ignored
|
|
18
|
+
# config.action_mailer.raise_delivery_errors = false
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
|
2
|
+
|
|
3
|
+
# The test environment is used exclusively to run your application's
|
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
|
7
|
+
config.cache_classes = true
|
|
8
|
+
|
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
|
10
|
+
config.whiny_nils = true
|
|
11
|
+
|
|
12
|
+
# Show full error reports and disable caching
|
|
13
|
+
config.action_controller.consider_all_requests_local = true
|
|
14
|
+
config.action_controller.perform_caching = false
|
|
15
|
+
|
|
16
|
+
# Tell ActionMailer not to deliver emails to the real world.
|
|
17
|
+
# The :test delivery method accumulates sent emails in the
|
|
18
|
+
# ActionMailer::Base.deliveries array.
|
|
19
|
+
config.action_mailer.delivery_method = :test
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
ActionController::Routing::Routes.draw do |map|
|
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
|
3
|
+
|
|
4
|
+
# Sample of regular route:
|
|
5
|
+
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
|
|
6
|
+
# Keep in mind you can assign values other than :controller and :action
|
|
7
|
+
|
|
8
|
+
# Sample of named route:
|
|
9
|
+
# map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
|
|
10
|
+
# This route can be invoked with purchase_url(:id => product.id)
|
|
11
|
+
|
|
12
|
+
# You can have the root of your site routed by hooking up ''
|
|
13
|
+
# -- just remember to delete public/index.html.
|
|
14
|
+
# map.connect '', :controller => "welcome"
|
|
15
|
+
|
|
16
|
+
# Allow downloading Web Service WSDL as a file with an extension
|
|
17
|
+
# instead of a file named 'wsdl'
|
|
18
|
+
map.connect ':controller/service.wsdl', :action => 'wsdl'
|
|
19
|
+
|
|
20
|
+
# Install the default route as the lowest priority.
|
|
21
|
+
map.connect ':controller/:action/:id.:format'
|
|
22
|
+
map.connect ':controller/:action/:id'
|
|
23
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# This file is autogenerated. Instead of editing this file, please use the
|
|
2
|
+
# migrations feature of ActiveRecord to incrementally modify your database, and
|
|
3
|
+
# then regenerate this schema definition.
|
|
4
|
+
|
|
5
|
+
ActiveRecord::Schema.define(:version => 1) do
|
|
6
|
+
|
|
7
|
+
create_table "accounts", :force => true do |t|
|
|
8
|
+
t.column "amount", :integer
|
|
9
|
+
t.column "person_id", :integer
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
create_table "articles", :force => true do |t|
|
|
13
|
+
t.column "title", :string, :default => "", :null => false
|
|
14
|
+
t.column "description", :text, :default => "", :null => false
|
|
15
|
+
t.column "lastupdate", :date
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
create_table "people", :force => true do |t|
|
|
19
|
+
t.column "name", :string
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
create_table "users", :force => true do |t|
|
|
23
|
+
t.column "name", :string, :default => "", :null => false
|
|
24
|
+
t.column "lastupdate", :date
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Logfile created on Thu Jul 05 00:41:55 +0900 2007 by /
|
|
2
|
+
[4;36;1mSQL (0.000176)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
|
3
|
+
[4;35;1mSQL (0.000347)[0m [0mSELECT version FROM schema_info[0m
|
|
4
|
+
[4;36;1mSQL (0.000466)[0m [0;1mSELECT * FROM schema_info[0m
|
|
5
|
+
[4;35;1mSQL (0.023176)[0m [0mSHOW TABLES[0m
|
|
6
|
+
[4;36;1mSQL (0.030570)[0m [0;1mSHOW FIELDS FROM accounts[0m
|
|
7
|
+
[4;35;1mSQL (0.001122)[0m [0mSHOW KEYS FROM accounts[0m
|
|
8
|
+
[4;36;1mSQL (0.001240)[0m [0;1mSHOW FIELDS FROM articles[0m
|
|
9
|
+
[4;35;1mSQL (0.001041)[0m [0mSHOW KEYS FROM articles[0m
|
|
10
|
+
[4;36;1mSQL (0.001056)[0m [0;1mSHOW FIELDS FROM people[0m
|
|
11
|
+
[4;35;1mSQL (0.001026)[0m [0mSHOW KEYS FROM people[0m
|
|
12
|
+
[4;36;1mSQL (0.001114)[0m [0;1mSHOW FIELDS FROM users[0m
|
|
13
|
+
[4;35;1mSQL (0.017316)[0m [0mSHOW KEYS FROM users[0m
|
|
14
|
+
[4;36;1mSQL (0.000152)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
|
15
|
+
[4;35;1mSQL (0.223728)[0m [0mDROP DATABASE IF EXISTS `rails_unittest`[0m
|
|
16
|
+
[4;36;1mSQL (0.000440)[0m [0;1mCREATE DATABASE `rails_unittest`[0m
|
|
17
|
+
[4;35;1mSQL (0.000378)[0m [0mSET SQL_AUTO_IS_NULL=0[0m
|
|
18
|
+
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'accounts': DROP TABLE accounts[0m
|
|
19
|
+
[4;35;1mSQL (0.010599)[0m [0mCREATE TABLE accounts (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `amount` int(11) DEFAULT NULL, `person_id` int(11) DEFAULT NULL) ENGINE=InnoDB[0m
|
|
20
|
+
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'articles': DROP TABLE articles[0m
|
|
21
|
+
[4;35;1mSQL (0.005200)[0m [0mCREATE TABLE articles (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `title` varchar(255) DEFAULT '' NOT NULL, `description` text DEFAULT '' NOT NULL, `lastupdate` date DEFAULT NULL) ENGINE=InnoDB[0m
|
|
22
|
+
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'people': DROP TABLE people[0m
|
|
23
|
+
[4;35;1mSQL (0.006510)[0m [0mCREATE TABLE people (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB[0m
|
|
24
|
+
[4;36;1mSQL (0.000000)[0m [0;1mMysql::Error: #42S02Unknown table 'users': DROP TABLE users[0m
|
|
25
|
+
[4;35;1mSQL (0.005207)[0m [0mCREATE TABLE users (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT '' NOT NULL, `lastupdate` date DEFAULT NULL) ENGINE=InnoDB[0m
|
|
26
|
+
[4;36;1mSQL (0.004379)[0m [0;1mCREATE TABLE schema_info (version int(11))[0m
|
|
27
|
+
[4;35;1mSQL (0.000437)[0m [0mINSERT INTO schema_info (version) VALUES(0)[0m
|
|
28
|
+
[4;36;1mSQL (0.001619)[0m [0;1mSHOW FIELDS FROM schema_info[0m
|
|
29
|
+
[4;35;1mSQL (0.000287)[0m [0mUPDATE schema_info SET version = 1[0m
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
# Logfile created on Thu Jul 05 00:41:57 +0900 2007 by /
|
|
2
|
+
[4;36;1mSQL (0.000154)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
|
3
|
+
[4;35;1mSQL (0.000201)[0m [0mBEGIN[0m
|
|
4
|
+
[4;36;1mArticle Columns (0.002118)[0m [0;1mSHOW FIELDS FROM articles[0m
|
|
5
|
+
[4;35;1mArticle Load (0.145503)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
6
|
+
[4;36;1mArticle Load (0.000950)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 2) [0m
|
|
7
|
+
[4;35;1mSQL (0.006518)[0m [0mROLLBACK[0m
|
|
8
|
+
[4;36;1mSQL (0.000145)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
|
9
|
+
[4;35;1mSQL (0.000259)[0m [0mBEGIN[0m
|
|
10
|
+
[4;36;1mArticle Columns (0.002101)[0m [0;1mSHOW FIELDS FROM articles[0m
|
|
11
|
+
[4;35;1mArticle Load (0.000909)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
Processing ArticlesController#create (for 0.0.0.0 at 2007-07-05 00:42:01) [POST]
|
|
15
|
+
Session ID:
|
|
16
|
+
Parameters: {"article"=>{"title"=>"", "description"=>"", "lastupdate"=>#<Date: 4908383/2,0,2299161>}, "action"=>"create", "controller"=>"articles", "lang"=>"ja"}
|
|
17
|
+
[4;36;1mArticle Load (0.070937)[0m [0;1mSELECT * FROM articles WHERE (articles.title = '') LIMIT 1[0m
|
|
18
|
+
Rendering layoutfalseactionnew within layouts/application
|
|
19
|
+
Rendering articles/new
|
|
20
|
+
Rendered articles/_form (0.07856)
|
|
21
|
+
Completed in 0.40412 (2 reqs/sec) | Rendering: 0.18180 (44%) | DB: 0.07435 (18%) | 200 OK [http://test.host/articles/create?lang=ja&article=titledescriptionlastupdate2007-04-01]
|
|
22
|
+
[4;35;1mSQL (0.000330)[0m [0mROLLBACK[0m
|
|
23
|
+
[4;36;1mSQL (0.000188)[0m [0;1mBEGIN[0m
|
|
24
|
+
[4;35;1mArticle Load (0.000949)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
25
|
+
[4;36;1mArticle Load (0.000819)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
Processing ArticlesController#destroy (for 0.0.0.0 at 2007-07-05 00:42:02) [POST]
|
|
29
|
+
Session ID:
|
|
30
|
+
Parameters: {"action"=>"destroy", "id"=>"1", "controller"=>"articles"}
|
|
31
|
+
[4;35;1mArticle Load (0.000998)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
32
|
+
[4;36;1mArticle Destroy (0.048058)[0m [0;1m DELETE FROM articles
|
|
33
|
+
WHERE `id` = 1
|
|
34
|
+
[0m
|
|
35
|
+
Redirected to http://test.host/articles/list
|
|
36
|
+
Completed in 0.05224 (19 reqs/sec) | DB: 0.05134 (98%) | 302 Found [http://test.host/articles/destroy/1]
|
|
37
|
+
[4;35;1mArticle Load (0.001003)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
38
|
+
[4;36;1mSQL (0.220307)[0m [0;1mROLLBACK[0m
|
|
39
|
+
[4;35;1mSQL (0.000379)[0m [0mBEGIN[0m
|
|
40
|
+
[4;36;1mArticle Load (0.000997)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
Processing ArticlesController#list (for 0.0.0.0 at 2007-07-05 00:42:02) [GET]
|
|
44
|
+
Session ID:
|
|
45
|
+
Parameters: {"action"=>"list", "controller"=>"articles", "lang"=>"ja"}
|
|
46
|
+
[4;35;1mSQL (0.167564)[0m [0mSELECT count(*) AS count_all FROM articles [0m
|
|
47
|
+
[4;36;1mArticle Load (0.000931)[0m [0;1mSELECT * FROM articles LIMIT 0, 10[0m
|
|
48
|
+
Rendering within layouts/application
|
|
49
|
+
Rendering articles/list
|
|
50
|
+
Completed in 0.23473 (4 reqs/sec) | Rendering: 0.06364 (27%) | DB: 0.39118 (166%) | 200 OK [http://test.host/articles/list?lang=ja]
|
|
51
|
+
[4;35;1mSQL (0.000347)[0m [0mROLLBACK[0m
|
|
52
|
+
[4;36;1mSQL (0.000186)[0m [0;1mBEGIN[0m
|
|
53
|
+
[4;35;1mArticle Load (0.000993)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
Processing ArticlesController#multi_error_messages_for (for 0.0.0.0 at 2007-07-05 00:42:03) [POST]
|
|
57
|
+
Session ID:
|
|
58
|
+
Parameters: {"article"=>{"article_description"=>"", "article_title"=>"", "user_name"=>""}, "action"=>"multi_error_messages_for", "controller"=>"articles", "lang"=>"ja"}
|
|
59
|
+
[4;36;1mUser Columns (0.002554)[0m [0;1mSHOW FIELDS FROM users[0m
|
|
60
|
+
[4;35;1mArticle Load (0.000977)[0m [0mSELECT * FROM articles WHERE (articles.title = '') LIMIT 1[0m
|
|
61
|
+
Rendering within layouts/application
|
|
62
|
+
Rendering articles/multi_error_messages_for
|
|
63
|
+
[4;36;1mSQL (0.000278)[0m [0;1mROLLBACK[0m
|
|
64
|
+
[4;35;1mSQL (0.000118)[0m [0mBEGIN[0m
|
|
65
|
+
[4;36;1mArticle Load (0.000646)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
Processing ArticlesController#new (for 0.0.0.0 at 2007-07-05 00:42:03) [GET]
|
|
69
|
+
Session ID:
|
|
70
|
+
Parameters: {"action"=>"new", "controller"=>"articles", "lang"=>"ja"}
|
|
71
|
+
Rendering within layouts/application
|
|
72
|
+
Rendering articles/new
|
|
73
|
+
Rendered articles/_form (0.08647)
|
|
74
|
+
Completed in 0.09559 (10 reqs/sec) | Rendering: 0.09464 (99%) | DB: 0.00104 (1%) | 200 OK [http://test.host/articles/new?lang=ja]
|
|
75
|
+
[4;35;1mSQL (0.000325)[0m [0mROLLBACK[0m
|
|
76
|
+
[4;36;1mSQL (0.000188)[0m [0;1mBEGIN[0m
|
|
77
|
+
[4;35;1mArticle Load (0.000777)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
Processing ArticlesController#show (for 0.0.0.0 at 2007-07-05 00:42:03) [GET]
|
|
81
|
+
Session ID:
|
|
82
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"articles", "lang"=>"ja"}
|
|
83
|
+
[4;36;1mArticle Load (0.000736)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
84
|
+
Rendering within layouts/application
|
|
85
|
+
Rendering articles/show
|
|
86
|
+
Completed in 0.14748 (6 reqs/sec) | Rendering: 0.14530 (98%) | DB: 0.00203 (1%) | 200 OK [http://test.host/articles/show/1?lang=ja]
|
|
87
|
+
[4;35;1mSQL (0.000316)[0m [0mROLLBACK[0m
|
|
88
|
+
[4;36;1mSQL (0.000163)[0m [0;1mBEGIN[0m
|
|
89
|
+
[4;35;1mArticle Load (0.000979)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
Processing ArticlesController#update (for 0.0.0.0 at 2007-07-05 00:42:03) [POST]
|
|
93
|
+
Session ID:
|
|
94
|
+
Parameters: {"action"=>"update", "id"=>"1", "controller"=>"articles"}
|
|
95
|
+
[4;36;1mArticle Load (0.000984)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
96
|
+
[4;35;1mArticle Load (0.073546)[0m [0mSELECT * FROM articles WHERE (articles.title = 'タイトル1' AND articles.id <> 1) LIMIT 1[0m
|
|
97
|
+
[4;36;1mArticle Update (0.000419)[0m [0;1mUPDATE articles SET `lastupdate` = '2007-01-01', `title` = 'タイトル1', `description` = '内容1' WHERE `id` = 1[0m
|
|
98
|
+
Redirected to http://test.host/articles/show/1
|
|
99
|
+
Completed in 0.08107 (12 reqs/sec) | DB: 0.07641 (94%) | 302 Found [http://test.host/articles/update/1]
|
|
100
|
+
[4;35;1mSQL (0.000280)[0m [0mROLLBACK[0m
|
|
101
|
+
[4;36;1mSQL (0.000144)[0m [0;1mBEGIN[0m
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
Processing MailerController#multipart (for 0.0.0.0 at 2007-07-05 00:42:03) [GET]
|
|
105
|
+
Session ID:
|
|
106
|
+
Parameters: {"action"=>"multipart", "controller"=>"mailer", "lang"=>"ja"}
|
|
107
|
+
Sent mail:
|
|
108
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
|
109
|
+
From: mutoh@highway.ne.jp
|
|
110
|
+
To: mutoh@highway.ne.jp
|
|
111
|
+
Subject: multipart test mail
|
|
112
|
+
Mime-Version: 1.0
|
|
113
|
+
Content-Type: multipart/mixed; boundary=mimepart_468bbfcd3b76a_59291555555987001ee
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
--mimepart_468bbfcd3b76a_59291555555987001ee
|
|
117
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
|
118
|
+
Content-Transfer-Encoding: 7bit
|
|
119
|
+
Content-Disposition: inline
|
|
120
|
+
|
|
121
|
+
Hi foo,
|
|
122
|
+
|
|
123
|
+
I attached public/images/* for example.
|
|
124
|
+
|
|
125
|
+
--
|
|
126
|
+
bar@example.com
|
|
127
|
+
|
|
128
|
+
--mimepart_468bbfcd3b76a_59291555555987001ee
|
|
129
|
+
Content-Type: application/octet-stream; name=rails.png
|
|
130
|
+
Content-Transfer-Encoding: Base64
|
|
131
|
+
Content-Disposition: attachment; filename=rails.png
|
|
132
|
+
|
|
133
|
+
iVBORw0KGgoAAAANSUhEUgAAADIAAABACAMAAABvC9RJAAAABGdBTUEAANbY
|
|
134
|
+
1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADA
|
|
135
|
+
UExURbhJOOnNsM6Hd3wYIqYdJc+VirVVSJgaIvPl27Cmpf///5InK4s2Qsh0
|
|
136
|
+
atqkkbU7NK4gKNCrpIkVHcNpSLAqLPXr47Z6eMl8VuzVvvv18fjv6d62rb9R
|
|
137
|
+
T9ehcpRHSLIyL86NYerMxqQ8NbpGQ7IuN8VyTOzZ1N+1k/v39akVHsRmXapJ
|
|
138
|
+
Pe/cyfLg06RcWOXEob9hRL9bVb1YPubDuv79/JwwMK4lLP3699rDwrFlafv4
|
|
139
|
+
+p9QS/nz8MVhZYYdIq0eIJkvcAEAAAXBSURBVHjalNdbY6JKDABgHK4dlqt4
|
|
140
|
+
RUVERVSqomA9pfD//9VJZkCp+7R5cHctXzMzhIQVKKXb4Z9/iIVA6VB0XVVV
|
|
141
|
+
XTc//I5VJ/BfuS5JkioKIFQJQ9WVrL9h0edx5pFl+Nk/K4Ll2bYkCl9MQBb1
|
|
142
|
+
oAjZeTP6rWQtNc+b/hkYkICRT1fiJFeUDKI/wtgsTS5HJR3Ab0GDpEBSqTwH
|
|
143
|
+
JGEkO4+Wy+XpTmOUm9HcnMOf/X6WGYIFKwMiNmSlKLAwJOcNISGlJRkR87TV
|
|
144
|
+
tKmW9mLSF65XBVbGCQpdeZFzf0S2A9MMp/QVWmxcfVgZI+2yngS2vSHxlr7F
|
|
145
|
+
1DFgZU+SK7+y9Pumpu3eDU2NIHiSQ0sETuLxKT6NnwubpmmqTSi9yUHBibtS
|
|
146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
TkciVhUcdC470/cZdIHEISu/QMhgulrr9dptSFWJfz4+/kpDLkQ2BWYgwRpD
|
|
162
|
+
4gSNC+TD2f6eXFe2fUzirZtQO2QBRJadr+7qyswSBDbt7UYUfxMIv3NyssVe
|
|
163
|
+
QuyGFAVUFid4APpi8R3x152LQZrYB+2jv16zYu4SPDQ3YYFF6lm4ILt+9gr+
|
|
164
|
+
mEkvgteL0NDZKGFIynME9QthwPct0fNczyts6EkB97pIJKn6s4KhYzVbSdZ4
|
|
165
|
+
cJ4qtUTfYkPdPhI7ueBft5ek+oaenETagPXLmmjw9dRIXuQ/XrpRsh7wus/F
|
|
166
|
+
T3gddKMblYEks+bWdkhJQ9mn9CeBa65ySO/f4ucN3gcPO06gk8g/+z3MQPam
|
|
167
|
+
xMnQXTFyp3to6buGLF7k6vs4aTtk60O3mCEhtQykQlK1JOKFJCddgluRayTl
|
|
168
|
+
oOwSAocOp3INwwFNiy6BDu64NhKmG/K9o040m63hsCPLB1J3iPNFy0uCxB9+
|
|
169
|
+
dckNYjbDiXOnoc3eYEW3EnVY5p+STqIkwqOFhxEIRcIPd8YPefoD+1IrRqrP
|
|
170
|
+
z4W4ePxEtfd4rNTD45Hrq8fjgB8YwfoHgw1b9xNbXyXyQktqKDtX1fHtVIdP
|
|
171
|
+
LCMWecHqFetNFb/YK1xjJFttgl/YifYZcMUh5VOsSaN2o+LB8+jsK7hwSKmw
|
|
172
|
+
+Jf/iAzxTfh/AQYADd4StjMb1WUAAAAASUVORK5CYII=
|
|
173
|
+
|
|
174
|
+
--mimepart_468bbfcd3b76a_59291555555987001ee--
|
|
175
|
+
|
|
176
|
+
Rendering layoutfalsetextDate: Mon, 1 Jan 2007 00:00:00 +0900
|
|
177
|
+
From: mutoh@highway.ne.jp
|
|
178
|
+
To: mutoh@highway.ne.jp
|
|
179
|
+
Subject: multipart test mail
|
|
180
|
+
Mime-Version: 1.0
|
|
181
|
+
Content-Type: multipart/mixed; boundary=mimepart_468bbfcd3e65f_5929155555598700242
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
--mimepart_468bbfcd3e65f_5929155555598700242
|
|
185
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
|
186
|
+
Content-Transfer-Encoding: 7bit
|
|
187
|
+
Content-Disposition: inline
|
|
188
|
+
|
|
189
|
+
Hi foo,
|
|
190
|
+
|
|
191
|
+
I attached public/images/* for example.
|
|
192
|
+
|
|
193
|
+
--
|
|
194
|
+
bar@example.com
|
|
195
|
+
|
|
196
|
+
--mimepart_468bbfcd3e65f_5929155555598700242
|
|
197
|
+
Content-Type: application/octet-stream; name=rails.png
|
|
198
|
+
Content-Transfer-Encoding: Base64
|
|
199
|
+
Content-Disposition: attachment; filename=rails.png
|
|
200
|
+
|
|
201
|
+
iVBORw0KGgoAAAANSUhEUgAAADIAAABACAMAAABvC9RJAAAABGdBTUEAANbY
|
|
202
|
+
1E9YMgAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADA
|
|
203
|
+
UExURbhJOOnNsM6Hd3wYIqYdJc+VirVVSJgaIvPl27Cmpf///5InK4s2Qsh0
|
|
204
|
+
atqkkbU7NK4gKNCrpIkVHcNpSLAqLPXr47Z6eMl8VuzVvvv18fjv6d62rb9R
|
|
205
|
+
T9ehcpRHSLIyL86NYerMxqQ8NbpGQ7IuN8VyTOzZ1N+1k/v39akVHsRmXapJ
|
|
206
|
+
Pe/cyfLg06RcWOXEob9hRL9bVb1YPubDuv79/JwwMK4lLP3699rDwrFlafv4
|
|
207
|
+
+p9QS/nz8MVhZYYdIq0eIJkvcAEAAAXBSURBVHjalNdbY6JKDABgHK4dlqt4
|
|
208
|
+
RUVERVSqomA9pfD//9VJZkCp+7R5cHctXzMzhIQVKKXb4Z9/iIVA6VB0XVVV
|
|
209
|
+
XTc//I5VJ/BfuS5JkioKIFQJQ9WVrL9h0edx5pFl+Nk/K4Ll2bYkCl9MQBb1
|
|
210
|
+
oAjZeTP6rWQtNc+b/hkYkICR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
|
|
241
|
+
|
|
242
|
+
--mimepart_468bbfcd3e65f_5929155555598700242--
|
|
243
|
+
within layouts/mailer
|
|
244
|
+
Completed in 1.53427 (0 reqs/sec) | Rendering: 0.08630 (5%) | DB: 0.00042 (0%) | 200 OK [http://test.host/mailer/multipart?lang=ja]
|
|
245
|
+
[4;35;1mSQL (0.000271)[0m [0mROLLBACK[0m
|
|
246
|
+
[4;36;1mSQL (0.000156)[0m [0;1mBEGIN[0m
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
Processing MailerController#singlepart (for 0.0.0.0 at 2007-07-05 00:42:05) [GET]
|
|
250
|
+
Session ID:
|
|
251
|
+
Parameters: {"action"=>"singlepart", "controller"=>"mailer", "lang"=>"ja"}
|
|
252
|
+
Sent mail:
|
|
253
|
+
Date: Mon, 1 Jan 2007 00:00:00 +0900
|
|
254
|
+
From: mutoh@highway.ne.jp
|
|
255
|
+
To: mutoh@highway.ne.jp
|
|
256
|
+
Subject: singlepart test mail
|
|
257
|
+
Mime-Version: 1.0
|
|
258
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
|
259
|
+
|
|
260
|
+
Hi foo,
|
|
261
|
+
|
|
262
|
+
This is a singlepart mail. OK?
|
|
263
|
+
|
|
264
|
+
Rendering layoutfalsetextDate: Mon, 1 Jan 2007 00:00:00 +0900
|
|
265
|
+
From: mutoh@highway.ne.jp
|
|
266
|
+
To: mutoh@highway.ne.jp
|
|
267
|
+
Subject: singlepart test mail
|
|
268
|
+
Mime-Version: 1.0
|
|
269
|
+
Content-Type: text/plain; charset=iso-2022-jp
|
|
270
|
+
|
|
271
|
+
Hi foo,
|
|
272
|
+
|
|
273
|
+
This is a singlepart mail. OK?
|
|
274
|
+
within layouts/mailer
|
|
275
|
+
Completed in 0.03473 (28 reqs/sec) | Rendering: 0.00179 (5%) | DB: 0.00043 (1%) | 200 OK [http://test.host/mailer/singlepart?lang=ja]
|
|
276
|
+
[4;35;1mSQL (0.000280)[0m [0mROLLBACK[0m
|
|
277
|
+
[4;36;1mSQL (0.000154)[0m [0;1mSET SQL_AUTO_IS_NULL=0[0m
|
|
278
|
+
[4;35;1mSQL (0.000230)[0m [0mBEGIN[0m
|
|
279
|
+
[4;36;1mArticle Columns (0.001492)[0m [0;1mSHOW FIELDS FROM articles[0m
|
|
280
|
+
[4;35;1mArticle Load (0.000715)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
281
|
+
[4;36;1mSQL (0.000363)[0m [0;1mSELECT count(*) AS count_all FROM articles [0m
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
Processing ArticlesController#create (for 127.0.0.1 at 2007-07-05 00:42:08) [POST]
|
|
285
|
+
Session ID: cdf518524f055b2a755268263732db2b
|
|
286
|
+
Parameters: {"article"=>{"title"=>"", "description"=>"", "lastupdate"=>"2007-04-01"}, "action"=>"create", "controller"=>"articles"}
|
|
287
|
+
[4;35;1mArticle Load (0.001419)[0m [0mSELECT * FROM articles WHERE (articles.title = '') LIMIT 1[0m
|
|
288
|
+
Rendering layoutfalseactionnew within layouts/application
|
|
289
|
+
Rendering articles/new
|
|
290
|
+
Rendered articles/_form (0.01764)
|
|
291
|
+
Completed in 0.04353 (22 reqs/sec) | Rendering: 0.03447 (79%) | DB: 0.00437 (10%) | 200 OK [http://www.example.com/articles/create]
|
|
292
|
+
[4;36;1mSQL (0.000470)[0m [0;1mROLLBACK[0m
|
|
293
|
+
[4;35;1mSQL (0.000204)[0m [0mBEGIN[0m
|
|
294
|
+
[4;36;1mArticle Load (0.000997)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
Processing ArticlesController#list (for 127.0.0.1 at 2007-07-05 00:42:08) [GET]
|
|
298
|
+
Session ID: 84798eb1816d5d0825437241cde37f85
|
|
299
|
+
Parameters: {"action"=>"list", "controller"=>"articles"}
|
|
300
|
+
[4;35;1mSQL (0.000715)[0m [0mSELECT count(*) AS count_all FROM articles [0m
|
|
301
|
+
[4;36;1mArticle Load (0.000922)[0m [0;1mSELECT * FROM articles LIMIT 0, 10[0m
|
|
302
|
+
Rendering within layouts/application
|
|
303
|
+
Rendering articles/list
|
|
304
|
+
Completed in 0.02965 (33 reqs/sec) | Rendering: 0.02576 (86%) | DB: 0.00331 (11%) | 200 OK [http://www.example.com/articles/list]
|
|
305
|
+
[4;35;1mSQL (0.000244)[0m [0mROLLBACK[0m
|
|
306
|
+
[4;36;1mSQL (0.000121)[0m [0;1mBEGIN[0m
|
|
307
|
+
[4;35;1mArticle Load (0.000608)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
Processing ArticlesController#new (for 127.0.0.1 at 2007-07-05 00:42:08) [GET]
|
|
311
|
+
Session ID: c852bff7efdb6f5642dc29ecbe55b4af
|
|
312
|
+
Parameters: {"action"=>"new", "controller"=>"articles"}
|
|
313
|
+
Rendering within layouts/application
|
|
314
|
+
Rendering articles/new
|
|
315
|
+
Rendered articles/_form (0.00636)
|
|
316
|
+
Completed in 0.01481 (67 reqs/sec) | Rendering: 0.01405 (94%) | DB: 0.00097 (6%) | 200 OK [http://www.example.com/articles/new]
|
|
317
|
+
[4;36;1mSQL (0.000245)[0m [0;1mROLLBACK[0m
|
|
318
|
+
[4;35;1mSQL (0.000120)[0m [0mBEGIN[0m
|
|
319
|
+
[4;36;1mArticle Load (0.000629)[0m [0;1mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
Processing ArticlesController#show (for 127.0.0.1 at 2007-07-05 00:42:08) [GET]
|
|
323
|
+
Session ID: 1f1464a300b7c793309e09cbeb09073c
|
|
324
|
+
Parameters: {"action"=>"show", "id"=>"1", "controller"=>"articles"}
|
|
325
|
+
[4;35;1mArticle Load (0.000722)[0m [0mSELECT * FROM articles WHERE (articles.`id` = 1) [0m
|
|
326
|
+
Rendering within layouts/application
|
|
327
|
+
Rendering articles/show
|
|
328
|
+
Completed in 0.03190 (31 reqs/sec) | Rendering: 0.03014 (94%) | DB: 0.00172 (5%) | 200 OK [http://www.example.com/articles/show/1]
|
|
329
|
+
[4;36;1mSQL (0.000600)[0m [0;1mROLLBACK[0m
|