typo 4.1.1 → 5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1545) hide show
  1. data/app/apis/meta_weblog_service.rb +7 -14
  2. data/app/apis/movable_type_service.rb +1 -7
  3. data/app/controllers/accounts_controller.rb +5 -4
  4. data/app/controllers/admin/advanced_controller.rb +20 -0
  5. data/app/controllers/admin/base_controller.rb +16 -6
  6. data/app/controllers/admin/blacklist_controller.rb +1 -1
  7. data/app/controllers/admin/cache_controller.rb +5 -4
  8. data/app/controllers/admin/categories_controller.rb +4 -4
  9. data/app/controllers/admin/comments_controller.rb +3 -3
  10. data/app/controllers/admin/content_controller.rb +25 -6
  11. data/app/controllers/admin/dashboard_controller.rb +33 -0
  12. data/app/controllers/admin/feedback_controller.rb +28 -16
  13. data/app/controllers/admin/general_controller.rb +2 -16
  14. data/app/controllers/admin/pages_controller.rb +13 -3
  15. data/app/controllers/admin/profiles_controller.rb +36 -0
  16. data/app/controllers/admin/resources_controller.rb +9 -9
  17. data/app/controllers/admin/textfilters_controller.rb +1 -1
  18. data/app/controllers/admin/themes_controller.rb +49 -0
  19. data/app/controllers/admin/trackbacks_controller.rb +1 -1
  20. data/app/controllers/admin/users_controller.rb +8 -2
  21. data/app/controllers/application.rb +46 -14
  22. data/app/controllers/articles_controller.rb +67 -144
  23. data/app/controllers/authors_controller.rb +5 -0
  24. data/app/controllers/categories_controller.rb +4 -0
  25. data/app/controllers/comments_controller.rb +72 -0
  26. data/app/controllers/content_controller.rb +13 -30
  27. data/app/controllers/feedback_controller.rb +60 -0
  28. data/app/controllers/grouping_controller.rb +83 -0
  29. data/app/controllers/redirect_controller.rb +1 -3
  30. data/app/controllers/tags_controller.rb +3 -0
  31. data/app/controllers/theme_controller.rb +15 -5
  32. data/app/controllers/trackbacks_controller.rb +43 -0
  33. data/app/controllers/xml_controller.rb +52 -34
  34. data/app/helpers/admin/base_helper.rb +69 -7
  35. data/app/helpers/admin/feedback_helper.rb +44 -3
  36. data/app/helpers/admin/general_helper.rb +16 -0
  37. data/app/helpers/admin/themes_helper.rb +23 -0
  38. data/app/helpers/application_helper.rb +92 -20
  39. data/app/helpers/articles_helper.rb +0 -163
  40. data/app/helpers/authors_helper.rb +5 -0
  41. data/app/helpers/categories_helper.rb +5 -0
  42. data/app/helpers/comments_helper.rb +2 -0
  43. data/app/helpers/content_helper.rb +90 -0
  44. data/app/helpers/groupings_helper.rb +5 -0
  45. data/app/helpers/tags_helper.rb +5 -0
  46. data/app/helpers/theme_helper.rb +14 -14
  47. data/app/models/article.rb +226 -52
  48. data/app/models/article/states.rb +191 -0
  49. data/app/models/blog.rb +52 -15
  50. data/app/models/blog_sweeper.rb +33 -10
  51. data/app/models/category.rb +53 -26
  52. data/app/models/comment.rb +17 -3
  53. data/app/models/content.rb +60 -60
  54. data/app/models/feedback.rb +29 -54
  55. data/app/models/feedback/states.rb +201 -0
  56. data/app/models/page.rb +1 -4
  57. data/app/models/page_cache.rb +9 -20
  58. data/app/models/ping.rb +4 -7
  59. data/app/models/profile.rb +3 -0
  60. data/app/models/resource.rb +1 -1
  61. data/app/models/tag.rb +17 -6
  62. data/app/models/text_filter.rb +6 -0
  63. data/app/models/trackback.rb +20 -0
  64. data/app/models/trigger.rb +3 -2
  65. data/app/models/user.rb +13 -1
  66. data/app/views/accounts/login.html.erb +11 -0
  67. data/app/views/accounts/logout.html.erb +12 -0
  68. data/app/views/accounts/signup.html.erb +36 -0
  69. data/app/views/accounts/{welcome.rhtml → welcome.html.erb} +0 -0
  70. data/app/views/admin/advanced/index.html.erb +182 -0
  71. data/app/views/admin/base/{_recent_comments.rhtml → _recent_comments.html.erb} +0 -0
  72. data/app/views/admin/base/{_recent_trackbacks.rhtml → _recent_trackbacks.html.erb} +0 -0
  73. data/app/views/admin/blacklist/{_blacklist_patterns.rhtml → _blacklist_patterns.html.erb} +0 -0
  74. data/app/views/admin/blacklist/{_form.rhtml → _form.html.erb} +0 -0
  75. data/app/views/admin/blacklist/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
  76. data/app/views/admin/blacklist/{destroy.rhtml → destroy.html.erb} +0 -0
  77. data/app/views/admin/blacklist/{edit.rhtml → edit.html.erb} +0 -0
  78. data/app/views/admin/blacklist/{list.rhtml → list.html.erb} +0 -0
  79. data/app/views/admin/cache/{list.rhtml → list.html.erb} +0 -0
  80. data/app/views/admin/categories/_categories.html.erb +20 -0
  81. data/app/views/admin/categories/{_form.rhtml → _form.html.erb} +0 -0
  82. data/app/views/admin/categories/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
  83. data/app/views/admin/categories/{destroy.rhtml → destroy.html.erb} +0 -0
  84. data/app/views/admin/categories/{edit.rhtml → edit.html.erb} +0 -0
  85. data/app/views/admin/categories/list.html.erb +18 -0
  86. data/app/views/admin/categories/{reorder.rhtml → reorder.html.erb} +0 -0
  87. data/app/views/admin/categories/show.html.erb +37 -0
  88. data/app/views/admin/comments/_form.html.erb +19 -0
  89. data/app/views/admin/comments/{comments.rhtml → comments.html.erb} +0 -0
  90. data/app/views/admin/comments/{destroy.rhtml → destroy.html.erb} +0 -0
  91. data/app/views/admin/comments/{edit.rhtml → edit.html.erb} +0 -0
  92. data/app/views/admin/comments/list.html.erb +37 -0
  93. data/app/views/admin/comments/new.html.erb +19 -0
  94. data/app/views/admin/comments/{show.rhtml → show.html.erb} +0 -0
  95. data/app/views/admin/content/_articles.html.erb +26 -0
  96. data/app/views/admin/content/{_attachment.rhtml → _attachment.html.erb} +0 -0
  97. data/app/views/admin/content/_form.html.erb +89 -0
  98. data/app/views/admin/content/{_pages.rhtml → _pages.html.erb} +0 -0
  99. data/app/views/admin/content/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
  100. data/app/views/admin/content/{_show_categories.rhtml → _show_categories.html.erb} +0 -0
  101. data/app/views/admin/content/{_show_resources.rhtml → _show_resources.html.erb} +0 -0
  102. data/app/views/admin/content/{destroy.rhtml → destroy.html.erb} +0 -0
  103. data/app/views/admin/content/edit.html.erb +10 -0
  104. data/app/views/admin/content/list.html.erb +21 -0
  105. data/app/views/admin/content/new.html.erb +6 -0
  106. data/app/views/admin/content/preview.html.erb +10 -0
  107. data/app/views/admin/content/show.html.erb +23 -0
  108. data/app/views/admin/dashboard/index.html.erb +61 -0
  109. data/app/views/admin/feedback/_button.html.erb +8 -0
  110. data/app/views/admin/feedback/_item.html.erb +14 -0
  111. data/app/views/admin/feedback/list.html.erb +48 -0
  112. data/app/views/admin/general/index.html.erb +141 -0
  113. data/app/views/admin/general/{update_database.rhtml → update_database.html.erb} +0 -0
  114. data/app/views/admin/pages/_form.html.erb +41 -0
  115. data/app/views/admin/pages/_pages.html.erb +24 -0
  116. data/app/views/admin/pages/{_quick_post.rhtml → _quick_post.html.erb} +0 -0
  117. data/app/views/admin/pages/{destroy.rhtml → destroy.html.erb} +0 -0
  118. data/app/views/admin/pages/{edit.rhtml → edit.html.erb} +0 -0
  119. data/app/views/admin/pages/list.html.erb +12 -0
  120. data/app/views/admin/pages/new.html.erb +6 -0
  121. data/app/views/admin/pages/{preview.rhtml → preview.html.erb} +0 -0
  122. data/app/views/admin/pages/show.html.erb +12 -0
  123. data/app/views/admin/resources/{_itunes_category_add.rhtml → _itunes_category_add.html.erb} +0 -0
  124. data/app/views/admin/resources/{_itunes_category_edit.rhtml → _itunes_category_edit.html.erb} +0 -0
  125. data/app/views/admin/resources/{_metadata_add.rhtml → _metadata_add.html.erb} +0 -0
  126. data/app/views/admin/resources/{_metadata_edit.rhtml → _metadata_edit.html.erb} +0 -0
  127. data/app/views/admin/resources/{_mime_edit.rhtml → _mime_edit.html.erb} +0 -0
  128. data/app/views/admin/resources/{_pages.rhtml → _pages.html.erb} +0 -0
  129. data/app/views/admin/resources/_resources.html.erb +40 -0
  130. data/app/views/admin/resources/{destroy.rhtml → destroy.html.erb} +0 -0
  131. data/app/views/admin/resources/list.html.erb +17 -0
  132. data/app/views/admin/resources/new.html.erb +16 -0
  133. data/app/views/admin/shared/_edit.html.erb +13 -0
  134. data/app/views/admin/sidebar/{_active.rhtml → _active.html.erb} +0 -0
  135. data/app/views/admin/sidebar/{_actives.rhtml → _actives.html.erb} +0 -0
  136. data/app/views/admin/sidebar/{_available.rhtml → _available.html.erb} +0 -0
  137. data/app/views/admin/sidebar/{_availables.rhtml → _availables.html.erb} +0 -0
  138. data/app/views/admin/sidebar/{_publish.rhtml → _publish.html.erb} +0 -0
  139. data/app/views/admin/sidebar/{_target.rhtml → _target.html.erb} +0 -0
  140. data/app/views/admin/sidebar/index.html.erb +43 -0
  141. data/app/views/admin/textfilters/_form.html.erb +60 -0
  142. data/app/views/admin/textfilters/_macros.html.erb +16 -0
  143. data/app/views/admin/textfilters/_textfilters.html.erb +20 -0
  144. data/app/views/admin/textfilters/{destroy.rhtml → destroy.html.erb} +0 -0
  145. data/app/views/admin/textfilters/edit.html.erb +14 -0
  146. data/app/views/admin/textfilters/list.html.erb +18 -0
  147. data/app/views/admin/textfilters/macro_help.html.erb +3 -0
  148. data/app/views/admin/textfilters/new.html.erb +16 -0
  149. data/app/views/admin/textfilters/{preview.rhtml → preview.html.erb} +0 -0
  150. data/app/views/admin/textfilters/{show.rhtml → show.html.erb} +0 -0
  151. data/app/views/admin/textfilters/{show_help.rhtml → show_help.html.erb} +0 -0
  152. data/app/views/admin/themes/editor.html.erb +31 -0
  153. data/app/views/admin/themes/index.html.erb +30 -0
  154. data/app/views/admin/trackbacks/{_form.rhtml → _form.html.erb} +0 -0
  155. data/app/views/admin/trackbacks/{destroy.rhtml → destroy.html.erb} +0 -0
  156. data/app/views/admin/trackbacks/{edit.rhtml → edit.html.erb} +0 -0
  157. data/app/views/admin/trackbacks/{list.rhtml → list.html.erb} +0 -0
  158. data/app/views/admin/trackbacks/{new.rhtml → new.html.erb} +0 -0
  159. data/app/views/admin/trackbacks/{show.rhtml → show.html.erb} +0 -0
  160. data/app/views/admin/users/_form.html.erb +55 -0
  161. data/app/views/admin/users/_user.html.erb +20 -0
  162. data/app/views/admin/users/{destroy.rhtml → destroy.html.erb} +0 -0
  163. data/app/views/admin/users/edit.html.erb +17 -0
  164. data/app/views/admin/users/list.html.erb +32 -0
  165. data/app/views/admin/users/new.html.erb +15 -0
  166. data/app/views/admin/users/show.html.erb +23 -0
  167. data/app/views/articles/{_article.rhtml → _article.html.erb} +0 -0
  168. data/app/views/articles/_atom_feed.atom.builder +12 -0
  169. data/app/views/articles/{_comment.rhtml → _comment.html.erb} +0 -0
  170. data/app/views/articles/_comment_box.html.erb +45 -0
  171. data/app/views/articles/{_comment_error.rhtml → _comment_error.html.erb} +0 -0
  172. data/app/views/articles/_rss20_feed.rss.builder +17 -0
  173. data/app/views/articles/{_trackback.rhtml → _trackback.html.erb} +0 -0
  174. data/app/views/articles/{archives.rhtml → archives.html.erb} +0 -0
  175. data/app/views/articles/{comment_preview.rhtml → comment_preview.html.erb} +0 -0
  176. data/app/views/articles/{error.rhtml → error.html.erb} +0 -0
  177. data/app/views/articles/{groupings.rhtml → groupings.html.erb} +0 -0
  178. data/app/views/articles/index.html.erb +11 -0
  179. data/app/views/articles/read.html.erb +69 -0
  180. data/app/views/articles/{trackback.rxml → trackback.xml.builder} +0 -0
  181. data/app/views/articles/{view_page.rhtml → view_page.html.erb} +0 -0
  182. data/app/views/comments/index.html.erb +1 -0
  183. data/app/views/comments/show.html.erb +13 -0
  184. data/app/views/layouts/{accounts.rhtml → accounts.html.erb} +0 -0
  185. data/app/views/layouts/administration.html.erb +58 -0
  186. data/app/views/layouts/{minimal.rhtml → minimal.html.erb} +0 -0
  187. data/app/views/layouts/{sidebar.rhtml → sidebar.html.erb} +0 -0
  188. data/app/views/live/{search.rhtml → search.html.erb} +0 -0
  189. data/app/views/notification_mailer/{_mail_footer.rhtml → _mail_footer.html.erb} +0 -0
  190. data/app/views/notification_mailer/{_mail_header.rhtml → _mail_header.html.erb} +0 -0
  191. data/app/views/notification_mailer/article.html.erb +6 -0
  192. data/app/views/notification_mailer/comment.html.erb +11 -0
  193. data/app/views/notification_mailer/{trackback.rhtml → trackback.html.erb} +0 -0
  194. data/app/views/settings/{done.rhtml → done.html.erb} +0 -0
  195. data/app/views/settings/{install.rhtml → install.html.erb} +0 -0
  196. data/app/views/shared/_loginform.html.erb +14 -0
  197. data/app/views/shared/_search.html.erb +10 -0
  198. data/app/views/sidebar/{_row.rhtml → _row.html.erb} +0 -0
  199. data/app/views/sidebar/{_sidebar.rhtml → _sidebar.html.erb} +0 -0
  200. data/app/views/sidebar/{display_plugins.rhtml → display_plugins.html.erb} +0 -0
  201. data/app/views/sidebar/{show.rhtml → show.html.erb} +0 -0
  202. data/app/views/theme/{static_view_test.rhtml → static_view_test.html.erb} +0 -0
  203. data/app/views/xml/{_atom10_item_article.rxml → _atom10_item_article.atom.builder} +0 -0
  204. data/app/views/xml/{_atom10_item_comment.rxml → _atom10_item_comment.atom.builder} +0 -0
  205. data/app/views/xml/{_atom10_item_trackback.rxml → _atom10_item_trackback.atom.builder} +0 -0
  206. data/app/views/xml/{_googlesitemap_item_article.rxml → _googlesitemap_item_article.googlesitemap.builder} +0 -0
  207. data/app/views/xml/{_googlesitemap_item_category.rxml → _googlesitemap_item_category.googlesitemap.builder} +0 -0
  208. data/app/views/xml/{_googlesitemap_item_page.rxml → _googlesitemap_item_page.googlesitemap.builder} +0 -0
  209. data/app/views/xml/{_googlesitemap_item_tag.rxml → _googlesitemap_item_tag.googlesitemap.builder} +0 -0
  210. data/app/views/xml/{_itunes_item_resource.rxml → _itunes_item_resource.xml.builder} +0 -0
  211. data/app/views/xml/{_rss20_item_article.rxml → _rss20_item_article.rss.builder} +0 -0
  212. data/app/views/xml/{_rss20_item_comment.rxml → _rss20_item_comment.rss.builder} +0 -0
  213. data/app/views/xml/{_rss20_item_trackback.rxml → _rss20_item_trackback.rss.builder} +0 -0
  214. data/app/views/xml/feed.atom.builder +18 -0
  215. data/app/views/xml/{googlesitemap_feed.rxml → feed.googlesitemap.builder} +0 -0
  216. data/app/views/xml/feed.rss.builder +18 -0
  217. data/app/views/xml/itunes_feed.rss.builder +29 -0
  218. data/app/views/xml/rsd.rsd.builder +19 -0
  219. data/bin/typo +55 -0
  220. data/config/boot.rb +1 -1
  221. data/config/environment.rb +26 -17
  222. data/config/environments/development.rb +0 -3
  223. data/config/environments/test.rb +1 -0
  224. data/config/initializers/mime_types.rb +3 -0
  225. data/config/routes.rb +118 -59
  226. data/db/migrate/001_initial_schema.rb +20 -5
  227. data/db/migrate/004_add_sidebars.rb +11 -5
  228. data/db/migrate/008_add_page_title.rb +11 -0
  229. data/db/migrate/016_fix_is_primary_postgres.rb +4 -7
  230. data/db/migrate/036_add_tag_display_name.rb +1 -3
  231. data/db/migrate/056_create_notifications.rb +1 -0
  232. data/db/migrate/057_add_categorization_model.rb +2 -2
  233. data/db/migrate/058_separate_entries_and_feedback.rb +13 -0
  234. data/db/migrate/060_cleanup_contents_table.rb +2 -2
  235. data/db/migrate/063_rejig_state_field.rb +40 -0
  236. data/db/migrate/064_add_users_profile.rb +32 -0
  237. data/db/migrate/065_add_users_rights.rb +116 -0
  238. data/db/schema.mysql.sql +107 -165
  239. data/db/schema.postgresql.sql +107 -165
  240. data/db/schema.rb +143 -120
  241. data/db/schema.sqlite.sql +107 -165
  242. data/db/schema.sqlserver.sql +108 -170
  243. data/db/schema_version +1 -1
  244. data/lang/de_DE.rb +4 -2
  245. data/lang/fr_FR.rb +65 -3
  246. data/lang/ro_RO.rb +4 -2
  247. data/lib/bare_migration.rb +3 -0
  248. data/lib/generators/sidebar/templates/{content.rhtml → content.html.erb} +0 -0
  249. data/lib/login_system.rb +2 -2
  250. data/lib/route_cache.rb +1 -1
  251. data/lib/stateful.rb +107 -0
  252. data/lib/tasks/rcov.rake +38 -0
  253. data/lib/tasks/release.rake +21 -10
  254. data/lib/text_filter_plugin.rb +11 -5
  255. data/lib/transforms.rb +1 -1
  256. data/lib/typo_deprecated.rb +11 -0
  257. data/public/.htaccess +3 -2
  258. data/public/images/admin/bc-bg.gif +0 -0
  259. data/public/images/admin/bgdivider.gif +0 -0
  260. data/public/images/admin/bgdivider.png +0 -0
  261. data/public/images/admin/bgoff.png +0 -0
  262. data/public/images/admin/bgoff2.png +0 -0
  263. data/public/images/admin/bgon.png +0 -0
  264. data/public/images/admin/bgover.png +0 -0
  265. data/public/images/admin/bgselected.png +0 -0
  266. data/public/images/admin/cancel.png +0 -0
  267. data/public/images/admin/checked.png +0 -0
  268. data/public/images/admin/delete.png +0 -0
  269. data/public/images/admin/edit.png +0 -0
  270. data/public/images/admin/foot.jpg +0 -0
  271. data/public/images/{help.png → admin/help.png} +0 -0
  272. data/public/images/admin/loginformbg.png +0 -0
  273. data/public/images/admin/show.png +0 -0
  274. data/public/images/admin/table-header-first.png +0 -0
  275. data/public/images/admin/table-header-last.png +0 -0
  276. data/public/images/admin/table-header.png +0 -0
  277. data/public/images/admin/top.gif +0 -0
  278. data/public/images/admin/typo.gif +0 -0
  279. data/public/images/admin/typologo.png +0 -0
  280. data/public/javascripts/lightbox.js +1 -1
  281. data/public/javascripts/tiny_mce/langs/en.js +154 -41
  282. data/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
  283. data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
  284. data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +49 -0
  285. data/public/javascripts/tiny_mce/plugins/advimage/image.htm +237 -0
  286. data/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
  287. data/public/javascripts/tiny_mce/plugins/advimage/js/image.js +403 -0
  288. data/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
  289. data/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
  290. data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
  291. data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +58 -0
  292. data/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +551 -0
  293. data/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
  294. data/public/javascripts/tiny_mce/plugins/advlink/link.htm +339 -0
  295. data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
  296. data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +51 -0
  297. data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
  298. data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +84 -0
  299. data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
  300. data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +40 -0
  301. data/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +41 -0
  302. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
  303. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
  304. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
  305. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
  306. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
  307. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
  308. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
  309. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
  310. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
  311. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
  312. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
  313. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
  314. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
  315. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
  316. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
  317. data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
  318. data/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
  319. data/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
  320. data/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
  321. data/public/javascripts/tiny_mce/plugins/media/css/media.css +68 -0
  322. data/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
  323. data/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +323 -0
  324. data/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
  325. data/public/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
  326. data/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
  327. data/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
  328. data/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
  329. data/public/javascripts/tiny_mce/{themes/advanced/images/spacer.gif → plugins/media/img/trans.gif} +0 -0
  330. data/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
  331. data/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
  332. data/public/javascripts/tiny_mce/plugins/media/js/media.js +616 -0
  333. data/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
  334. data/public/javascripts/tiny_mce/plugins/media/media.htm +823 -0
  335. data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
  336. data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +50 -0
  337. data/public/javascripts/tiny_mce/plugins/paste/blank.htm +22 -0
  338. data/public/javascripts/tiny_mce/plugins/paste/css/blank.css +14 -0
  339. data/public/javascripts/tiny_mce/plugins/paste/css/pasteword.css +3 -0
  340. data/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  341. data/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +382 -0
  342. data/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +42 -0
  343. data/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +56 -0
  344. data/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
  345. data/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +34 -0
  346. data/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +29 -0
  347. data/public/javascripts/tiny_mce/plugins/safari/blank.htm +1 -0
  348. data/public/javascripts/tiny_mce/plugins/safari/editor_plugin.js +1 -0
  349. data/public/javascripts/tiny_mce/plugins/safari/editor_plugin_src.js +401 -0
  350. data/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
  351. data/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +103 -0
  352. data/public/javascripts/tiny_mce/themes/advanced/about.htm +19 -15
  353. data/public/javascripts/tiny_mce/themes/advanced/anchor.htm +10 -11
  354. data/public/javascripts/tiny_mce/themes/advanced/charmap.htm +7 -7
  355. data/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +67 -6
  356. data/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -1
  357. data/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +808 -1352
  358. data/public/javascripts/tiny_mce/themes/advanced/image.htm +39 -53
  359. data/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  360. data/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
  361. data/public/javascripts/tiny_mce/themes/advanced/js/about.js +76 -0
  362. data/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +30 -0
  363. data/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +327 -0
  364. data/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +245 -0
  365. data/public/javascripts/tiny_mce/themes/advanced/js/image.js +232 -0
  366. data/public/javascripts/tiny_mce/themes/advanced/js/link.js +110 -0
  367. data/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
  368. data/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -82
  369. data/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
  370. data/public/javascripts/tiny_mce/themes/advanced/link.htm +28 -64
  371. data/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +18 -0
  372. data/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +111 -0
  373. data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  374. data/public/javascripts/tiny_mce/themes/advanced/{images/anchor_symbol.gif → skins/default/img/items.gif} +0 -0
  375. data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  376. data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  377. data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  378. data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  379. data/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +193 -0
  380. data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +18 -0
  381. data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +111 -0
  382. data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
  383. data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +193 -0
  384. data/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +9 -9
  385. data/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
  386. data/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
  387. data/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
  388. data/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
  389. data/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
  390. data/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
  391. data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
  392. data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
  393. data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
  394. data/public/javascripts/tiny_mce/tiny_mce.js +1 -1
  395. data/public/javascripts/tiny_mce/tiny_mce_popup.js +168 -235
  396. data/public/javascripts/tiny_mce/tiny_mce_src.js +7173 -5654
  397. data/public/javascripts/tiny_mce/utils/editable_selects.js +6 -6
  398. data/public/javascripts/tiny_mce/utils/form_utils.js +23 -40
  399. data/public/javascripts/tiny_mce/utils/mclayer.js +2 -2
  400. data/public/javascripts/tiny_mce/utils/mctabs.js +2 -2
  401. data/public/javascripts/tiny_mce/utils/validate.js +2 -2
  402. data/public/javascripts/typo.js +11 -18
  403. data/public/stylesheets/administration.css +449 -232
  404. data/public/stylesheets/lightbox.css +2 -2
  405. data/script/spec +4 -0
  406. data/script/spec_server +102 -0
  407. data/spec/controllers/accounts_controller_spec.rb +86 -60
  408. data/spec/controllers/articles_controller_spec.rb +50 -20
  409. data/spec/controllers/authors_controller_spec.rb +111 -0
  410. data/spec/controllers/categories_controller_spec.rb +128 -0
  411. data/spec/controllers/comments_controller_spec.rb +216 -0
  412. data/spec/controllers/tags_controller_spec.rb +128 -0
  413. data/spec/fixtures/contents.yml +12 -12
  414. data/spec/fixtures/feedback.yml +10 -10
  415. data/spec/helpers/admin_base_helper_spec.rb +3 -3
  416. data/spec/helpers/comments_helper_spec.rb +11 -0
  417. data/spec/helpers/content_helper_spec.rb +26 -0
  418. data/spec/models/amazon_sidebar_spec.rb +11 -11
  419. data/spec/models/article_spec.rb +17 -0
  420. data/spec/models/blog_spec.rb +7 -7
  421. data/spec/models/cache_support_spec.rb +20 -20
  422. data/spec/models/category_spec.rb +9 -9
  423. data/spec/models/configuration_spec.rb +41 -41
  424. data/spec/models/metafragment_spec.rb +8 -8
  425. data/spec/models/page_spec.rb +38 -30
  426. data/spec/models/ping_spec.rb +40 -38
  427. data/spec/models/redirect_spec.rb +5 -5
  428. data/spec/models/resource_spec.rb +18 -21
  429. data/spec/models/static_sidebar_spec.rb +5 -5
  430. data/spec/models/tag_spec.rb +12 -12
  431. data/spec/models/text_filter_spec.rb +18 -18
  432. data/spec/models/theme_spec.rb +15 -14
  433. data/spec/models/trackback_spec.rb +23 -18
  434. data/spec/models/trigger_spec.rb +6 -6
  435. data/spec/models/user_spec.rb +40 -40
  436. data/spec/spec.opts +7 -0
  437. data/spec/spec_helper.rb +28 -0
  438. data/spec/views/comments/html_sanitization_spec.rb +118 -0
  439. data/test/fixtures/blogs.yml +2 -2
  440. data/test/fixtures/contents.yml +18 -18
  441. data/test/fixtures/feedback.yml +10 -10
  442. data/test/fixtures/profiles.yml +16 -0
  443. data/test/fixtures/users.yml +9 -4
  444. data/test/functional/accounts_controller_test.rb +6 -6
  445. data/test/functional/admin/advanced_controller_test.rb +21 -0
  446. data/test/functional/admin/article_preview_test.rb +1 -1
  447. data/test/functional/admin/blacklist_controller_test.rb +1 -1
  448. data/test/functional/admin/categories_controller_test.rb +4 -10
  449. data/test/functional/admin/comments_controller_test.rb +2 -2
  450. data/test/functional/admin/content_controller_test.rb +8 -2
  451. data/test/functional/admin/feedback_controller_test.rb +2 -2
  452. data/test/functional/admin/general_controller_test.rb +1 -1
  453. data/test/functional/admin/pages_controller_test.rb +1 -1
  454. data/test/functional/admin/profiles_controller_test.rb +18 -0
  455. data/test/functional/admin/resources_controller_test.rb +1 -1
  456. data/test/functional/admin/textfilters_controller_test.rb +1 -1
  457. data/test/functional/admin/themes_controller_test.rb +3 -3
  458. data/test/functional/admin/trackbacks_controller_test.rb +1 -1
  459. data/test/functional/admin/users_controller_test.rb +2 -2
  460. data/test/functional/articles_controller_test.rb +56 -358
  461. data/test/functional/backend_controller_test.rb +23 -9
  462. data/test/functional/theme_controller_test.rb +8 -8
  463. data/test/functional/xml_controller_test.rb +20 -180
  464. data/test/mocks/themes/standard_issue/about.markdown +5 -0
  465. data/test/mocks/themes/standard_issue/images/img01.gif +0 -0
  466. data/test/mocks/themes/standard_issue/images/img02.gif +0 -0
  467. data/test/mocks/themes/standard_issue/images/img03.gif +0 -0
  468. data/test/mocks/themes/standard_issue/images/img04.jpg +0 -0
  469. data/test/mocks/themes/standard_issue/images/img05.gif +0 -0
  470. data/test/mocks/themes/standard_issue/images/img06.gif +0 -0
  471. data/test/mocks/themes/standard_issue/images/img07.gif +0 -0
  472. data/test/mocks/themes/standard_issue/images/img08.gif +0 -0
  473. data/test/mocks/themes/standard_issue/images/img09.gif +0 -0
  474. data/test/mocks/themes/standard_issue/images/img10.gif +0 -0
  475. data/test/mocks/themes/standard_issue/images/spacer.gif +0 -0
  476. data/{themes/azure → test/mocks/themes/standard_issue}/images/spinner.gif +0 -0
  477. data/test/mocks/themes/standard_issue/layouts/default.html.erb +61 -0
  478. data/test/mocks/themes/standard_issue/preview.png +0 -0
  479. data/test/mocks/themes/standard_issue/stylesheets/application.css +461 -0
  480. data/test/mocks/themes/standard_issue/views/articles/_article.html.erb +32 -0
  481. data/test/mocks/themes/standard_issue/views/articles/_comment.html.erb +12 -0
  482. data/test/mocks/themes/standard_issue/views/articles/_comment_form.html.erb +48 -0
  483. data/{themes/scribbish/views/articles/_comment_list.rhtml → test/mocks/themes/standard_issue/views/articles/_comment_list.html.erb} +0 -0
  484. data/{themes/scribbish/views/articles/_trackback.rhtml → test/mocks/themes/standard_issue/views/articles/_trackback.html.erb} +0 -0
  485. data/{themes/scribbish/views/articles/comment_preview.rhtml → test/mocks/themes/standard_issue/views/articles/comment_preview.html.erb} +0 -0
  486. data/test/mocks/themes/standard_issue/views/articles/index.html.erb +5 -0
  487. data/test/mocks/themes/standard_issue/views/articles/read.html.erb +42 -0
  488. data/test/mocks/themes/standard_issue/views/shared/_search.html.erb +17 -0
  489. data/test/mocks/themes/standard_issue/views/theme/static_view_test.rhtml +1 -0
  490. data/test/test_helper.rb +4 -2
  491. data/test/unit/article_closing_test.rb +40 -0
  492. data/test/unit/article_test.rb +23 -15
  493. data/test/unit/blog_test.rb +2 -2
  494. data/test/unit/cache_support_test.rb +1 -1
  495. data/test/unit/configuration_test.rb +2 -2
  496. data/test/unit/content_state/feedback_states_test.rb +7 -11
  497. data/test/unit/ping_pinger_test.rb +30 -0
  498. data/test/unit/ping_test.rb +4 -2
  499. data/test/unit/route_cache_test.rb +11 -0
  500. data/test/unit/sidebar_test.rb +1 -1
  501. data/test/unit/theme_test.rb +3 -3
  502. data/test/unit/trackback_test.rb +0 -37
  503. data/test/unit/typo_deprecated_test.rb +22 -0
  504. data/test/unit/user_test.rb +1 -1
  505. data/themes/dirtylicious/about.markdown +3 -0
  506. data/themes/dirtylicious/images/body.jpg +0 -0
  507. data/themes/dirtylicious/images/container.jpg +0 -0
  508. data/themes/dirtylicious/images/gravatar.gif +0 -0
  509. data/themes/dirtylicious/images/header.jpg +0 -0
  510. data/themes/dirtylicious/images/li.gif +0 -0
  511. data/themes/dirtylicious/images/main.gif +0 -0
  512. data/themes/dirtylicious/images/nav.gif +0 -0
  513. data/themes/dirtylicious/images/quote.gif +0 -0
  514. data/themes/dirtylicious/images/spinner.gif +0 -0
  515. data/themes/dirtylicious/layouts/default.html.erb +60 -0
  516. data/themes/dirtylicious/preview.png +0 -0
  517. data/themes/dirtylicious/stylesheets/application.css +327 -0
  518. data/themes/dirtylicious/views/articles/_article.html.erb +33 -0
  519. data/themes/dirtylicious/views/articles/_comment.html.erb +14 -0
  520. data/themes/dirtylicious/views/articles/_comment_form.html.erb +37 -0
  521. data/themes/dirtylicious/views/articles/_comment_list.html.erb +7 -0
  522. data/themes/dirtylicious/views/articles/_trackback.html.erb +9 -0
  523. data/themes/dirtylicious/views/articles/comment_preview.html.erb +10 -0
  524. data/themes/dirtylicious/views/articles/index.html.erb +5 -0
  525. data/themes/dirtylicious/views/articles/read.html.erb +42 -0
  526. data/themes/dirtylicious/views/shared/_search.html.erb +16 -0
  527. data/themes/scribbish/layouts/default.html.erb +42 -0
  528. data/themes/scribbish/stylesheets/application.css +1 -1
  529. data/themes/scribbish/stylesheets/content.css +3 -3
  530. data/themes/scribbish/views/articles/{_article.rhtml → _article.html.erb} +0 -0
  531. data/themes/scribbish/views/articles/{_comment.rhtml → _comment.html.erb} +0 -0
  532. data/themes/scribbish/views/articles/_comment_form.html.erb +53 -0
  533. data/themes/scribbish/views/articles/_comment_list.html.erb +7 -0
  534. data/themes/scribbish/views/articles/_trackback.html.erb +9 -0
  535. data/themes/scribbish/views/articles/comment_preview.html.erb +10 -0
  536. data/themes/scribbish/views/articles/index.html.erb +5 -0
  537. data/themes/scribbish/views/articles/{read.rhtml → read.html.erb} +0 -0
  538. data/themes/scribbish/views/shared/_search.html.erb +16 -0
  539. data/themes/standard_issue/about.markdown +5 -0
  540. data/themes/standard_issue/images/img01.gif +0 -0
  541. data/themes/standard_issue/images/img02.gif +0 -0
  542. data/themes/standard_issue/images/img03.gif +0 -0
  543. data/themes/standard_issue/images/img04.jpg +0 -0
  544. data/themes/standard_issue/images/img05.gif +0 -0
  545. data/themes/standard_issue/images/img06.gif +0 -0
  546. data/themes/standard_issue/images/img07.gif +0 -0
  547. data/themes/standard_issue/images/img08.gif +0 -0
  548. data/themes/standard_issue/images/img09.gif +0 -0
  549. data/themes/standard_issue/images/img10.gif +0 -0
  550. data/themes/standard_issue/images/spacer.gif +0 -0
  551. data/themes/standard_issue/images/spinner.gif +0 -0
  552. data/themes/standard_issue/layouts/default.html.erb +59 -0
  553. data/themes/standard_issue/preview.png +0 -0
  554. data/themes/standard_issue/stylesheets/application.css +461 -0
  555. data/themes/standard_issue/views/articles/_article.html.erb +32 -0
  556. data/themes/standard_issue/views/articles/_comment.html.erb +12 -0
  557. data/themes/standard_issue/views/articles/_comment_form.html.erb +48 -0
  558. data/themes/standard_issue/views/articles/_comment_list.html.erb +7 -0
  559. data/themes/standard_issue/views/articles/_trackback.html.erb +9 -0
  560. data/themes/standard_issue/views/articles/comment_preview.html.erb +10 -0
  561. data/themes/standard_issue/views/articles/index.html.erb +5 -0
  562. data/themes/standard_issue/views/articles/read.html.erb +42 -0
  563. data/themes/standard_issue/views/shared/_search.html.erb +17 -0
  564. data/themes/standard_issue/views/theme/static_view_test.html.erb +1 -0
  565. data/vendor/actionwebservice/CHANGELOG +265 -0
  566. data/vendor/actionwebservice/MIT-LICENSE +21 -0
  567. data/vendor/actionwebservice/README +364 -0
  568. data/vendor/actionwebservice/Rakefile +172 -0
  569. data/vendor/actionwebservice/TODO +32 -0
  570. data/vendor/actionwebservice/examples/googlesearch/README +143 -0
  571. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +50 -0
  572. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +57 -0
  573. data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +108 -0
  574. data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +7 -0
  575. data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +50 -0
  576. data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +58 -0
  577. data/vendor/actionwebservice/examples/metaWeblog/README +17 -0
  578. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +60 -0
  579. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +34 -0
  580. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +67 -0
  581. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +48 -0
  582. data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +16 -0
  583. data/vendor/actionwebservice/install.rb +30 -0
  584. data/vendor/actionwebservice/lib/action_web_service.rb +66 -0
  585. data/vendor/actionwebservice/lib/action_web_service/api.rb +297 -0
  586. data/vendor/actionwebservice/lib/action_web_service/base.rb +38 -0
  587. data/vendor/actionwebservice/lib/action_web_service/casting.rb +138 -0
  588. data/vendor/actionwebservice/lib/action_web_service/client.rb +3 -0
  589. data/vendor/actionwebservice/lib/action_web_service/client/base.rb +28 -0
  590. data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +113 -0
  591. data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +58 -0
  592. data/vendor/actionwebservice/lib/action_web_service/container.rb +3 -0
  593. data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +93 -0
  594. data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +86 -0
  595. data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +69 -0
  596. data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +2 -0
  597. data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +207 -0
  598. data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +379 -0
  599. data/vendor/actionwebservice/lib/action_web_service/invocation.rb +202 -0
  600. data/vendor/actionwebservice/lib/action_web_service/protocol.rb +4 -0
  601. data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +112 -0
  602. data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +37 -0
  603. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +176 -0
  604. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +235 -0
  605. data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +122 -0
  606. data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +283 -0
  607. data/vendor/actionwebservice/lib/action_web_service/struct.rb +64 -0
  608. data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +26 -0
  609. data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +226 -0
  610. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.erb +65 -0
  611. data/vendor/{plugins/sitealizer/lib/app/views/sitealizer/_hits_summary.rhtml → actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml} +0 -0
  612. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.erb +6 -0
  613. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.rhtml +0 -0
  614. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.erb +29 -0
  615. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml +0 -0
  616. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.erb +30 -0
  617. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml +0 -0
  618. data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +110 -0
  619. data/vendor/actionwebservice/lib/action_web_service/version.rb +9 -0
  620. data/vendor/actionwebservice/lib/actionwebservice.rb +1 -0
  621. data/vendor/actionwebservice/setup.rb +1379 -0
  622. data/vendor/actionwebservice/test/abstract_client.rb +183 -0
  623. data/vendor/actionwebservice/test/abstract_dispatcher.rb +551 -0
  624. data/vendor/actionwebservice/test/abstract_unit.rb +45 -0
  625. data/vendor/actionwebservice/test/api_test.rb +102 -0
  626. data/vendor/actionwebservice/test/apis/auto_load_api.rb +3 -0
  627. data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +2 -0
  628. data/vendor/actionwebservice/test/base_test.rb +42 -0
  629. data/vendor/actionwebservice/test/casting_test.rb +86 -0
  630. data/vendor/actionwebservice/test/client_soap_test.rb +153 -0
  631. data/vendor/actionwebservice/test/client_xmlrpc_test.rb +152 -0
  632. data/vendor/actionwebservice/test/container_test.rb +73 -0
  633. data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +137 -0
  634. data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +59 -0
  635. data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +8 -0
  636. data/vendor/actionwebservice/test/fixtures/users.yml +12 -0
  637. data/vendor/actionwebservice/test/gencov +3 -0
  638. data/vendor/actionwebservice/test/invocation_test.rb +185 -0
  639. data/vendor/actionwebservice/test/run +6 -0
  640. data/vendor/actionwebservice/test/scaffolded_controller_test.rb +146 -0
  641. data/vendor/actionwebservice/test/struct_test.rb +52 -0
  642. data/vendor/actionwebservice/test/test_invoke_test.rb +112 -0
  643. data/vendor/memcache-client/lib/memcache.rb +1 -2
  644. data/vendor/plugins/acts_as_list/README +23 -0
  645. data/vendor/plugins/acts_as_list/init.rb +3 -0
  646. data/vendor/plugins/acts_as_list/lib/active_record/acts/list.rb +256 -0
  647. data/vendor/plugins/acts_as_list/test/list_test.rb +332 -0
  648. data/vendor/plugins/archives_sidebar/lib/archives_sidebar.rb +14 -5
  649. data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
  650. data/vendor/plugins/category_sidebar/views/content.rhtml +1 -1
  651. data/vendor/plugins/classic_pagination/CHANGELOG +152 -0
  652. data/vendor/plugins/classic_pagination/README +18 -0
  653. data/vendor/plugins/classic_pagination/Rakefile +22 -0
  654. data/vendor/plugins/classic_pagination/init.rb +33 -0
  655. data/vendor/plugins/classic_pagination/install.rb +1 -0
  656. data/vendor/plugins/classic_pagination/lib/pagination.rb +405 -0
  657. data/vendor/plugins/classic_pagination/lib/pagination_helper.rb +135 -0
  658. data/vendor/plugins/classic_pagination/test/fixtures/companies.yml +24 -0
  659. data/vendor/plugins/classic_pagination/test/fixtures/company.rb +9 -0
  660. data/vendor/plugins/classic_pagination/test/fixtures/developer.rb +7 -0
  661. data/vendor/plugins/classic_pagination/test/fixtures/developers.yml +21 -0
  662. data/vendor/plugins/classic_pagination/test/fixtures/developers_projects.yml +13 -0
  663. data/vendor/plugins/classic_pagination/test/fixtures/project.rb +3 -0
  664. data/vendor/plugins/classic_pagination/test/fixtures/projects.yml +7 -0
  665. data/vendor/plugins/classic_pagination/test/fixtures/replies.yml +13 -0
  666. data/vendor/plugins/classic_pagination/test/fixtures/reply.rb +5 -0
  667. data/vendor/plugins/classic_pagination/test/fixtures/schema.sql +42 -0
  668. data/vendor/plugins/classic_pagination/test/fixtures/topic.rb +3 -0
  669. data/vendor/plugins/classic_pagination/test/fixtures/topics.yml +22 -0
  670. data/vendor/plugins/classic_pagination/test/helper.rb +117 -0
  671. data/vendor/plugins/classic_pagination/test/pagination_helper_test.rb +38 -0
  672. data/vendor/plugins/classic_pagination/test/pagination_test.rb +177 -0
  673. data/vendor/plugins/datestamped_resources/README +4 -0
  674. data/vendor/plugins/datestamped_resources/Rakefile +22 -0
  675. data/vendor/plugins/datestamped_resources/init.rb +2 -0
  676. data/vendor/plugins/datestamped_resources/install.rb +1 -0
  677. data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +202 -0
  678. data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +4 -0
  679. data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +8 -0
  680. data/vendor/plugins/datestamped_resources/uninstall.rb +1 -0
  681. data/vendor/plugins/expiring_action_cache/lib/actionparamcache.rb +2 -2
  682. data/vendor/plugins/localization/lib/localization.rb +1 -1
  683. data/vendor/plugins/page_sidebar/Rakefile +22 -0
  684. data/vendor/plugins/page_sidebar/init.rb +5 -0
  685. data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +10 -0
  686. data/vendor/plugins/page_sidebar/test/page_sidebar_test.rb +8 -0
  687. data/vendor/plugins/page_sidebar/views/content.rhtml +12 -0
  688. data/vendor/plugins/rspec/CHANGES +1021 -0
  689. data/vendor/plugins/rspec/MIT-LICENSE +20 -0
  690. data/vendor/plugins/rspec/README +72 -0
  691. data/vendor/plugins/rspec/Rakefile +277 -0
  692. data/vendor/plugins/rspec/TODO +2 -0
  693. data/vendor/plugins/rspec/UPGRADE +31 -0
  694. data/vendor/plugins/rspec/autotest/discover.rb +6 -0
  695. data/vendor/plugins/rspec/autotest/rspec.rb +1 -0
  696. data/vendor/plugins/rspec/bin/spec +3 -0
  697. data/vendor/plugins/rspec/bin/spec_translator +8 -0
  698. data/vendor/plugins/rspec/examples/pure/autogenerated_docstrings_example.rb +19 -0
  699. data/vendor/plugins/rspec/examples/pure/before_and_after_example.rb +40 -0
  700. data/vendor/plugins/rspec/examples/pure/behave_as_example.rb +45 -0
  701. data/vendor/plugins/rspec/examples/pure/custom_expectation_matchers.rb +54 -0
  702. data/vendor/plugins/rspec/examples/pure/custom_formatter.rb +12 -0
  703. data/vendor/plugins/rspec/examples/pure/dynamic_spec.rb +9 -0
  704. data/vendor/plugins/rspec/examples/pure/file_accessor.rb +19 -0
  705. data/vendor/plugins/rspec/examples/pure/file_accessor_spec.rb +38 -0
  706. data/vendor/plugins/rspec/examples/pure/greeter_spec.rb +31 -0
  707. data/vendor/plugins/rspec/examples/pure/helper_method_example.rb +14 -0
  708. data/vendor/plugins/rspec/examples/pure/io_processor.rb +8 -0
  709. data/vendor/plugins/rspec/examples/pure/io_processor_spec.rb +21 -0
  710. data/vendor/plugins/rspec/examples/pure/legacy_spec.rb +11 -0
  711. data/vendor/plugins/rspec/examples/pure/mocking_example.rb +27 -0
  712. data/vendor/plugins/rspec/examples/pure/multi_threaded_behaviour_runner.rb +28 -0
  713. data/vendor/plugins/rspec/examples/pure/nested_classes_example.rb +36 -0
  714. data/vendor/plugins/rspec/examples/pure/partial_mock_example.rb +28 -0
  715. data/vendor/plugins/rspec/examples/pure/pending_example.rb +20 -0
  716. data/vendor/plugins/rspec/examples/pure/predicate_example.rb +27 -0
  717. data/vendor/plugins/rspec/examples/pure/priority.txt +1 -0
  718. data/vendor/plugins/rspec/examples/pure/shared_example_group_example.rb +81 -0
  719. data/vendor/plugins/rspec/examples/pure/shared_stack_examples.rb +38 -0
  720. data/vendor/plugins/rspec/examples/pure/spec_helper.rb +3 -0
  721. data/vendor/plugins/rspec/examples/pure/stack.rb +36 -0
  722. data/vendor/plugins/rspec/examples/pure/stack_spec.rb +63 -0
  723. data/vendor/plugins/rspec/examples/pure/stack_spec_with_nested_example_groups.rb +67 -0
  724. data/vendor/plugins/rspec/examples/pure/stubbing_example.rb +69 -0
  725. data/vendor/plugins/rspec/examples/stories/adder.rb +13 -0
  726. data/vendor/plugins/rspec/examples/stories/addition +34 -0
  727. data/vendor/plugins/rspec/examples/stories/addition.rb +9 -0
  728. data/vendor/plugins/rspec/examples/stories/calculator.rb +65 -0
  729. data/vendor/plugins/rspec/examples/stories/game-of-life/.loadpath +5 -0
  730. data/vendor/plugins/rspec/examples/stories/game-of-life/README.txt +21 -0
  731. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/everything.rb +6 -0
  732. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/examples.rb +3 -0
  733. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/game_behaviour.rb +35 -0
  734. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/examples/grid_behaviour.rb +66 -0
  735. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithLessThanTwoNeighboursDie.story +21 -0
  736. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/CellsWithMoreThanThreeNeighboursDie.story +21 -0
  737. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/EmptySpacesWithThreeNeighboursCreateACell.story +42 -0
  738. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/ICanCreateACell.story +42 -0
  739. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/ICanKillACell.story +17 -0
  740. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/TheGridWraps.story +53 -0
  741. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/create_a_cell.rb +52 -0
  742. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/helper.rb +6 -0
  743. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/kill_a_cell.rb +26 -0
  744. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/steps.rb +5 -0
  745. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/stories.rb +3 -0
  746. data/vendor/plugins/rspec/examples/stories/game-of-life/behaviour/stories/stories.txt +22 -0
  747. data/vendor/plugins/rspec/examples/stories/game-of-life/life.rb +3 -0
  748. data/vendor/plugins/rspec/examples/stories/game-of-life/life/game.rb +23 -0
  749. data/vendor/plugins/rspec/examples/stories/game-of-life/life/grid.rb +43 -0
  750. data/vendor/plugins/rspec/examples/stories/helper.rb +9 -0
  751. data/vendor/plugins/rspec/examples/stories/steps/addition_steps.rb +18 -0
  752. data/vendor/plugins/rspec/failing_examples/diffing_spec.rb +36 -0
  753. data/vendor/plugins/rspec/failing_examples/failing_autogenerated_docstrings_example.rb +19 -0
  754. data/vendor/plugins/rspec/failing_examples/failure_in_setup.rb +10 -0
  755. data/vendor/plugins/rspec/failing_examples/failure_in_teardown.rb +10 -0
  756. data/vendor/plugins/rspec/failing_examples/mocking_example.rb +40 -0
  757. data/vendor/plugins/rspec/failing_examples/mocking_with_flexmock.rb +26 -0
  758. data/vendor/plugins/rspec/failing_examples/mocking_with_mocha.rb +25 -0
  759. data/vendor/plugins/rspec/failing_examples/mocking_with_rr.rb +27 -0
  760. data/vendor/plugins/rspec/failing_examples/partial_mock_example.rb +20 -0
  761. data/vendor/plugins/rspec/failing_examples/predicate_example.rb +29 -0
  762. data/vendor/plugins/rspec/failing_examples/raising_example.rb +47 -0
  763. data/vendor/plugins/rspec/failing_examples/spec_helper.rb +3 -0
  764. data/vendor/plugins/rspec/failing_examples/syntax_error_example.rb +7 -0
  765. data/vendor/plugins/rspec/failing_examples/team_spec.rb +44 -0
  766. data/vendor/plugins/rspec/failing_examples/timeout_behaviour.rb +7 -0
  767. data/vendor/plugins/rspec/init.rb +9 -0
  768. data/vendor/plugins/rspec/lib/autotest/discover.rb +3 -0
  769. data/vendor/plugins/rspec/lib/autotest/rspec.rb +94 -0
  770. data/vendor/plugins/rspec/lib/spec.rb +37 -0
  771. data/vendor/plugins/rspec/lib/spec/example.rb +12 -0
  772. data/vendor/plugins/rspec/lib/spec/example/configuration.rb +144 -0
  773. data/vendor/plugins/rspec/lib/spec/example/errors.rb +9 -0
  774. data/vendor/plugins/rspec/lib/spec/example/example_group.rb +16 -0
  775. data/vendor/plugins/rspec/lib/spec/example/example_group_factory.rb +62 -0
  776. data/vendor/plugins/rspec/lib/spec/example/example_group_methods.rb +418 -0
  777. data/vendor/plugins/rspec/lib/spec/example/example_matcher.rb +42 -0
  778. data/vendor/plugins/rspec/lib/spec/example/example_methods.rb +102 -0
  779. data/vendor/plugins/rspec/lib/spec/example/module_reopening_fix.rb +21 -0
  780. data/vendor/plugins/rspec/lib/spec/example/pending.rb +18 -0
  781. data/vendor/plugins/rspec/lib/spec/example/shared_example_group.rb +58 -0
  782. data/vendor/plugins/rspec/lib/spec/expectations.rb +56 -0
  783. data/vendor/plugins/rspec/lib/spec/expectations/differs/default.rb +66 -0
  784. data/vendor/plugins/rspec/lib/spec/expectations/errors.rb +12 -0
  785. data/vendor/plugins/rspec/lib/spec/expectations/extensions.rb +2 -0
  786. data/vendor/plugins/rspec/lib/spec/expectations/extensions/object.rb +71 -0
  787. data/vendor/plugins/rspec/lib/spec/expectations/extensions/string_and_symbol.rb +17 -0
  788. data/vendor/plugins/rspec/lib/spec/expectations/handler.rb +52 -0
  789. data/vendor/plugins/rspec/lib/spec/extensions.rb +3 -0
  790. data/vendor/plugins/rspec/lib/spec/extensions/class.rb +24 -0
  791. data/vendor/plugins/rspec/lib/spec/extensions/main.rb +102 -0
  792. data/vendor/plugins/rspec/lib/spec/extensions/object.rb +10 -0
  793. data/vendor/plugins/rspec/lib/spec/interop/test.rb +10 -0
  794. data/vendor/plugins/rspec/lib/spec/interop/test/unit/autorunner.rb +6 -0
  795. data/vendor/plugins/rspec/lib/spec/interop/test/unit/testcase.rb +61 -0
  796. data/vendor/plugins/rspec/lib/spec/interop/test/unit/testresult.rb +6 -0
  797. data/vendor/plugins/rspec/lib/spec/interop/test/unit/testsuite_adapter.rb +34 -0
  798. data/vendor/plugins/rspec/lib/spec/interop/test/unit/ui/console/testrunner.rb +60 -0
  799. data/vendor/plugins/rspec/lib/spec/matchers.rb +156 -0
  800. data/vendor/plugins/rspec/lib/spec/matchers/be.rb +224 -0
  801. data/vendor/plugins/rspec/lib/spec/matchers/be_close.rb +37 -0
  802. data/vendor/plugins/rspec/lib/spec/matchers/change.rb +144 -0
  803. data/vendor/plugins/rspec/lib/spec/matchers/eql.rb +43 -0
  804. data/vendor/plugins/rspec/lib/spec/matchers/equal.rb +43 -0
  805. data/vendor/plugins/rspec/lib/spec/matchers/exist.rb +17 -0
  806. data/vendor/plugins/rspec/lib/spec/matchers/has.rb +44 -0
  807. data/vendor/plugins/rspec/lib/spec/matchers/have.rb +142 -0
  808. data/vendor/plugins/rspec/lib/spec/matchers/include.rb +70 -0
  809. data/vendor/plugins/rspec/lib/spec/matchers/match.rb +41 -0
  810. data/vendor/plugins/rspec/lib/spec/matchers/operator_matcher.rb +73 -0
  811. data/vendor/plugins/rspec/lib/spec/matchers/raise_error.rb +105 -0
  812. data/vendor/plugins/rspec/lib/spec/matchers/respond_to.rb +45 -0
  813. data/vendor/plugins/rspec/lib/spec/matchers/satisfy.rb +47 -0
  814. data/vendor/plugins/rspec/lib/spec/matchers/simple_matcher.rb +29 -0
  815. data/vendor/plugins/rspec/lib/spec/matchers/throw_symbol.rb +74 -0
  816. data/vendor/plugins/rspec/lib/spec/mocks.rb +211 -0
  817. data/vendor/plugins/rspec/lib/spec/mocks/argument_constraint_matchers.rb +27 -0
  818. data/vendor/plugins/rspec/lib/spec/mocks/argument_expectation.rb +183 -0
  819. data/vendor/plugins/rspec/lib/spec/mocks/error_generator.rb +84 -0
  820. data/vendor/plugins/rspec/lib/spec/mocks/errors.rb +10 -0
  821. data/vendor/plugins/rspec/lib/spec/mocks/extensions/object.rb +3 -0
  822. data/vendor/plugins/rspec/lib/spec/mocks/message_expectation.rb +267 -0
  823. data/vendor/plugins/rspec/lib/spec/mocks/methods.rb +39 -0
  824. data/vendor/plugins/rspec/lib/spec/mocks/mock.rb +50 -0
  825. data/vendor/plugins/rspec/lib/spec/mocks/order_group.rb +29 -0
  826. data/vendor/plugins/rspec/lib/spec/mocks/proxy.rb +170 -0
  827. data/vendor/plugins/rspec/lib/spec/mocks/space.rb +28 -0
  828. data/vendor/plugins/rspec/lib/spec/mocks/spec_methods.rb +38 -0
  829. data/vendor/plugins/rspec/lib/spec/rake/spectask.rb +235 -0
  830. data/vendor/plugins/rspec/lib/spec/rake/verify_rcov.rb +52 -0
  831. data/vendor/plugins/rspec/lib/spec/runner.rb +188 -0
  832. data/vendor/plugins/rspec/lib/spec/runner/backtrace_tweaker.rb +57 -0
  833. data/vendor/plugins/rspec/lib/spec/runner/class_and_arguments_parser.rb +16 -0
  834. data/vendor/plugins/rspec/lib/spec/runner/command_line.rb +28 -0
  835. data/vendor/plugins/rspec/lib/spec/runner/drb_command_line.rb +20 -0
  836. data/vendor/plugins/rspec/lib/spec/runner/example_group_runner.rb +59 -0
  837. data/vendor/plugins/rspec/lib/spec/runner/formatter/base_formatter.rb +78 -0
  838. data/vendor/plugins/rspec/lib/spec/runner/formatter/base_text_formatter.rb +130 -0
  839. data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_example_groups_formatter.rb +31 -0
  840. data/vendor/plugins/rspec/lib/spec/runner/formatter/failing_examples_formatter.rb +20 -0
  841. data/vendor/plugins/rspec/lib/spec/runner/formatter/html_formatter.rb +333 -0
  842. data/vendor/plugins/rspec/lib/spec/runner/formatter/profile_formatter.rb +47 -0
  843. data/vendor/plugins/rspec/lib/spec/runner/formatter/progress_bar_formatter.rb +30 -0
  844. data/vendor/plugins/rspec/lib/spec/runner/formatter/snippet_extractor.rb +52 -0
  845. data/vendor/plugins/rspec/lib/spec/runner/formatter/specdoc_formatter.rb +39 -0
  846. data/vendor/plugins/rspec/lib/spec/runner/formatter/story/html_formatter.rb +124 -0
  847. data/vendor/plugins/rspec/lib/spec/runner/formatter/story/plain_text_formatter.rb +126 -0
  848. data/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb +16 -0
  849. data/vendor/plugins/rspec/lib/spec/runner/heckle_runner.rb +72 -0
  850. data/vendor/plugins/rspec/lib/spec/runner/heckle_runner_unsupported.rb +10 -0
  851. data/vendor/plugins/rspec/lib/spec/runner/option_parser.rb +229 -0
  852. data/vendor/plugins/rspec/lib/spec/runner/options.rb +253 -0
  853. data/vendor/plugins/rspec/lib/spec/runner/reporter.rb +143 -0
  854. data/vendor/plugins/rspec/lib/spec/runner/spec_parser.rb +53 -0
  855. data/vendor/plugins/rspec/lib/spec/story.rb +10 -0
  856. data/vendor/plugins/rspec/lib/spec/story/extensions.rb +1 -0
  857. data/vendor/plugins/rspec/lib/spec/story/extensions/main.rb +86 -0
  858. data/vendor/plugins/rspec/lib/spec/story/given_scenario.rb +14 -0
  859. data/vendor/plugins/rspec/lib/spec/story/runner.rb +58 -0
  860. data/vendor/plugins/rspec/lib/spec/story/runner/plain_text_story_runner.rb +48 -0
  861. data/vendor/plugins/rspec/lib/spec/story/runner/scenario_collector.rb +18 -0
  862. data/vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb +46 -0
  863. data/vendor/plugins/rspec/lib/spec/story/runner/story_mediator.rb +123 -0
  864. data/vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb +227 -0
  865. data/vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb +68 -0
  866. data/vendor/plugins/rspec/lib/spec/story/scenario.rb +14 -0
  867. data/vendor/plugins/rspec/lib/spec/story/step.rb +48 -0
  868. data/vendor/plugins/rspec/lib/spec/story/step_group.rb +89 -0
  869. data/vendor/plugins/rspec/lib/spec/story/step_mother.rb +37 -0
  870. data/vendor/plugins/rspec/lib/spec/story/story.rb +42 -0
  871. data/vendor/plugins/rspec/lib/spec/story/world.rb +124 -0
  872. data/vendor/plugins/rspec/lib/spec/translator.rb +114 -0
  873. data/vendor/plugins/rspec/lib/spec/version.rb +22 -0
  874. data/vendor/plugins/rspec/plugins/mock_frameworks/flexmock.rb +23 -0
  875. data/vendor/plugins/rspec/plugins/mock_frameworks/mocha.rb +19 -0
  876. data/vendor/plugins/rspec/plugins/mock_frameworks/rr.rb +21 -0
  877. data/vendor/plugins/rspec/plugins/mock_frameworks/rspec.rb +18 -0
  878. data/vendor/plugins/rspec/rake_tasks/examples.rake +7 -0
  879. data/vendor/plugins/rspec/rake_tasks/examples_with_rcov.rake +9 -0
  880. data/vendor/plugins/rspec/rake_tasks/failing_examples_with_html.rake +9 -0
  881. data/vendor/plugins/rspec/rake_tasks/verify_rcov.rake +7 -0
  882. data/vendor/plugins/rspec/spec.opts +6 -0
  883. data/vendor/plugins/rspec/spec/README.jruby +14 -0
  884. data/vendor/plugins/rspec/spec/autotest/discover_spec.rb +19 -0
  885. data/vendor/plugins/rspec/spec/autotest/rspec_spec.rb +264 -0
  886. data/vendor/plugins/rspec/spec/autotest_helper.rb +5 -0
  887. data/vendor/plugins/rspec/spec/rspec_suite.rb +7 -0
  888. data/vendor/plugins/rspec/spec/ruby_forker.rb +13 -0
  889. data/vendor/plugins/rspec/spec/spec/example/configuration_spec.rb +282 -0
  890. data/vendor/plugins/rspec/spec/spec/example/example_group_class_definition_spec.rb +48 -0
  891. data/vendor/plugins/rspec/spec/spec/example/example_group_factory_spec.rb +129 -0
  892. data/vendor/plugins/rspec/spec/spec/example/example_group_methods_spec.rb +480 -0
  893. data/vendor/plugins/rspec/spec/spec/example/example_group_spec.rb +711 -0
  894. data/vendor/plugins/rspec/spec/spec/example/example_matcher_spec.rb +96 -0
  895. data/vendor/plugins/rspec/spec/spec/example/example_methods_spec.rb +91 -0
  896. data/vendor/plugins/rspec/spec/spec/example/example_runner_spec.rb +194 -0
  897. data/vendor/plugins/rspec/spec/spec/example/example_spec.rb +53 -0
  898. data/vendor/plugins/rspec/spec/spec/example/nested_example_group_spec.rb +59 -0
  899. data/vendor/plugins/rspec/spec/spec/example/pending_module_spec.rb +31 -0
  900. data/vendor/plugins/rspec/spec/spec/example/predicate_matcher_spec.rb +21 -0
  901. data/vendor/plugins/rspec/spec/spec/example/shared_example_group_spec.rb +265 -0
  902. data/vendor/plugins/rspec/spec/spec/example/subclassing_example_group_spec.rb +25 -0
  903. data/vendor/plugins/rspec/spec/spec/expectations/differs/default_spec.rb +109 -0
  904. data/vendor/plugins/rspec/spec/spec/expectations/extensions/object_spec.rb +107 -0
  905. data/vendor/plugins/rspec/spec/spec/expectations/fail_with_spec.rb +71 -0
  906. data/vendor/plugins/rspec/spec/spec/extensions/main_spec.rb +76 -0
  907. data/vendor/plugins/rspec/spec/spec/interop/test/unit/test_unit_spec_helper.rb +14 -0
  908. data/vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec.rb +10 -0
  909. data/vendor/plugins/rspec/spec/spec/interop/test/unit/testcase_spec_with_test_unit.rb +20 -0
  910. data/vendor/plugins/rspec/spec/spec/interop/test/unit/testsuite_adapter_spec.rb +9 -0
  911. data/vendor/plugins/rspec/spec/spec/interop/test/unit/testsuite_adapter_spec_with_test_unit.rb +34 -0
  912. data/vendor/plugins/rspec/spec/spec/matchers/be_close_spec.rb +39 -0
  913. data/vendor/plugins/rspec/spec/spec/matchers/be_spec.rb +224 -0
  914. data/vendor/plugins/rspec/spec/spec/matchers/change_spec.rb +319 -0
  915. data/vendor/plugins/rspec/spec/spec/matchers/description_generation_spec.rb +153 -0
  916. data/vendor/plugins/rspec/spec/spec/matchers/eql_spec.rb +28 -0
  917. data/vendor/plugins/rspec/spec/spec/matchers/equal_spec.rb +28 -0
  918. data/vendor/plugins/rspec/spec/spec/matchers/exist_spec.rb +57 -0
  919. data/vendor/plugins/rspec/spec/spec/matchers/handler_spec.rb +129 -0
  920. data/vendor/plugins/rspec/spec/spec/matchers/has_spec.rb +37 -0
  921. data/vendor/plugins/rspec/spec/spec/matchers/have_spec.rb +272 -0
  922. data/vendor/plugins/rspec/spec/spec/matchers/include_spec.rb +45 -0
  923. data/vendor/plugins/rspec/spec/spec/matchers/match_spec.rb +37 -0
  924. data/vendor/plugins/rspec/spec/spec/matchers/matcher_methods_spec.rb +78 -0
  925. data/vendor/plugins/rspec/spec/spec/matchers/mock_constraint_matchers_spec.rb +24 -0
  926. data/vendor/plugins/rspec/spec/spec/matchers/operator_matcher_spec.rb +158 -0
  927. data/vendor/plugins/rspec/spec/spec/matchers/raise_error_spec.rb +185 -0
  928. data/vendor/plugins/rspec/spec/spec/matchers/respond_to_spec.rb +54 -0
  929. data/vendor/plugins/rspec/spec/spec/matchers/satisfy_spec.rb +36 -0
  930. data/vendor/plugins/rspec/spec/spec/matchers/simple_matcher_spec.rb +31 -0
  931. data/vendor/plugins/rspec/spec/spec/matchers/throw_symbol_spec.rb +54 -0
  932. data/vendor/plugins/rspec/spec/spec/mocks/any_number_of_times_spec.rb +29 -0
  933. data/vendor/plugins/rspec/spec/spec/mocks/argument_expectation_spec.rb +23 -0
  934. data/vendor/plugins/rspec/spec/spec/mocks/at_least_spec.rb +97 -0
  935. data/vendor/plugins/rspec/spec/spec/mocks/at_most_spec.rb +93 -0
  936. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_10260_spec.rb +8 -0
  937. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_10263.rb +24 -0
  938. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_11545_spec.rb +31 -0
  939. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_15719_spec.rb +30 -0
  940. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_7611_spec.rb +19 -0
  941. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_7805_spec.rb +22 -0
  942. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_8165_spec.rb +31 -0
  943. data/vendor/plugins/rspec/spec/spec/mocks/bug_report_8302_spec.rb +26 -0
  944. data/vendor/plugins/rspec/spec/spec/mocks/failing_mock_argument_constraints_spec.rb +115 -0
  945. data/vendor/plugins/rspec/spec/spec/mocks/mock_ordering_spec.rb +84 -0
  946. data/vendor/plugins/rspec/spec/spec/mocks/mock_space_spec.rb +54 -0
  947. data/vendor/plugins/rspec/spec/spec/mocks/mock_spec.rb +475 -0
  948. data/vendor/plugins/rspec/spec/spec/mocks/multiple_return_value_spec.rb +113 -0
  949. data/vendor/plugins/rspec/spec/spec/mocks/null_object_mock_spec.rb +40 -0
  950. data/vendor/plugins/rspec/spec/spec/mocks/once_counts_spec.rb +53 -0
  951. data/vendor/plugins/rspec/spec/spec/mocks/options_hash_spec.rb +45 -0
  952. data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_spec.rb +106 -0
  953. data/vendor/plugins/rspec/spec/spec/mocks/partial_mock_using_mocks_directly_spec.rb +66 -0
  954. data/vendor/plugins/rspec/spec/spec/mocks/passing_mock_argument_constraints_spec.rb +154 -0
  955. data/vendor/plugins/rspec/spec/spec/mocks/precise_counts_spec.rb +52 -0
  956. data/vendor/plugins/rspec/spec/spec/mocks/record_messages_spec.rb +26 -0
  957. data/vendor/plugins/rspec/spec/spec/mocks/stub_spec.rb +181 -0
  958. data/vendor/plugins/rspec/spec/spec/mocks/twice_counts_spec.rb +67 -0
  959. data/vendor/plugins/rspec/spec/spec/package/bin_spec_spec.rb +14 -0
  960. data/vendor/plugins/rspec/spec/spec/runner/class_and_argument_parser_spec.rb +23 -0
  961. data/vendor/plugins/rspec/spec/spec/runner/command_line_spec.rb +146 -0
  962. data/vendor/plugins/rspec/spec/spec/runner/drb_command_line_spec.rb +92 -0
  963. data/vendor/plugins/rspec/spec/spec/runner/empty_file.txt +0 -0
  964. data/vendor/plugins/rspec/spec/spec/runner/examples.txt +2 -0
  965. data/vendor/plugins/rspec/spec/spec/runner/execution_context_spec.rb +31 -0
  966. data/vendor/plugins/rspec/spec/spec/runner/failed.txt +3 -0
  967. data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_example_groups_formatter_spec.rb +44 -0
  968. data/vendor/plugins/rspec/spec/spec/runner/formatter/failing_examples_formatter_spec.rb +33 -0
  969. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.4.html +365 -0
  970. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5-jruby.html +387 -0
  971. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.5.html +371 -0
  972. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatted-1.8.6.html +365 -0
  973. data/vendor/plugins/rspec/spec/spec/runner/formatter/html_formatter_spec.rb +66 -0
  974. data/vendor/plugins/rspec/spec/spec/runner/formatter/profile_formatter_spec.rb +65 -0
  975. data/vendor/plugins/rspec/spec/spec/runner/formatter/progress_bar_formatter_spec.rb +127 -0
  976. data/vendor/plugins/rspec/spec/spec/runner/formatter/snippet_extractor_spec.rb +18 -0
  977. data/vendor/plugins/rspec/spec/spec/runner/formatter/spec_mate_formatter_spec.rb +103 -0
  978. data/vendor/plugins/rspec/spec/spec/runner/formatter/specdoc_formatter_spec.rb +126 -0
  979. data/vendor/plugins/rspec/spec/spec/runner/formatter/story/html_formatter_spec.rb +56 -0
  980. data/vendor/plugins/rspec/spec/spec/runner/formatter/story/plain_text_formatter_spec.rb +330 -0
  981. data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.4.html +365 -0
  982. data/vendor/plugins/rspec/spec/spec/runner/formatter/text_mate_formatted-1.8.6.html +365 -0
  983. data/vendor/plugins/rspec/spec/spec/runner/heckle_runner_spec.rb +78 -0
  984. data/vendor/plugins/rspec/spec/spec/runner/heckler_spec.rb +13 -0
  985. data/vendor/plugins/rspec/spec/spec/runner/noisy_backtrace_tweaker_spec.rb +45 -0
  986. data/vendor/plugins/rspec/spec/spec/runner/option_parser_spec.rb +377 -0
  987. data/vendor/plugins/rspec/spec/spec/runner/options_spec.rb +294 -0
  988. data/vendor/plugins/rspec/spec/spec/runner/output_one_time_fixture.rb +7 -0
  989. data/vendor/plugins/rspec/spec/spec/runner/output_one_time_fixture_runner.rb +8 -0
  990. data/vendor/plugins/rspec/spec/spec/runner/output_one_time_spec.rb +16 -0
  991. data/vendor/plugins/rspec/spec/spec/runner/quiet_backtrace_tweaker_spec.rb +56 -0
  992. data/vendor/plugins/rspec/spec/spec/runner/reporter_spec.rb +189 -0
  993. data/vendor/plugins/rspec/spec/spec/runner/spec.opts +2 -0
  994. data/vendor/plugins/rspec/spec/spec/runner/spec_parser_spec.rb +124 -0
  995. data/vendor/plugins/rspec/spec/spec/runner/spec_spaced.opts +2 -0
  996. data/vendor/plugins/rspec/spec/spec/runner_spec.rb +11 -0
  997. data/vendor/plugins/rspec/spec/spec/spec_classes.rb +126 -0
  998. data/vendor/plugins/rspec/spec/spec/story/builders.rb +46 -0
  999. data/vendor/plugins/rspec/spec/spec/story/extensions/main_spec.rb +161 -0
  1000. data/vendor/plugins/rspec/spec/spec/story/extensions_spec.rb +14 -0
  1001. data/vendor/plugins/rspec/spec/spec/story/given_scenario_spec.rb +27 -0
  1002. data/vendor/plugins/rspec/spec/spec/story/runner/plain_text_story_runner_spec.rb +92 -0
  1003. data/vendor/plugins/rspec/spec/spec/story/runner/scenario_collector_spec.rb +27 -0
  1004. data/vendor/plugins/rspec/spec/spec/story/runner/scenario_runner_spec.rb +142 -0
  1005. data/vendor/plugins/rspec/spec/spec/story/runner/story_mediator_spec.rb +133 -0
  1006. data/vendor/plugins/rspec/spec/spec/story/runner/story_parser_spec.rb +384 -0
  1007. data/vendor/plugins/rspec/spec/spec/story/runner/story_runner_spec.rb +256 -0
  1008. data/vendor/plugins/rspec/spec/spec/story/runner_spec.rb +106 -0
  1009. data/vendor/plugins/rspec/spec/spec/story/scenario_spec.rb +20 -0
  1010. data/vendor/plugins/rspec/spec/spec/story/step_group_spec.rb +157 -0
  1011. data/vendor/plugins/rspec/spec/spec/story/step_mother_spec.rb +72 -0
  1012. data/vendor/plugins/rspec/spec/spec/story/step_spec.rb +147 -0
  1013. data/vendor/plugins/rspec/spec/spec/story/story_helper.rb +2 -0
  1014. data/vendor/plugins/rspec/spec/spec/story/story_spec.rb +86 -0
  1015. data/vendor/plugins/rspec/spec/spec/story/world_spec.rb +416 -0
  1016. data/vendor/plugins/rspec/spec/spec/translator_spec.rb +265 -0
  1017. data/vendor/plugins/rspec/spec/spec_helper.rb +103 -0
  1018. data/vendor/plugins/rspec/stories/all.rb +5 -0
  1019. data/vendor/plugins/rspec/stories/example_groups/autogenerated_docstrings +45 -0
  1020. data/vendor/plugins/rspec/stories/example_groups/example_group_with_should_methods +17 -0
  1021. data/vendor/plugins/rspec/stories/example_groups/nested_groups +17 -0
  1022. data/vendor/plugins/rspec/stories/example_groups/output +25 -0
  1023. data/vendor/plugins/rspec/stories/example_groups/stories.rb +7 -0
  1024. data/vendor/plugins/rspec/stories/helper.rb +6 -0
  1025. data/vendor/plugins/rspec/stories/interop/examples_and_tests_together +30 -0
  1026. data/vendor/plugins/rspec/stories/interop/stories.rb +7 -0
  1027. data/vendor/plugins/rspec/stories/interop/test_case_with_should_methods +17 -0
  1028. data/vendor/plugins/rspec/stories/pending_stories/README +3 -0
  1029. data/vendor/plugins/rspec/stories/resources/helpers/cmdline.rb +9 -0
  1030. data/vendor/plugins/rspec/stories/resources/helpers/story_helper.rb +16 -0
  1031. data/vendor/plugins/rspec/stories/resources/matchers/smart_match.rb +37 -0
  1032. data/vendor/plugins/rspec/stories/resources/spec/example_group_with_should_methods.rb +12 -0
  1033. data/vendor/plugins/rspec/stories/resources/spec/simple_spec.rb +8 -0
  1034. data/vendor/plugins/rspec/stories/resources/steps/running_rspec.rb +50 -0
  1035. data/vendor/plugins/rspec/stories/resources/stories/failing_story.rb +15 -0
  1036. data/vendor/plugins/rspec/stories/resources/test/spec_and_test_together.rb +57 -0
  1037. data/vendor/plugins/rspec/stories/resources/test/test_case_with_should_methods.rb +30 -0
  1038. data/vendor/plugins/rspec/story_server/prototype/javascripts/builder.js +136 -0
  1039. data/vendor/plugins/rspec/story_server/prototype/javascripts/controls.js +972 -0
  1040. data/vendor/plugins/rspec/story_server/prototype/javascripts/dragdrop.js +976 -0
  1041. data/vendor/plugins/rspec/story_server/prototype/javascripts/effects.js +1117 -0
  1042. data/vendor/plugins/rspec/story_server/prototype/javascripts/prototype.js +4140 -0
  1043. data/vendor/plugins/rspec/story_server/prototype/javascripts/rspec.js +149 -0
  1044. data/vendor/plugins/rspec/story_server/prototype/javascripts/scriptaculous.js +58 -0
  1045. data/vendor/plugins/rspec/story_server/prototype/javascripts/slider.js +276 -0
  1046. data/vendor/plugins/rspec/story_server/prototype/javascripts/sound.js +55 -0
  1047. data/vendor/plugins/rspec/story_server/prototype/javascripts/unittest.js +568 -0
  1048. data/vendor/plugins/rspec/story_server/prototype/lib/server.rb +24 -0
  1049. data/vendor/plugins/rspec/story_server/prototype/stories.html +176 -0
  1050. data/vendor/plugins/rspec/story_server/prototype/stylesheets/rspec.css +136 -0
  1051. data/vendor/plugins/rspec/story_server/prototype/stylesheets/test.css +90 -0
  1052. data/vendor/plugins/rspec_on_rails/MIT-LICENSE +31 -0
  1053. data/vendor/plugins/rspec_on_rails/README +3 -0
  1054. data/vendor/plugins/rspec_on_rails/Rakefile +9 -0
  1055. data/vendor/plugins/rspec_on_rails/generators/helpers/rails_identifier.rb +16 -0
  1056. data/vendor/plugins/rspec_on_rails/generators/rspec/CHANGES +1 -0
  1057. data/vendor/plugins/rspec_on_rails/generators/rspec/rspec_generator.rb +35 -0
  1058. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/all_stories.rb +4 -0
  1059. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/previous_failures.txt +0 -0
  1060. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/rcov.opts +2 -0
  1061. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec +4 -0
  1062. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/script/spec_server +102 -0
  1063. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec.opts +7 -0
  1064. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/spec_helper.rb +39 -0
  1065. data/vendor/plugins/rspec_on_rails/generators/rspec/templates/stories_helper.rb +3 -0
  1066. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/USAGE +33 -0
  1067. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/rspec_controller_generator.rb +50 -0
  1068. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/controller_spec.rb +25 -0
  1069. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/helper_spec.rb +11 -0
  1070. data/vendor/plugins/rspec_on_rails/generators/rspec_controller/templates/view_spec.rb +12 -0
  1071. data/vendor/plugins/rspec_on_rails/generators/rspec_model/USAGE +18 -0
  1072. data/vendor/plugins/rspec_on_rails/generators/rspec_model/rspec_model_generator.rb +30 -0
  1073. data/vendor/plugins/rspec_on_rails/generators/rspec_model/templates/model_spec.rb +11 -0
  1074. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/rspec_scaffold_generator.rb +169 -0
  1075. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/controller_spec.rb +313 -0
  1076. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/edit_erb_spec.rb +25 -0
  1077. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/helper_spec.rb +11 -0
  1078. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/index_erb_spec.rb +22 -0
  1079. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/new_erb_spec.rb +26 -0
  1080. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/routing_spec.rb +61 -0
  1081. data/vendor/plugins/rspec_on_rails/generators/rspec_scaffold/templates/show_erb_spec.rb +22 -0
  1082. data/vendor/plugins/rspec_on_rails/init.rb +9 -0
  1083. data/vendor/plugins/rspec_on_rails/lib/autotest/rails_rspec.rb +81 -0
  1084. data/vendor/plugins/rspec_on_rails/lib/spec/rails.rb +51 -0
  1085. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example.rb +47 -0
  1086. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/assigns_hash_proxy.rb +42 -0
  1087. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/controller_example_group.rb +245 -0
  1088. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/functional_example_group.rb +66 -0
  1089. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/helper_example_group.rb +82 -0
  1090. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/ivar_proxy.rb +62 -0
  1091. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/model_example_group.rb +14 -0
  1092. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/rails_example_group.rb +60 -0
  1093. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/render_observer.rb +90 -0
  1094. data/vendor/plugins/rspec_on_rails/lib/spec/rails/example/view_example_group.rb +172 -0
  1095. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions.rb +12 -0
  1096. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/base.rb +14 -0
  1097. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb +21 -0
  1098. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/test_response.rb +11 -0
  1099. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_view/base.rb +27 -0
  1100. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/active_record/base.rb +30 -0
  1101. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/object.rb +5 -0
  1102. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/example/configuration.rb +66 -0
  1103. data/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/spec/matchers/have.rb +21 -0
  1104. data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers.rb +29 -0
  1105. data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/assert_select.rb +130 -0
  1106. data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/have_text.rb +55 -0
  1107. data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/redirect_to.rb +113 -0
  1108. data/vendor/plugins/rspec_on_rails/lib/spec/rails/matchers/render_template.rb +66 -0
  1109. data/vendor/plugins/rspec_on_rails/lib/spec/rails/story_adapter.rb +71 -0
  1110. data/vendor/plugins/rspec_on_rails/lib/spec/rails/version.rb +23 -0
  1111. data/vendor/plugins/rspec_on_rails/spec/rails/autotest/mappings_spec.rb +39 -0
  1112. data/vendor/plugins/rspec_on_rails/spec/rails/autotest/rails_rspec_spec.rb +8 -0
  1113. data/vendor/plugins/rspec_on_rails/spec/rails/example/assigns_hash_proxy_spec.rb +55 -0
  1114. data/vendor/plugins/rspec_on_rails/spec/rails/example/configuration_spec.rb +83 -0
  1115. data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_isolation_spec.rb +43 -0
  1116. data/vendor/plugins/rspec_on_rails/spec/rails/example/controller_spec_spec.rb +174 -0
  1117. data/vendor/plugins/rspec_on_rails/spec/rails/example/example_group_factory_spec.rb +112 -0
  1118. data/vendor/plugins/rspec_on_rails/spec/rails/example/helper_spec_spec.rb +118 -0
  1119. data/vendor/plugins/rspec_on_rails/spec/rails/example/ivar_proxy_spec.rb +64 -0
  1120. data/vendor/plugins/rspec_on_rails/spec/rails/example/model_spec_spec.rb +18 -0
  1121. data/vendor/plugins/rspec_on_rails/spec/rails/example/shared_behaviour_spec.rb +16 -0
  1122. data/vendor/plugins/rspec_on_rails/spec/rails/example/test_unit_assertion_accessibility_spec.rb +33 -0
  1123. data/vendor/plugins/rspec_on_rails/spec/rails/example/view_spec_spec.rb +249 -0
  1124. data/vendor/plugins/rspec_on_rails/spec/rails/extensions/action_controller_rescue_action_spec.rb +54 -0
  1125. data/vendor/plugins/rspec_on_rails/spec/rails/extensions/action_view_base_spec.rb +37 -0
  1126. data/vendor/plugins/rspec_on_rails/spec/rails/extensions/active_record_spec.rb +14 -0
  1127. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/assert_select_spec.rb +783 -0
  1128. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/description_generation_spec.rb +37 -0
  1129. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/errors_on_spec.rb +13 -0
  1130. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/have_text_spec.rb +62 -0
  1131. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/redirect_to_spec.rb +203 -0
  1132. data/vendor/plugins/rspec_on_rails/spec/rails/matchers/render_spec.rb +86 -0
  1133. data/vendor/plugins/rspec_on_rails/spec/rails/mocks/mock_model_spec.rb +65 -0
  1134. data/vendor/plugins/rspec_on_rails/spec/rails/sample_spec.rb +7 -0
  1135. data/vendor/plugins/rspec_on_rails/spec/rails/spec_server_spec.rb +89 -0
  1136. data/vendor/plugins/rspec_on_rails/spec/rails/spec_spec.rb +11 -0
  1137. data/vendor/plugins/rspec_on_rails/spec/rails_suite.rb +7 -0
  1138. data/vendor/plugins/rspec_on_rails/spec/spec_helper.rb +46 -0
  1139. data/vendor/plugins/rspec_on_rails/spec_resources/controllers/action_view_base_spec_controller.rb +2 -0
  1140. data/vendor/plugins/rspec_on_rails/spec_resources/controllers/controller_spec_controller.rb +48 -0
  1141. data/vendor/plugins/rspec_on_rails/spec_resources/controllers/redirect_spec_controller.rb +59 -0
  1142. data/vendor/plugins/rspec_on_rails/spec_resources/controllers/render_spec_controller.rb +22 -0
  1143. data/vendor/plugins/rspec_on_rails/spec_resources/controllers/rjs_spec_controller.rb +58 -0
  1144. data/vendor/plugins/rspec_on_rails/spec_resources/helpers/explicit_helper.rb +10 -0
  1145. data/vendor/plugins/rspec_on_rails/spec_resources/helpers/more_explicit_helper.rb +5 -0
  1146. data/vendor/plugins/rspec_on_rails/spec_resources/helpers/plugin_application_helper.rb +6 -0
  1147. data/vendor/plugins/rspec_on_rails/spec_resources/helpers/view_spec_helper.rb +13 -0
  1148. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/_partial.rhtml +0 -0
  1149. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_after_session_reset.rhtml +1 -0
  1150. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_flash_before_session_reset.rhtml +1 -0
  1151. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_setting_the_assigns_hash.rhtml +0 -0
  1152. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_errors_in_template.rhtml +1 -0
  1153. data/vendor/plugins/rspec_on_rails/spec_resources/views/controller_spec/action_with_template.rhtml +1 -0
  1154. data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/_a_partial.rhtml +0 -0
  1155. data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.js.rjs +1 -0
  1156. data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rhtml +0 -0
  1157. data/vendor/plugins/rspec_on_rails/spec_resources/views/render_spec/some_action.rjs +1 -0
  1158. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/_replacement_partial.rhtml +1 -0
  1159. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_div.rjs +1 -0
  1160. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/hide_page_element.rjs +1 -0
  1161. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/insert_html.rjs +1 -0
  1162. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace.rjs +1 -0
  1163. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html.rjs +1 -0
  1164. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/replace_html_with_partial.rjs +1 -0
  1165. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_effect.rjs +1 -0
  1166. data/vendor/plugins/rspec_on_rails/spec_resources/views/rjs_spec/visual_toggle_effect.rjs +1 -0
  1167. data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/no_tags.rhtml +1 -0
  1168. data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_no_attributes.rhtml +1 -0
  1169. data/vendor/plugins/rspec_on_rails/spec_resources/views/tag_spec/single_div_with_one_attribute.rhtml +1 -0
  1170. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial.rhtml +2 -0
  1171. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_used_twice.rhtml +0 -0
  1172. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_with_local_variable.rhtml +1 -0
  1173. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_partial_with_sub_partial.rhtml +1 -0
  1174. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/_spacer.rhtml +1 -0
  1175. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/accessor.rhtml +3 -0
  1176. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/entry_form.rhtml +2 -0
  1177. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/explicit_helper.rhtml +2 -0
  1178. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/foo/show.rhtml +1 -0
  1179. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/implicit_helper.rhtml +2 -0
  1180. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/multiple_helpers.rhtml +3 -0
  1181. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial.rhtml +5 -0
  1182. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial_using_collection.rhtml +3 -0
  1183. data/vendor/plugins/rspec_on_rails/spec_resources/views/view_spec/template_with_partial_with_array.rhtml +1 -0
  1184. data/vendor/plugins/rspec_on_rails/stories/all.rb +6 -0
  1185. data/vendor/plugins/rspec_on_rails/stories/helper.rb +5 -0
  1186. data/vendor/plugins/rspec_on_rails/stories/steps/people.rb +8 -0
  1187. data/vendor/plugins/rspec_on_rails/stories/transactions_should_rollback +15 -0
  1188. data/vendor/plugins/rspec_on_rails/stories/transactions_should_rollback.rb +25 -0
  1189. data/vendor/plugins/rspec_on_rails/tasks/rspec.rake +135 -0
  1190. data/vendor/plugins/tag_sidebar/views/content.rhtml +1 -1
  1191. metadata +1661 -906
  1192. data/CHANGES-4.1 +0 -83
  1193. data/TODO-4.2 +0 -14
  1194. data/app/models/content_state/base.rb +0 -111
  1195. data/app/models/content_state/draft.rb +0 -32
  1196. data/app/models/content_state/factory.rb +0 -13
  1197. data/app/models/content_state/ham.rb +0 -35
  1198. data/app/models/content_state/just_marked_as_ham.rb +0 -22
  1199. data/app/models/content_state/just_marked_as_spam.rb +0 -27
  1200. data/app/models/content_state/just_presumed_ham.rb +0 -38
  1201. data/app/models/content_state/just_published.rb +0 -47
  1202. data/app/models/content_state/just_withdrawn.rb +0 -11
  1203. data/app/models/content_state/new.rb +0 -37
  1204. data/app/models/content_state/presumed_ham.rb +0 -38
  1205. data/app/models/content_state/presumed_spam.rb +0 -35
  1206. data/app/models/content_state/publication_pending.rb +0 -41
  1207. data/app/models/content_state/published.rb +0 -35
  1208. data/app/models/content_state/spam.rb +0 -27
  1209. data/app/models/content_state/unclassified.rb +0 -38
  1210. data/app/models/content_state/withdrawn.rb +0 -27
  1211. data/app/views/accounts/login.rhtml +0 -28
  1212. data/app/views/accounts/logout.rhtml +0 -12
  1213. data/app/views/accounts/signup.rhtml +0 -26
  1214. data/app/views/admin/categories/_categories.rhtml +0 -18
  1215. data/app/views/admin/categories/list.rhtml +0 -18
  1216. data/app/views/admin/categories/show.rhtml +0 -19
  1217. data/app/views/admin/comments/_form.rhtml +0 -19
  1218. data/app/views/admin/comments/list.rhtml +0 -33
  1219. data/app/views/admin/comments/new.rhtml +0 -17
  1220. data/app/views/admin/content/_articles.rhtml +0 -22
  1221. data/app/views/admin/content/_form.rhtml +0 -77
  1222. data/app/views/admin/content/edit.rhtml +0 -10
  1223. data/app/views/admin/content/list.rhtml +0 -20
  1224. data/app/views/admin/content/new.rhtml +0 -8
  1225. data/app/views/admin/content/preview.rhtml +0 -10
  1226. data/app/views/admin/content/show.rhtml +0 -26
  1227. data/app/views/admin/feedback/_item.rhtml +0 -19
  1228. data/app/views/admin/feedback/list.rhtml +0 -51
  1229. data/app/views/admin/general/index.rhtml +0 -281
  1230. data/app/views/admin/pages/_form.rhtml +0 -37
  1231. data/app/views/admin/pages/_pages.rhtml +0 -19
  1232. data/app/views/admin/pages/list.rhtml +0 -14
  1233. data/app/views/admin/pages/new.rhtml +0 -8
  1234. data/app/views/admin/pages/show.rhtml +0 -14
  1235. data/app/views/admin/resources/_resources.rhtml +0 -40
  1236. data/app/views/admin/resources/list.rhtml +0 -12
  1237. data/app/views/admin/resources/new.rhtml +0 -16
  1238. data/app/views/admin/shared/_edit.rhtml +0 -17
  1239. data/app/views/admin/sidebar/index.rhtml +0 -38
  1240. data/app/views/admin/textfilters/_form.rhtml +0 -53
  1241. data/app/views/admin/textfilters/_macros.rhtml +0 -16
  1242. data/app/views/admin/textfilters/_textfilters.rhtml +0 -20
  1243. data/app/views/admin/textfilters/edit.rhtml +0 -14
  1244. data/app/views/admin/textfilters/list.rhtml +0 -17
  1245. data/app/views/admin/textfilters/macro_help.rhtml +0 -3
  1246. data/app/views/admin/textfilters/new.rhtml +0 -17
  1247. data/app/views/admin/themes/index.rhtml +0 -18
  1248. data/app/views/admin/users/_form.rhtml +0 -48
  1249. data/app/views/admin/users/_user.rhtml +0 -9
  1250. data/app/views/admin/users/edit.rhtml +0 -18
  1251. data/app/views/admin/users/list.rhtml +0 -9
  1252. data/app/views/admin/users/new.rhtml +0 -17
  1253. data/app/views/admin/users/show.rhtml +0 -24
  1254. data/app/views/articles/_comment_box.rhtml +0 -44
  1255. data/app/views/articles/index.rhtml +0 -11
  1256. data/app/views/articles/read.rhtml +0 -70
  1257. data/app/views/layouts/administration.rhtml +0 -73
  1258. data/app/views/notification_mailer/article.rhtml +0 -6
  1259. data/app/views/notification_mailer/comment.rhtml +0 -11
  1260. data/app/views/shared/_search.rhtml +0 -10
  1261. data/app/views/xml/atom10_feed.rxml +0 -18
  1262. data/app/views/xml/itunes_feed.rxml +0 -29
  1263. data/app/views/xml/rss20_feed.rxml +0 -18
  1264. data/lib/sanitize.rb +0 -107
  1265. data/public/images/admin/dot-vertical.gif +0 -0
  1266. data/public/images/admin/h-tile.gif +0 -0
  1267. data/public/images/admin/hdr-tile.gif +0 -0
  1268. data/public/images/admin/toggle.gif +0 -0
  1269. data/public/images/bg.jpg +0 -0
  1270. data/public/images/bgcolor.jpg +0 -0
  1271. data/public/images/body_bg.png +0 -0
  1272. data/public/images/branding_bg.png +0 -0
  1273. data/public/images/branding_logo.png +0 -0
  1274. data/public/images/cancel.png +0 -0
  1275. data/public/images/checked.png +0 -0
  1276. data/public/images/content_bg.png +0 -0
  1277. data/public/images/delete.png +0 -0
  1278. data/public/images/edit.png +0 -0
  1279. data/public/images/footer.jpg +0 -0
  1280. data/public/images/footer.png +0 -0
  1281. data/public/images/global_bg.png +0 -0
  1282. data/public/images/global_logo.png +0 -0
  1283. data/public/images/not-checked copy.gif +0 -0
  1284. data/public/images/not-checked.gif +0 -0
  1285. data/public/images/section_bg.png +0 -0
  1286. data/public/images/sections_bg.png +0 -0
  1287. data/public/images/sections_hilite.png +0 -0
  1288. data/public/images/sections_hover.png +0 -0
  1289. data/public/images/show.png +0 -0
  1290. data/public/images/sitealizer/bar.gif +0 -0
  1291. data/public/images/sitealizer/uv.png +0 -0
  1292. data/public/images/sitealizer/vh.png +0 -0
  1293. data/public/images/spot-header.gif +0 -0
  1294. data/public/images/spot-title.gif +0 -0
  1295. data/public/images/x-ed.gif +0 -0
  1296. data/public/javascripts/tiny_mce/blank.htm +0 -9
  1297. data/public/javascripts/tiny_mce/themes/advanced/css/editor_content.css +0 -58
  1298. data/public/javascripts/tiny_mce/themes/advanced/css/editor_popup.css +0 -331
  1299. data/public/javascripts/tiny_mce/themes/advanced/css/editor_ui.css +0 -97
  1300. data/public/javascripts/tiny_mce/themes/advanced/docs/en/about.htm +0 -31
  1301. data/public/javascripts/tiny_mce/themes/advanced/docs/en/common_buttons.htm +0 -162
  1302. data/public/javascripts/tiny_mce/themes/advanced/docs/en/create_accessible_content.htm +0 -45
  1303. data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_anchor_window.gif +0 -0
  1304. data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_image_window.gif +0 -0
  1305. data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_link_window.gif +0 -0
  1306. data/public/javascripts/tiny_mce/themes/advanced/docs/en/images/insert_table_window.gif +0 -0
  1307. data/public/javascripts/tiny_mce/themes/advanced/docs/en/index.htm +0 -27
  1308. data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_anchor_button.htm +0 -32
  1309. data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_image_button.htm +0 -65
  1310. data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_link_button.htm +0 -33
  1311. data/public/javascripts/tiny_mce/themes/advanced/docs/en/insert_table_button.htm +0 -71
  1312. data/public/javascripts/tiny_mce/themes/advanced/docs/en/style.css +0 -28
  1313. data/public/javascripts/tiny_mce/themes/advanced/images/anchor.gif +0 -0
  1314. data/public/javascripts/tiny_mce/themes/advanced/images/backcolor.gif +0 -0
  1315. data/public/javascripts/tiny_mce/themes/advanced/images/bold.gif +0 -0
  1316. data/public/javascripts/tiny_mce/themes/advanced/images/bold_de_se.gif +0 -0
  1317. data/public/javascripts/tiny_mce/themes/advanced/images/bold_es.gif +0 -0
  1318. data/public/javascripts/tiny_mce/themes/advanced/images/bold_fr.gif +0 -0
  1319. data/public/javascripts/tiny_mce/themes/advanced/images/bold_ru.gif +0 -0
  1320. data/public/javascripts/tiny_mce/themes/advanced/images/bold_tw.gif +0 -0
  1321. data/public/javascripts/tiny_mce/themes/advanced/images/browse.gif +0 -0
  1322. data/public/javascripts/tiny_mce/themes/advanced/images/bullist.gif +0 -0
  1323. data/public/javascripts/tiny_mce/themes/advanced/images/button_menu.gif +0 -0
  1324. data/public/javascripts/tiny_mce/themes/advanced/images/buttons.gif +0 -0
  1325. data/public/javascripts/tiny_mce/themes/advanced/images/cancel_button_bg.gif +0 -0
  1326. data/public/javascripts/tiny_mce/themes/advanced/images/charmap.gif +0 -0
  1327. data/public/javascripts/tiny_mce/themes/advanced/images/cleanup.gif +0 -0
  1328. data/public/javascripts/tiny_mce/themes/advanced/images/close.gif +0 -0
  1329. data/public/javascripts/tiny_mce/themes/advanced/images/code.gif +0 -0
  1330. data/public/javascripts/tiny_mce/themes/advanced/images/color.gif +0 -0
  1331. data/public/javascripts/tiny_mce/themes/advanced/images/copy.gif +0 -0
  1332. data/public/javascripts/tiny_mce/themes/advanced/images/custom_1.gif +0 -0
  1333. data/public/javascripts/tiny_mce/themes/advanced/images/cut.gif +0 -0
  1334. data/public/javascripts/tiny_mce/themes/advanced/images/forecolor.gif +0 -0
  1335. data/public/javascripts/tiny_mce/themes/advanced/images/help.gif +0 -0
  1336. data/public/javascripts/tiny_mce/themes/advanced/images/hr.gif +0 -0
  1337. data/public/javascripts/tiny_mce/themes/advanced/images/image.gif +0 -0
  1338. data/public/javascripts/tiny_mce/themes/advanced/images/indent.gif +0 -0
  1339. data/public/javascripts/tiny_mce/themes/advanced/images/insert_button_bg.gif +0 -0
  1340. data/public/javascripts/tiny_mce/themes/advanced/images/italic.gif +0 -0
  1341. data/public/javascripts/tiny_mce/themes/advanced/images/italic_de_se.gif +0 -0
  1342. data/public/javascripts/tiny_mce/themes/advanced/images/italic_es.gif +0 -0
  1343. data/public/javascripts/tiny_mce/themes/advanced/images/italic_ru.gif +0 -0
  1344. data/public/javascripts/tiny_mce/themes/advanced/images/italic_tw.gif +0 -0
  1345. data/public/javascripts/tiny_mce/themes/advanced/images/justifycenter.gif +0 -0
  1346. data/public/javascripts/tiny_mce/themes/advanced/images/justifyfull.gif +0 -0
  1347. data/public/javascripts/tiny_mce/themes/advanced/images/justifyleft.gif +0 -0
  1348. data/public/javascripts/tiny_mce/themes/advanced/images/justifyright.gif +0 -0
  1349. data/public/javascripts/tiny_mce/themes/advanced/images/link.gif +0 -0
  1350. data/public/javascripts/tiny_mce/themes/advanced/images/menu_check.gif +0 -0
  1351. data/public/javascripts/tiny_mce/themes/advanced/images/newdocument.gif +0 -0
  1352. data/public/javascripts/tiny_mce/themes/advanced/images/numlist.gif +0 -0
  1353. data/public/javascripts/tiny_mce/themes/advanced/images/opacity.png +0 -0
  1354. data/public/javascripts/tiny_mce/themes/advanced/images/outdent.gif +0 -0
  1355. data/public/javascripts/tiny_mce/themes/advanced/images/paste.gif +0 -0
  1356. data/public/javascripts/tiny_mce/themes/advanced/images/redo.gif +0 -0
  1357. data/public/javascripts/tiny_mce/themes/advanced/images/removeformat.gif +0 -0
  1358. data/public/javascripts/tiny_mce/themes/advanced/images/separator.gif +0 -0
  1359. data/public/javascripts/tiny_mce/themes/advanced/images/statusbar_resize.gif +0 -0
  1360. data/public/javascripts/tiny_mce/themes/advanced/images/strikethrough.gif +0 -0
  1361. data/public/javascripts/tiny_mce/themes/advanced/images/sub.gif +0 -0
  1362. data/public/javascripts/tiny_mce/themes/advanced/images/sup.gif +0 -0
  1363. data/public/javascripts/tiny_mce/themes/advanced/images/underline.gif +0 -0
  1364. data/public/javascripts/tiny_mce/themes/advanced/images/underline_es.gif +0 -0
  1365. data/public/javascripts/tiny_mce/themes/advanced/images/underline_fr.gif +0 -0
  1366. data/public/javascripts/tiny_mce/themes/advanced/images/underline_ru.gif +0 -0
  1367. data/public/javascripts/tiny_mce/themes/advanced/images/underline_tw.gif +0 -0
  1368. data/public/javascripts/tiny_mce/themes/advanced/images/undo.gif +0 -0
  1369. data/public/javascripts/tiny_mce/themes/advanced/images/unlink.gif +0 -0
  1370. data/public/javascripts/tiny_mce/themes/advanced/images/visualaid.gif +0 -0
  1371. data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_bg.gif +0 -0
  1372. data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_end.gif +0 -0
  1373. data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_bg.gif +0 -0
  1374. data/public/javascripts/tiny_mce/themes/advanced/images/xp/tab_sel_end.gif +0 -0
  1375. data/public/javascripts/tiny_mce/themes/advanced/images/xp/tabs_bg.gif +0 -0
  1376. data/public/javascripts/tiny_mce/themes/advanced/jscripts/about.js +0 -75
  1377. data/public/javascripts/tiny_mce/themes/advanced/jscripts/anchor.js +0 -74
  1378. data/public/javascripts/tiny_mce/themes/advanced/jscripts/charmap.js +0 -326
  1379. data/public/javascripts/tiny_mce/themes/advanced/jscripts/color_picker.js +0 -108
  1380. data/public/javascripts/tiny_mce/themes/advanced/jscripts/image.js +0 -81
  1381. data/public/javascripts/tiny_mce/themes/advanced/jscripts/link.js +0 -70
  1382. data/public/javascripts/tiny_mce/themes/advanced/jscripts/source_editor.js +0 -60
  1383. data/spec/fixtures/whiteboards.yml +0 -13
  1384. data/spec/models/audioscrobbler_spec.rb +0 -134
  1385. data/spec/models/content_state_spec.rb +0 -1010
  1386. data/spec/models/delegate_to_content_state_spec.rb +0 -126
  1387. data/spec/models/delicious_spec.rb +0 -101
  1388. data/spec/models/flickr_spec.rb +0 -128
  1389. data/spec/models/page_cache_spec.rb +0 -35
  1390. data/test/mocks/themes/azure/about.markdown +0 -5
  1391. data/test/mocks/themes/azure/layouts/default.rhtml +0 -50
  1392. data/test/mocks/themes/azure/preview.png +0 -0
  1393. data/test/mocks/themes/azure/views/theme/static_view_test.rhtml +0 -1
  1394. data/test/unit/audioscrobbler_test.rb +0 -132
  1395. data/test/unit/content_state/factory_test.rb +0 -88
  1396. data/test/unit/delicious_test.rb +0 -96
  1397. data/test/unit/flickr_test.rb +0 -134
  1398. data/test/unit/fortythree_test.rb +0 -66
  1399. data/test/unit/magnolia_test.rb +0 -87
  1400. data/test/unit/page_cache_test.rb +0 -34
  1401. data/themes/azure/about.markdown +0 -5
  1402. data/themes/azure/images/bg-tile.gif +0 -0
  1403. data/themes/azure/images/bracket.gif +0 -0
  1404. data/themes/azure/images/bullet.gif +0 -0
  1405. data/themes/azure/images/hdr.gif +0 -0
  1406. data/themes/azure/images/q-close.gif +0 -0
  1407. data/themes/azure/images/q-open.gif +0 -0
  1408. data/themes/azure/images/sbar-tile.gif +0 -0
  1409. data/themes/azure/images/xlink.gif +0 -0
  1410. data/themes/azure/layouts/default.rhtml +0 -50
  1411. data/themes/azure/preview.png +0 -0
  1412. data/themes/azure/stylesheets/azure.css +0 -443
  1413. data/themes/azure/stylesheets/print.css +0 -30
  1414. data/themes/azure/views/theme/static_view_test.rhtml +0 -1
  1415. data/themes/scribbish/layouts/default.rhtml +0 -42
  1416. data/themes/scribbish/views/articles/_comment_form.rhtml +0 -52
  1417. data/themes/scribbish/views/articles/_search.rhtml +0 -16
  1418. data/themes/scribbish/views/articles/index.rhtml +0 -5
  1419. data/vendor/plugins/aimpresence_sidebar/Rakefile +0 -22
  1420. data/vendor/plugins/aimpresence_sidebar/init.rb +0 -4
  1421. data/vendor/plugins/aimpresence_sidebar/lib/aimpresence_sidebar.rb +0 -21
  1422. data/vendor/plugins/aimpresence_sidebar/test/aimpresence_sidebar_test.rb +0 -33
  1423. data/vendor/plugins/aimpresence_sidebar/views/content.rhtml +0 -4
  1424. data/vendor/plugins/audioscrobbler_sidebar/MAINTAINERS +0 -26
  1425. data/vendor/plugins/audioscrobbler_sidebar/MIT-LICENSE +0 -21
  1426. data/vendor/plugins/audioscrobbler_sidebar/README +0 -27
  1427. data/vendor/plugins/audioscrobbler_sidebar/Rakefile +0 -22
  1428. data/vendor/plugins/audioscrobbler_sidebar/init.rb +0 -5
  1429. data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler.rb +0 -54
  1430. data/vendor/plugins/audioscrobbler_sidebar/lib/audioscrobbler_sidebar.rb +0 -13
  1431. data/vendor/plugins/audioscrobbler_sidebar/test/audioscrobbler_sidebar_test.rb +0 -8
  1432. data/vendor/plugins/audioscrobbler_sidebar/views/content.rhtml +0 -10
  1433. data/vendor/plugins/backpack_sidebar/MAINTAINERS +0 -26
  1434. data/vendor/plugins/backpack_sidebar/MIT-LICENSE +0 -21
  1435. data/vendor/plugins/backpack_sidebar/README +0 -27
  1436. data/vendor/plugins/backpack_sidebar/Rakefile +0 -22
  1437. data/vendor/plugins/backpack_sidebar/init.rb +0 -5
  1438. data/vendor/plugins/backpack_sidebar/lib/backpack.rb +0 -57
  1439. data/vendor/plugins/backpack_sidebar/lib/backpack_sidebar.rb +0 -20
  1440. data/vendor/plugins/backpack_sidebar/test/backpack_sidebar_test.rb +0 -8
  1441. data/vendor/plugins/backpack_sidebar/views/content.rhtml +0 -12
  1442. data/vendor/plugins/delicious_sidebar/Rakefile +0 -22
  1443. data/vendor/plugins/delicious_sidebar/init.rb +0 -5
  1444. data/vendor/plugins/delicious_sidebar/lib/delicious.rb +0 -57
  1445. data/vendor/plugins/delicious_sidebar/lib/delicious_sidebar.rb +0 -35
  1446. data/vendor/plugins/delicious_sidebar/test/delicious_sidebar_test.rb +0 -8
  1447. data/vendor/plugins/delicious_sidebar/views/content.rhtml +0 -20
  1448. data/vendor/plugins/flickr_sidebar/Rakefile +0 -22
  1449. data/vendor/plugins/flickr_sidebar/init.rb +0 -5
  1450. data/vendor/plugins/flickr_sidebar/lib/flickr.rb +0 -89
  1451. data/vendor/plugins/flickr_sidebar/lib/flickr_sidebar.rb +0 -15
  1452. data/vendor/plugins/flickr_sidebar/test/flickr_sidebar_test.rb +0 -8
  1453. data/vendor/plugins/flickr_sidebar/views/content.rhtml +0 -15
  1454. data/vendor/plugins/fortythree_sidebar/Rakefile +0 -22
  1455. data/vendor/plugins/fortythree_sidebar/init.rb +0 -5
  1456. data/vendor/plugins/fortythree_sidebar/lib/fortythree.rb +0 -62
  1457. data/vendor/plugins/fortythree_sidebar/lib/fortythree_sidebar.rb +0 -13
  1458. data/vendor/plugins/fortythree_sidebar/test/fortythree_sidebar_test.rb +0 -8
  1459. data/vendor/plugins/fortythree_sidebar/views/content.rhtml +0 -8
  1460. data/vendor/plugins/fortythreeplaces_sidebar/Rakefile +0 -22
  1461. data/vendor/plugins/fortythreeplaces_sidebar/init.rb +0 -5
  1462. data/vendor/plugins/fortythreeplaces_sidebar/lib/fortythree.rb +0 -62
  1463. data/vendor/plugins/fortythreeplaces_sidebar/lib/fortythreeplaces_sidebar.rb +0 -13
  1464. data/vendor/plugins/fortythreeplaces_sidebar/test/fortythreeplaces_sidebar_test.rb +0 -8
  1465. data/vendor/plugins/fortythreeplaces_sidebar/views/content.rhtml +0 -8
  1466. data/vendor/plugins/magnolia_sidebar/Rakefile +0 -22
  1467. data/vendor/plugins/magnolia_sidebar/init.rb +0 -5
  1468. data/vendor/plugins/magnolia_sidebar/lib/magnolia_aggregation.rb +0 -81
  1469. data/vendor/plugins/magnolia_sidebar/lib/magnolia_sidebar.rb +0 -16
  1470. data/vendor/plugins/magnolia_sidebar/test/magnolia_sidebar_test.rb +0 -8
  1471. data/vendor/plugins/magnolia_sidebar/views/content.rhtml +0 -12
  1472. data/vendor/plugins/recent_comments_sidebar/Rakefile +0 -22
  1473. data/vendor/plugins/recent_comments_sidebar/init.rb +0 -5
  1474. data/vendor/plugins/recent_comments_sidebar/lib/recent_comments_sidebar.rb +0 -16
  1475. data/vendor/plugins/recent_comments_sidebar/test/recent_comments_sidebar_test.rb +0 -8
  1476. data/vendor/plugins/recent_comments_sidebar/views/content.rhtml +0 -12
  1477. data/vendor/plugins/sitealizer/CHANGELOG +0 -6
  1478. data/vendor/plugins/sitealizer/LICENSE +0 -22
  1479. data/vendor/plugins/sitealizer/README +0 -82
  1480. data/vendor/plugins/sitealizer/Rakefile +0 -22
  1481. data/vendor/plugins/sitealizer/init.rb +0 -24
  1482. data/vendor/plugins/sitealizer/install.rb +0 -22
  1483. data/vendor/plugins/sitealizer/lib/app/assets/images/bar.gif +0 -0
  1484. data/vendor/plugins/sitealizer/lib/app/assets/images/uv.png +0 -0
  1485. data/vendor/plugins/sitealizer/lib/app/assets/images/vh.png +0 -0
  1486. data/vendor/plugins/sitealizer/lib/app/controllers/sitealizer_controller.rb +0 -118
  1487. data/vendor/plugins/sitealizer/lib/app/models/site_tracker.rb +0 -145
  1488. data/vendor/plugins/sitealizer/lib/app/views/layouts/sitealizer.rhtml +0 -66
  1489. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_browsers.rhtml +0 -23
  1490. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_daily_stats.rhtml +0 -67
  1491. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_hosts.rhtml +0 -21
  1492. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_keywords.rhtml +0 -19
  1493. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_languages.rhtml +0 -21
  1494. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_main_frame.rhtml +0 -84
  1495. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_monthly_hits.rhtml +0 -67
  1496. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_page_urls.rhtml +0 -20
  1497. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_platforms.rhtml +0 -21
  1498. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_referers.rhtml +0 -22
  1499. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_robots.rhtml +0 -19
  1500. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/_search_engines.rhtml +0 -19
  1501. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/hourly_stats.rhtml +0 -39
  1502. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/index.rhtml +0 -8
  1503. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/login.rhtml +0 -20
  1504. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/menu.rhtml +0 -74
  1505. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/referrer_stats.rhtml +0 -20
  1506. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/search_stats.rhtml +0 -25
  1507. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/summary.rhtml +0 -22
  1508. data/vendor/plugins/sitealizer/lib/app/views/sitealizer/visitor_info.rhtml +0 -30
  1509. data/vendor/plugins/sitealizer/lib/config.yml +0 -18
  1510. data/vendor/plugins/sitealizer/lib/sitealizer.rb +0 -78
  1511. data/vendor/plugins/sitealizer/lib/sitealizer/parser.rb +0 -347
  1512. data/vendor/plugins/sitealizer/lib/tasks/sitealizer.rake +0 -36
  1513. data/vendor/plugins/sitealizer/test/fixtures/sitealizer.yml +0 -89
  1514. data/vendor/plugins/sitealizer/test/sitealizer_controller_test.rb +0 -208
  1515. data/vendor/plugins/sitealizer/test/sitealizer_parser_test.rb +0 -169
  1516. data/vendor/plugins/sitealizer/test/test_helper.rb +0 -7
  1517. data/vendor/plugins/tada_sidebar/MAINTAINERS +0 -26
  1518. data/vendor/plugins/tada_sidebar/MIT-LICENSE +0 -21
  1519. data/vendor/plugins/tada_sidebar/README +0 -27
  1520. data/vendor/plugins/tada_sidebar/Rakefile +0 -22
  1521. data/vendor/plugins/tada_sidebar/init.rb +0 -5
  1522. data/vendor/plugins/tada_sidebar/lib/tada.rb +0 -75
  1523. data/vendor/plugins/tada_sidebar/lib/tada_sidebar.rb +0 -16
  1524. data/vendor/plugins/tada_sidebar/test/tada_sidebar_test.rb +0 -8
  1525. data/vendor/plugins/tada_sidebar/views/content.rhtml +0 -12
  1526. data/vendor/plugins/technorati_sidebar/Rakefile +0 -22
  1527. data/vendor/plugins/technorati_sidebar/init.rb +0 -5
  1528. data/vendor/plugins/technorati_sidebar/lib/technorati.rb +0 -51
  1529. data/vendor/plugins/technorati_sidebar/lib/technorati_sidebar.rb +0 -16
  1530. data/vendor/plugins/technorati_sidebar/test/technorati_sidebar_test.rb +0 -8
  1531. data/vendor/plugins/technorati_sidebar/views/content.rhtml +0 -8
  1532. data/vendor/plugins/upcoming_sidebar/Rakefile +0 -22
  1533. data/vendor/plugins/upcoming_sidebar/init.rb +0 -5
  1534. data/vendor/plugins/upcoming_sidebar/lib/upcoming.rb +0 -74
  1535. data/vendor/plugins/upcoming_sidebar/lib/upcoming_sidebar.rb +0 -15
  1536. data/vendor/plugins/upcoming_sidebar/test/upcoming_sidebar_test.rb +0 -8
  1537. data/vendor/plugins/upcoming_sidebar/views/content.rhtml +0 -8
  1538. data/vendor/plugins/xbox_sidebar/MAINTAINERS +0 -26
  1539. data/vendor/plugins/xbox_sidebar/MIT-LICENSE +0 -21
  1540. data/vendor/plugins/xbox_sidebar/README +0 -27
  1541. data/vendor/plugins/xbox_sidebar/Rakefile +0 -22
  1542. data/vendor/plugins/xbox_sidebar/init.rb +0 -5
  1543. data/vendor/plugins/xbox_sidebar/lib/xbox_sidebar.rb +0 -6
  1544. data/vendor/plugins/xbox_sidebar/test/xbox_sidebar_test.rb +0 -8
  1545. data/vendor/plugins/xbox_sidebar/views/content.rhtml +0 -2
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :datestamped_resources do
3
+ # # Task goes here
4
+ # end
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+
3
+ class DatestampedResourcesTest < Test::Unit::TestCase
4
+ # Replace this with your real tests.
5
+ def test_this_plugin
6
+ flunk
7
+ end
8
+ end
@@ -0,0 +1 @@
1
+ # Uninstall hook code here
@@ -82,9 +82,9 @@ module ActionController
82
82
  controller.response.headers['Content-Type'] = meta[:content_type]
83
83
 
84
84
  if request_time and cached_time <= (request_time + 1)
85
- controller.render(:text => "", :status => 304)
85
+ controller.send(:render, :text => "", :status => 304)
86
86
  else
87
- controller.render(:text => cache)
87
+ controller.send(:render, :text => cache)
88
88
  end
89
89
 
90
90
  controller.rendered_action_cache = true
@@ -43,4 +43,4 @@ end
43
43
 
44
44
  class Object
45
45
  def _(*args); Localization._(*args); end
46
- end
46
+ end
@@ -0,0 +1,22 @@
1
+ require 'rake'
2
+ require 'rake/testtask'
3
+ require 'rake/rdoctask'
4
+
5
+ desc 'Default: run unit tests.'
6
+ task :default => :test
7
+
8
+ desc 'Test the page_sidebar plugin.'
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << 'lib'
11
+ t.pattern = 'test/**/*_test.rb'
12
+ t.verbose = true
13
+ end
14
+
15
+ desc 'Generate documentation for the page_sidebar plugin.'
16
+ Rake::RDocTask.new(:rdoc) do |rdoc|
17
+ rdoc.rdoc_dir = 'rdoc'
18
+ rdoc.title = 'PageSidebar'
19
+ rdoc.options << '--line-numbers' << '--inline-source'
20
+ rdoc.rdoc_files.include('README')
21
+ rdoc.rdoc_files.include('lib/**/*.rb')
22
+ end
@@ -0,0 +1,5 @@
1
+ require 'sidebar'
2
+ require 'page_sidebar'
3
+
4
+ PageSidebar.view_root = File.dirname(__FILE__) + '/views'
5
+
@@ -0,0 +1,10 @@
1
+ class PageSidebar < Sidebar
2
+ display_name "Page"
3
+ description "Show pages for this blog"
4
+
5
+ setting :maximum_pages, 10
6
+
7
+ def pages
8
+ @pages ||= Page.find(:all).sort_by {|t| t.name}
9
+ end
10
+ end
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+ require File.dirname(__FILE__) + '/../../../../test/test_helper'
3
+
4
+ class PageSidebarTest < Test::Unit::TestCase
5
+ def test_sidebar_is_available
6
+ assert Sidebar.available_sidebars.include?(PageSidebar)
7
+ end
8
+ end
@@ -0,0 +1,12 @@
1
+ <% unless sidebar.pages.blank? -%>
2
+ <h3><%= _("Pages")%></h3>
3
+ <div>
4
+ <ul>
5
+ <% for page in sidebar.pages -%>
6
+ <li>
7
+ <%= link_to page.title, page.permalink_url %>
8
+ </li>
9
+ <% end %>
10
+ </ul>
11
+ </div>
12
+ <% end %>
@@ -0,0 +1,1021 @@
1
+ == Trunk
2
+
3
+ * Fixed regression in 1.1 that caused failing examples to fail to generate their own names. Closes LH[#209].
4
+ * Applied doc patch from Jens Krämer for capturing content_for
5
+ * Applied patch from Alexander Lang to clean up story steps after each story. Closes LH[#198].
6
+ * Applied patch from Josh Knowles to support 'string_or_response.should have_text(...)'. Closes LH[#193].
7
+ * Applied patch from Ian Dees to quiet the Story Runner backtrace. Closes LH[#183].
8
+
9
+ == Version 1.1.1
10
+
11
+ Bug fix release.
12
+
13
+ * Fix regression in 1.1.0 that caused transactions to not get rolled back between examples.
14
+ * Applied patch from Bob Cotton to reintroduce ExampleGroup.description_options. Closes LH[#186]
15
+
16
+ == Version 1.1.0
17
+
18
+ The "tell me a story and go nest yourself" release.
19
+
20
+ * Applied patch from Mike Vincent to handle generators rails > 2.0.1. Closes LH[#181]
21
+ * Formatter.pending signature changed so it gets passed an ExampleGroup instance instead of the name ( LH[#180])
22
+ * Fixed LH[#180] Spec::Rails::Example::ModelExampleGroup and friends show up in rspec/rails output
23
+ * Spec::Rails no longer loads ActiveRecord extensions if it's disabled in config/boot.rb
24
+ * Applied LH[#178] small annoyances running specs with warnings enabled (Patch from Mikko Lehtonen)
25
+ * Tighter integration with Rails fixtures. Take advantage of fixture caching to get performance improvements (Thanks to Pat Maddox, Nick Kallen, Jonathan Barnes, and Curtis)
26
+
27
+ == Version 1.1.0-RC1
28
+
29
+ Textmate Bundle users - this release adds a new RSpec bundle that highlights describe, it, before and after and
30
+ provides navigation to descriptions and examples (rather than classes and methods). When you first install this,
31
+ it is going to try to hijack all of your .rb files. All you need to do is open a .rb file that does not end with
32
+ 'spec.rb' and change the bundle selection from RSpec to Ruby. TextMate will do the right thing from then on.
33
+
34
+ Shortcuts for tab-activated snippets all follow the TextMate convention of 2 or 3 letters of the first word, followed by the first letter of each subsequent word. So "should have_at_least" would be triggered by shhal.
35
+
36
+ We reduced the scope for running spec directories, files, a single file or individual spec in TextMate to source.ruby.rspec. This allowed us to restore the standard Ruby shortcuts:
37
+
38
+ CMD-R runs all the specs in one file
39
+ CMD-SHIFT-R runs an individual spec
40
+ CMD-OPT-R runs any files or directories selected in the TextMate drawer
41
+
42
+ rspec_on_rails users - don't forget to run script/generate rspec
43
+
44
+ * Added shared_examples_for method, which you can (should) use instead of describe Foo, :shared => true
45
+ * Applied LH[#168] Fix describe Object, "description contains a # in it" (Patch from Martin Emde)
46
+ * Applied LH[#15] Reverse loading of ActionView::Base helper modules (Patch from Mark Van Holstyn)
47
+ * Applied LH[#149] Update contribute page to point towards lighthouse (Patch from Josh Knowles)
48
+ * Applied LH[#142] verify_rcov fails with latest rcov (Patch from Kyle Hargraves)
49
+ * Applied LH[#10] Allow stubs to yield and return values (Patch from Pat Maddox)
50
+ * Fixed LH[#139] version.rb in trunk missing svn last changed number
51
+ * Applied LH[#14] Adding support for by_at_least/by_at_most in Change matcher (Patch from Saimon Moore)
52
+ * Applied LH[#12] Fix for TM when switching to alternate file (Patch from Trevor Squires)
53
+ * Applied LH[#133] ExampleMatcher should match against before(:all) (Patch from Bob Cotton)
54
+ * Applied LH[#134] Only load spec inside spec_helper.rb (Patch from Mark Van Holstyn)
55
+ * RSpec now bails immediately if there are examples with identical names.
56
+ * Applied LH[#132] Plain Text stories should support Given and Given: (Patch from Jarkko Laine)
57
+ * Applied patch from Pat Maddox: Story Mediator - the glue that binds the plain text story parser with the rest of the system
58
+ * Applied LH[#16] Have SimpleMatchers expose their description for specdocs (Patch from Bryan Helmkamp)
59
+ * Stories now support --colour
60
+ * Changed the DSL modules to Example (i.e. Spec::Example instead of Spec::DSL)
61
+ * Applied [#15608] Story problem if parenthesis used in Given, When, Then or And (Patch from Sinclair Bain)
62
+ * Applied [#15659] GivenScenario fails when it is a RailsStory (Patch from Nathan Sutton)
63
+ * Fixed [#15639] rcov exclusion configuration. (Spec::Rails projects can configure rcov with spec/rcov.opts)
64
+ * The rdoc formatter (--format rdoc) is gone. It was buggy and noone was using it.
65
+ * Changed Spec::DSL::Behaviour to Spec::DSL::ExampleGroup
66
+ * Changed Spec::DSL::SharedBehaviour to Spec::DSL::SharedExampleGroup
67
+ * Applied [#14023] Small optimization for heavily proxied objects. (Patch from Ian Leitch)
68
+ * Applied [#13943] ProfileFormatter (Top 10 slowest examples) (Patch from Ian Leitch)
69
+ * Fixed [#15232] heckle is not working correctly in trunk (as of r2801)
70
+ * Applied [#14399] Show pending reasons in HTML report (Patch from Bryan Helmkamp)
71
+ * Discovered fixed: [#10263] mock "leak" when setting an expectation in a block passed to mock#should_receive
72
+ * Fixed [#14671] Spec::DSL::ExampleRunner gives "NO NAME because of --dry-run" for every example for 'rake spec:doc'
73
+ * Fixed [#14543] rspec_scaffold broken with Rails 2.0
74
+ * Removed Patch [#10577] Rails with Oracle breaks 0.9.2 - was no longer necessary since we moved describe to the Main object (instead of Object)
75
+ * Fixed [#14527] specs run twice on rails 1.2.4 and rspec/rspec_on_rails trunk
76
+ * Applied [#14043] Change output ordering to show pending before errors (Patch from Mike Mangino)
77
+ * Applied [#14095] Don't have ./script/generate rspec create previous_failures.txt (Patch from Bryan Helmkamp)
78
+ * Applied [#14254] Improved error handling for Object#should and Object#should_not (Patch from Antti Tarvainen)
79
+ * Applied [#14186] Remove dead code from message_expecation.rb (Patch from Antti Tarvainen)
80
+ * Applied [#14183] Tiny improvement on mock_spec.rb (Patch from Antti Tarvainen)
81
+ * Applied [#14208] Fix to Mock#method_missing raising NameErrors instead of MockExpectationErrors (Patch from Antti Tarvainen)
82
+ * Applied [#14255] Fixed examples in mock_spec.rb and shared_behaviour_spec.rb (Patch from Antti Tarvainen)
83
+ * Applied [#14362] partially mocking objects that define == can blow up (Patch from Pat Maddox)
84
+ * test_ methods with an arity of 0 defined in a describe block or Example object will be run as an Example, providing a seamless transition from Test::Unit
85
+ * Removed BehaviourRunner
86
+ * Fixed [#13969] Spec Failures on Trunk w/ Autotest
87
+ * Applied [#14156] False positives with should_not (Patch from Antti Tarvainen)
88
+ * Applied [#14170] route_for and params_from internal specs fixed (Patch from Antti Tarvainen)
89
+ * Fixed [#14166] Cannot build trunk
90
+ * Applied [#14142] Fix for bug #11602: Nested #have_tag specifications fails on the wrong line number (Patch from Antti Tarvainen)
91
+ * Removed warn_if_no_files argument and feature
92
+ * Steps (Given/When/Then) with no blocks are treated as pending
93
+ * Applied [#13913] Scenario should treat no code block as pending (Patch from Evan Light)
94
+ * Fixed [#13370] Weird mock expectation error (Patch from Mike Mangino)
95
+ * Applied [#13952] Fix for performance regression introduced in r2096 (Patch from Ian Leitch)
96
+ * Applied [#13881] Dynamically include Helpers that are included on ActionView::Base (Patch from Brandon Keepers)
97
+ * Applied [#13833] ActionView::Helpers::JavaScriptMacrosHelper removed after 1.2.3 (Patch from Yurii Rashkovskii)
98
+ * Applied [#13814] RSpec on Rails w/ fixture-scenarios (Patch from Shintaro Kakutani)
99
+ * Add ability to define Example subclass instead of using describe
100
+ * Applied Patch from James Edward Gray II to improve syntax highlighting in TextMate
101
+ * Fixed [#13579] NoMethodError not raised for missing helper methods
102
+ * Fixed [#13713] form helper method 'select' can not be called when calling custom helper methods from specs
103
+ * Example subclasses Test::Unit::TestCase
104
+ * Added stub_everything method to create a stub that will return itself for any message it doesn't understand
105
+ * Added stories directory with stories/all.rb and stories/helper.rb when you script/generate rspec
106
+ * Applied [#13554] Add "And" so you can say Given... And... When... Then... And...
107
+ * Applied [#11254] RSpec syntax coloring and function pop-up integration in TextMate (Patch from Wincent Colaiuta)
108
+ * Applied [#13143] ActionView::Helpers::RecordIdentificationHelper should be included if present (Patch from Jay Levitt)
109
+ * Applied [#13567] patch to allow stubs to yield consecutive values (Patch from Rupert Voelcker)
110
+ * Applied [#13559] reverse version of route_for (Patch from Rupert Voelcker)
111
+ * Added [#13532] /lib specs should get base EvalContext
112
+ * Applied [#13451] Add a null_object option to mock_model (Patch from James Deville)
113
+ * Applied [#11919] Making non-implemented specs easy in textmate (Patch from Scott Taylor)
114
+ * Applied [#13274] ThrowSymbol recognized a NameError triggered by Kernel#method_missing as a thrown Symbol
115
+ * Applied [#12722] the alternate file command does not work in rails views due to scope (Patch from Carl Porth)
116
+ * Behaviour is now a Module that is used by Example class methods and SharedBehaviour
117
+ * Added ExampleDefinition
118
+ * Added story runner framework based on rbehave [#12628]
119
+ * Applied [#13336] Helper directory incorrect for rake stats in statsetup task (Patch from Curtis Miller)
120
+ * Applied [#13339] Add the ability for spec_parser to parse describes with :behaviour_type set (Patch from Will Leinweber and Dav Yaginuma)
121
+ * Fixed [#13271] incorrect behaviour with expect_render and stub_render
122
+ * Applied [#13129] Fix failing specs in spec_distributed (Patch from Bob Cotton)
123
+ * Applied [#13118] Rinda support for Spec::Distributed (Patch from Bob Cotton)
124
+ * Removed BehaviourEval
125
+ * Removed Behaviour#inherit
126
+ * Moved implementation of install_dependencies to example_rails_app
127
+ * Renamed RSPEC_DEPS to VENDOR_DEPS
128
+ * Added Example#not_implemented?
129
+ * You can now stub!(:msg).with(specific args)
130
+ * describe("A", Hash, "with one element") will generate description "A Hash with one element" (Tip from Ola Bini)
131
+ * Applied [#13016] [DOC] Point out that view specs render, well, a view (Patch from Jay Levitt)
132
+ * Applied [#13078] Develop rspec with autotest (Patch from Scott Taylor)
133
+ * Fixed [#13065] Named routes throw a NoMethodError in Helper specs (Patches from James Deville and Mike Mangino)
134
+ * Added (back) the verbose attribute in Spec::Rake::SpecTask
135
+ * Changed documentation to point at the new http svn URL, which is more accessible.
136
+
137
+ == Version 1.0.8
138
+
139
+ Another bugfix release - this time to resolve the version mismatch
140
+
141
+ == Version 1.0.7
142
+
143
+ Quick bugfix release to ensure that you don't have to have the rspec gem installed
144
+ in order to use autotest with rspec_on_rails.
145
+
146
+ * Fixed [#13015] autotest gives failure in 'spec_command' after upgrade 1.0.5 to 1.0.6
147
+
148
+ == Version 1.0.6
149
+
150
+ The "holy cow, batman, it's been a long time since we released and there are a ton of bug
151
+ fixes, patches and even new features" release.
152
+
153
+ Warning: Spec::Rails users: In fixing 11508, we've removed the raise_controller_errors method. As long as you
154
+ follow the upgrade instructions and run 'script/generate rspec' you'll be fine, but if you skip this
155
+ step you need to manually go into spec_helper.rb and remove the call to that method (if present - it
156
+ might not be if you haven't upgraded in a while).
157
+
158
+ Warning: Implementors of custom formatters. Formatters will now be sent an Example object instead of just a
159
+ String for #example_started, #example_passed and #example_failed. In certain scenarios
160
+ (Spec::Ui with Spec::Distributed), the formatter must ask the Example for its sequence number instead of
161
+ keeping track of a sequence number internal to the formatter. Most of you shouldn't need to upgrade
162
+ your formatters though - the Example#to_s method returns the example name/description, so you should be
163
+ able to use the passed Example instance as if it were a String.
164
+
165
+ * Applied [#12986] Autotest Specs + Refactoring (Patch from Scott Tayler)
166
+ * Added a #close method to formatters, which allows them to gracefully close streams.
167
+ * Applied [#12935] Remove requirement that mocha must be installed as a gem when used as mocking framework. (Patch from Ryan Kinderman).
168
+ * Fixed [#12893] RSpec's Autotest should work with rspec's trunk
169
+ * Fixed [#12865] Partial mock error when object has an @options instance var
170
+ * Applied [#12701] Allow checking of content captured with content_for in view specs (Patch from Jens Kr�mer)
171
+ * Applied [#12817] Cannot include same shared behaviour when required with absolute paths (Patch from Ian Leitch)
172
+ * Applied [#12719] rspec_on_rails should not include pagination helper (Patch from Matthijs Langenberg)
173
+ * Fixed [#12714] helper spec not finding rails core helpers
174
+ * Applied [#12611] should_not redirect_to implementation (Patch from Yurii Rashkovskii)
175
+ * Applied [#12682] Not correctly aliasing original 'stub!' and 'should_receive' methods for ApplicationController (Patch from Matthijs Langenberg)
176
+ * Disabled controller.should_receive(:render) and controller.stub!(:render). Use expect_render or stub_render instead.
177
+ * Applied [#12484] Allow a Behaviour's Description to flow through to the Formatter (Patch from Bob Cotton)
178
+ * Fixed [#12448] The spec:plugins rake task from rspec_on_rails should ignore specs from the rspec_on_rails plugin
179
+ * Applied [#12300] rr integration (patch from Kyle Hargraves)
180
+ * Implemented [#12284] mock_with :rr (integration with RR mock framework: http://rubyforge.org/projects/pivotalrb/)
181
+ * Applied [#12237] (tiny) added full path to mate in switch_command (Patch from Carl Porth)
182
+ * Formatters will now be sent an Example object instead of just a String for certain methods
183
+ * All Spec::Rake::SpecTask attributes can now be procs, which allows for lazy evaluation.
184
+ * Changed the Spec::Ui interfaces slightly. See examples.
185
+ * Applied [#12174] mishandling of paths with spaces in spec_mate switch_command (Patch from Carl Porth)
186
+ * Implemented [#8315] File "Go to..." functionality
187
+ * Applied [#11917] Cleaner Spec::Ui error for failed Selenium connection (Patch from Ian Dees)
188
+ * Applied [#11888] rspec_on_rails spews out warnings when assert_select is used with an XML response (Patch from Ian Leitch)
189
+ * Applied [#12010] Nicer failure message formatting (Patch from Wincent Colaiuta)
190
+ * Applied [#12156] smooth open mate patch (Patch from Ienaga Eiji)
191
+ * Applied [#10577] Rails with Oracle breaks 0.9.2. (Patch from Sinclair Bain)
192
+ * Fixed [#12079] auto-generated example name incomplete: should have 1 error on ....]
193
+ * Applied [#12066] Docfix for mocks/mocks.page (Patch from Kyle Hargraves)
194
+ * Fixed [#11891] script/generate rspec_controller fails to create appropriate views (from templates) on edge rails
195
+ * Applied [#11921] Adds the correct controller_name from derived_controller_name() to the ViewExampleGroupController (Patch from Eloy Duran)
196
+ * Fixed [#11903] config.include with behaviour_type 'hash' does not work
197
+ * Examples without blocks and pending is now reported with a P instead of a *
198
+ * Pending blocks that now pass are rendered blue
199
+ * New behaviour for after: If an after block raises an error, the other ones will still run instead of bailing at the first.
200
+ * Made it possible to run spec from RSpec.tmbundle with --drb against a Rails spec_server.
201
+ * Applied [#11868] Add ability for pending to optionally hold a failing block and to fail when it passes (Patch from Bob Cotton)
202
+ * Fixed [#11843] watir_behaviour missing from spec_ui gem
203
+ * Added 'switch between source and spec file' command in Spec::Mate (based on code from Ruy Asan)
204
+ * Applied [#11509] Documentation - RSpec requires hpricot
205
+ * Applied [#11807] Daemonize spec_server and rake tasks to manage them. (patch from Kyosuke MOROHASHI)
206
+ * Added pending(message) method
207
+ * Fixed [#11777] should render_template doesn't check paths correctly
208
+ * Fixed [#11749] Use of 'rescue => e' does not catch all exceptions
209
+ * Fixed [#11793] should raise_error('with a message') does not work correctly
210
+ * Fixed [#11774] Mocks should respond to :kind_of? in the same way they respond to :is_a?
211
+ * Fixed [#11508] Exceptions are not raised for Controller Specs (removed experimental raise_controller_errors)
212
+ * Applied [#11615] Partial mock methods give ambiguous failures when given a method name as a String (Patch from Jay Phillips)
213
+ * Fixed [#11545] Rspec doesn't handle should_receive on ActiveRecord associations (Patch from Ian White)
214
+ * Fixed [#11514] configuration.use_transactional_fixtures is ALWAYS true, regardless of assignment
215
+ * Improved generated RESTful controller examples to cover both successful and unsuccessful POST and PUT
216
+ * Changed TextMate snippets for controllers to pass controller class names to #describe rather than controller_name.
217
+ * Changed TextMate snippets for mocks to use no_args() and any_args() instead of the deprecated Symbols.
218
+ * Applied [#11500] Documentation: no rails integration specs in 1.0
219
+ * Renamed SpecMate's shortcuts for running all examples and focused examples to avoid conflicts (CMD-d and CMD-i)
220
+ * Added a TextMate snippet for custom matchers, lifted from Geoffrey Grosenbach's RSpec peepcode show.
221
+ * The translator translates mock constraints to the new matchers that were introduced in 1.0.4
222
+ * Documented environment variables for Spec::Rake::SpecTask. Renamed SPECOPTS and RCOVOPTS to SPEC_OPTS and RCOV_OPTS.
223
+ * Fixed [#10534] Windows: undefined method 'controller_name'
224
+
225
+ == Version 1.0.5
226
+ Bug fixes. Autotest plugin tweaks.
227
+
228
+ * Fixed [#11378] fix to 10814 broke drb (re-opened #10814)
229
+ * Fixed [#11223] Unable to access flash from rails helper specs
230
+ * Fixed [#11337] autotest runs specs redundantly
231
+ * Fixed [#11258] windows: autotest won't run
232
+ * Applied [#11253] Tweaks to autotest file mappings (Patch from Wincent Colaiuta)
233
+ * Applied [#11252] Should be able to re-load file containing shared behaviours without raising an exception (Patch from Wincent Colaiuta)
234
+ * Fixed [#11247] standalone autotest doesn't work because of unneeded autotest.rb
235
+ * Applied [#11221] Autotest support does not work w/o Rails Gem installed (Patch from Josh Knowles)
236
+
237
+ == Version 1.0.4
238
+ The getting ready for JRuby release.
239
+
240
+ * Fixed [#11181] behaviour_type scoping of config.before(:each) is not working
241
+ * added mock argument constraint matchers (anything(), boolean(), an_instance_of(Type)) which work with rspec or mocha
242
+ * added mock argument constraint matchers (any_args(), no_args()) which only work with rspec
243
+ * deprecated rspec's symbol mock argument constraint matchers (:any_args, :no_args, :anything, :boolean, :numeric, :string)
244
+ * Added tarball of rspec_on_rails to the release build to support folks working behind a firewall that blocks svn access.
245
+ * Fixed [#11137] rspec incorrectly handles flash after resetting the session
246
+ * Fixed [#11143] Views code for ActionController::Base#render broke between 1.0.0 and 1.0.3 on Rails Edge r6731
247
+ * Added raise_controller_errors for controller examples in Spec::Rails
248
+
249
+ == Version 1.0.3
250
+ Bug fixes.
251
+
252
+ * Fixed [#11104] Website uses old specify notation
253
+ * Applied [#11101] StringHelpers.starts_with?(prefix) assumes a string parameter for _prefix_
254
+ * Removed 'rescue nil' which was hiding errors in controller examples.
255
+ * Fixed [#11075] controller specs fail when using mocha without integrated_views
256
+ * Fixed problem with redirect_to failing incorrectly against edge rails.
257
+ * Fixed [#11082] RspecResourceGenerator should be RspecScaffoldGenerator
258
+ * Fixed [#10959] Focused Examples do not work for Behaviour defined with constant with modules
259
+
260
+ == Version 1.0.2
261
+ This is just to align the version numbers in rspec and rspec_on_rails.
262
+
263
+ == Version 1.0.1
264
+ This is a maintenance release with mostly cleaning up, and one minor enhancement -
265
+ Modules are automatically included when described directly.
266
+
267
+ * Renamed Spec::Rails' rspec_resource generator to rspec_scaffold.
268
+ * Removed Spec::Rails' be_feed matcher since it's based on assert_select_feed which is not part of Rails (despite that docs for assert_select_encoded says it is).
269
+ * describe(SomeModule) will include that module in the examples. Like for Spec::Rails helpers, but now also in core.
270
+ * Header in HTML report will be yellow instead of red if there is one failed example
271
+ * Applied [#10951] Odd instance variable name in rspec_model template (patch from Kyle Hargraves)
272
+ * Improved integration with autotest (Patches from Ryan Davis and David Goodland)
273
+ * Some small fixes to make all specs run on JRuby.
274
+
275
+ == Version 1.0.0
276
+ The stake in the ground release. This represents a commitment to the API as it is. No significant
277
+ backwards compatibility changes in the API are expected after this release.
278
+
279
+ * Fixed [#10923] have_text matcher does not support should_not
280
+ * Fixed [#10673] should > and should >= broken
281
+ * Applied [#10921] Allow verify_rcov to accept greater than threshold coverage %'s via configuration
282
+ * Applied [#10920] Added support for not implemented examples (Patch from Chad Humphries and Ken Barker)
283
+ * Patch to allow not implemented examples. This works by not providing a block to the example. (Patch from Chad Humphries, Ken Barker)
284
+ * Yanked support for Rails 1.1.6 in Spec::Rails
285
+ * RSpec.tmbundle uses CMD-SHIFT-R to run focused examples now.
286
+ * Spec::Rails now bundles a spec:rcov task by default (suggestion from Kurt Schrader)
287
+ * Fixed [#10814] Runner loads shared code, test cases require them again
288
+ * Fixed [#10753] Global before and after
289
+ * Fixed [#10774] Allow before and after to be specified in config II
290
+ * Refactored Spec::Ui examples to use new global before and after blocks.
291
+ * Added instructions about how to get Selenium working with Spec::Ui (spec_ui/examples/selenium/README.txt)
292
+ * Fixed [#10805] selenium.rb missing from gem?
293
+ * Added rdocs explaining how to deal with errors in Rails' controller actions
294
+ * Applied [#10770] Finer grained includes.
295
+ * Fixed [#10747] Helper methods defined in shared specs are not visible when shared spec is used
296
+ * Fixed [#10748] Shared descriptions in separate files causes 'already exists' error
297
+ * Applied [#10698] Running with --drb executes specs twice (patch from Ruy Asan)
298
+ * Fixed [#10871] 0.9.4 - Focussed spec runner fails to run specs in descriptions with type and string when there is no leading space in the string
299
+
300
+ == Version 0.9.4
301
+ This release introduces massive improvements to Spec::Ui - the user interface functional testing
302
+ extension to RSpec. There are also some minor bug fixes to the RSpec core.
303
+
304
+ * Massive improvements to Spec::Ui. Complete support for all Watir's ie.xxx(how, what) methods. Inline screenshots and HTML.
305
+ * Reactivated --timeout, which had mysteriously been deactivated in a recent release.
306
+ * Fixed [#10669] Kernel#describe override does not cover Kernel#context
307
+ * Applied [#10636] Added spec for OptionParser in Runner (Patch from Scott Taylor)
308
+ * Added [#10516] should_include should be able to accept multiple items
309
+ * Applied [#10631] redirect_to matcher doesn't respect request.host (Patch from Tim Lucas)
310
+ * Each formatter now flushes their own IO. This is to avoid buffering of output.
311
+ * Fixed [#10670] IVarProxy#delete raises exception when instance variable does not exist
312
+
313
+ == Version 0.9.3
314
+ This is a bugfix release.
315
+
316
+ * Fixed [#10594] Failing Custom Matcher show NAME NOT GENERATED description
317
+ * describe(SomeType, "#message") will not add a space: "SomeType#message" (likewise for '.')
318
+ * describe(SomeType, "message") will have a decription with a space: "SomeType message"
319
+ * Applied [#10566] prepend_before and prepend_after callbacks
320
+ * Applied [#10567] Call setup and teardown using before and after callbacks
321
+
322
+ == Version 0.9.2
323
+ This is a quick maintenance release.
324
+
325
+ * Added some website love
326
+ * Fixed [#10542] reverse predicate matcher syntax
327
+ * Added a spec:translate Rake task to make 0.9 translation easier with Spec:Rails
328
+ * Better translation of should_redirect_to
329
+ * Fixed --colour support for Windows. This is a regression that was introduced in 0.9.1
330
+ * Applied [#10460] Make SpecRunner easier to instantiate without using commandline args
331
+
332
+ == Version 0.9.1
333
+
334
+ This release introduces #describe and #it (aliased as #context and #specify for
335
+ backwards compatibility). This allows you to express specs like this:
336
+
337
+ describe SomeClass do # Creates a Behaviour
338
+ it "should do something" do # Creates an Example
339
+ end
340
+ end
341
+
342
+ The command line features four new options that give you more control over what specs
343
+ are being run and in what order. This can be used to verify that your specs are
344
+ independent (by running in opposite order with --reverse). It can also be used to cut
345
+ down feedback time by running the most recently modified specs first (--loadby mtime --reverse).
346
+
347
+ Further, --example replaces the old --spec option, and it can now take a file name of
348
+ spec names as an alternative to just a spec name. The --format failing_examples:file.txt
349
+ option allows you to output an --example compatible file, which makes it possible to only
350
+ rerun the specs that failed in the last run. Spec::Rails uses all of these four options
351
+ by default to optimise your RSpec experience.
352
+
353
+ There is now a simple configuration model. For Spec::Rails, you do something like this:
354
+
355
+ Spec::Runner.configure do |config|
356
+ config.use_transactional_fixtures = true
357
+ config.use_instantiated_fixtures = false
358
+ config.fixture_path = RAILS_ROOT + '/spec/fixtures'
359
+ end
360
+
361
+ You can now use mocha or flexmock with RSpec if you prefer either to
362
+ RSpec's own mock framework. Just put this:
363
+
364
+ Spec::Runner.configure do |config|
365
+ config.mock_with :mocha
366
+ end
367
+
368
+ or this:
369
+
370
+ Spec::Runner.configure do |config|
371
+ config.mock_with :flexmock
372
+ end
373
+
374
+ in a file that is loaded before your specs. You can also
375
+ configure included modules and predicate_matchers:
376
+
377
+ Spec::Runner.configure do |config|
378
+ config.include SomeModule
379
+ config.predicate_matchers[:does_something?] = :do_something
380
+ end
381
+
382
+ See Spec::DSL::Behaviour for more on predicate_matchers
383
+
384
+ * Sugar FREE!
385
+ * Added [10434 ] Please Make -s synonymous with -e for autotest compat. This is temporary until autotest uses -e instead of -s.
386
+ * Fixed [#10133] custom predicate matchers
387
+ * Applied [#10473] Add should exist (new matcher) - Patch from Bret Pettichord
388
+ * Added another formatter: failing_behaviours. Writes the names of the failing behaviours for use with --example.
389
+ * Applied [#10315] Patch to fix pre_commit bug 10313 - pre_commit_rails: doesn't always build correctly (Patch from Antii Tarvainen)
390
+ * Applied [#10245] Patch to HTML escape the behavior name when using HTML Formatter (Patch from Josh Knowles)
391
+ * Applied [#10410] redirect_to does not behave consistently with regards to query string parameter ordering (Patch from Nicholas Evans)
392
+ * Applied [#9605] Patch for ER 9472, shared behaviour (Patch by Bob Cotton)
393
+ * The '--format rdoc' option no longer causes a dry-run by default. --dry-run must be used explicitly.
394
+ * It's possible to specify the output file in the --format option (See explanation in --help)
395
+ * Several --format options may be specified to output several formats in one run.
396
+ * The --out option is gone. Use --format html:path/to/my.html instead (or similar).
397
+ * Spec::Runner::Formatter::BaseTextFormatter#initialize only takes one argument - an IO. dry_run and color are setters.
398
+ * Made Spec::Ui *much* easier to install. It will be released separately. Check out trunk/spec_ui/examples
399
+ * HTML reports now include a syntax highlighted snippet of the source code where the spec failed (needs the syntax gem)
400
+ * Added [#10262] Better Helper testing of Erb evaluation block helpers
401
+ * Added [#9735] support flexmock (thanks to Jim Weirich for his modifications to flexmock to support this)
402
+ * Spec::Rails controller specs will no longer let mock exception ripple through to the response.
403
+ * Fixed [#9260] IvarProxy does not act like a hash.
404
+ * Applied [#9458] The rspec_scaffold generator does not take into account class nesting (Patch from Steve Tendon)
405
+ * Applied [#9132] Rakefile spec:doc can fail without preparing database (Patch from Steve Ross)
406
+ * Applied [#9678] Custom runner command line switch, and multi-threaded runner (Patch from Bob Cotton)
407
+ * Applied [#9926] Rakefile - RSPEC_DEPS constant as an Array of Hashes instead of an Array of Arrays (Patch from Scott Taylor)
408
+ * Applied [#9925] Changed ".rhtml" to "template" in REST spec generator (Patch from Scott Taylor)
409
+ * Applied [#9852] Patch for RSpec's Website using Webgen 0.4.2 (Patch from Scott Taylor)
410
+ * Fixed [#6523] Run rspec on rails without a db
411
+ * Fixed [#9295] rake spec should run anything in the spec directory (not just rspec's standard dirs)
412
+ * Added [#9786] infer controller and helper names from the described type
413
+ * Fixed [#7795] form_tag renders action='/view_spec' in view specs
414
+ * Fixed [#9767] rspec_on_rails should not define rescue_action on controllers
415
+ * Fixed [#9421] --line doesn't work with behaviours that use class names
416
+ * Fixed [#9760] rspec generators incompatible with changes to edge rails
417
+ * Added [#9786] infer controller and helper names from the described type
418
+ * Applied a simplified version of [#9282] Change to allow running specs from textmate with rspec installed as a rails plugin (and no rspec gem installed)
419
+ * Applied [#9700] Make Spec::DSL::Example#name public / Add a --timeout switch. A great way to prevent specs from getting slow.
420
+ * In Rails, script/generate rspec will generate a spec.opts file that optimises faster/more efficient running of specs.
421
+ * Added [#9522] support using rspec's expectations with test/unit
422
+ * Moved rspec_on_rails up to the project root, simplifying the download url
423
+ * Fixed [#8103] RSpec not installing spec script correctly.
424
+ * The --spec option is replaced by the --example option.
425
+ * The --loadby option no longer supports a file argument. Use --example file_name instead.
426
+ * The --example option can now take a file name as an argument. The file should contain example names.
427
+ * Internal classes are named Behaviour/Example (rather than Context/Specification).
428
+ * You can now use mocha by saying config.mock_with :mocha in a spec_helper
429
+ * before_context_eval is replaced by before_eval.
430
+ * Applied [#9509] allow spaced options in spec.opts
431
+ * Applied [#9510] Added File for Ruby 1.8.6
432
+ * Applied [#9511] Clarification to README file in spec/
433
+ * Moved all of the Spec::Rails specs down to the plugins directory - now you can run the specs after you install.
434
+ * Updated RSpec.tmbundle to the 0.9 syntax and replaced context/specify with describe/it.
435
+ * Applied [#9232] ActionController::Base#render is sometimes protected (patch from Dan Manges)
436
+ * Added --reverse option, allowing contexts/specs to be run in reverse order.
437
+ * Added --loadby option, allowing better control over load order for spec files. mtime and file.txt supported.
438
+ * Implemented [#8696] --order option (see --reverse and --loadby)
439
+ * Added describe/it as aliases for context/specify - suggestion from Dan North.
440
+ * Applied [#7637] [PATCH] add skip-migration option to rspec_scaffold generator
441
+ * Added [#9167] string.should have_tag
442
+ * Changed script/rails_spec_server to script/spec_server and added script/spec (w/ path to vendor/plugins/rspec)
443
+ * Fixed [#8897] Error when mixing controller spec with/without integrated views and using template system other than rhtml
444
+ * Updated sample app specs to 0.9 syntax
445
+ * Updated generated specs to 0.9 syntax
446
+ * Applied [#8994] trunk: generated names for be_ specs (Multiple patches from Yurii Rashkovskii)
447
+ * Applied [#9983]: Allow before and after to be called in BehaviourEval. This is useful for shared examples.
448
+
449
+ == Version 0.8.2
450
+
451
+ Replaced assert_select fork with an assert_select wrapper for have_tag. This means that "should have_rjs" no longer supports :hide or :effect, but you can still use should_have_rjs for those.
452
+
453
+ == Version 0.8.1
454
+
455
+ Quick "in house" bug-fix
456
+
457
+ == Version 0.8.0
458
+
459
+ This release introduces a new approach to handling expectations using Expression Matchers.
460
+
461
+ See Upgrade[http://rspec.rubyforge.org/upgrade.html], Spec::Expectations, Spec::Matchers and RELEASE-PLAN for more info.
462
+
463
+ This release also improves the spec command line by adding DRb support and making it possible to
464
+ store command line options in a file. This means a more flexible RSpec experience with Rails,
465
+ Rake and editor plugins like TextMate.
466
+
467
+ It also sports myriad new features, bug fixes, patches and general goodness:
468
+
469
+ * Fixed [#8928] rspec_on_rails 0.8.0-RC1 controller tests make double call to setup_with_fixtures
470
+ * Fixed [#8925] Documentation bug in 0.8.0RC1 rspec website
471
+ * Applied [#8132] [PATCH] RSpec breaks "rake db:sessions:create" in a rails project that has the rspec_on_rails plugin (Patch from Erik Kastner)
472
+ * Fixed [#8789] --line and --spec not working when the context has parenhesis in the name
473
+ * Added [#8783] auto generate spec names from last expectation
474
+ * --heckle now fails if the heckled class or module is not found.
475
+ * Fixed [#8771] Spec::Mocks::BaseExpectation#with converts hash params to array of arrays with #collect
476
+ * Fixed [#8750] should[_not]_include backwards compatibility between 0.8.0-RC1 and 0.7.5.1 broken
477
+ * Fixed [#8646] Context Runner does not report on Non standard exceptions and return a 0 return code
478
+ * RSpec on Rails' spec_helper.rb will only force RAILS_ENV to test if it was not specified on the command line.
479
+ * Fixed [#5485] proc#should_raise and proc#should_not_raise output
480
+ * Added [#8484] should_receive with blocks
481
+ * Applied [#8218] heckle_runner.rb doesn't work with heckle >= 1.2.0 (Patch from Michal Kwiatkowski)
482
+ * Fixed [#8240] Cryptic error message when no controller_name
483
+ * Applied [#7461] [PATCH] Contexts don't call Module::included when they include a module
484
+ * Removed unintended block of test/unit assertions in rspec_on_rails - they should all, in theory, now be accessible
485
+ * Added mock_model method to RSpec on Rails, which stubs common methods. Based on http://metaclass.org/2006/12/22/making-a-mockery-of-activerecord
486
+ * Fixed [#8165] Partial Mock Errors when respond_to? is true but the method is not in the object
487
+ * Fixed [#7611] Partial Mocks override Subclass methods
488
+ * Fixed [#8302] Strange side effect when mocking a class method
489
+ * Applied [#8316] to_param should return a stringified key in resource generator's controller spec (Patch from Chris Anderson)
490
+ * Applied [#8216] shortcut for creating object stub
491
+ * Applied [#8008] Correct generated specs for view when calling resource generator (Patch from Jonathan Tron)
492
+ * Fixed [#7754] Command-R fails to run spec in TextMate (added instruction from Luke Redpath to the website)
493
+ * Fixed [#7826] RSpect.tmbundle web page out of date.
494
+ * RSpec on Rails specs are now running against RoR 1.2.1 and 1.2.2
495
+ * rspec_scaffold now generates specs for views
496
+ * In a Rails app, RSpec core is only loaded when RAILS_ENV==test (init.rb)
497
+ * Added support for target.should arbitrary_expectation_handler and target.should_not arbitrary_expectation_handler
498
+ * Fixed [#7533] Spec suite fails and the process exits with a code 0
499
+ * Fixed [#7565] Subsequent stub! calls for method fail to override the first call to method
500
+ * Applied [#7524] Incorrect Documentation for 'pattern' in Rake task (patch from Stephen Duncan)
501
+ * Fixed [#7409] default fixtures do not appear to run.
502
+ * Fixed [#7507] "render..and return" doesn't return
503
+ * Fixed [#7509] rcov/rspec incorrectly includes boot.rb (Patch from Courtenay)
504
+ * Fixed [#7506] unnecessary complex output on failure of response.should be_redirect
505
+ * Applied [#6098] Make scaffold_resource generator. Based on code from Pat Maddox.
506
+ * The drbspec command is gone. Use spec --drb instead.
507
+ * The drb option is gone from the Rake task. Pass --drb to spec_opts instead.
508
+ * New -X/--drb option for running specs against a server like spec/rails' script/rails_spec_server
509
+ * New -O/--options and -G/--generate flags for file-based options (handy for spec/rails)
510
+ * Applied [#7339] Turn off caching in HTML reports
511
+ * Applied [#7419] "c option for colorizing output does not work with rails_spec" (Patch from Shintaro Kakutani)
512
+ * Applied [#7406] [PATCH] 0.7.5 rspec_on_rails loads fixtures into development database (Patch from Wilson Bilkovich)
513
+ * Applied [#7387] Allow stubs to return consecutive values (Patch from Pat Maddox)
514
+ * Applied [#7393] Fix for rake task (Patch from Pat Maddox)
515
+ * Reinstated support for response.should_render (in addition to controller.should_render)
516
+
517
+ == Version 0.7.5.1
518
+
519
+ Bug fix release to allow downloads of rspec gem using rubygems 0.9.1.
520
+
521
+ == Version 0.7.5
522
+ This release adds support for Heckle - Seattle'rb's code mutation tool.
523
+ There are also several bug fixes to the RSpec core and the RSpec on Rails plugin.
524
+
525
+ * Removed svn:externals on rails versions and plugins
526
+ * Applied [#7345] Adding context_setup and context_teardown, with specs and 100% rcov
527
+ * Applied [#7320] [PATCH] Allow XHR requests in controller specs to render RJS templates
528
+ * Applied [#7319] Migration code uses drop_column when it should use remove_column (patch from Pat Maddox)
529
+ * Added support for Heckle
530
+ * Applied [#7282] dump results even if spec is interrupted (patch from Kouhei Sutou)
531
+ * Applied [#7277] model.should_have(n).errors_on(:attribute) (patch from Wilson Bilkovich)
532
+ * Applied [#7270] RSpec render_partial colliding with simply_helpful (patch from David Goodlad)
533
+ * Added [#7250] stubs should support throwing
534
+ * Added [#7249] stubs should support yielding
535
+ * Fixed [#6760] fatal error when accessing nested finders in rspec
536
+ * Fixed [#7179] script/generate rspec_scaffold generates incorrect helper name
537
+ * Added preliminary support for assert_select (response.should_have)
538
+ * Fixed [#6971] and_yield does not work when the arity is -1
539
+ * Fixed [#6898] Can we separate rspec from the plugins?
540
+ * Added [#7025] should_change should accept a block
541
+ * Applied [#6989] partials with locals (patch from Micah Martin)
542
+ * Applied [#7023] Typo in team.page
543
+
544
+ == Version 0.7.4
545
+
546
+ This release features a complete redesign of the reports generated with --format html.
547
+ As usual there are many bug fixes - mostly related to spec/rails.
548
+
549
+ * Applied [#7010] Fixes :spacer_template does not work w/ view spec (patch from Shintaro Kakutani)
550
+ * Applied [#6798] ensure two ':' in the first backtrace line for Emacs's 'next-error' command (patch from Kouhei Sutou)
551
+ * Added Much nicer reports to generated website
552
+ * Much nicer reports with --format --html (patch from Luke Redpath)
553
+ * Applied [#6959] Calls to render and redirect in controllers should return true
554
+ * Fixed [#6981] helper method is not available in partial template.
555
+ * Added [#6978] mock should tell you the expected and actual args when receiving the right message with the wrong args
556
+ * Added the possibility to tweak the output of the HtmlFormatter (by overriding extra_failure_content).
557
+ * Fixed [#6936] View specs don't include ApplicationHelper by default
558
+ * Fixed [#6903] Rendering a partial in a view makes the view spec blow up
559
+ * Added callback library from Brian Takita
560
+ * Added [#6925] support controller.should_render :action_name
561
+ * Fixed [#6884] intermittent errors related to method binding
562
+ * Fixed [#6870] rspec on edge rails spec:controller fixture loading fails
563
+ * Using obj.inspect for all messages
564
+ * Improved performance by getting rid of instance_exec (instance_eval is good enough because we never need to pass it args)
565
+
566
+ == Version 0.7.3
567
+
568
+ Almost normal bug fix/new feature release.
569
+
570
+ A couple of things you need to change in your rails specs:
571
+ # spec_helper.rb is a little different (see http://rspec.rubyforge.org/upgrade.html)
572
+ # use controller.should_render before OR after the action (controller.should_have_rendered is deprecated)
573
+
574
+ * Applied [#6577] messy mock backtrace when frozen to edge rails (patch from Jay Levitt)
575
+ * Fixed [#6674] rspec_on_rails fails on @session deprecation warning
576
+ * Fixed [#6780] routing() was failing...fix included - works for 1.1.6 and edge (1.2)
577
+ * Fixed [#6835] bad message with arbitrary predicate
578
+ * Added [#6731] Partial templates rendered
579
+ * Fixed [#6713] helper methods not rendered in view tests?
580
+ * Fixed [#6707] cannot run controller / helper tests via rails_spec or spec only works with rake
581
+ * Applied [#6417] lambda {...}.should_change(receiver, :message) (patch from Wilson Bilkovich)
582
+ * Eliminated dependency on ZenTest
583
+ * Fixed [#6650] Reserved characters in the TextMate bundle break svn on Win32
584
+ * Fixed [#6643] script/generate rspec_controller: invalid symbol generation for 'controller_name' for *modularized* controllers
585
+ * The script/rails_spec command has been moved to bin/drbspec in RSpec core (installed by the gem)
586
+
587
+ == Version 0.7.2
588
+
589
+ This release introduces a brand new RSpec bundle for TextMate, plus some small bugfixes.
590
+
591
+ * Packaged RSpec.tmbundle.tgz as part of the distro
592
+ * Fixed [#6593] Add moving progress bar to HtmlFormatter using Javascript
593
+ * Applied [#6265] should_raise should accept an Exception object
594
+ * Fixed [#6616] Can't run Rails specs with RSpec.tmbundle
595
+ * Fixed [#6411] Can't run Rails specs with ruby
596
+ * Added [#6589] New -l --line option. This is useful for IDE/editor runners/extensions.
597
+ * Fixed [#6615] controller.should_render_rjs should support :partial => 'path/to/template'
598
+
599
+ == Version 0.7.1
600
+
601
+ Bug fixes and a couple o' new features.
602
+
603
+ * Fixed [#6575] Parse error in aliasing the partial mock original method (patch by Brian Takita)
604
+ * Fixed [#6277] debris left by stubbing (trunk) [submitted by dastels] (fixed by fix to [#6575])
605
+ * Fixed [#6575] Parse error in aliasing the partial mock original method
606
+ * Fixed [#6555] should_have_tag does not match documentation
607
+ * Fixed [#6567] SyntaxError should not stop entire run
608
+ * Fixed [#6558] integrated views look for template even when redirected
609
+ * Fixed [#6547] response.should be_redirect broken in 0.7.0
610
+ * Applied [#6471] Easy way to spec routes
611
+ * Applied [#6587] Rspec on Rails displays "Spec::Rails::ContextFactory" as context name
612
+ * Applied [#6514] Document has trivial typos.
613
+ * Added [#6560] controller.session should be available before the action
614
+ * Added support for should_have_rjs :visual_effect
615
+ * Different printing and colours for unmet expectations (red) and other exceptions (magenta)
616
+ * Simplified method_missing on mock_methods to make it less invasive on partial mocks.
617
+
618
+ == Version 0.7.0
619
+
620
+ This is the "Grow up and eat your own dog food release". RSpec is now used on itself and
621
+ we're no longer using Test::Unit to test it. Although, we are still extending Test::Unit
622
+ for the rails plugin (indirectly - through ZenTest)
623
+
624
+ IMPORTANT NOTE: THIS RELEASE IS NOT 100% BACKWARDS COMPATIBLE TO 0.6.x
625
+
626
+ There are a few changes that will require that you change your existing specs.
627
+
628
+ RSpec now handles equality exactly like ruby does:
629
+
630
+ # actual.should_equal(expected) will pass if actual.equal?(expected) returns true
631
+ # actual.should eql(expected) will pass if actual.eql?(expected) returns true
632
+ # actual.should == expected will pass if actual == expected) returns true
633
+
634
+ At the high level, eql? implies equivalence, while equal? implies object identity. For more
635
+ information on how ruby deals w/ equality, you should do this:
636
+
637
+ ri equal?
638
+
639
+ or look at this:
640
+
641
+ http://www.ruby-doc.org/core/classes/Object.html#M001057
642
+
643
+ Also, we left in should_be as a synonym for should_equal, so the only specs that should break are the
644
+ ones using should_equal (which used to use <code>==</code> instead of <code>.equal?</code>).
645
+
646
+ Lastly, should_be used to handle true and false differently from any other values. We've removed
647
+ this special handling, so now actual.should_be true will fail for any value other than true (it
648
+ used to pass for any non-nil, non-false value), and actual.should_be false will fail for any
649
+ value other than false (it used to pass for nil or false).
650
+
651
+ Here's what you'll need to do to update your specs:
652
+ # search for "should_equal" and replace with "should_eql"
653
+ # run specs
654
+
655
+ If any specs still fail, they are probably related to should be_true or should_be_false using
656
+ non-boolean values. Those you'll just have to inspect manually and adjust appropriately (sorry!).
657
+
658
+ --------------------------------------------------
659
+ Specifying multiple return values in mocks now works like this:
660
+
661
+ mock.should_receive(:message).and_return(1,2,3)
662
+
663
+ It used to work like this:
664
+
665
+ mock.should_receive(:message).and_return([1,2,3])
666
+
667
+ but we decided that was counter intuitive and otherwise lame.
668
+
669
+ Here's what you'll need to do to update your specs:
670
+ # search for "and_return(["
671
+ # get rid of the "[" and "]"
672
+
673
+ --------------------------------------------------
674
+ RSpec on Rails now supports the following (thanks to ZenTest upon which it is built):
675
+
676
+ # Separate specs for models, views, controllers and helpers
677
+ # Controller specs are completely decoupled from the views by default (though you can tell them to couple themselves if you prefer)
678
+ # View specs are completely decoupled from app-specific controllers
679
+
680
+ See http://rspec.rubyforge.org/documentation/rails/index.html for more information
681
+ --------------------------------------------------
682
+ As usual, there are also other new features and bug fixes:
683
+
684
+ * Added lots of documentation on mocks/stubs and the rails plugin.
685
+ * Added support for assigns[key] syntax for controller specs (to align w/ pre-existing syntax for view specs)
686
+ * Added support for controller.should_redirect_to
687
+ * RSpec on Rails automatically checks whether it's compatible with the installed RSpec
688
+ * Applied [#6393] rspec_on_rails uses deprecated '@response' instead of the accessor
689
+ * RSpec now has 100% spec coverage(!)
690
+ * Added support for stubbing and partial mocking
691
+ * Progress (....F..F.) is now coloured. Tweaked patch from KAKUTANI Shintaro.
692
+ * Backtrace now excludes the rcov runner (/usr/local/bin/rcov)
693
+ * Fixed [#5539] predicates do not work w/ rails
694
+ * Added [#6091] support for Regexp matching messages sent to should_raise
695
+ * Added [#6333] support for Regexp matching in mock arguments
696
+ * Applied [#6283] refactoring of diff support to allow selectable formats and custom differs
697
+ * Fixed [#5564] "ruby spec_file.rb" doesn't work the same way as "spec spec_file.rb"
698
+ * Fixed [#6056] Multiple output of failing-spec notice
699
+ * Fixed [#6233] Colours in specdoc
700
+ * Applied [#6207] Allows --diff option to diff target and expected's #inspect output (Patch by Lachie Cox)
701
+ * Fixed [#6203] Failure messages are misleading - consider using inspect.
702
+ * Added [#6334] subject.should_have_xyz will try to call subject.has_xyz? - use this for hash.should_have_key(key)
703
+ * Fixed [#6017] Rake task should ignore empty or non-existent spec-dirs
704
+
705
+ == Version 0.6.4
706
+
707
+ In addition to a number of bug fixes and patches, this release begins to formalize the support for
708
+ RSpec on Rails.
709
+
710
+ * Added Christopher Petrilli's TextMate bundle to vendor/textmate/RSpec.tmbundle
711
+ * Fixed [#5909], once again supporting multi_word_predicates
712
+ * Applied [#5873] - response.should_have_rjs (initial patch from Jake Howerton, based on ARTS by Kevin Clark)
713
+ * Added generation of view specs for rspec_on_rails
714
+ * Applied [#5815] active_record_subclass.should_have(3).records
715
+ * Added support in "rake stats" for view specs (in spec/views)
716
+ * Applied [#5801] QuickRef.pdf should say RSpec, not rSpec
717
+ * Applied [#5728] rails_spec_runner fails on Windows (Patch from Lindsay Evans).
718
+ * Applied [#5708] RSpec Rails plugin rspec_controller generator makes specs that do not parse.
719
+ * Cleaned up RSpec on Rails so it doesn't pollute as much during bootstrapping.
720
+ * Added support for response.should_have_tag and response.should_not_have_tag (works just like assert_tag in rails)
721
+ * Added new -c, --colour, --color option for colourful (red/green) output. Inspired from Pat Eyler's Redgreen gem.
722
+ * Added examples for Watir and Selenium under the gem's vendor directory.
723
+ * Renamed rails_spec_runner to rails_spec_server (as referred to in the docs)
724
+ * Added support for trying a plural for arbitrary predicates. E.g. Album.should_exist(:name => "Hey Jude") will call Album.exists?(:name => "Hey Jude")
725
+ * Added support for should_have to work with methods taking args returning a collection. E.g. @dave.should_have(3).albums_i_have_that_this_guy_doesnt(@aslak)
726
+ * Added [#5570] should_not_receive(:msg).with(:specific, "args")
727
+ * Applied [#5065] to support using define_method rather than method_missing to capture expected messages on mocks. Thanks to Eero Saynatkari for the tip that made it work.
728
+ * Restructured directories and Modules in order to separate rspec into three distinct Modules: Spec::Expectations, Spec::Runner and Spec::Mocks. This will allow us to more easily integrate other mock frameworks and/or allow test/unit users to take advantage of the expectation API.
729
+ * Applied [#5620] support any boolean method and arbitrary comparisons (5.should_be < 6) (Patch from Mike Williams)
730
+
731
+ == Version 0.6.3
732
+
733
+ This release fixes some minor bugs related to RSpec on Rails
734
+ Note that if you upgrade a rails app with this version of the rspec_on_rails plugin
735
+ you should remove your lib/tasks/rspec.rake if it exists.
736
+
737
+ * Backtraces from drb (and other standard ruby libraries) are now stripped from backtraces.
738
+ * Applied [#5557] Put rspec.rake into the task directory of the RSpec on Rails plugin (Patch from Daniel Siemssen)
739
+ * Applied [#5556] rails_spec_server loads environment.rb twice (Patch from Daniel Siemssen)
740
+
741
+ == Version 0.6.2
742
+ This release fixes a couple of regressions with the rake task that were introduced in the previous version (0.6.1)
743
+
744
+ * Fixed [#5518] ruby -w: warnings in 0.6.1
745
+ * Applied [#5525] fix rake task path to spec tool for gem-installed rspec (patch from Riley Lynch)
746
+ * Fixed a teensey regression with the rake task - introduced in 0.6.1. The spec command is now quoted so it works on windows.
747
+
748
+ == Version 0.6.1
749
+ This is the "fix the most annoying bugs release" of RSpec. There are 9 bugfixes this time.
750
+ Things that may break backwards compatibility:
751
+ 1) Spec::Rake::SpecTask no longer has the options attribute. Use ruby_opts, spec_opts and rcov_opts instead.
752
+
753
+ * Fixed [#4891] RCOV task failing on windows
754
+ * Fixed [#4896] Shouldn't modify user's $LOAD_PATH (Tip from Gavin Sinclair)
755
+ * Fixed [#5369] ruby -w: warnings in RSpec 0.5.16 (Tip from Suraj Kurapati)
756
+ * Applied [#5141] ExampleMatcher doesn't escape strings before matching (Patch from Nikolai Weibull).
757
+ * Fixed [#5224] Move 'require diff-lcs' from test_helper.rb to diff_test.rb (Tip from Chris Roos)
758
+ * Applied [#5449] Rake stats for specs (Patch from Nick Sieger)
759
+ * Applied [#5468, #5058] Fix spec runner to correctly run controller specs (Patch from Daniel Siemssen)
760
+ * Applied fixes to rails_spec_server to improve its ability to run several times. (Patch from Daniel Siemssen)
761
+ * Changed RCov::VerifyTask to fail if the coverage is above the threshold. This is to ensure it gets bumped when coverage improves.
762
+
763
+ == Version 0.6.0
764
+ This release makes an official commitment to underscore_syntax (with no more support for dot.syntax)
765
+
766
+ * Fixed bug (5292) that caused mock argument matching to fail
767
+ * Converted ALL tests to use underscore syntax
768
+ * Fixed all remaining problems with underscores revealed by converting all the tests to underscores
769
+ * Enhanced sugar to support combinations of methods (i.e. once.and_return)
770
+ * Simplified helper structure taking advantage of dot/underscore combos (i.e. should.be.an_instance_of, which can be expressed as should be_an_instance_of)
771
+ * Added support for at_most in mocks
772
+ * Added support for should_not_receive(:msg) (will be removing should_receive(:msg).never some time soon)
773
+ * Added support for should_have_exactly(5).items_in_collection
774
+
775
+ == Version 0.5.16
776
+ This release improves Rails support and test2spec translation.
777
+
778
+ * Fixed underscore problems that occurred when RSpec was used in Rails
779
+ * Simplified the Rails support by packaging it as a plugin instead of a generator gem.
780
+ * Fixed [#5063] 'rspec_on_rails' require line in spec_helper.rb
781
+ * Added pre_commit rake task to reduce risk of regressions. Useful for RSpec developers and patchers.
782
+ * Added failure_message to RSpec Rake task
783
+ * test2spec now defines converted helper methods outside of the setup block (bug #5057).
784
+
785
+ == Version 0.5.15
786
+ This release removes a prematurely added feature that shouldn't have been added.
787
+
788
+ * Removed support for differences that was added in 0.5.14. The functionality is not aligned with RSpec's vision.
789
+
790
+ == Version 0.5.14
791
+ This release introduces better ways to extend specs, improves some of the core API and
792
+ a experimental support for faster rails specs.
793
+
794
+ * Added proc methods for specifying differences (increments and decrements). See difference_test.rb
795
+ * Methods can now be defined alongside specs. This obsoletes the need for defining methods in setup. (Patch #5002 from Brian Takita)
796
+ * Sugar (underscores) now works correctly with should be_a_kind_of and should be_an_instance_of
797
+ * Added support for include and inherit in contexts. (Patch #4971 from Brian Takita)
798
+ * Added rails_spec and rails_spec_server for faster specs on rails (still buggy - help needed)
799
+ * Fixed bug that caused should_render to break if given a :symbol (in Rails)
800
+ * Added support for comparing exception message in should_raise and should_not_raise
801
+
802
+ == Version 0.5.13
803
+ This release fixes some subtle bugs in the mock API.
804
+
805
+ * Use fully-qualified class name of Exceptions in failure message. Easier to debug that way.
806
+ * Fixed a bug that caused mocks to yield a one-element array (rather than the element) when one yield arg specified.
807
+ * Mocks not raise AmbiguousReturnError if an explicit return is used at the same time as an expectation block.
808
+ * Blocks passed to yielding mocks can now raise without causing mock verification to fail.
809
+
810
+ == Version 0.5.12
811
+ This release adds diff support for failure messages, a HTML formatter plus some other
812
+ minor enhancements.
813
+
814
+ * Added HTML formatter.
815
+ * Added fail_on_error option to spectask.
816
+ * Added support for diffing, using the diff-lcs Rubygem (#2648).
817
+ * Remove RSpec on Rails files from backtrace (#4694).
818
+ * All of RSpec's own tests run successfully after translation with test2spec.
819
+ * Added --verbose mode for test2spec - useful for debugging when classes fail to translate.
820
+ * Output of various formatters is now flushed - to get more continuous output.
821
+
822
+ == Version 0.5.11
823
+ This release makes test2spec usable with Rails (with some manual steps).
824
+ See http://rspec.rubyforge.org/tools/rails.html for more details
825
+
826
+ * test2spec now correctly translates bodies of helper methods (non- test_*, setup and teardown ones).
827
+ * Added more documentation about how to get test2spec to work with Rails.
828
+
829
+ == Version 0.5.10
830
+ This version features a second rewrite of test2spec - hopefully better than the previous one.
831
+
832
+ * Improved test2spec's internals. It now transforms the syntax tree before writing out the code.
833
+
834
+ == Version 0.5.9
835
+ This release improves test2spec by allowing more control over the output
836
+
837
+ * Added --template option to test2spec, which allows for custom output driven by ERB
838
+ * Added --quiet option to test2spec
839
+ * Removed unnecessary dependency on RubyToC
840
+
841
+ == Version 0.5.8
842
+ This release features a new Test::Unit to RSpec translation tool.
843
+ Also note that the RubyGem of the previous release (0.5.7) was corrupt.
844
+ We're close to being able to translate all of RSpec's own Test::Unit
845
+ tests and have them run successfully!
846
+
847
+ * Updated test2spec documentation.
848
+ * Replaced old test2rspec with a new test2spec, which is based on ParseTree and RubyInline.
849
+
850
+ == Version 0.5.7
851
+ This release changes examples and documentation to recommend underscores rather than dots,
852
+ and addresses some bugfixes and changes to the spec commandline.
853
+
854
+ * spec DIR now works correctly, recursing down and slurping all *.rb files
855
+ * All documentation and examples are now using '_' instead of '.'
856
+ * Custom external formatters can now be specified via --require and --format.
857
+
858
+ == Version 0.5.6
859
+ This release fixes a bug in the Rails controller generator
860
+
861
+ * The controller generator did not write correct source code (missing 'do'). Fixed.
862
+
863
+ == Version 0.5.5
864
+ This release adds initial support for Ruby on Rails in the rspec_generator gem.
865
+
866
+ * [Rails] Reorganised Lachie's original code to be a generator packaged as a gem rather than a plugin.
867
+ * [Rails] Imported code from http://lachie.info/svn/projects/rails_plugins/rspec_on_rails (Written by Lachie Cox)
868
+ * Remove stack trace lines from TextMate's Ruby bundle
869
+ * Better error message from spectask when no spec files are found.
870
+
871
+ == Version 0.5.4
872
+ The "the tutorial is ahead of the gem" release
873
+
874
+ * Support for running a single spec with --spec
875
+ * Exitcode is now 1 unless all specs pass, in which case it's 0.
876
+ * -v, --version now both mean the same thing
877
+ * For what was verbose output (-v), use --format specdoc or -f s
878
+ * --format rdoc always runs in dry-run mode
879
+ * Removed --doc and added --format and --dry-run
880
+ * Refactored towards more pluggable formatters
881
+ * Use webgen's execute tag when generating website (more accurate)
882
+ * Fixed incorrect quoting of spec_opts in SpecTask
883
+ * Added patch to enable underscored shoulds like 1.should_equal(1) - patch from Rich Kilmer
884
+ * Removed most inherited instance method from Mock, making more methods mockable.
885
+ * Made the RCovVerify task part of the standard toolset.
886
+ * Documented Rake task and how to use it with Rcov
887
+ * Implemented <ruby></ruby> tags for website (hooking into ERB, RedCloth and syntax)
888
+ * RSpec Rake task now takes spec_opts and out params so it can be used for doc generation
889
+ * RCov integration for RSpec Rake task (#4058)
890
+ * Group all results instead of printing them several times (#4057)
891
+ * Mocks can now yield
892
+ * Various improvements to error reporting (including #4191)
893
+ * backtrace excludes rspec code - use -b to include it
894
+ * split examples into examples (passing) and failing_examples
895
+
896
+ == Version 0.5.3
897
+ The "hurry up, CoR is in two days" release.
898
+
899
+ * Don't run rcov by default
900
+ * Make separate task for running tests with RCov
901
+ * Added Rake task to fail build if coverage drops below a certain threshold
902
+ * Even more failure output cleanup (simplification)
903
+ * Added duck_type constraint for mocks
904
+
905
+ == Version 0.5.2
906
+ This release has minor improvements to the commandline and fixes some gem warnings
907
+
908
+ * Readded README to avoid RDoc warnings
909
+ * Added --version switch to commandline
910
+ * More changes to the mock API
911
+
912
+ == Version 0.5.1
913
+ This release is the first release of RSpec with a new website. It will look better soon.
914
+
915
+ * Added initial documentation for API
916
+ * Added website based on webgen
917
+ * Modified test task to use rcov
918
+ * Deleted unused code (thanks, rcov!)
919
+ * Various changes to the mock API,
920
+ * Various improvements to failure reporting
921
+
922
+ == Version 0.5.0
923
+ This release introduces a new API and obsolesces previous versions.
924
+
925
+ * Moved source code to separate subfolders
926
+ * Added new DSL runner based on instance_exec
927
+ * Added spike for testdox/rdoc generation
928
+ * merge Astels' and Chelimsky's work on ShouldHelper
929
+ * this would be 0.5.0 if I updated the documentation
930
+ * it breaks all of your existing specifications. We're not sorry.
931
+
932
+ == Version 0.3.2
933
+
934
+ The "srbaker is an idiot" release.
935
+
936
+ * also forgot to update the path to the actual Subversion repository
937
+ * this should be it
938
+
939
+ == Version 0.3.1
940
+
941
+ This is just 0.3.0, but with the TUTORIAL added to the documentation list.
942
+
943
+ * forgot to include TUTORIAL in the documentation
944
+
945
+ == Version 0.3.0
946
+
947
+ It's been a while since last release, lots of new stuff is available. For instance:
948
+
949
+ * improvements to the runners
950
+ * addition of should_raise expectation (thanks to Brian Takita)
951
+ * some documentation improvements
952
+ * RSpec usable as a DSL
953
+
954
+ == Version 0.2.0
955
+
956
+ This release provides a tutorial for new users wishing to get started with
957
+ RSpec, and many improvements.
958
+
959
+ * improved reporting in the spec runner output
960
+ * update the examples to the new mock api
961
+ * added TUTORIAL, a getting started document for new users of RSpec
962
+
963
+ == Version 0.1.7
964
+
965
+ This release improves installation and documentation, mock integration and error reporting.
966
+
967
+ * Comparison errors now print the class name too.
968
+ * Mocks now take an optional +options+ parameter to specify behaviour.
969
+ * Removed __expects in favour of should_receive
970
+ * Added line number reporting in mock error messages for unreceived message expectations.
971
+ * Added should_match and should_not_match.
972
+ * Added a +mock+ method to Spec::Context which will create mocks that autoverify (no need to call __verify).
973
+ * Mocks now require names in the constructor to ensure sensible error messages.
974
+ * Made 'spec' executable and updated usage instructions in README accordingly.
975
+ * Made more parts of the Spec::Context API private to avoid accidental usage.
976
+ * Added more RDoc to Spec::Context.
977
+
978
+ == Version 0.1.6
979
+
980
+ More should methods.
981
+
982
+ * Added should_match and should_not_match.
983
+
984
+ == Version 0.1.5
985
+
986
+ Included examples and tests in gem.
987
+
988
+ == Version 0.1.4
989
+
990
+ More tests on block based Mock expectations.
991
+
992
+ == Version 0.1.3
993
+
994
+ Improved mocking:
995
+
996
+ * block based Mock expectations.
997
+
998
+ == Version 0.1.2
999
+
1000
+ This release adds some improvements to the mock API and minor syntax improvements
1001
+
1002
+ * Added Mock.should_expect for a more consistent DSL.
1003
+ * Added MockExpectation.and_returns for a better DSL.
1004
+ * Made Mock behave as a null object after a call to Mock.ignore_missing
1005
+ * Internal syntax improvements.
1006
+ * Improved exception trace by adding exception class name to error message.
1007
+ * Renamed some tests for better consistency.
1008
+
1009
+ == Version 0.1.1
1010
+
1011
+ This release adds some shoulds and improves error reporting
1012
+
1013
+ * Added should be_same_as and should_not be_same_as.
1014
+ * Improved error reporting for comparison expectations.
1015
+
1016
+ == Version 0.1.0
1017
+
1018
+ This is the first preview release of RSpec, a Behaviour-Driven Development library for Ruby
1019
+
1020
+ * Added Rake script with tasks for gems, rdoc etc.
1021
+ * Added an XForge task to make release go easier.