blogit 0.8.0 → 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3 -1
  3. data/Rakefile +8 -24
  4. data/app/controllers/blogit/application_controller.rb +5 -16
  5. data/app/controllers/blogit/comments_controller.rb +7 -5
  6. data/app/controllers/blogit/posts_controller.rb +30 -17
  7. data/app/helpers/blogit/posts_helper.rb +1 -1
  8. data/app/models/blogit/comment.rb +23 -27
  9. data/app/models/blogit/post.rb +24 -23
  10. data/app/views/blogit/comments/_admin_links.html.erb +2 -2
  11. data/app/views/blogit/comments/create.js.erb +2 -2
  12. data/app/views/blogit/posts/_empty.html.erb +0 -3
  13. data/app/views/blogit/posts/_form.html.erb +9 -3
  14. data/app/views/blogit/posts/_post_links.html.erb +3 -2
  15. data/app/views/blogit/posts/_related.html.erb +1 -1
  16. data/config/locales/de.yml +50 -0
  17. data/config/locales/en.yml +2 -5
  18. data/config/locales/fr.yml +0 -4
  19. data/config/routes.rb +3 -3
  20. data/db/migrate/20110814091434_create_blogit_posts.rb +15 -0
  21. data/db/migrate/{20110814093229_create_blog_comments.rb → 20110814093229_create_blogit_comments.rb} +3 -3
  22. data/lib/blogit/configuration.rb +26 -1
  23. data/lib/blogit/version.rb +1 -1
  24. data/lib/blogit.rb +1 -2
  25. data/lib/generators/blogit/table_name_migration_generator.rb +15 -0
  26. data/lib/generators/templates/blogit.rb +12 -6
  27. data/lib/generators/templates/rename_blogit_tables.rb +21 -0
  28. data/spec/controllers/blogit/comments_controller_spec.rb +1 -1
  29. data/spec/controllers/blogit/posts_controller_spec.rb +57 -13
  30. data/spec/dummy/app/views/layouts/custom.html.erb +34 -0
  31. data/spec/dummy/config/application.rb +12 -7
  32. data/spec/dummy/config/database.yml +28 -24
  33. data/spec/dummy/config/environments/development.rb +23 -14
  34. data/spec/dummy/config/environments/production.rb +55 -22
  35. data/spec/dummy/config/environments/test.rb +17 -16
  36. data/spec/dummy/config/initializers/blogit.rb +5 -8
  37. data/spec/dummy/config/initializers/secret_token.rb +11 -2
  38. data/spec/dummy/db/development.sqlite3 +0 -0
  39. data/{db/migrate/20110814103306_acts_as_taggable_on_migration.rb → spec/dummy/db/migrate/20140511174024_acts_as_taggable_on_migration.acts_as_taggable_on_engine.rb} +6 -3
  40. data/spec/dummy/db/migrate/20140511174025_add_missing_unique_indices.acts_as_taggable_on_engine.rb +20 -0
  41. data/spec/dummy/db/migrate/20140511174026_add_taggings_counter_cache_to_tags.acts_as_taggable_on_engine.rb +15 -0
  42. data/spec/dummy/db/migrate/20140511174028_create_blogit_posts.blogit.rb +16 -0
  43. data/spec/dummy/db/migrate/20140511174029_create_blogit_comments.blogit.rb +16 -0
  44. data/spec/dummy/db/schema.rb +32 -29
  45. data/spec/dummy/db/test.sqlite3 +0 -0
  46. data/spec/dummy/log/development.log +1444 -2970
  47. data/spec/dummy/log/test.log +9631 -29732
  48. data/spec/dummy/tmp/cache/assets/CB5/DD0/sprockets%2F346324d2a51df58457807bee661c449c +0 -0
  49. data/spec/dummy/tmp/cache/assets/CB6/ED0/sprockets%2F4390d06699f3ad4262e342be530f9f91 +0 -0
  50. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  51. data/spec/dummy/tmp/cache/assets/CE7/230/sprockets%2F6f493a817d97133a8dbf674bcd322670 +0 -0
  52. data/spec/dummy/tmp/cache/assets/{D35/E90/sprockets%2F9542f66fea1d10b7924f3b6b31e1e2e0 → CEA/490/sprockets%2F9697d4fb1ed26d80f3c715611c8d4373} +0 -0
  53. data/spec/dummy/tmp/cache/assets/CEE/310/sprockets%2F89642af8492e579dcd7162a0e2b7f155 +0 -0
  54. data/spec/dummy/tmp/cache/assets/D01/8C0/sprockets%2F332d5a9ce3e800c6c4a7a99058023ba2 +0 -0
  55. data/spec/dummy/tmp/cache/assets/D11/CC0/sprockets%2F3a12dfa6665b5318fa99d097203ac7e7 +0 -0
  56. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  57. data/spec/dummy/tmp/cache/assets/{D67/C10/sprockets%2Fa58c567f1eae28b401a6e9a0b3b71d93 → D3D/1E0/sprockets%2Ffbaabd57fa2c9d426f0c318156705667} +0 -0
  58. data/spec/dummy/tmp/cache/assets/D3E/920/sprockets%2F3efa8d0fc958c223647cb704183b65ca +0 -0
  59. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  60. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  61. data/spec/dummy/tmp/cache/assets/D61/6F0/sprockets%2F02da53eeca228bcef0c49278517111fe +0 -0
  62. data/spec/dummy/tmp/cache/assets/DCA/9B0/sprockets%2Fdf0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
  63. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  64. data/spec/dummy/tmp/cache/assets/E02/A60/sprockets%2Fb32faeede196f7a933c3a2794e7ed0bd +0 -0
  65. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/02da53eeca228bcef0c49278517111fe +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/2ff93f9f5ed9970021c7704ff93237c8 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/332d5a9ce3e800c6c4a7a99058023ba2 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/346324d2a51df58457807bee661c449c +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/3a12dfa6665b5318fa99d097203ac7e7 +0 -0
  74. data/spec/dummy/tmp/cache/assets/{D74/A60/sprockets%2F2add607cdb6c0b17fd866aac28895485 → development/sprockets/3ed52366904e135bd833590814b6ac6d} +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/4390d06699f3ad4262e342be530f9f91 +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/6f493a817d97133a8dbf674bcd322670 +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/89642af8492e579dcd7162a0e2b7f155 +0 -0
  78. data/spec/dummy/tmp/cache/assets/{D09/740/sprockets%2F7a82d51e72434ef73fabb4a26131d945 → development/sprockets/89dc196c51ae83634b664c0c33052008} +0 -0
  79. data/spec/dummy/tmp/cache/assets/{DD2/6F0/sprockets%2Ffbe80717facec3dd9ea7ac008719c843 → development/sprockets/8dd8236b00c868ba248fe30cd9c14c2a} +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/9239a04d094a872c1cf77ac391072ea8 +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/b3ffb6bd243399012806331ce393ae4f +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  83. data/spec/dummy/tmp/cache/assets/{D78/4E0/sprockets%2F3d4e761a135f6b6e50b24defce90f798 → development/sprockets/d53accc3e58037ee4005e41221b8846b} +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/df0e8f8a85e5d4056b3fe1cec3b7131a +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  87. data/spec/factories.rb +5 -1
  88. data/spec/helpers/blogit/posts_helper_spec.rb +5 -5
  89. data/spec/lib/blogs_spec.rb +0 -6
  90. data/spec/lib/configuration_spec.rb +17 -1
  91. data/spec/models/blogit/post_spec.rb +29 -9
  92. data/spec/spec_helper.rb +6 -5
  93. metadata +177 -174
  94. data/app/sweepers/blogit/blogit_sweeper.rb +0 -33
  95. data/db/migrate/20110814091434_create_blog_posts.rb +0 -12
  96. data/spec/dummy/test/fixtures/people.yml +0 -7
  97. data/spec/dummy/test/fixtures/users.yml +0 -9
  98. data/spec/dummy/test/functional/people_controller_test.rb +0 -49
  99. data/spec/dummy/test/functional/sessions_controller_test.rb +0 -9
  100. data/spec/dummy/test/functional/users_controller_test.rb +0 -49
  101. data/spec/dummy/test/unit/helpers/people_helper_test.rb +0 -4
  102. data/spec/dummy/test/unit/helpers/sessions_helper_test.rb +0 -4
  103. data/spec/dummy/test/unit/helpers/users_helper_test.rb +0 -4
  104. data/spec/dummy/test/unit/person_test.rb +0 -7
  105. data/spec/dummy/test/unit/user_test.rb +0 -7
  106. data/spec/dummy/tmp/cache/assets/CAA/340/sprockets%2Fa9991211287db8645603e5ba17008bbe +0 -0
  107. data/spec/dummy/tmp/cache/assets/D3D/D30/sprockets%2Ff1ebd04d570b12945debea975941815b +0 -0
  108. data/spec/dummy/tmp/cache/assets/D66/900/sprockets%2F52de1b25e110e8a937b9e30b0a9e8da7 +0 -0
  109. data/spec/dummy/tmp/cache/assets/DA7/D70/sprockets%2Fc627f052aaee94e9b24815d5aee4ff38 +0 -0
  110. data/spec/dummy/tmp/pids/server.pid +0 -1
  111. data/spec/lib/action_dispatch/http/url_spec.rb +0 -21

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.