commontator 1.0.6 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. data/app/controllers/commontator/application_controller.rb +5 -2
  2. data/app/controllers/commontator/application_controller.rb~ +5 -3
  3. data/app/controllers/commontator/comments_controller.rb +1 -4
  4. data/app/controllers/commontator/comments_controller.rb~ +4 -5
  5. data/app/controllers/commontator/subscriptions_controller.rb +0 -1
  6. data/app/controllers/commontator/subscriptions_controller.rb~ +1 -1
  7. data/app/controllers/commontator/threads_controller.rb +2 -2
  8. data/app/controllers/commontator/threads_controller.rb~ +3 -4
  9. data/app/mailers/commontator/subscriptions_mailer.rb +9 -13
  10. data/app/mailers/commontator/subscriptions_mailer.rb~ +9 -13
  11. data/app/models/commontator/comment_observer.rb +12 -0
  12. data/app/models/commontator/comment_observer.rb~ +13 -0
  13. data/app/models/commontator/thread.rb +4 -0
  14. data/app/models/commontator/thread.rb~ +5 -1
  15. data/app/views/commontator/subscriptions_mailer/{comment_created_email.html.erb → comment_created.html.erb} +0 -0
  16. data/config/initializers/commontator.rb +15 -12
  17. data/config/initializers/commontator.rb~ +15 -12
  18. data/lib/commontator.rb +3 -2
  19. data/lib/commontator.rb~ +4 -2
  20. data/lib/commontator/engine.rb~ +6 -0
  21. data/lib/commontator/version.rb +1 -1
  22. data/lib/commontator/version.rb~ +1 -1
  23. data/spec/app/mailers/commontator/subscriptions_mailer_spec.rb +9 -17
  24. data/spec/app/mailers/commontator/subscriptions_mailer_spec.rb~ +10 -17
  25. data/spec/app/models/commontator/comment_observer_spec.rb +27 -0
  26. data/spec/app/models/commontator/comment_observer_spec.rb~ +27 -0
  27. data/spec/dummy/config/initializers/commontator.rb +14 -9
  28. data/spec/dummy/config/initializers/commontator.rb~ +15 -9
  29. data/spec/dummy/db/development.sqlite3 +0 -0
  30. data/spec/dummy/db/test.sqlite3 +0 -0
  31. data/spec/dummy/log/development.log +926 -0
  32. data/spec/dummy/log/test.log +32956 -0
  33. metadata +10 -3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commontator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-27 00:00:00.000000000 Z
12
+ date: 2012-07-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -136,7 +136,7 @@ files:
136
136
  - app/views/commontator/comments/_votes.html.erb
137
137
  - app/views/commontator/comments/create.js.erb
138
138
  - app/views/commontator/comments/new.js.erb
139
- - app/views/commontator/subscriptions_mailer/comment_created_email.html.erb
139
+ - app/views/commontator/subscriptions_mailer/comment_created.html.erb
140
140
  - app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~
141
141
  - app/views/commontator/subscriptions/subscribe.js.erb
142
142
  - app/views/commontator/subscriptions/_link.html.erb
@@ -152,6 +152,8 @@ files:
152
152
  - app/models/commontator/subscription.rb~
153
153
  - app/models/commontator/thread.rb~
154
154
  - app/models/commontator/thread.rb
155
+ - app/models/commontator/comment_observer.rb
156
+ - app/models/commontator/comment_observer.rb~
155
157
  - app/helpers/commontator/comments_helper.rb~
156
158
  - app/helpers/commontator/threads_helper.rb
157
159
  - app/helpers/commontator/subscriptions_helper.rb~
@@ -182,6 +184,7 @@ files:
182
184
  - lib/commontator/acts_as_commontator.rb
183
185
  - lib/commontator/commontable_config.rb~
184
186
  - lib/commontator/commontator_config.rb
187
+ - lib/commontator/engine.rb~
185
188
  - lib/commontator/controller_includes.rb~
186
189
  - MIT-LICENSE
187
190
  - Rakefile
@@ -213,12 +216,14 @@ files:
213
216
  - spec/app/controllers/commontator/application_controller_spec.rb~
214
217
  - spec/app/mailers/commontator/subscriptions_mailer_spec.rb
215
218
  - spec/app/mailers/commontator/subscriptions_mailer_spec.rb~
219
+ - spec/app/models/commontator/comment_observer_spec.rb~
216
220
  - spec/app/models/commontator/subscription_spec.rb
217
221
  - spec/app/models/commontator/thread_spec.rb~
218
222
  - spec/app/models/commontator/thread_spec.rb
219
223
  - spec/app/models/commontator/comment_spec.rb~
220
224
  - spec/app/models/commontator/subscription_spec.rb~
221
225
  - spec/app/models/commontator/comment_spec.rb
226
+ - spec/app/models/commontator/comment_observer_spec.rb
222
227
  - spec/app/helpers/commontator/application_helper_spec.rb~
223
228
  - spec/app/helpers/commontator/threads_helper_spec.rb~
224
229
  - spec/app/helpers/commontator/threads_helper_spec.rb
@@ -343,12 +348,14 @@ test_files:
343
348
  - spec/app/controllers/commontator/application_controller_spec.rb~
344
349
  - spec/app/mailers/commontator/subscriptions_mailer_spec.rb
345
350
  - spec/app/mailers/commontator/subscriptions_mailer_spec.rb~
351
+ - spec/app/models/commontator/comment_observer_spec.rb~
346
352
  - spec/app/models/commontator/subscription_spec.rb
347
353
  - spec/app/models/commontator/thread_spec.rb~
348
354
  - spec/app/models/commontator/thread_spec.rb
349
355
  - spec/app/models/commontator/comment_spec.rb~
350
356
  - spec/app/models/commontator/subscription_spec.rb~
351
357
  - spec/app/models/commontator/comment_spec.rb
358
+ - spec/app/models/commontator/comment_observer_spec.rb
352
359
  - spec/app/helpers/commontator/application_helper_spec.rb~
353
360
  - spec/app/helpers/commontator/threads_helper_spec.rb~
354
361
  - spec/app/helpers/commontator/threads_helper_spec.rb