commontator 0.1.46
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.
- data/MIT-LICENSE +20 -0
- data/README.md +35 -0
- data/Rakefile +40 -0
- data/app/assets/images/commontator/downvote.png +0 -0
- data/app/assets/images/commontator/downvote_hover.png +0 -0
- data/app/assets/images/commontator/upvote.png +0 -0
- data/app/assets/images/commontator/upvote_hover.png +0 -0
- data/app/assets/stylesheets/commontator/application.css +13 -0
- data/app/assets/stylesheets/commontator/application.css~ +88 -0
- data/app/assets/stylesheets/commontator/comments.css +86 -0
- data/app/assets/stylesheets/commontator/comments.css~ +90 -0
- data/app/assets/stylesheets/commontator/threads.css +13 -0
- data/app/assets/stylesheets/commontator/threads.css~ +13 -0
- data/app/controllers/commontator/application_controller.rb +18 -0
- data/app/controllers/commontator/application_controller.rb~ +16 -0
- data/app/controllers/commontator/comments_controller.rb +143 -0
- data/app/controllers/commontator/comments_controller.rb~ +143 -0
- data/app/controllers/commontator/subscriptions_controller.rb +42 -0
- data/app/controllers/commontator/subscriptions_controller.rb~ +40 -0
- data/app/controllers/commontator/threads_controller.rb +42 -0
- data/app/controllers/commontator/threads_controller.rb~ +43 -0
- data/app/helpers/commontator/application_helper.rb +11 -0
- data/app/helpers/commontator/application_helper.rb~ +11 -0
- data/app/helpers/commontator/comments_helper.rb +47 -0
- data/app/helpers/commontator/comments_helper.rb~ +58 -0
- data/app/helpers/commontator/commontable_helper.rb~ +9 -0
- data/app/helpers/commontator/commontator_helper.rb +8 -0
- data/app/helpers/commontator/commontator_helper.rb~ +8 -0
- data/app/helpers/commontator/subscriptions_helper.rb +8 -0
- data/app/helpers/commontator/subscriptions_helper.rb~ +8 -0
- data/app/helpers/commontator/threads_helper.rb +21 -0
- data/app/helpers/commontator/threads_helper.rb~ +32 -0
- data/app/mailers/commontator/subscription_mailer.rb~ +38 -0
- data/app/mailers/commontator/subscriptions_mailer.rb +51 -0
- data/app/mailers/commontator/subscriptions_mailer.rb~ +51 -0
- data/app/models/commontator/comment.rb +84 -0
- data/app/models/commontator/comment.rb~ +84 -0
- data/app/models/commontator/subscription.rb +21 -0
- data/app/models/commontator/subscription.rb~ +21 -0
- data/app/models/commontator/thread.rb +138 -0
- data/app/models/commontator/thread.rb~ +141 -0
- data/app/views/commontator/comments/_actions.html.erb +32 -0
- data/app/views/commontator/comments/_actions.html.erb~ +33 -0
- data/app/views/commontator/comments/_body.html.erb +7 -0
- data/app/views/commontator/comments/_body.html.erb~ +8 -0
- data/app/views/commontator/comments/_form.html.erb +20 -0
- data/app/views/commontator/comments/_form.html.erb~ +21 -0
- data/app/views/commontator/comments/_show.html.erb +41 -0
- data/app/views/commontator/comments/_show.html.erb~ +45 -0
- data/app/views/commontator/comments/_votes.html.erb +60 -0
- data/app/views/commontator/comments/_votes.html.erb~ +62 -0
- data/app/views/commontator/comments/create.js.erb +15 -0
- data/app/views/commontator/comments/create.js.erb~ +15 -0
- data/app/views/commontator/comments/delete.js.erb +15 -0
- data/app/views/commontator/comments/delete.js.erb~ +15 -0
- data/app/views/commontator/comments/destroy.js.erb~ +1 -0
- data/app/views/commontator/comments/edit.html.erb +6 -0
- data/app/views/commontator/comments/edit.html.erb~ +6 -0
- data/app/views/commontator/comments/edit.js.erb +5 -0
- data/app/views/commontator/comments/edit.js.erb~ +5 -0
- data/app/views/commontator/comments/new.html.erb +8 -0
- data/app/views/commontator/comments/new.html.erb~ +8 -0
- data/app/views/commontator/comments/new.js.erb +12 -0
- data/app/views/commontator/comments/new.js.erb~ +12 -0
- data/app/views/commontator/comments/update.js.erb +7 -0
- data/app/views/commontator/comments/update.js.erb~ +7 -0
- data/app/views/commontator/comments/vote.js.erb +5 -0
- data/app/views/commontator/comments/vote.js.erb~ +5 -0
- data/app/views/commontator/commontator/_thread.html.erb +14 -0
- data/app/views/commontator/commontator/_thread.html.erb~ +15 -0
- data/app/views/commontator/subscriptions/_subscription_link.html.erb +12 -0
- data/app/views/commontator/subscriptions/_subscription_link.html.erb~ +12 -0
- data/app/views/commontator/subscriptions/create.js.erb +5 -0
- data/app/views/commontator/subscriptions/create.js.erb~ +3 -0
- data/app/views/commontator/subscriptions/destroy.js.erb +5 -0
- data/app/views/commontator/subscriptions/destroy.js.erb~ +3 -0
- data/app/views/commontator/subscriptions/index.html.erb +16 -0
- data/app/views/commontator/subscriptions/index.html.erb~ +16 -0
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb +14 -0
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~ +14 -0
- data/app/views/commontator/threads/_show.html.erb +26 -0
- data/app/views/commontator/threads/_show.html.erb~ +26 -0
- data/app/views/commontator/threads/show.html.erb +3 -0
- data/app/views/commontator/threads/show.js.erb +6 -0
- data/app/views/layouts/commontator/application.html.erb +14 -0
- data/config/initializers/commontator.rb +7 -0
- data/config/routes.rb +24 -0
- data/config/routes.rb~ +22 -0
- data/db/migrate/0_install_commontator.rb +40 -0
- data/db/migrate/0_install_commontator.rb~ +40 -0
- data/lib/commontator.rb +66 -0
- data/lib/commontator.rb~ +66 -0
- data/lib/commontator/acts_as_commontable.rb +39 -0
- data/lib/commontator/acts_as_commontable.rb~ +42 -0
- data/lib/commontator/acts_as_commontator.rb +28 -0
- data/lib/commontator/acts_as_commontator.rb~ +37 -0
- data/lib/commontator/commontable_config.rb +13 -0
- data/lib/commontator/commontator_config.rb +13 -0
- data/lib/commontator/engine.rb +5 -0
- data/lib/commontator/routes.rb~ +37 -0
- data/lib/commontator/version.rb +3 -0
- data/lib/commontator/version.rb~ +3 -0
- data/test/commontator_test.rb +7 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +204 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/functional/comment_thread_subscriptions_controller_test.rb~ +125 -0
- data/test/functional/comments_controller_test.rb +181 -0
- data/test/functional/comments_controller_test.rb~ +184 -0
- data/test/functional/subscriptions_controller_test.rb +122 -0
- data/test/functional/subscriptions_controller_test.rb~ +122 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/comment_test.rb +35 -0
- data/test/unit/comment_test.rb~ +38 -0
- data/test/unit/comment_thread_subscription_test.rb~ +18 -0
- data/test/unit/comment_thread_test.rb~ +60 -0
- data/test/unit/helpers/comment_thread_subscriptions_helper_test.rb~ +7 -0
- data/test/unit/helpers/comments_helper_test.rb +4 -0
- data/test/unit/helpers/comments_helper_test.rb~ +7 -0
- data/test/unit/helpers/subscriptions_helper_test.rb +4 -0
- data/test/unit/helpers/subscriptions_helper_test.rb~ +4 -0
- data/test/unit/subscription_test.rb +15 -0
- data/test/unit/subscription_test.rb~ +15 -0
- data/test/unit/thread_test.rb +57 -0
- data/test/unit/thread_test.rb~ +57 -0
- metadata +301 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class SubscriptionTest < ActiveSupport::TestCase
|
|
4
|
+
|
|
5
|
+
test 'one subscription per user per thread' do
|
|
6
|
+
u = FactoryGirl.create(:user)
|
|
7
|
+
ct = FactoryGirl.create(:thread)
|
|
8
|
+
cts0 = Subscription.create(:user => u, :thread => ct)
|
|
9
|
+
cts1 = Subscription.new(:user => u, :thread => ct)
|
|
10
|
+
assert !cts1.save
|
|
11
|
+
cts0.destroy
|
|
12
|
+
cts1.save!
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class SubscriptionTest < ActiveSupport::TestCase
|
|
4
|
+
|
|
5
|
+
test 'one comment_thread_subscription per user per thread' do
|
|
6
|
+
u = FactoryGirl.create(:user)
|
|
7
|
+
ct = FactoryGirl.create(:thread)
|
|
8
|
+
cts0 = Subscription.create(:user => u, :thread => ct)
|
|
9
|
+
cts1 = Subscription.new(:user => u, :thread => ct)
|
|
10
|
+
assert !cts1.save
|
|
11
|
+
cts0.destroy
|
|
12
|
+
cts1.save!
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class ThreadTest < ActiveSupport::TestCase
|
|
4
|
+
|
|
5
|
+
test 'cannot mass-assign commentable, comments and subscriptions' do
|
|
6
|
+
sq = FactoryGirl.create(:simple_question)
|
|
7
|
+
c = [FactoryGirl.create(:comment)]
|
|
8
|
+
cts = [FactoryGirl.create(:subscription)]
|
|
9
|
+
ct = Commontator::Thread.new(:commentable => sq,
|
|
10
|
+
:comments => c,
|
|
11
|
+
:subscriptions => cts)
|
|
12
|
+
assert ct.commentable != sq
|
|
13
|
+
assert ct.comments != c
|
|
14
|
+
assert ct.comment_thread_subscriptions != cts
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
test 'clear' do
|
|
18
|
+
u = FactoryGirl.create(:user)
|
|
19
|
+
q = FactoryGirl.create(:simple_question)
|
|
20
|
+
ct = q.comment_thread
|
|
21
|
+
c = Comment.new
|
|
22
|
+
c.comment_thread = ct
|
|
23
|
+
c.creator = u
|
|
24
|
+
c.save!
|
|
25
|
+
|
|
26
|
+
assert !q.comment_thread.comments.empty?
|
|
27
|
+
assert_equal q.comment_thread, ct
|
|
28
|
+
|
|
29
|
+
ct.clear!
|
|
30
|
+
q.reload
|
|
31
|
+
|
|
32
|
+
assert q.comment_thread.comments.empty?
|
|
33
|
+
assert q.comment_thread != ct
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
test 'subscribe' do
|
|
37
|
+
u = FactoryGirl.create(:user)
|
|
38
|
+
ct = FactoryGirl.create(:thread)
|
|
39
|
+
|
|
40
|
+
assert !ct.subscription_for(u)
|
|
41
|
+
assert ct.subscribe!(u)
|
|
42
|
+
assert ct.subscription_for(u)
|
|
43
|
+
assert ct.subscribe!(u)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
test 'unsubscribe' do
|
|
47
|
+
u = FactoryGirl.create(:user)
|
|
48
|
+
ct = FactoryGirl.create(:thread)
|
|
49
|
+
|
|
50
|
+
assert !ct.unsubscribe!(u)
|
|
51
|
+
assert ct.subscribe!(u)
|
|
52
|
+
assert ct.subscription_for(u)
|
|
53
|
+
assert ct.unsubscribe!(u)
|
|
54
|
+
assert !ct.subscription_for(u)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
require 'test_helper'
|
|
2
|
+
|
|
3
|
+
class ThreadTest < ActiveSupport::TestCase
|
|
4
|
+
|
|
5
|
+
test 'cannot mass-assign commentable, comments and subscriptions' do
|
|
6
|
+
sq = FactoryGirl.create(:simple_question)
|
|
7
|
+
c = [FactoryGirl.create(:comment)]
|
|
8
|
+
cts = [FactoryGirl.create(:subscription)]
|
|
9
|
+
ct = Commontator::Thread.new(:commentable => sq,
|
|
10
|
+
:comments => c,
|
|
11
|
+
:subscriptions => cts)
|
|
12
|
+
assert ct.commentable != sq
|
|
13
|
+
assert ct.comments != c
|
|
14
|
+
assert ct.comment_thread_subscriptions != cts
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
test 'clear' do
|
|
18
|
+
u = FactoryGirl.create(:user)
|
|
19
|
+
q = FactoryGirl.create(:simple_question)
|
|
20
|
+
ct = q.comment_thread
|
|
21
|
+
c = Comment.new
|
|
22
|
+
c.comment_thread = ct
|
|
23
|
+
c.creator = u
|
|
24
|
+
c.save!
|
|
25
|
+
|
|
26
|
+
assert !q.comment_thread.comments.empty?
|
|
27
|
+
assert_equal q.comment_thread, ct
|
|
28
|
+
|
|
29
|
+
ct.clear!
|
|
30
|
+
q.reload
|
|
31
|
+
|
|
32
|
+
assert q.comment_thread.comments.empty?
|
|
33
|
+
assert q.comment_thread != ct
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
test 'subscribe' do
|
|
37
|
+
u = FactoryGirl.create(:user)
|
|
38
|
+
ct = FactoryGirl.create(:comment_thread)
|
|
39
|
+
|
|
40
|
+
assert !ct.subscription_for(u)
|
|
41
|
+
assert ct.subscribe!(u)
|
|
42
|
+
assert ct.subscription_for(u)
|
|
43
|
+
assert ct.subscribe!(u)
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
test 'unsubscribe' do
|
|
47
|
+
u = FactoryGirl.create(:user)
|
|
48
|
+
ct = FactoryGirl.create(:comment_thread)
|
|
49
|
+
|
|
50
|
+
assert !ct.unsubscribe!(u)
|
|
51
|
+
assert ct.subscribe!(u)
|
|
52
|
+
assert ct.subscription_for(u)
|
|
53
|
+
assert ct.unsubscribe!(u)
|
|
54
|
+
assert !ct.subscription_for(u)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: commontator
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.46
|
|
5
|
+
prerelease:
|
|
6
|
+
platform: ruby
|
|
7
|
+
authors:
|
|
8
|
+
- Dante Soares
|
|
9
|
+
autorequire:
|
|
10
|
+
bindir: bin
|
|
11
|
+
cert_chain: []
|
|
12
|
+
date: 2012-07-10 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
15
|
+
name: rails
|
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
|
17
|
+
none: false
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '3.1'
|
|
22
|
+
type: :runtime
|
|
23
|
+
prerelease: false
|
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
26
|
+
requirements:
|
|
27
|
+
- - ! '>='
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '3.1'
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: jquery-rails
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '0'
|
|
46
|
+
- !ruby/object:Gem::Dependency
|
|
47
|
+
name: sqlite3
|
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
|
49
|
+
none: false
|
|
50
|
+
requirements:
|
|
51
|
+
- - ! '>='
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
54
|
+
type: :development
|
|
55
|
+
prerelease: false
|
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
+
none: false
|
|
58
|
+
requirements:
|
|
59
|
+
- - ! '>='
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: '0'
|
|
62
|
+
description: A Rails engine for comments.
|
|
63
|
+
email:
|
|
64
|
+
- dms3@rice.edu
|
|
65
|
+
executables: []
|
|
66
|
+
extensions: []
|
|
67
|
+
extra_rdoc_files: []
|
|
68
|
+
files:
|
|
69
|
+
- app/assets/stylesheets/commontator/application.css
|
|
70
|
+
- app/assets/stylesheets/commontator/comments.css
|
|
71
|
+
- app/assets/stylesheets/commontator/application.css~
|
|
72
|
+
- app/assets/stylesheets/commontator/comments.css~
|
|
73
|
+
- app/assets/stylesheets/commontator/threads.css
|
|
74
|
+
- app/assets/stylesheets/commontator/threads.css~
|
|
75
|
+
- app/assets/images/commontator/upvote.png
|
|
76
|
+
- app/assets/images/commontator/downvote_hover.png
|
|
77
|
+
- app/assets/images/commontator/upvote_hover.png
|
|
78
|
+
- app/assets/images/commontator/downvote.png
|
|
79
|
+
- app/controllers/commontator/threads_controller.rb~
|
|
80
|
+
- app/controllers/commontator/application_controller.rb
|
|
81
|
+
- app/controllers/commontator/subscriptions_controller.rb
|
|
82
|
+
- app/controllers/commontator/comments_controller.rb~
|
|
83
|
+
- app/controllers/commontator/application_controller.rb~
|
|
84
|
+
- app/controllers/commontator/threads_controller.rb
|
|
85
|
+
- app/controllers/commontator/comments_controller.rb
|
|
86
|
+
- app/controllers/commontator/subscriptions_controller.rb~
|
|
87
|
+
- app/mailers/commontator/subscriptions_mailer.rb~
|
|
88
|
+
- app/mailers/commontator/subscription_mailer.rb~
|
|
89
|
+
- app/mailers/commontator/subscriptions_mailer.rb
|
|
90
|
+
- app/views/layouts/commontator/application.html.erb
|
|
91
|
+
- app/views/commontator/comments/_body.html.erb
|
|
92
|
+
- app/views/commontator/comments/_show.html.erb~
|
|
93
|
+
- app/views/commontator/comments/_votes.html.erb~
|
|
94
|
+
- app/views/commontator/comments/vote.js.erb~
|
|
95
|
+
- app/views/commontator/comments/edit.js.erb~
|
|
96
|
+
- app/views/commontator/comments/_form.html.erb
|
|
97
|
+
- app/views/commontator/comments/delete.js.erb
|
|
98
|
+
- app/views/commontator/comments/destroy.js.erb~
|
|
99
|
+
- app/views/commontator/comments/vote.js.erb
|
|
100
|
+
- app/views/commontator/comments/new.html.erb~
|
|
101
|
+
- app/views/commontator/comments/update.js.erb
|
|
102
|
+
- app/views/commontator/comments/_actions.html.erb~
|
|
103
|
+
- app/views/commontator/comments/edit.html.erb
|
|
104
|
+
- app/views/commontator/comments/update.js.erb~
|
|
105
|
+
- app/views/commontator/comments/new.js.erb~
|
|
106
|
+
- app/views/commontator/comments/new.html.erb
|
|
107
|
+
- app/views/commontator/comments/_show.html.erb
|
|
108
|
+
- app/views/commontator/comments/_form.html.erb~
|
|
109
|
+
- app/views/commontator/comments/delete.js.erb~
|
|
110
|
+
- app/views/commontator/comments/_body.html.erb~
|
|
111
|
+
- app/views/commontator/comments/edit.js.erb
|
|
112
|
+
- app/views/commontator/comments/_actions.html.erb
|
|
113
|
+
- app/views/commontator/comments/_votes.html.erb
|
|
114
|
+
- app/views/commontator/comments/create.js.erb
|
|
115
|
+
- app/views/commontator/comments/new.js.erb
|
|
116
|
+
- app/views/commontator/comments/edit.html.erb~
|
|
117
|
+
- app/views/commontator/comments/create.js.erb~
|
|
118
|
+
- app/views/commontator/subscriptions_mailer/comment_created_email.html.erb
|
|
119
|
+
- app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~
|
|
120
|
+
- app/views/commontator/subscriptions/_subscription_link.html.erb~
|
|
121
|
+
- app/views/commontator/subscriptions/_subscription_link.html.erb
|
|
122
|
+
- app/views/commontator/subscriptions/destroy.js.erb~
|
|
123
|
+
- app/views/commontator/subscriptions/index.html.erb~
|
|
124
|
+
- app/views/commontator/subscriptions/destroy.js.erb
|
|
125
|
+
- app/views/commontator/subscriptions/index.html.erb
|
|
126
|
+
- app/views/commontator/subscriptions/create.js.erb
|
|
127
|
+
- app/views/commontator/subscriptions/create.js.erb~
|
|
128
|
+
- app/views/commontator/commontator/_thread.html.erb~
|
|
129
|
+
- app/views/commontator/commontator/_thread.html.erb
|
|
130
|
+
- app/views/commontator/threads/_show.html.erb~
|
|
131
|
+
- app/views/commontator/threads/show.js.erb
|
|
132
|
+
- app/views/commontator/threads/show.html.erb
|
|
133
|
+
- app/views/commontator/threads/_show.html.erb
|
|
134
|
+
- app/models/commontator/comment.rb
|
|
135
|
+
- app/models/commontator/subscription.rb
|
|
136
|
+
- app/models/commontator/comment.rb~
|
|
137
|
+
- app/models/commontator/subscription.rb~
|
|
138
|
+
- app/models/commontator/thread.rb~
|
|
139
|
+
- app/models/commontator/thread.rb
|
|
140
|
+
- app/helpers/commontator/commontable_helper.rb~
|
|
141
|
+
- app/helpers/commontator/comments_helper.rb
|
|
142
|
+
- app/helpers/commontator/comments_helper.rb~
|
|
143
|
+
- app/helpers/commontator/application_helper.rb~
|
|
144
|
+
- app/helpers/commontator/threads_helper.rb
|
|
145
|
+
- app/helpers/commontator/subscriptions_helper.rb
|
|
146
|
+
- app/helpers/commontator/subscriptions_helper.rb~
|
|
147
|
+
- app/helpers/commontator/threads_helper.rb~
|
|
148
|
+
- app/helpers/commontator/commontator_helper.rb~
|
|
149
|
+
- app/helpers/commontator/commontator_helper.rb
|
|
150
|
+
- app/helpers/commontator/application_helper.rb
|
|
151
|
+
- config/initializers/commontator.rb
|
|
152
|
+
- config/routes.rb~
|
|
153
|
+
- config/routes.rb
|
|
154
|
+
- db/migrate/0_install_commontator.rb~
|
|
155
|
+
- db/migrate/0_install_commontator.rb
|
|
156
|
+
- lib/commontator.rb
|
|
157
|
+
- lib/commontator.rb~
|
|
158
|
+
- lib/commontator/acts_as_commontable.rb
|
|
159
|
+
- lib/commontator/version.rb
|
|
160
|
+
- lib/commontator/engine.rb
|
|
161
|
+
- lib/commontator/acts_as_commontator.rb~
|
|
162
|
+
- lib/commontator/acts_as_commontable.rb~
|
|
163
|
+
- lib/commontator/commontable_config.rb
|
|
164
|
+
- lib/commontator/version.rb~
|
|
165
|
+
- lib/commontator/routes.rb~
|
|
166
|
+
- lib/commontator/acts_as_commontator.rb
|
|
167
|
+
- lib/commontator/commontator_config.rb
|
|
168
|
+
- MIT-LICENSE
|
|
169
|
+
- Rakefile
|
|
170
|
+
- README.md
|
|
171
|
+
- test/test_helper.rb
|
|
172
|
+
- test/integration/navigation_test.rb
|
|
173
|
+
- test/unit/subscription_test.rb
|
|
174
|
+
- test/unit/subscription_test.rb~
|
|
175
|
+
- test/unit/thread_test.rb~
|
|
176
|
+
- test/unit/comment_thread_test.rb~
|
|
177
|
+
- test/unit/comment_test.rb
|
|
178
|
+
- test/unit/comment_test.rb~
|
|
179
|
+
- test/unit/comment_thread_subscription_test.rb~
|
|
180
|
+
- test/unit/thread_test.rb
|
|
181
|
+
- test/unit/helpers/subscriptions_helper_test.rb
|
|
182
|
+
- test/unit/helpers/comments_helper_test.rb
|
|
183
|
+
- test/unit/helpers/comment_thread_subscriptions_helper_test.rb~
|
|
184
|
+
- test/unit/helpers/subscriptions_helper_test.rb~
|
|
185
|
+
- test/unit/helpers/comments_helper_test.rb~
|
|
186
|
+
- test/functional/comments_controller_test.rb~
|
|
187
|
+
- test/functional/comments_controller_test.rb
|
|
188
|
+
- test/functional/comment_thread_subscriptions_controller_test.rb~
|
|
189
|
+
- test/functional/subscriptions_controller_test.rb
|
|
190
|
+
- test/functional/subscriptions_controller_test.rb~
|
|
191
|
+
- test/dummy/README.rdoc
|
|
192
|
+
- test/dummy/log/development.log
|
|
193
|
+
- test/dummy/db/development.sqlite3
|
|
194
|
+
- test/dummy/db/test.sqlite3
|
|
195
|
+
- test/dummy/db/schema.rb
|
|
196
|
+
- test/dummy/Rakefile
|
|
197
|
+
- test/dummy/script/rails
|
|
198
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
199
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
200
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
201
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
202
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
203
|
+
- test/dummy/config.ru
|
|
204
|
+
- test/dummy/public/500.html
|
|
205
|
+
- test/dummy/public/favicon.ico
|
|
206
|
+
- test/dummy/public/422.html
|
|
207
|
+
- test/dummy/public/404.html
|
|
208
|
+
- test/dummy/config/database.yml
|
|
209
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
210
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
211
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
212
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
213
|
+
- test/dummy/config/initializers/session_store.rb
|
|
214
|
+
- test/dummy/config/initializers/inflections.rb
|
|
215
|
+
- test/dummy/config/locales/en.yml
|
|
216
|
+
- test/dummy/config/boot.rb
|
|
217
|
+
- test/dummy/config/application.rb
|
|
218
|
+
- test/dummy/config/environment.rb
|
|
219
|
+
- test/dummy/config/environments/test.rb
|
|
220
|
+
- test/dummy/config/environments/production.rb
|
|
221
|
+
- test/dummy/config/environments/development.rb
|
|
222
|
+
- test/dummy/config/routes.rb
|
|
223
|
+
- test/commontator_test.rb
|
|
224
|
+
homepage: http://rubygems.org/gems/commontator
|
|
225
|
+
licenses: []
|
|
226
|
+
post_install_message:
|
|
227
|
+
rdoc_options: []
|
|
228
|
+
require_paths:
|
|
229
|
+
- lib
|
|
230
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
|
+
none: false
|
|
232
|
+
requirements:
|
|
233
|
+
- - ! '>='
|
|
234
|
+
- !ruby/object:Gem::Version
|
|
235
|
+
version: '0'
|
|
236
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
237
|
+
none: false
|
|
238
|
+
requirements:
|
|
239
|
+
- - ! '>='
|
|
240
|
+
- !ruby/object:Gem::Version
|
|
241
|
+
version: '0'
|
|
242
|
+
requirements: []
|
|
243
|
+
rubyforge_project:
|
|
244
|
+
rubygems_version: 1.8.24
|
|
245
|
+
signing_key:
|
|
246
|
+
specification_version: 3
|
|
247
|
+
summary: Common Tator
|
|
248
|
+
test_files:
|
|
249
|
+
- test/test_helper.rb
|
|
250
|
+
- test/integration/navigation_test.rb
|
|
251
|
+
- test/unit/subscription_test.rb
|
|
252
|
+
- test/unit/subscription_test.rb~
|
|
253
|
+
- test/unit/thread_test.rb~
|
|
254
|
+
- test/unit/comment_thread_test.rb~
|
|
255
|
+
- test/unit/comment_test.rb
|
|
256
|
+
- test/unit/comment_test.rb~
|
|
257
|
+
- test/unit/comment_thread_subscription_test.rb~
|
|
258
|
+
- test/unit/thread_test.rb
|
|
259
|
+
- test/unit/helpers/subscriptions_helper_test.rb
|
|
260
|
+
- test/unit/helpers/comments_helper_test.rb
|
|
261
|
+
- test/unit/helpers/comment_thread_subscriptions_helper_test.rb~
|
|
262
|
+
- test/unit/helpers/subscriptions_helper_test.rb~
|
|
263
|
+
- test/unit/helpers/comments_helper_test.rb~
|
|
264
|
+
- test/functional/comments_controller_test.rb~
|
|
265
|
+
- test/functional/comments_controller_test.rb
|
|
266
|
+
- test/functional/comment_thread_subscriptions_controller_test.rb~
|
|
267
|
+
- test/functional/subscriptions_controller_test.rb
|
|
268
|
+
- test/functional/subscriptions_controller_test.rb~
|
|
269
|
+
- test/dummy/README.rdoc
|
|
270
|
+
- test/dummy/log/development.log
|
|
271
|
+
- test/dummy/db/development.sqlite3
|
|
272
|
+
- test/dummy/db/test.sqlite3
|
|
273
|
+
- test/dummy/db/schema.rb
|
|
274
|
+
- test/dummy/Rakefile
|
|
275
|
+
- test/dummy/script/rails
|
|
276
|
+
- test/dummy/app/assets/stylesheets/application.css
|
|
277
|
+
- test/dummy/app/assets/javascripts/application.js
|
|
278
|
+
- test/dummy/app/controllers/application_controller.rb
|
|
279
|
+
- test/dummy/app/views/layouts/application.html.erb
|
|
280
|
+
- test/dummy/app/helpers/application_helper.rb
|
|
281
|
+
- test/dummy/config.ru
|
|
282
|
+
- test/dummy/public/500.html
|
|
283
|
+
- test/dummy/public/favicon.ico
|
|
284
|
+
- test/dummy/public/422.html
|
|
285
|
+
- test/dummy/public/404.html
|
|
286
|
+
- test/dummy/config/database.yml
|
|
287
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
|
288
|
+
- test/dummy/config/initializers/mime_types.rb
|
|
289
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
|
290
|
+
- test/dummy/config/initializers/secret_token.rb
|
|
291
|
+
- test/dummy/config/initializers/session_store.rb
|
|
292
|
+
- test/dummy/config/initializers/inflections.rb
|
|
293
|
+
- test/dummy/config/locales/en.yml
|
|
294
|
+
- test/dummy/config/boot.rb
|
|
295
|
+
- test/dummy/config/application.rb
|
|
296
|
+
- test/dummy/config/environment.rb
|
|
297
|
+
- test/dummy/config/environments/test.rb
|
|
298
|
+
- test/dummy/config/environments/production.rb
|
|
299
|
+
- test/dummy/config/environments/development.rb
|
|
300
|
+
- test/dummy/config/routes.rb
|
|
301
|
+
- test/commontator_test.rb
|