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.
Files changed (328) hide show
  1. data/ChangeLog +122 -1
  2. data/NEWS +21 -0
  3. data/README +30 -22
  4. data/data/locale/bs/LC_MESSAGES/rails.mo +0 -0
  5. data/data/locale/bs/LC_MESSAGES/rgettext.mo +0 -0
  6. data/data/locale/ca/LC_MESSAGES/rails.mo +0 -0
  7. data/data/locale/ca/LC_MESSAGES/rgettext.mo +0 -0
  8. data/data/locale/cs/LC_MESSAGES/rails.mo +0 -0
  9. data/data/locale/cs/LC_MESSAGES/rgettext.mo +0 -0
  10. data/data/locale/de/LC_MESSAGES/rails.mo +0 -0
  11. data/data/locale/de/LC_MESSAGES/rgettext.mo +0 -0
  12. data/data/locale/el/LC_MESSAGES/rails.mo +0 -0
  13. data/data/locale/el/LC_MESSAGES/rgettext.mo +0 -0
  14. data/data/locale/eo/LC_MESSAGES/rails.mo +0 -0
  15. data/data/locale/eo/LC_MESSAGES/rgettext.mo +0 -0
  16. data/data/locale/es/LC_MESSAGES/rails.mo +0 -0
  17. data/data/locale/es/LC_MESSAGES/rgettext.mo +0 -0
  18. data/data/locale/et/LC_MESSAGES/rails.mo +0 -0
  19. data/data/locale/fr/LC_MESSAGES/rails.mo +0 -0
  20. data/data/locale/fr/LC_MESSAGES/rgettext.mo +0 -0
  21. data/data/locale/hr/LC_MESSAGES/rails.mo +0 -0
  22. data/data/locale/hr/LC_MESSAGES/rgettext.mo +0 -0
  23. data/data/locale/it/LC_MESSAGES/rails.mo +0 -0
  24. data/data/locale/it/LC_MESSAGES/rgettext.mo +0 -0
  25. data/data/locale/ja/LC_MESSAGES/rails.mo +0 -0
  26. data/data/locale/ja/LC_MESSAGES/rgettext.mo +0 -0
  27. data/data/locale/ko/LC_MESSAGES/rails.mo +0 -0
  28. data/data/locale/ko/LC_MESSAGES/rgettext.mo +0 -0
  29. data/data/locale/nb/LC_MESSAGES/rails.mo +0 -0
  30. data/data/locale/nb/LC_MESSAGES/rgettext.mo +0 -0
  31. data/data/locale/nl/LC_MESSAGES/rails.mo +0 -0
  32. data/data/locale/nl/LC_MESSAGES/rgettext.mo +0 -0
  33. data/data/locale/pt_BR/LC_MESSAGES/rails.mo +0 -0
  34. data/data/locale/pt_BR/LC_MESSAGES/rgettext.mo +0 -0
  35. data/data/locale/ru/LC_MESSAGES/rails.mo +0 -0
  36. data/data/locale/ru/LC_MESSAGES/rgettext.mo +0 -0
  37. data/data/locale/sv/LC_MESSAGES/rgettext.mo +0 -0
  38. data/data/locale/vi/LC_MESSAGES/rails.mo +0 -0
  39. data/data/locale/vi/LC_MESSAGES/rgettext.mo +0 -0
  40. data/data/locale/zh/LC_MESSAGES/rails.mo +0 -0
  41. data/data/locale/zh/LC_MESSAGES/rgettext.mo +0 -0
  42. data/data/locale/zh_TW/LC_MESSAGES/rails.mo +0 -0
  43. data/data/locale/zh_TW/LC_MESSAGES/rgettext.mo +0 -0
  44. data/lib/gettext.rb +119 -37
  45. data/lib/gettext/active_record.rb +51 -31
  46. data/lib/gettext/locale_win32.rb +2 -1
  47. data/lib/gettext/parser/active_record.rb +2 -2
  48. data/lib/gettext/parser/ruby.rb +2 -2
  49. data/lib/gettext/poparser.rb +19 -14
  50. data/lib/gettext/rails.rb +104 -50
  51. data/lib/gettext/rails_compat.rb +16 -0
  52. data/lib/gettext/rgettext.rb +37 -3
  53. data/lib/gettext/textdomain.rb +45 -6
  54. data/lib/gettext/utils.rb +7 -0
  55. data/lib/gettext/version.rb +1 -1
  56. data/po/bs/rails.po +148 -0
  57. data/po/bs/rgettext.po +131 -0
  58. data/po/ca/rails.po +45 -26
  59. data/po/ca/rgettext.po +21 -21
  60. data/po/cs/rails.po +46 -24
  61. data/po/cs/rgettext.po +21 -21
  62. data/po/de/rails.po +46 -27
  63. data/po/de/rgettext.po +21 -21
  64. data/po/el/rails.po +46 -25
  65. data/po/el/rgettext.po +22 -22
  66. data/po/eo/rails.po +49 -30
  67. data/po/eo/rgettext.po +21 -21
  68. data/po/es/rails.po +45 -24
  69. data/po/es/rgettext.po +21 -21
  70. data/po/et/rails.po +49 -30
  71. data/po/fr/rails.po +47 -28
  72. data/po/fr/rgettext.po +31 -29
  73. data/po/hr/rails.po +148 -0
  74. data/po/hr/rgettext.po +131 -0
  75. data/po/it/rails.po +42 -24
  76. data/po/it/rgettext.po +21 -21
  77. data/po/ja/rails.po +43 -25
  78. data/po/ja/rgettext.po +21 -21
  79. data/po/ko/rails.po +44 -24
  80. data/po/ko/rgettext.po +21 -21
  81. data/po/nb/rails.po +140 -0
  82. data/po/nb/rgettext.po +127 -0
  83. data/po/nl/rails.po +50 -30
  84. data/po/nl/rgettext.po +21 -21
  85. data/po/pt_BR/rails.po +48 -29
  86. data/po/pt_BR/rgettext.po +21 -21
  87. data/po/rails.pot +42 -24
  88. data/po/rgettext.pot +21 -21
  89. data/po/ru/rails.po +50 -31
  90. data/po/ru/rgettext.po +21 -21
  91. data/po/sv/rgettext.po +21 -21
  92. data/po/vi/rails.po +141 -0
  93. data/po/vi/rgettext.po +126 -0
  94. data/po/zh/rails.po +60 -43
  95. data/po/zh/rgettext.po +22 -22
  96. data/po/zh_TW/rails.po +61 -43
  97. data/po/zh_TW/rgettext.po +22 -22
  98. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb1.mo +0 -0
  99. data/samples/cgi/locale/bs/LC_MESSAGES/helloerb2.mo +0 -0
  100. data/samples/cgi/locale/bs/LC_MESSAGES/hellolib.mo +0 -0
  101. data/samples/cgi/locale/bs/LC_MESSAGES/main.mo +0 -0
  102. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb1.mo +0 -0
  103. data/samples/cgi/locale/ca/LC_MESSAGES/helloerb2.mo +0 -0
  104. data/samples/cgi/locale/de/LC_MESSAGES/helloerb1.mo +0 -0
  105. data/samples/cgi/locale/de/LC_MESSAGES/helloerb2.mo +0 -0
  106. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb1.mo +0 -0
  107. data/samples/cgi/locale/hr/LC_MESSAGES/helloerb2.mo +0 -0
  108. data/samples/cgi/locale/hr/LC_MESSAGES/hellolib.mo +0 -0
  109. data/samples/cgi/locale/hr/LC_MESSAGES/main.mo +0 -0
  110. data/samples/cgi/locale/it/LC_MESSAGES/helloerb1.mo +0 -0
  111. data/samples/cgi/locale/it/LC_MESSAGES/helloerb2.mo +0 -0
  112. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb1.mo +0 -0
  113. data/samples/cgi/locale/ko/LC_MESSAGES/helloerb2.mo +0 -0
  114. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb1.mo +0 -0
  115. data/samples/cgi/locale/nb/LC_MESSAGES/helloerb2.mo +0 -0
  116. data/samples/cgi/locale/nb/LC_MESSAGES/hellolib.mo +0 -0
  117. data/samples/cgi/locale/nb/LC_MESSAGES/main.mo +0 -0
  118. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb1.mo +0 -0
  119. data/samples/cgi/locale/vi/LC_MESSAGES/helloerb2.mo +0 -0
  120. data/samples/cgi/locale/vi/LC_MESSAGES/hellolib.mo +0 -0
  121. data/samples/cgi/locale/vi/LC_MESSAGES/main.mo +0 -0
  122. data/samples/cgi/po/bs/helloerb1.po +59 -0
  123. data/samples/cgi/po/bs/helloerb2.po +51 -0
  124. data/samples/cgi/po/bs/hellolib.po +23 -0
  125. data/samples/cgi/po/bs/main.po +83 -0
  126. data/samples/cgi/po/hr/helloerb1.po +59 -0
  127. data/samples/cgi/po/hr/helloerb2.po +51 -0
  128. data/samples/cgi/po/hr/hellolib.po +23 -0
  129. data/samples/cgi/po/hr/main.po +83 -0
  130. data/samples/cgi/po/nb/helloerb1.po +58 -0
  131. data/samples/cgi/po/nb/helloerb2.po +50 -0
  132. data/samples/cgi/po/nb/hellolib.po +22 -0
  133. data/samples/cgi/po/nb/main.po +82 -0
  134. data/samples/cgi/po/vi/helloerb1.po +65 -0
  135. data/samples/cgi/po/vi/helloerb2.po +52 -0
  136. data/samples/cgi/po/vi/hellolib.po +24 -0
  137. data/samples/cgi/po/vi/main.po +77 -0
  138. data/samples/locale/bs/LC_MESSAGES/hello.mo +0 -0
  139. data/samples/locale/bs/LC_MESSAGES/hello2.mo +0 -0
  140. data/samples/locale/bs/LC_MESSAGES/hello_noop.mo +0 -0
  141. data/samples/locale/bs/LC_MESSAGES/hello_plural.mo +0 -0
  142. data/samples/locale/bs/LC_MESSAGES/helloglade2.mo +0 -0
  143. data/samples/locale/bs/LC_MESSAGES/hellogtk.mo +0 -0
  144. data/samples/locale/bs/LC_MESSAGES/hellotk.mo +0 -0
  145. data/samples/locale/hr/LC_MESSAGES/hello.mo +0 -0
  146. data/samples/locale/hr/LC_MESSAGES/hello2.mo +0 -0
  147. data/samples/locale/hr/LC_MESSAGES/hello_noop.mo +0 -0
  148. data/samples/locale/hr/LC_MESSAGES/hello_plural.mo +0 -0
  149. data/samples/locale/hr/LC_MESSAGES/helloglade2.mo +0 -0
  150. data/samples/locale/hr/LC_MESSAGES/hellogtk.mo +0 -0
  151. data/samples/locale/hr/LC_MESSAGES/hellotk.mo +0 -0
  152. data/samples/locale/ja/LC_MESSAGES/hello_plural.mo +0 -0
  153. data/samples/locale/nb/LC_MESSAGES/hello.mo +0 -0
  154. data/samples/locale/nb/LC_MESSAGES/hello2.mo +0 -0
  155. data/samples/locale/nb/LC_MESSAGES/hello_noop.mo +0 -0
  156. data/samples/locale/nb/LC_MESSAGES/hello_plural.mo +0 -0
  157. data/samples/locale/nb/LC_MESSAGES/helloglade2.mo +0 -0
  158. data/samples/locale/nb/LC_MESSAGES/hellogtk.mo +0 -0
  159. data/samples/locale/nb/LC_MESSAGES/hellotk.mo +0 -0
  160. data/samples/locale/vi/LC_MESSAGES/hello.mo +0 -0
  161. data/samples/locale/vi/LC_MESSAGES/hello2.mo +0 -0
  162. data/samples/locale/vi/LC_MESSAGES/hello_noop.mo +0 -0
  163. data/samples/locale/vi/LC_MESSAGES/hello_plural.mo +0 -0
  164. data/samples/locale/vi/LC_MESSAGES/helloglade2.mo +0 -0
  165. data/samples/locale/vi/LC_MESSAGES/hellogtk.mo +0 -0
  166. data/samples/locale/vi/LC_MESSAGES/hellotk.mo +0 -0
  167. data/samples/po/bs/hello.po +23 -0
  168. data/samples/po/bs/hello2.po +31 -0
  169. data/samples/po/bs/hello_noop.po +27 -0
  170. data/samples/po/bs/hello_plural.po +26 -0
  171. data/samples/po/bs/helloglade2.po +31 -0
  172. data/samples/po/bs/hellogtk.po +23 -0
  173. data/samples/po/bs/hellotk.po +23 -0
  174. data/samples/po/hr/hello.po +23 -0
  175. data/samples/po/hr/hello2.po +31 -0
  176. data/samples/po/hr/hello_noop.po +27 -0
  177. data/samples/po/hr/hello_plural.po +26 -0
  178. data/samples/po/hr/helloglade2.po +31 -0
  179. data/samples/po/hr/hellogtk.po +23 -0
  180. data/samples/po/hr/hellotk.po +23 -0
  181. data/samples/po/ja/hello_plural.po +1 -1
  182. data/samples/po/nb/hello.po +22 -0
  183. data/samples/po/nb/hello2.po +31 -0
  184. data/samples/po/nb/hello_noop.po +26 -0
  185. data/samples/po/nb/hello_plural.po +24 -0
  186. data/samples/po/nb/helloglade2.po +30 -0
  187. data/samples/po/nb/hellogtk.po +22 -0
  188. data/samples/po/nb/hellotk.po +22 -0
  189. data/samples/po/vi/hello.po +23 -0
  190. data/samples/po/vi/hello2.po +31 -0
  191. data/samples/po/vi/hello_noop.po +27 -0
  192. data/samples/po/vi/hello_plural.po +26 -0
  193. data/samples/po/vi/helloglade2.po +38 -0
  194. data/samples/po/vi/hellogtk.po +23 -0
  195. data/samples/po/vi/hellotk.po +24 -0
  196. data/samples/rails/locale/bs/LC_MESSAGES/blog.mo +0 -0
  197. data/samples/rails/locale/en/LC_MESSAGES/blog.mo +0 -0
  198. data/samples/rails/locale/hr/LC_MESSAGES/blog.mo +0 -0
  199. data/samples/rails/locale/nb/LC_MESSAGES/blog.mo +0 -0
  200. data/samples/rails/locale/vi/LC_MESSAGES/blog.mo +0 -0
  201. data/samples/rails/po/bs/blog.po +106 -0
  202. data/samples/rails/po/hr/blog.po +106 -0
  203. data/samples/rails/po/nb/blog.po +104 -0
  204. data/samples/rails/po/vi/blog.po +110 -0
  205. data/samples/rails/vendor/plugins/gettext/locale/bs/LC_MESSAGES/gettext_plugin.mo +0 -0
  206. data/samples/rails/vendor/plugins/gettext/locale/hr/LC_MESSAGES/gettext_plugin.mo +0 -0
  207. data/samples/rails/vendor/plugins/gettext/locale/nb/LC_MESSAGES/gettext_plugin.mo +0 -0
  208. data/samples/rails/vendor/plugins/gettext/locale/vi/LC_MESSAGES/gettext_plugin.mo +0 -0
  209. data/samples/rails/vendor/plugins/gettext/po/bs/gettext_plugin.po +27 -0
  210. data/samples/rails/vendor/plugins/gettext/po/hr/gettext_plugin.po +27 -0
  211. data/samples/rails/vendor/plugins/gettext/po/nb/gettext_plugin.po +27 -0
  212. data/samples/rails/vendor/plugins/gettext/po/vi/gettext_plugin.po +28 -0
  213. data/src/poparser.ry +9 -4
  214. data/test/README +2 -0
  215. data/test/Rakefile +2 -0
  216. data/test/db/mysql.drop.sql +4 -0
  217. data/test/db/mysql.sql +44 -0
  218. data/test/gettext_test.rb +51 -13
  219. data/test/gettext_test_active_record.rb +33 -0
  220. data/test/gettext_test_parser.rb +5 -0
  221. data/test/gettext_test_rails_caching.rb +211 -0
  222. data/test/locale/da/LC_MESSAGES/plural_error.mo +0 -0
  223. data/test/locale/fr/LC_MESSAGES/plural.mo +0 -0
  224. data/test/locale/fr/LC_MESSAGES/plural_error.mo +0 -0
  225. data/test/locale/ja/LC_MESSAGES/active_record.mo +0 -0
  226. data/test/locale/ja/LC_MESSAGES/plural.mo +0 -0
  227. data/test/locale/ja/LC_MESSAGES/plural_error.mo +0 -0
  228. data/test/locale/ja/LC_MESSAGES/test_nsgettext.mo +0 -0
  229. data/test/locale/ja/LC_MESSAGES/test_sgettext.mo +0 -0
  230. data/test/locale/la/LC_MESSAGES/plural_error.mo +0 -0
  231. data/test/po/da/plural_error.po +3 -3
  232. data/test/po/fr/plural.po +6 -0
  233. data/test/po/fr/plural_error.po +3 -3
  234. data/test/po/ja/plural.po +6 -0
  235. data/test/po/ja/plural_error.po +2 -2
  236. data/test/po/ja/test_nsgettext.po +65 -0
  237. data/test/po/la/plural_error.po +3 -3
  238. data/test/rails/README +5 -0
  239. data/test/rails/Rakefile +35 -0
  240. data/test/rails/app/controllers/application.rb +8 -0
  241. data/test/rails/app/controllers/articles_controller.rb +61 -0
  242. data/test/rails/app/controllers/mailer_controller.rb +19 -0
  243. data/test/rails/app/helpers/application_helper.rb +3 -0
  244. data/test/rails/app/helpers/articles_helper.rb +2 -0
  245. data/test/rails/app/helpers/mailer_helper.rb +2 -0
  246. data/test/rails/app/models/article.rb +5 -0
  247. data/test/rails/app/models/mailer.rb +38 -0
  248. data/test/rails/app/models/user.rb +3 -0
  249. data/test/rails/app/views/articles/_form.rhtml +13 -0
  250. data/test/rails/app/views/articles/edit.rhtml +9 -0
  251. data/test/rails/app/views/articles/list.rhtml +30 -0
  252. data/test/rails/app/views/articles/list_fr.rhtml +1 -0
  253. data/test/rails/app/views/articles/multi_error_messages_for.rhtml +19 -0
  254. data/test/rails/app/views/articles/new.rhtml +8 -0
  255. data/test/rails/app/views/articles/show.rhtml +28 -0
  256. data/test/rails/app/views/layouts/application.rhtml +14 -0
  257. data/test/rails/app/views/layouts/mailer.rhtml +20 -0
  258. data/test/rails/app/views/mailer/coverpage.rhtml +6 -0
  259. data/test/rails/app/views/mailer/coverpage_fr.rhtml +6 -0
  260. data/test/rails/app/views/mailer/singlepart.rhtml +3 -0
  261. data/test/rails/app/views/mailer/singlepart_fr.rhtml +3 -0
  262. data/test/rails/config/boot.rb +45 -0
  263. data/test/rails/config/database.yml +36 -0
  264. data/test/rails/config/environment.rb +64 -0
  265. data/test/rails/config/environments/development.rb +21 -0
  266. data/test/rails/config/environments/production.rb +18 -0
  267. data/test/rails/config/environments/test.rb +19 -0
  268. data/test/rails/config/routes.rb +23 -0
  269. data/test/rails/db/schema.rb +27 -0
  270. data/test/rails/log/development.log +29 -0
  271. data/test/rails/log/test.log +329 -0
  272. data/test/rails/po/ja/rails_test.po +142 -0
  273. data/test/rails/po/rails_test.pot +147 -0
  274. data/test/rails/public/404.html +30 -0
  275. data/test/rails/public/500.html +30 -0
  276. data/test/rails/public/dispatch.cgi +10 -0
  277. data/test/rails/public/dispatch.fcgi +24 -0
  278. data/test/rails/public/dispatch.rb +10 -0
  279. data/test/rails/public/favicon.ico +0 -0
  280. data/test/rails/public/images/rails.png +0 -0
  281. data/test/rails/public/index.html +277 -0
  282. data/test/rails/public/javascripts/application.js +2 -0
  283. data/test/rails/public/javascripts/controls.js +833 -0
  284. data/test/rails/public/javascripts/dragdrop.js +942 -0
  285. data/test/rails/public/javascripts/effects.js +1088 -0
  286. data/test/rails/public/javascripts/prototype.js +2515 -0
  287. data/test/rails/public/robots.txt +1 -0
  288. data/test/rails/public/stylesheets/scaffold.css +74 -0
  289. data/test/rails/script/about +3 -0
  290. data/test/rails/script/breakpointer +3 -0
  291. data/test/rails/script/console +3 -0
  292. data/test/rails/script/destroy +3 -0
  293. data/test/rails/script/generate +3 -0
  294. data/test/rails/script/performance/benchmarker +3 -0
  295. data/test/rails/script/performance/profiler +3 -0
  296. data/test/rails/script/plugin +3 -0
  297. data/test/rails/script/process/inspector +3 -0
  298. data/test/rails/script/process/reaper +3 -0
  299. data/test/rails/script/process/spawner +3 -0
  300. data/test/rails/script/runner +3 -0
  301. data/test/rails/script/server +3 -0
  302. data/test/rails/test/fixtures/articles.yml +11 -0
  303. data/test/rails/test/functional/articles_controller_test.rb +109 -0
  304. data/test/rails/test/functional/mailer_controller_test.rb +93 -0
  305. data/test/rails/test/integration/general_stories_test.rb +58 -0
  306. data/test/rails/test/result/en/create_error.html +95 -0
  307. data/test/rails/test/result/en/list.html +65 -0
  308. data/test/rails/test/result/en/multi_error_messages_for.html +153 -0
  309. data/test/rails/test/result/en/multipart.html +67 -0
  310. data/test/rails/test/result/en/new.html +95 -0
  311. data/test/rails/test/result/en/show.html +50 -0
  312. data/test/rails/test/result/en/singlepart.html +10 -0
  313. data/test/rails/test/result/fr/list.html +15 -0
  314. data/test/rails/test/result/fr/multipart.html +67 -0
  315. data/test/rails/test/result/fr/singlepart.html +10 -0
  316. data/test/rails/test/result/ja/create_error.html +95 -0
  317. data/test/rails/test/result/ja/list.html +65 -0
  318. data/test/rails/test/result/ja/multi_error_messages_for.html +153 -0
  319. data/test/rails/test/result/ja/multipart.html +67 -0
  320. data/test/rails/test/result/ja/new.html +95 -0
  321. data/test/rails/test/result/ja/show.html +50 -0
  322. data/test/rails/test/result/ja/singlepart.html +10 -0
  323. data/test/rails/test/test_helper.rb +28 -0
  324. data/test/rails/test/unit/article_test.rb +18 -0
  325. data/test/test.sh +4 -0
  326. data/test/test_nsgettext.rb +44 -0
  327. data/test/test_rubyparser_n_.rb +10 -0
  328. 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
+ SQL (0.000176) SET SQL_AUTO_IS_NULL=0
3
+ SQL (0.000347) SELECT version FROM schema_info
4
+ SQL (0.000466) SELECT * FROM schema_info
5
+ SQL (0.023176) SHOW TABLES
6
+ SQL (0.030570) SHOW FIELDS FROM accounts
7
+ SQL (0.001122) SHOW KEYS FROM accounts
8
+ SQL (0.001240) SHOW FIELDS FROM articles
9
+ SQL (0.001041) SHOW KEYS FROM articles
10
+ SQL (0.001056) SHOW FIELDS FROM people
11
+ SQL (0.001026) SHOW KEYS FROM people
12
+ SQL (0.001114) SHOW FIELDS FROM users
13
+ SQL (0.017316) SHOW KEYS FROM users
14
+ SQL (0.000152) SET SQL_AUTO_IS_NULL=0
15
+ SQL (0.223728) DROP DATABASE IF EXISTS `rails_unittest`
16
+ SQL (0.000440) CREATE DATABASE `rails_unittest`
17
+ SQL (0.000378) SET SQL_AUTO_IS_NULL=0
18
+ SQL (0.000000) Mysql::Error: #42S02Unknown table 'accounts': DROP TABLE accounts
19
+ SQL (0.010599) CREATE TABLE accounts (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `amount` int(11) DEFAULT NULL, `person_id` int(11) DEFAULT NULL) ENGINE=InnoDB
20
+ SQL (0.000000) Mysql::Error: #42S02Unknown table 'articles': DROP TABLE articles
21
+ SQL (0.005200) CREATE 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
22
+ SQL (0.000000) Mysql::Error: #42S02Unknown table 'people': DROP TABLE people
23
+ SQL (0.006510) CREATE TABLE people (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT NULL) ENGINE=InnoDB
24
+ SQL (0.000000) Mysql::Error: #42S02Unknown table 'users': DROP TABLE users
25
+ SQL (0.005207) CREATE TABLE users (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255) DEFAULT '' NOT NULL, `lastupdate` date DEFAULT NULL) ENGINE=InnoDB
26
+ SQL (0.004379) CREATE TABLE schema_info (version int(11))
27
+ SQL (0.000437) INSERT INTO schema_info (version) VALUES(0)
28
+ SQL (0.001619) SHOW FIELDS FROM schema_info
29
+ SQL (0.000287) UPDATE schema_info SET version = 1
@@ -0,0 +1,329 @@
1
+ # Logfile created on Thu Jul 05 00:41:57 +0900 2007 by /
2
+ SQL (0.000154) SET SQL_AUTO_IS_NULL=0
3
+ SQL (0.000201) BEGIN
4
+ Article Columns (0.002118) SHOW FIELDS FROM articles
5
+ Article Load (0.145503) SELECT * FROM articles WHERE (articles.`id` = 1) 
6
+ Article Load (0.000950) SELECT * FROM articles WHERE (articles.`id` = 2) 
7
+ SQL (0.006518) ROLLBACK
8
+ SQL (0.000145) SET SQL_AUTO_IS_NULL=0
9
+ SQL (0.000259) BEGIN
10
+ Article Columns (0.002101) SHOW FIELDS FROM articles
11
+ Article Load (0.000909) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ Article Load (0.070937) SELECT * FROM articles WHERE (articles.title = '') LIMIT 1
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
+ SQL (0.000330) ROLLBACK
23
+ SQL (0.000188) BEGIN
24
+ Article Load (0.000949) SELECT * FROM articles WHERE (articles.`id` = 1) 
25
+ Article Load (0.000819) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ Article Load (0.000998) SELECT * FROM articles WHERE (articles.`id` = 1) 
32
+ Article Destroy (0.048058)  DELETE FROM articles
33
+ WHERE `id` = 1
34
+ 
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
+ Article Load (0.001003) SELECT * FROM articles WHERE (articles.`id` = 1) 
38
+ SQL (0.220307) ROLLBACK
39
+ SQL (0.000379) BEGIN
40
+ Article Load (0.000997) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.167564) SELECT count(*) AS count_all FROM articles 
47
+ Article Load (0.000931) SELECT * FROM articles LIMIT 0, 10
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
+ SQL (0.000347) ROLLBACK
52
+ SQL (0.000186) BEGIN
53
+ Article Load (0.000993) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ User Columns (0.002554) SHOW FIELDS FROM users
60
+ Article Load (0.000977) SELECT * FROM articles WHERE (articles.title = '') LIMIT 1
61
+ Rendering within layouts/application
62
+ Rendering articles/multi_error_messages_for
63
+ SQL (0.000278) ROLLBACK
64
+ SQL (0.000118) BEGIN
65
+ Article Load (0.000646) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.000325) ROLLBACK
76
+ SQL (0.000188) BEGIN
77
+ Article Load (0.000777) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ Article Load (0.000736) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.000316) ROLLBACK
88
+ SQL (0.000163) BEGIN
89
+ Article Load (0.000979) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ Article Load (0.000984) SELECT * FROM articles WHERE (articles.`id` = 1) 
96
+ Article Load (0.073546) SELECT * FROM articles WHERE (articles.title = 'タイトル1' AND articles.id <> 1) LIMIT 1
97
+ Article Update (0.000419) UPDATE articles SET `lastupdate` = '2007-01-01', `title` = 'タイトル1', `description` = '内容1' WHERE `id` = 1
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
+ SQL (0.000280) ROLLBACK
101
+ SQL (0.000144) BEGIN
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
+ iVBORw0K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Eks+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+VirVVSJgaIvPl27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PNFy0uCxB9+
237
+ dckNYjbDiXOnoc3eYEW3EnVY5p+STqIkwqOFhxEIRcIPd8YPefoD+1IrRqrP
238
+ z4W4ePxEtfd4rNTD45Hrq8fjgB8YwfoHgw1b9xNbXyXyQktqKDtX1fHtVIdP
239
+ LCMWecHqFetNFb/YK1xjJFttgl/YifYZcMUh5VOsSaN2o+LB8+jsK7hwSKmw
240
+ +Jf/iAzxTfh/AQYADd4StjMb1WUAAAAASUVORK5CYII=
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
+ SQL (0.000271) ROLLBACK
246
+ SQL (0.000156) BEGIN
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
+ SQL (0.000280) ROLLBACK
277
+ SQL (0.000154) SET SQL_AUTO_IS_NULL=0
278
+ SQL (0.000230) BEGIN
279
+ Article Columns (0.001492) SHOW FIELDS FROM articles
280
+ Article Load (0.000715) SELECT * FROM articles WHERE (articles.`id` = 1) 
281
+ SQL (0.000363) SELECT count(*) AS count_all FROM articles 
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
+ Article Load (0.001419) SELECT * FROM articles WHERE (articles.title = '') LIMIT 1
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
+ SQL (0.000470) ROLLBACK
293
+ SQL (0.000204) BEGIN
294
+ Article Load (0.000997) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.000715) SELECT count(*) AS count_all FROM articles 
301
+ Article Load (0.000922) SELECT * FROM articles LIMIT 0, 10
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
+ SQL (0.000244) ROLLBACK
306
+ SQL (0.000121) BEGIN
307
+ Article Load (0.000608) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.000245) ROLLBACK
318
+ SQL (0.000120) BEGIN
319
+ Article Load (0.000629) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ Article Load (0.000722) SELECT * FROM articles WHERE (articles.`id` = 1) 
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
+ SQL (0.000600) ROLLBACK