commontator 5.0.0 → 5.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -1
  3. data/app/assets/javascripts/commontator/application.js~ +3 -0
  4. data/app/assets/javascripts/commontator/mentions.js~ +31 -0
  5. data/app/assets/stylesheets/commontator/application.css~ +14 -0
  6. data/app/assets/stylesheets/commontator/threads.css~ +71 -0
  7. data/app/controllers/commontator/comments_controller.rb~ +160 -0
  8. data/app/controllers/commontator/threads_controller.rb~ +75 -0
  9. data/app/mailers/commontator/subscriptions_mailer.rb~ +65 -0
  10. data/app/models/commontator/comment.rb~ +124 -0
  11. data/app/models/commontator/subscription.rb~ +23 -0
  12. data/app/views/commontator/shared/_thread.html.erb~ +21 -0
  13. data/app/views/commontator/subscriptions_mailer/comment_created.html.erb~ +10 -0
  14. data/app/views/commontator/threads/_hide_show.js.erb~ +21 -0
  15. data/app/views/commontator/threads/_hide_show_links.js.erb~ +17 -0
  16. data/app/views/commontator/threads/_show.html.erb~ +118 -0
  17. data/app/views/commontator/threads/_show.js.erb~ +18 -0
  18. data/config/initializers/commontator.rb~ +290 -0
  19. data/config/locales/en.yml~ +101 -0
  20. data/config/locales/ru.yml~ +79 -0
  21. data/config/locales/zh.yml~ +79 -0
  22. data/config/routes.rb~ +25 -0
  23. data/db/migrate/0_install_commontator.rb~ +52 -0
  24. data/db/migrate/1_add_parent_comment_id_to_commontator_comments.rb~ +9 -0
  25. data/lib/commontator.rb~ +145 -0
  26. data/lib/commontator/acts_as_commontable.rb +3 -1
  27. data/lib/commontator/shared_helper.rb~ +26 -0
  28. data/lib/commontator/version.rb +1 -1
  29. data/lib/commontator/version.rb~ +3 -0
  30. data/spec/controllers/commontator/comments_controller_spec.rb~ +612 -0
  31. data/spec/controllers/commontator/subscriptions_controller_spec.rb~ +101 -0
  32. data/spec/controllers/commontator/threads_controller_spec.rb~ +218 -0
  33. data/spec/dummy/README.md~ +3 -0
  34. data/spec/dummy/Rakefile~ +6 -0
  35. data/spec/dummy/app/assets/javascripts/application.js~ +16 -0
  36. data/spec/dummy/app/assets/stylesheets/application.css~ +14 -0
  37. data/spec/dummy/app/controllers/application_controller.rb~ +4 -0
  38. data/spec/dummy/app/controllers/dummy_models_controller.rb~ +23 -0
  39. data/spec/dummy/app/helpers/application_helper.rb~ +15 -0
  40. data/spec/dummy/app/models/dummy_dependent_model.rb +4 -0
  41. data/spec/dummy/app/models/dummy_model.rb~ +3 -0
  42. data/spec/dummy/app/models/dummy_user.rb~ +13 -0
  43. data/spec/dummy/app/views/dummy_models/index.html.erb~ +6 -0
  44. data/spec/dummy/app/views/dummy_models/show.html.erb~ +2 -0
  45. data/spec/dummy/app/views/layouts/application.html.erb~ +14 -0
  46. data/spec/dummy/config.ru~ +4 -0
  47. data/spec/dummy/config/application.rb~ +26 -0
  48. data/spec/dummy/config/boot.rb~ +5 -0
  49. data/spec/dummy/config/database.yml~ +25 -0
  50. data/spec/dummy/config/environment.rb~ +8 -0
  51. data/spec/dummy/config/environments/development.rb~ +31 -0
  52. data/spec/dummy/config/environments/production.rb~ +82 -0
  53. data/spec/dummy/config/environments/test.rb~ +40 -0
  54. data/spec/dummy/config/initializers/backtrace_silencers.rb~ +7 -0
  55. data/spec/dummy/config/initializers/commontator.rb~ +21 -0
  56. data/spec/dummy/config/initializers/filter_parameter_logging.rb~ +4 -0
  57. data/spec/dummy/config/initializers/inflections.rb~ +16 -0
  58. data/spec/dummy/config/initializers/mime_types.rb~ +5 -0
  59. data/spec/dummy/config/initializers/secret_token.rb~ +12 -0
  60. data/spec/dummy/config/initializers/session_store.rb~ +3 -0
  61. data/spec/dummy/config/initializers/wrap_parameters.rb~ +14 -0
  62. data/spec/dummy/config/routes.rb~ +10 -0
  63. data/spec/dummy/db/development.sqlite3 +0 -0
  64. data/spec/dummy/db/migrate/1_create_dummy_models.rb~ +7 -0
  65. data/spec/dummy/db/migrate/2_create_dummy_users.rb~ +7 -0
  66. data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb~ +27 -0
  67. data/spec/dummy/db/migrate/4_create_dummy_dependent_models.rb +7 -0
  68. data/spec/dummy/db/schema.rb +6 -1
  69. data/spec/dummy/db/test.sqlite3 +0 -0
  70. data/spec/dummy/lib/controllers.rb~ +10 -0
  71. data/spec/dummy/log/development.log +6471 -191
  72. data/spec/dummy/log/test.log +121221 -31445
  73. data/spec/dummy/public/404.html~ +26 -0
  74. data/spec/dummy/public/422.html~ +26 -0
  75. data/spec/dummy/public/500.html~ +25 -0
  76. data/spec/dummy/script/rails~ +6 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-RolHYhJdGiLoPkoWZXQdI9AIWUjMMCa2yFJezCE_Bo.cache +2 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/-STzK7UuGeY3gSvnmTELWLvtRMKpmSAQCEw4ao3b1r8.cache +1 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/3NH8nN7uktAXgA3NqaqXTXDVic3BxBvqCxoLpGGbib4.cache +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/4_iT7KM6P2IT75Rssrk9p4crTBwM8DQWR41gmsxczL0.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/58TLCXvf5bFFYY-mIUXrQNOVWlGsq7qPAoSX2OIIB8Y.cache +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6OQdyrATvNatvWu8Mp1qbuvRx-HLmzCZ5XBGYca-rZU.cache +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6UKCUV-ZLaWCoPMfMB6a2W0RCFPQzPJ6Mz-y67sH7zk.cache +2 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/6wKNjFdNd4OHjIpLC0nq1kBWcbYg1aEYrp7ZhWoJlvY.cache +1 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7Xxb5iYP5elo40JRlhNQB1gLbv3ueELK2rTinYt5xdc.cache +1 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/7twIKlS6VYCyLlwhsQg2vu4wLSUJsT2REHR4DjZf1oE.cache +2 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/87m-4EcbQnkbo2HYkQp4V9I2U3AYQO1mPeReieduolA.cache +1 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8B331vt8qC4iXTcVzkx3j-ET8i1oaQskj5LyqGq8mPQ.cache +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/8KWvIOgvo7BVJYtdTpFuiSQQFFwZhLWYtwacZv52y48.cache +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/9yQa5M2ObK2-qDu231zMoarjVbhKUUg-ND3r2iXqB_Q.cache +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/A-ffuUI2juZT6qFpTUwUR1P8OPWcyFFN26WSUZe60Ko.cache +1 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/BbO4diS6uacx69Hn_bCabYlXEbWWdjHShRlfzlWSOMI.cache +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/CXhqxaQQAQ8b0Y8y0jTQyiqsZ6Oe4fZn0YiacpJ9IoI.cache +1 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/E1zaNOh68xzPxdtdOwRtOaMCoKivN2dxVwCP65WEi5I.cache +2 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/EmPkV3H8p2Snv9WyPjWran_kOMQ0MqQ1a9CVdGDd8l4.cache +1 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Hc12Nxe7cw2e0u2pzNsAe8D3ncQpcqLuI2NVL7aAXgw.cache +1 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/HdWuQr9W2mZvggsAxVjDgLYUNfg3rbI-T8KhaDIsvQk.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/I7lsrHTKpbfLWqIqdDIx2RN_12yFL2PyLRyYsMxg1IU.cache +1 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JOCzfBjMjX3D5BUUGh5lJ7fjzMuJrHLxAginRA2_hZQ.cache +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/JusxTSXt06IqBm9jeCMM2nTmM3Wvbl3i3L1IwEvW5YA.cache +2 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KAY1_IaTONtGr0KK8ihOdoA-RDXybqBMNSZLIDRHx68.cache +1 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/KBHIDNfa4ryw9LAkYqK8GgPWne7HkX6mNYgrJajGm94.cache +1 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/L_lv02y00MmIFiFhg5c9zhl7CDHLSahehzLyi_mRZeY.cache +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MOT2X4iikR8v89A4N1bxDTeS1-xV8c9036TNFXmwXCM.cache +1 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MiX2Z4Vbha1riozZWw1U3_PGttRiZ1iQ_o4wSZJnKCs.cache +3 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MntKfwol0ud4LuvrX3MVPthTlfNlJZRYbQXpQBxhRrs.cache +1 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/MrqmgPGNYJV1capJKIKJOVEQ4NiO-Z_2YhpjNteJ8B8.cache +2 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/NVMnAwylzGp5bjl_o9dwMAQxVAPDzc4ygddNQSD1fiw.cache +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/O2sKqGxNuCYhjzuEZVC9hX_FeemOfRn_1-CCuHBQYyg.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Qy3TykLFmAt5jhSluMTaZaefcA5c_vfBRhQ7tin-gsk.cache +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/R3DpUgZ_hja1dQTIzumiP9AD_r8mlOaqv0U9QqnGQqo.cache +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/RF07mgb06A30OcDWtCaDlM5tEc1yp0uAsk986Gqs5w8.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/S-6Iq5YOEpVnd_vQ0RSSfrmyIwB1dk0op35alFgJ9xA.cache +2 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/TKV8dUTo88gdFY-z2I7Xa5vDC1Z3LY6Paa18385MJsI.cache +1 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UI4zPmWfZA2d_5ZZIXqK9KmkjOKSDg6JoM7qcOIxm0Q.cache +1 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UP29vrIQbCkfghZGSCFxpW5gjlsgCxlVrncjjopvRqM.cache +2 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/UoU16f4V7haEXM5GY5j4QFuNMP7PJZaAMEvVNNtNLBA.cache +1 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/VqPqYNG07yqcjbd7FA05Mu-jr5hzsZPaHFf8X0FFbXk.cache +2 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WkN1QFvcuzXSsyNmfaK02ojXPk-8zmdEegzNPfdAEL4.cache +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/WkQX7Wiz41OKx2aGF7uffOmS04hIVZeGCondBAvwum8.cache +2 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XMeYF1vwAg53eVjXVkw_IKQH2W3-9tWvtuCdqUCbPBM.cache +2 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/XX0Z7OM0xZKfQaAvHARpyeQNZCstNyu9MlsnwThSkg8.cache +1 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Y-pGNFTA6bAKxSvqZvmMVs3b4Els1aByxZVFxtJR71c.cache +1 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Y3p3m5V5NOm7yq56apKmF5KZUUsTfnhT_SG3fqbEJgo.cache +1 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/YLZuRWklL6q-csC-7A7CiOTTTYEQcA9PCdWEOm9MpNU.cache +1 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/Yo7V5YXukEBm6z37l-TIRCJx3HZExEUBu3MUMhAzkMU.cache +1 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/bK6QttR8pGmMAMJO0avCBLwH0za8_bAC-yWqkU3Yj24.cache +1 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/cLncjrqpQXzsVBp7K0W7iG1STLrnzfGpbJXxNE7aIUk.cache +2 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/dBcAd64EZFdhHZNXKGXPIR7EtPGf03bzqkci2W12T8g.cache +2 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/d_bbPiareJHKkzFZFCl3pcwfQOFzsB1KHn4A2xxhR20.cache +1 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/eaHZBuJRcawVlkGZVyyRr5_4xYKVOXbCqnTcmaNXzL0.cache +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gWnmfJty3jBn53qsJfOXKrWv4e8i3Dp80wVel-f1L1E.cache +1 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/gumo32Bd3W_q7MYEt9JIZEiQdHF93tLSsGfmXIm2MqU.cache +1 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/jKTlG9KP0iaCGHwg8kQ1amz9SHJ1OAWeCRRn9wc5w7c.cache +1 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/kPJfTiWbmX-q6i2rjM9MAMdEf2silSihU0_lxlTGVA8.cache +1 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/lrt1SWPj4qWUZUMH9xg3n9KLYUqJZxRn-XI-NTU6oTI.cache +1 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/mcCP5u08nlCL6TgWdzzrem9uE2rbsbG3KyIXxvWvlJE.cache +3 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pC4exGjkQLXXPE0O9hjX_2AJ4DASTFeB6RGjXagxEac.cache +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/pIRh_Lq-ZhYC_XdRcqIsCtUkTnwVET0Wrrpw1EltHd8.cache +2 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qfXc71sDbi1cE9f327D6ABPURPU6lLguGiJqH2fqM0w.cache +1 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/rBcrkzXcMaiCjwvWl8tO0eARzKZS69I3i-lfsTAFzcc.cache +1 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/sfl8l1_1AGn-4llkmb91Q0wHJ-A-x5gAGkIUWe1zLqo.cache +1 -0
  143. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tFQc0MOeWpJ7t7cNP2GOzo7o9Z6YBgLEpdS0tGLvUSw.cache +0 -0
  144. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/tb9v5OemP-ADEwYnETLLi1r088kZm_TMb9ZVeTV5JxI.cache +1 -0
  145. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/uKmWfbgaNZ8FTsVK1VNuUv15rmtTHzSdJ7TQRGr0Rck.cache +2 -0
  146. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ul0QEoovfr_12YOpyWx8BJs8fvz5Ay3AZG8-lsLr-a4.cache +1 -0
  147. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vY6eUgBIXKHqfU2ZroS-GugKPg5_fo2QBs-vS5gBN2o.cache +0 -0
  148. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/vrRc4DPAbHIJHJqsXfBYdyKUPFv8f8YYKJUrk-1zdVw.cache +0 -0
  149. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wTET4PQq7wlxzrgvNivPJad-CACkoQS4BNxAP0FQaR4.cache +0 -0
  150. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/wcvE87iLx7cDjMDs_Yu1jKYvep-VyLEyj1eXL79KLp4.cache +0 -0
  151. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xQeZ92qbm2t9FaRck5xUakvNP-MJ2cs0RroN-fm0Tf8.cache +1 -0
  152. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xQz9WPf67Mu5uV4rNuOfU-y6_KWSlWcnTWrTvQPonKM.cache +0 -0
  153. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/xhYTRUOS8cIvyRp2Jn6FKnXlGOSsIM2z3HAGOJoJs7w.cache +1 -0
  154. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yLxMFI0ARh2OKSOQLF2xEfM7sbst2vUbOBXoOuI6iTE.cache +1 -0
  155. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/ynnYZxuxqerlFUytw54dl_CwP94g0U4HmGjyILWnhfQ.cache +1 -0
  156. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/zCivVPbSRpKF_X-P5OJeld32YhymG-bkjQwzqe2o6zg.cache +2 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/02d4b791eb831cf2057bf4703a1218d1 +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/0f196a1a50363b0a076ec6e1ee5417f6 +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/a3fb9025f90ff05a6fd4afc7ded2692c +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609 +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/c69ee3cc5796188d873574179290a6ef +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/e1f674c11941d62aac1764ef3a7134e4 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/e85565206c3e5fdf9dfeb367c85557b1 +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-gXoYfEJ-e9QQUbNRpNa-pwMCnTc7Eqvkq6Bosde6W8.cache +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6iNAIrMKxHltOChiHQQf9VNsLQuj2rVKz6oqWnK7aSM.cache +1 -0
  166. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E1zaNOh68xzPxdtdOwRtOaMCoKivN2dxVwCP65WEi5I.cache +2 -0
  167. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HsNbq1o4RbrEWNL4zXVqFfUVnXXLK_y0F0BvddDre6g.cache +0 -0
  168. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/JusxTSXt06IqBm9jeCMM2nTmM3Wvbl3i3L1IwEvW5YA.cache +2 -0
  169. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/L5DjABL_iOtoxSOLn3X7_YlxECU5EhnrVIKxJFAysgc.cache +1 -0
  170. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/PNc9TJUmRdGTSwgZvGlxKaIiJIkyoWtTPiGGWBqpHAE.cache +0 -0
  171. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/QkgTHa6nNs7XP6RPoV3yBbWWV-uo1u2-qxLuvLCFe_0.cache +0 -0
  172. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/S-6Iq5YOEpVnd_vQ0RSSfrmyIwB1dk0op35alFgJ9xA.cache +2 -0
  173. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Vuc93A9yywiFxc9CAdxrzdsAQw4jxiCa6JRzRjNxOYs.cache +1 -0
  174. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YAPBll4U0cgs6cz-WyMRKoakK_gVOOcl9n0CvGyxPjY.cache +1 -0
  175. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bDNeZfPBQaef5z0YajZc4jFE54nNy9gc06mPNKvvPFk.cache +1 -0
  176. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/c5Wa2loowFYFRBaMoTn1IWYXo4BGMbEy7NIi0vbvfRU.cache +1 -0
  177. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dkn8MYu2ve_AJW6u0jjTlKrj1KBRqorOHQR0Obx2elU.cache +0 -0
  178. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fZuAzt_-48u9C7ZXmsPgTraGDYtNC9B9zN-9-EnxJG4.cache +1 -0
  179. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/gumo32Bd3W_q7MYEt9JIZEiQdHF93tLSsGfmXIm2MqU.cache +1 -0
  180. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ige85jXyj8X7XYr7HpA0gSTThqfPUm71HjhSJXtTbUY.cache +1 -0
  181. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kuYeE5bV6FdXmfB_o-xhflhSDWoQhYYaaupAXODZ9dQ.cache +1 -0
  182. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/qhZbbNIRUaAOtGano94zLHjeBKUhKr4qbh2tTCi0Bnk.cache +2 -0
  183. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/wJJbzdHJHP6tchng3HhfTwmjc5LursgX8yZkAjpO5UA.cache +0 -0
  184. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/xNL1WW-qU3EvV2iTSW6F4hAFRBsCYmFKJhLjgCZkOV8.cache +2 -0
  185. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ytHkF2DwUE6oaiLyrK6tL-0INpeNhjN6ctD7J0LNY6I.cache +2 -0
  186. data/spec/helpers/commontator/application_helper_spec.rb~ +9 -0
  187. data/spec/lib/commontator/acts_as_commontable_spec.rb~ +25 -0
  188. data/spec/lib/commontator/acts_as_commontator_spec.rb~ +52 -0
  189. data/spec/lib/commontator/commontable_config_spec.rb~ +29 -0
  190. data/spec/lib/commontator/commontator_config_spec.rb~ +29 -0
  191. data/spec/lib/commontator/controller_includes_spec.rb~ +18 -0
  192. data/spec/lib/commontator/controllers_spec.rb~ +18 -0
  193. data/spec/lib/commontator/shared_helper_spec.rb~ +22 -0
  194. data/spec/lib/commontator_spec.rb~ +26 -0
  195. data/spec/mailers/commontator/subscriptions_mailer_spec.rb~ +30 -0
  196. data/spec/models/commontator/comment_spec.rb~ +82 -0
  197. data/spec/models/commontator/subscription_spec.rb~ +38 -0
  198. data/spec/models/commontator/thread_spec.rb +37 -0
  199. data/spec/models/commontator/thread_spec.rb~ +122 -0
  200. data/spec/rails_helper.rb~ +74 -0
  201. data/spec/spec_helper.rb~ +93 -0
  202. data/vendor/assets/javascripts/mentionsInput/index.js~ +3 -0
  203. metadata +409 -51
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/404.html -->
21
+ <div class="dialog">
22
+ <h1>The page you were looking for doesn't exist.</h1>
23
+ <p>You may have mistyped the address or the page may have moved.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/422.html -->
21
+ <div class="dialog">
22
+ <h1>The change you wanted was rejected.</h1>
23
+ <p>Maybe you tried to change something you didn't have access to.</p>
24
+ </div>
25
+ </body>
26
+ </html>
@@ -0,0 +1,25 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style type="text/css">
6
+ body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
7
+ div.dialog {
8
+ width: 25em;
9
+ padding: 0 4em;
10
+ margin: 4em auto 0 auto;
11
+ border: 1px solid #ccc;
12
+ border-right-color: #999;
13
+ border-bottom-color: #999;
14
+ }
15
+ h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
16
+ </style>
17
+ </head>
18
+
19
+ <body>
20
+ <!-- This file lives in public/500.html -->
21
+ <div class="dialog">
22
+ <h1>We're sorry, but something went wrong.</h1>
23
+ </div>
24
+ </body>
25
+ </html>
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ufile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput.js;TT
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css?type=text/css&pipeline=self&id=dced1d65473e234669fb559c6514442200900a2d3c684a8eac5e7d06882ec404:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{+I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"9file-digest://app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"5file-digest://app/assets/javascripts/commontator;TTI"Afile-digest://app/assets/javascripts/commontator/application;TTI"5file-digest://app/assets/stylesheets/commontator;TTI"Afile-digest://app/assets/stylesheets/commontator/application;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator/application;TTI"Sfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator;TTI"_file-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/application;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application;TTI"hfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css;TTI")file-digest://app/assets/stylesheets;TTI"7file-digest://app/assets/javascripts/mentionsInput;TTI"Lfile-digest://app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"7file-digest://app/assets/stylesheets/mentionsInput;TTI"Lfile-digest://app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Ufile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput;TTI"jfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/mentions.js?type=application/javascript&pipeline=self&id=a53a7da61b7ff5c99f035b51be19aace2ecedbaaa9bb6b3db09df1c95910a80d:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=0ba846ea3b0727781226dc123ce9c0e207dbf45a76ded0ba09f8c4f0c33bc13e:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js;TT
@@ -0,0 +1 @@
1
+ "%�X�쐼vw�D��G�� ���.�N��C�ư��
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=f5a62ff657a1c933f647fc42f5e3a5d682c5b5f19a9316471f5b7673f0f16804:ET
@@ -0,0 +1 @@
1
+ "%5�3}�}�`��w��W���~˧�.���Ҽ1렋
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1 @@
1
+ "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/images/commontator/downvote_disabled.png?type=image/png&id=06d54c7c8b2f93e005de927c0331ec50d5c85d2f0bf689df9731f94264c50e44:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/images/commontator/upvote_disabled.png?type=image/png&id=e2d0984d99d3a99a853e35c88e3a22ff60c8a87f20b4f1b78f1c11119406f6e7:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TT
@@ -0,0 +1 @@
1
+ "%�X�쐼vw�D��G�� ���.�N��C�ư��
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=2f9c6fc994b46f2273ea64e716b488c840d3e8976b8330db972108a6b2e5ae10:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application.js?type=application/javascript&pipeline=self&id=dc0be8f22a78765d469e7446cfb50c7d2649e51a2287851035122205940c1c3c:ET
@@ -0,0 +1,3 @@
1
+ {:uriI"�file:///home/dantemss/Desktop/commontator/app/assets/images/commontator/upvote_disabled.png?type=image/png&id=e2d0984d99d3a99a853e35c88e3a22ff60c8a87f20b4f1b78f1c11119406f6e7:ET:load_pathI"9/home/dantemss/Desktop/commontator/app/assets/images;T:
2
+ @hash{ I"environment-version;TTI"environment-paths;TTI"2processors:type=image/png&file_type=image/png;TTI"gfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/upvote_disabled.png;TT:dependencies_digest"%Y����³����ȇ�r=�)� !~!�E�zY��C:idI"Ee2d0984d99d3a99a853e35c88e3a22ff60c8a87f20b4f1b78f1c11119406f6e7;F:
3
+ mtimel+��!U
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css?type=text/css&pipeline=self&id=6084df1298071bd5772331952a45aa38a4d36434e8f70225f22832b5e2a53be8:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js?type=application/javascript&pipeline=self&id=19cd9708786211e73f88c5251c05e3fd501b80f515bab634b992f3e1c5b02c90:ET
@@ -0,0 +1 @@
1
+ "%��cxY�A�L�*g�����&o�g���
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TT
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/vendor/assets/javascripts/underscore/underscore.js?type=application/javascript&pipeline=self&id=15f62415dfe2a16fa8ac97f2d57985d642f0ef60853e2046ec545e54e983dcd7:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=f34eff208c4bafd0600a06aa793d195751d518508656c97fc52a8d844235cf1d:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/mentions.js;TT
@@ -0,0 +1 @@
1
+ "%I�݇(]DPP`2���X�4��[<�º�7��
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery_ujs.js;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"8file-digest://app/assets/javascripts/application.js;TTI")file-digest://app/assets/javascripts;TTI"0file-digest://app/assets/javascripts/jquery;TTI")file-digest://app/assets/stylesheets;TTI"0file-digest://app/assets/stylesheets/jquery;TTI"}file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts;TTI"file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery.js;TTI"4file-digest://app/assets/javascripts/jquery_ujs;TTI"4file-digest://app/assets/stylesheets/jquery_ujs;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery_ujs;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery_ujs.js;TTI"5file-digest://app/assets/javascripts/commontator;TTI"Afile-digest://app/assets/javascripts/commontator/application;TTI"5file-digest://app/assets/stylesheets/commontator;TTI"Afile-digest://app/assets/stylesheets/commontator/application;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator/application;TTI"Sfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator;TTI"_file-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/application;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application;TTI"gfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application.js;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"hfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css;TTI"7file-digest://app/assets/javascripts/mentionsInput;TTI"Lfile-digest://app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"7file-digest://app/assets/stylesheets/mentionsInput;TTI"Lfile-digest://app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Ufile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput;TTI"jfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1 @@
1
+ "%�a�aJ{����7��-gݿ J[��.+���o^
@@ -0,0 +1 @@
1
+ "%����r���7-���>j��7؝o�7�a>�
@@ -0,0 +1 @@
1
+ "%$j�{�HYȠKwG(|^�f<q��R���-�'
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=9b9cb4e7da8e9e3e0f8d4a5d41aa006bb41a6e24eba3dad6a11b9b3365cc84ec:ET
@@ -0,0 +1 @@
1
+ "%�,�G���g�*���y�x�O��3�m���]�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/mentions.js;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"hfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/underscore/underscore.js;TT
@@ -0,0 +1 @@
1
+ "%��e���)�sـj5g�qC��O1d��ǯ�\��
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application.js?type=application/javascript&pipeline=self&id=30afb843259376482853c4ebe4bd07be9641e537b7f8f982550f1c5c64cdf057:ET
@@ -0,0 +1 @@
1
+ "%���b1k pJDb�\Č�ʝL�#E�u��"�
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css?type=text/css&pipeline=self&id=98d9266d059bdeb1208746217ebfed4e437027dc89a6cf77c2510fd0928ed0b9:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput.js?type=application/javascript&pipeline=self&id=40115d8d6b6f29e604f4967235acc09489f7f6495c4075d367bfd1ec92a157e6:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/mentions.js?type=application/javascript&pipeline=self&id=364384be83ca6ba48375b49c00479e0c6d877b93e9265e8a493dcc2e1168d6cc:ET
@@ -0,0 +1,3 @@
1
+ {:uriI"�file:///home/dantemss/Desktop/commontator/app/assets/images/commontator/downvote_disabled.png?type=image/png&id=06d54c7c8b2f93e005de927c0331ec50d5c85d2f0bf689df9731f94264c50e44:ET:load_pathI"9/home/dantemss/Desktop/commontator/app/assets/images;T:
2
+ @hash{ I"environment-version;TTI"environment-paths;TTI"2processors:type=image/png&file_type=image/png;TTI"ifile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/downvote_disabled.png;TT:dependencies_digest"%���géu�3_����Ku��g��sI��#�:idI"E06d54c7c8b2f93e005de927c0331ec50d5c85d2f0bf689df9731f94264c50e44;F:
3
+ mtimel+��!U
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"2processors:type=image/png&file_type=image/png;TTI"gfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/upvote_disabled.png;TT
@@ -0,0 +1 @@
1
+ "%�!]�=��=�_)���f~���,�yGeb��-�
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/jquery_ujs.js?type=application/javascript&pipeline=self&id=036c68c1c79a0fce10387caa5ddc996812de5d01e40b7c5dc5513da970a3b8d4:ET
@@ -0,0 +1 @@
1
+ "%�D�lB�z����ӾQR�Z�f����"��o�%�
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"2processors:type=image/png&file_type=image/png;TTI"ifile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/downvote_disabled.png;TT
@@ -0,0 +1 @@
1
+ "%X�p5����9~]~BK�����s��}^���%
@@ -0,0 +1 @@
1
+ "%��M�%�c�/]�K%��4-ev�R�$xd$C�
@@ -0,0 +1 @@
1
+ "%J|�2�Q�<!�g��\f�;��yKA���Ui
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css?type=text/css&pipeline=self&id=3efb1055a33a48e993286638d2749b0f23cbcd3f4806e56f4012799c889d1b4d:ET
@@ -0,0 +1 @@
1
+ "%����"m�J���S��E�j!�/�d�]�/[���
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"9file-digest://app/assets/stylesheets/application.css;TTI"5file-digest://app/assets/javascripts/commontator;TTI"Afile-digest://app/assets/javascripts/commontator/application;TTI"5file-digest://app/assets/stylesheets/commontator;TTI"Afile-digest://app/assets/stylesheets/commontator/application;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/commontator/application;TTI"Sfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator;TTI"_file-digest:///home/dantemss/Desktop/commontator/app/assets/images/commontator/application;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/commontator/application;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application;TTI"hfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css;TTI")file-digest://app/assets/stylesheets;TT
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css?type=text/css&pipeline=self&id=856ab23f46b94099b9542b66d60c27b59c10ac827789deaa9c4f9f93dbd83602:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TT
@@ -0,0 +1 @@
1
+ "%&�rUa�����xp�+�G0�T�<��5nn�y��G
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TT
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css?type=text/css&id=4d2a27e1acc823593cb2ff0714933227252e75fca6ed7a6bfcd1a3e884969dc5:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css?type=text/css&pipeline=self&id=b834ab06657a09187b714e8b7c5e1bca6277fa956d73162202bbbc79a59e6b2a:ET
@@ -0,0 +1 @@
1
+ "%J|�2�Q�<!�g��\f�;��yKA���Ui
@@ -0,0 +1 @@
1
+ "%�D�lB�z����ӾQR�Z�f����"��o�%�
@@ -0,0 +1 @@
1
+ "%��cxY�A�L�*g�����&o�g���
@@ -0,0 +1 @@
1
+ "%���b1k pJDb�\Č�ʝL�#E�u��"�
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css?type=text/css&pipeline=self&id=04d546f8412706be146b33d0b139ca09ee2434039aa3d617e25a5f48d55174b8:ET
@@ -0,0 +1 @@
1
+ I"�/home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css?type=text/css&pipeline=self&id=486c1121e5eb8bec6e8b812abc8de5fe9940f2f357c72c35d44b98855f4c9613:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"hfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css;TTI"7file-digest://app/assets/javascripts/mentionsInput;TTI"Lfile-digest://app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"7file-digest://app/assets/stylesheets/mentionsInput;TTI"Lfile-digest://app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Ufile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput;TTI"jfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"hfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"7file-digest://app/assets/javascripts/mentionsInput;TTI"Lfile-digest://app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"7file-digest://app/assets/stylesheets/mentionsInput;TTI"Lfile-digest://app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput;TTI"�file-digest:///home/dantemss/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/jquery-rails-4.0.3/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Ufile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput;TTI"jfile-digest:///home/dantemss/Desktop/commontator/app/assets/images/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"Zfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput;TTI"ofile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/javascripts/mentionsInput/jquery.mentionsInput;TTI"]file-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput;TTI"rfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput;TTI"vfile-digest:///home/dantemss/Desktop/commontator/vendor/assets/stylesheets/mentionsInput/jquery.mentionsInput.css;TTI"Xfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator;TTI"efile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/comments.css;TTI"dfile-digest:///home/dantemss/Desktop/commontator/app/assets/stylesheets/commontator/threads.css;TT
@@ -0,0 +1,9 @@
1
+ require 'rails_helper'
2
+
3
+ module Commontator
4
+ RSpec.describe ApplicationHelper, type: :helper do
5
+ it 'must print output of javascript proc' do
6
+ expect(javascript_proc).to eq '// Some javascript'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,25 @@
1
+ require 'rails_helper'
2
+
3
+ module Commontator
4
+ RSpec.describe ActsAsCommontable, type: :lib do
5
+ it 'must add methods to ActiveRecord and subclasses' do
6
+ expect(ActiveRecord::Base).to respond_to(:acts_as_commontable)
7
+ expect(ActiveRecord::Base).to respond_to(:is_commontable)
8
+ expect(ActiveRecord::Base.is_commontable).to eq false
9
+ expect(DummyModel).to respond_to(:acts_as_commontable)
10
+ expect(DummyModel).to respond_to(:is_commontable)
11
+ expect(DummyModel.is_commontable).to eq true
12
+ expect(DummyUser).to respond_to(:acts_as_commontable)
13
+ expect(DummyUser).to respond_to(:is_commontable)
14
+ expect(DummyUser.is_commontable).to eq false
15
+ end
16
+
17
+ it 'must modify models that act_as_commontable' do
18
+ dummy = DummyModel.create
19
+ expect(dummy).to respond_to(:thread)
20
+ expect(dummy).to respond_to(:commontable_config)
21
+ dummy.commontable_config.must_be_instance_of CommontableConfig
22
+ end
23
+ end
24
+ end
25
+