forem 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.gitignore +8 -0
  2. data/Gemfile +13 -0
  3. data/Gemfile.lock +166 -0
  4. data/MIT-LICENSE +20 -0
  5. data/Rakefile +33 -0
  6. data/app/controllers/forem/application_controller.rb +13 -0
  7. data/app/controllers/forem/forums_controler.rb +11 -0
  8. data/app/controllers/forem/posts_controller.rb +26 -0
  9. data/app/controllers/forem/topics_controller.rb +35 -0
  10. data/app/helpers/forem/application_helper.rb +4 -0
  11. data/app/models/forem/forum.rb +4 -0
  12. data/app/models/forem/post.rb +11 -0
  13. data/app/models/forem/topic.rb +17 -0
  14. data/app/views/forem/forums/index.html.erb +13 -0
  15. data/app/views/forem/forums/show.html.erb +3 -0
  16. data/app/views/forem/posts/_form.html.erb +4 -0
  17. data/app/views/forem/posts/_post.html.erb +20 -0
  18. data/app/views/forem/posts/new.html.erb +6 -0
  19. data/app/views/forem/topics/_form.html.erb +9 -0
  20. data/app/views/forem/topics/new.html.erb +3 -0
  21. data/app/views/forem/topics/show.html.erb +6 -0
  22. data/config/locales/en.yml +23 -0
  23. data/config/routes.rb +9 -0
  24. data/db/migrate/20110214221555_create_forums.rb +13 -0
  25. data/db/migrate/20110221092741_create_topics.rb +11 -0
  26. data/db/migrate/20110221094502_create_posts.rb +11 -0
  27. data/db/migrate/20110228084940_add_reply_to_to_posts.rb +5 -0
  28. data/forem.gemspec +16 -0
  29. data/lib/forem.rb +4 -0
  30. data/lib/forem/engine.rb +13 -0
  31. data/lib/rack/utils_monkey_patch.rb +9 -0
  32. data/lib/tasks/forem_tasks.rake +4 -0
  33. data/public/javascripts/application.js +2 -0
  34. data/public/javascripts/controls.js +965 -0
  35. data/public/javascripts/dragdrop.js +974 -0
  36. data/public/javascripts/effects.js +1123 -0
  37. data/public/javascripts/prototype.js +6082 -0
  38. data/public/javascripts/rails.js +192 -0
  39. data/public/stylesheets/.gitkeep +0 -0
  40. data/script/rails +6 -0
  41. data/spec/dummy/Rakefile +7 -0
  42. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  43. data/spec/dummy/app/controllers/fake_controller.rb +5 -0
  44. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  45. data/spec/dummy/app/models/user.rb +6 -0
  46. data/spec/dummy/app/views/fake/sign_in.html.erb +7 -0
  47. data/spec/dummy/app/views/layouts/application.html.erb +17 -0
  48. data/spec/dummy/config.ru +4 -0
  49. data/spec/dummy/config/application.rb +43 -0
  50. data/spec/dummy/config/boot.rb +10 -0
  51. data/spec/dummy/config/database.yml +16 -0
  52. data/spec/dummy/config/environment.rb +5 -0
  53. data/spec/dummy/config/environments/development.rb +26 -0
  54. data/spec/dummy/config/environments/production.rb +49 -0
  55. data/spec/dummy/config/environments/test.rb +35 -0
  56. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  57. data/spec/dummy/config/initializers/inflections.rb +10 -0
  58. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  59. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  60. data/spec/dummy/config/initializers/session_store.rb +8 -0
  61. data/spec/dummy/config/locales/en.yml +5 -0
  62. data/spec/dummy/config/routes.rb +4 -0
  63. data/spec/dummy/db/migrate/001_create_users.rb +8 -0
  64. data/spec/dummy/db/schema.rb +43 -0
  65. data/spec/dummy/public/404.html +26 -0
  66. data/spec/dummy/public/422.html +26 -0
  67. data/spec/dummy/public/500.html +26 -0
  68. data/spec/dummy/public/favicon.ico +0 -0
  69. data/spec/dummy/public/javascripts/application.js +2 -0
  70. data/spec/dummy/public/javascripts/controls.js +965 -0
  71. data/spec/dummy/public/javascripts/dragdrop.js +974 -0
  72. data/spec/dummy/public/javascripts/effects.js +1123 -0
  73. data/spec/dummy/public/javascripts/prototype.js +6082 -0
  74. data/spec/dummy/public/javascripts/rails.js +192 -0
  75. data/spec/dummy/public/stylesheets/.gitkeep +0 -0
  76. data/spec/dummy/script/rails +6 -0
  77. data/spec/integration/forums_spec.rb +22 -0
  78. data/spec/integration/posts_spec.rb +36 -0
  79. data/spec/integration/topics_spec.rb +71 -0
  80. data/spec/models/post_spec.rb +16 -0
  81. data/spec/spec_helper.rb +15 -0
  82. data/spec/support/capybara.rb +6 -0
  83. data/spec/support/capybara_ext.rb +47 -0
  84. data/spec/support/dummy_login.rb +33 -0
  85. data/spec/support/factories.rb +45 -0
  86. data/spec/support/factories/forums.rb +4 -0
  87. data/spec/support/factories/topics.rb +4 -0
  88. data/spec/support/routes.rb +5 -0
  89. metadata +221 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.