commontator 0.2.4 → 0.3.10
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/app/assets/stylesheets/commontator/threads.css +4 -0
- data/app/assets/stylesheets/commontator/threads.css~ +1 -1
- data/app/controllers/commontator/application_controller.rb +5 -0
- data/app/controllers/commontator/application_controller.rb~ +8 -1
- data/app/controllers/commontator/comments_controller.rb +24 -31
- data/app/controllers/commontator/comments_controller.rb~ +25 -32
- data/app/controllers/commontator/subscriptions_controller.rb +8 -18
- data/app/controllers/commontator/subscriptions_controller.rb~ +10 -16
- data/app/controllers/commontator/threads_controller.rb +3 -5
- data/app/controllers/commontator/threads_controller.rb~ +3 -6
- data/app/helpers/commontator/application_helper.rb +2 -6
- data/app/helpers/commontator/application_helper.rb~ +4 -4
- data/app/helpers/commontator/commontator_helper.rb +2 -2
- data/app/helpers/commontator/commontator_helper.rb~ +2 -2
- data/app/helpers/commontator/threads_helper.rb +1 -1
- data/app/helpers/commontator/threads_helper.rb~ +5 -12
- data/app/mailers/commontator/subscriptions_mailer.rb +15 -11
- data/app/mailers/commontator/subscriptions_mailer.rb~ +15 -12
- data/app/models/commontator/comment.rb +2 -2
- data/app/models/commontator/thread.rb +11 -11
- data/app/models/commontator/thread.rb~ +7 -9
- data/app/views/commontator/comments/_actions.html.erb +13 -16
- data/app/views/commontator/comments/_actions.html.erb~ +13 -17
- data/app/views/commontator/comments/create.js.erb +1 -1
- data/app/views/commontator/comments/create.js.erb~ +2 -2
- data/app/views/commontator/comments/delete.js.erb +1 -1
- data/app/views/commontator/comments/delete.js.erb~ +2 -2
- data/app/views/commontator/comments/edit.js.erb +1 -1
- data/app/views/commontator/comments/edit.js.erb~ +2 -2
- data/app/views/commontator/comments/new.js.erb +1 -1
- data/app/views/commontator/comments/new.js.erb~ +2 -2
- data/app/views/commontator/comments/update.js.erb +1 -1
- data/app/views/commontator/comments/update.js.erb~ +2 -2
- data/app/views/commontator/comments/vote.js.erb +1 -1
- data/app/views/commontator/comments/vote.js.erb~ +2 -2
- data/app/views/commontator/{commontator/_thread.html.erb~ → shared/_thread_link.html.erb} +1 -3
- data/app/views/commontator/subscriptions/{index.html.erb → _index.html.erb~} +0 -0
- data/app/views/commontator/subscriptions/_link.html.erb +15 -0
- data/app/views/commontator/subscriptions/_link.html.erb~ +15 -0
- data/app/views/commontator/subscriptions/_subscription_link.html.erb~ +8 -7
- data/app/views/commontator/subscriptions/create.js.erb~ +4 -2
- data/app/views/commontator/subscriptions/subscribe.js.erb +5 -0
- data/app/views/commontator/subscriptions/subscribe.js.erb~ +5 -0
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb +4 -12
- data/app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~ +4 -12
- data/app/views/commontator/threads/_actions.html.erb~ +28 -0
- data/app/views/commontator/{commontator/_thread.html.erb → threads/_link.html.erb~} +1 -1
- data/app/views/commontator/threads/_show.html.erb +30 -2
- data/app/views/commontator/threads/_show.html.erb~ +31 -3
- data/app/views/commontator/threads/close.js.erb~ +5 -0
- data/app/views/commontator/threads/{show.html.erb → show.html.erb~} +0 -0
- data/app/views/commontator/threads/show.js.erb +1 -1
- data/app/views/commontator/threads/show.js.erb~ +6 -0
- data/config/initializers/commontator.rb +17 -11
- data/config/initializers/commontator.rb~ +16 -11
- data/config/routes.rb +2 -4
- data/config/routes.rb~ +4 -2
- data/lib/commontator.rb +1 -1
- data/lib/commontator.rb~ +2 -2
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/test/dummy/config/initializers/commontator.rb +23 -12
- data/test/dummy/config/initializers/commontator.rb~ +174 -0
- data/test/dummy/log/development.log +6 -0
- metadata +15 -11
- data/app/views/commontator/comments/edit.html.erb +0 -6
- data/app/views/commontator/comments/new.html.erb +0 -8
- data/app/views/commontator/subscriptions/_subscription_link.html.erb +0 -12
- data/app/views/commontator/subscriptions/create.js.erb +0 -5
- data/app/views/commontator/subscriptions/destroy.js.erb +0 -5
@@ -8,13 +8,12 @@ Commontator.configure do |config|
|
|
8
8
|
# Default: 'current_user'
|
9
9
|
config.current_user_method = 'current_user'
|
10
10
|
|
11
|
-
# Proc that is called
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
#
|
16
|
-
#
|
17
|
-
config.javascript_proc = Proc.new{}
|
11
|
+
# Proc that is called after any javascript runs (e.g. to clear flash)
|
12
|
+
# It is passed the 'self' object from the view template, so you should be able to
|
13
|
+
# access anything you normally could in a view template (by using, e.g. view.flash)
|
14
|
+
# Should return a string containing JS to be appended to all Commontator JS responses
|
15
|
+
# Default: lambda { |view| '$("#error_explanation").remove();' }
|
16
|
+
config.javascript_proc = lambda { |view| '$("#error_explanation").remove();' }
|
18
17
|
|
19
18
|
|
20
19
|
# Commontator (User model) Configuration
|
@@ -57,14 +56,19 @@ Commontator.configure do |config|
|
|
57
56
|
# as an argument to acts_as_commontable in each one
|
58
57
|
# Default: 'commontable'
|
59
58
|
config.commontable_name = 'commontable'
|
59
|
+
|
60
|
+
# Proc that returns the url to the thread's view (defaults to the commontable show url)
|
61
|
+
# Main application's routes can be accessed using main_app object
|
62
|
+
# Default: lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
63
|
+
config.commontable_url_proc = lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
60
64
|
|
61
65
|
# Proc that returns the subscription email subject
|
62
66
|
# Default:
|
63
|
-
#
|
67
|
+
# lambda do |params|
|
64
68
|
# "#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
65
69
|
# "#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
66
70
|
# end
|
67
|
-
config.subscription_email_subject_proc =
|
71
|
+
config.subscription_email_subject_proc = lambda do |params|
|
68
72
|
"#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
69
73
|
"#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
70
74
|
end
|
@@ -128,8 +132,9 @@ Commontator.configure do |config|
|
|
128
132
|
config.commontable_id_method = 'id'
|
129
133
|
|
130
134
|
# Method called on commontable and passed user as argument
|
131
|
-
# If true, that user is
|
132
|
-
#
|
135
|
+
# If true, that user is a moderator for that particular commontable's thread
|
136
|
+
# and is given admin-like capabilities for that thread only
|
137
|
+
# Default: '' (no thread-specific moderators)
|
133
138
|
config.can_edit_thread_method = ''
|
134
139
|
|
135
140
|
# Method called on commontable and passed user as argument
|
data/config/routes.rb
CHANGED
@@ -12,13 +12,11 @@ Commontator::Engine.routes.draw do
|
|
12
12
|
put 'close', :on => :member
|
13
13
|
put 'reopen', :on => :member
|
14
14
|
|
15
|
-
|
15
|
+
put 'subscribe', :to => 'subscriptions#create',
|
16
16
|
:as => 'subscribe',
|
17
17
|
:on => :member
|
18
|
-
|
18
|
+
put 'unsubscribe', :to => 'subscriptions#destroy',
|
19
19
|
:as => 'unsubscribe',
|
20
20
|
:on => :member
|
21
21
|
end
|
22
|
-
|
23
|
-
resources :subscriptions, :only => [:index]
|
24
22
|
end
|
data/config/routes.rb~
CHANGED
@@ -3,6 +3,7 @@ Commontator::Engine.routes.draw do
|
|
3
3
|
resources :comments, :except => [:index, :destroy], :shallow => true do
|
4
4
|
put 'delete', :on => :member
|
5
5
|
put 'undelete', :on => :member
|
6
|
+
|
6
7
|
put 'upvote', :on => :member
|
7
8
|
put 'downvote', :on => :member
|
8
9
|
put 'unvote', :on => :member
|
@@ -10,10 +11,11 @@ Commontator::Engine.routes.draw do
|
|
10
11
|
|
11
12
|
put 'close', :on => :member
|
12
13
|
put 'reopen', :on => :member
|
13
|
-
|
14
|
+
|
15
|
+
put 'subscribe', :to => 'subscriptions#create',
|
14
16
|
:as => 'subscribe',
|
15
17
|
:on => :member
|
16
|
-
|
18
|
+
put 'unsubscribe', :to => 'subscriptions#destroy',
|
17
19
|
:as => 'unsubscribe',
|
18
20
|
:on => :member
|
19
21
|
end
|
data/lib/commontator.rb
CHANGED
@@ -4,7 +4,6 @@ module Commontator
|
|
4
4
|
# Can be set in initializer only
|
5
5
|
ENGINE_ATTRIBUTES = [
|
6
6
|
:current_user_method,
|
7
|
-
:heading_proc,
|
8
7
|
:javascript_proc
|
9
8
|
]
|
10
9
|
|
@@ -22,6 +21,7 @@ module Commontator
|
|
22
21
|
:comment_create_verb_present,
|
23
22
|
:comment_create_verb_past,
|
24
23
|
:commontable_name,
|
24
|
+
:commontable_url_proc,
|
25
25
|
:subscription_email_subject_proc,
|
26
26
|
:timestamp_format,
|
27
27
|
:admin_can_edit_comments,
|
data/lib/commontator.rb~
CHANGED
@@ -4,7 +4,6 @@ module Commontator
|
|
4
4
|
# Can be set in initializer only
|
5
5
|
ENGINE_ATTRIBUTES = [
|
6
6
|
:current_user_method,
|
7
|
-
:heading_proc,
|
8
7
|
:javascript_proc
|
9
8
|
]
|
10
9
|
|
@@ -22,6 +21,7 @@ module Commontator
|
|
22
21
|
:comment_create_verb_present,
|
23
22
|
:comment_create_verb_past,
|
24
23
|
:commontable_name,
|
24
|
+
:thread_url_proc,
|
25
25
|
:subscription_email_subject_proc,
|
26
26
|
:timestamp_format,
|
27
27
|
:admin_can_edit_comments,
|
@@ -32,7 +32,7 @@ module Commontator
|
|
32
32
|
:can_delete_old_comments,
|
33
33
|
:can_subscribe_to_thread,
|
34
34
|
:comments_can_be_voted_on,
|
35
|
-
:
|
35
|
+
:comments_ordered_by_votes,
|
36
36
|
:closed_threads_are_readable,
|
37
37
|
:deleted_comments_are_visible,
|
38
38
|
:commontable_id_method,
|
data/lib/commontator/version.rb
CHANGED
data/lib/commontator/version.rb~
CHANGED
@@ -8,13 +8,12 @@ Commontator.configure do |config|
|
|
8
8
|
# Default: 'current_user'
|
9
9
|
config.current_user_method = 'current_user'
|
10
10
|
|
11
|
-
# Proc that is called
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
#
|
16
|
-
|
17
|
-
config.javascript_proc = nil
|
11
|
+
# Proc that is called after any javascript runs (e.g. to clear flash)
|
12
|
+
# It is passed the 'self' object from the view template, so you should be able to
|
13
|
+
# access anything you normally could in a view template (by using, e.g. view.flash)
|
14
|
+
# Should return a string containing JS to be appended to all Commontator JS responses
|
15
|
+
# Default: lambda { |view| '$("#error_explanation").remove();' }
|
16
|
+
config.javascript_proc = lambda { |view| '$("#error_explanation").remove();' }
|
18
17
|
|
19
18
|
|
20
19
|
# Commontator (User model) Configuration
|
@@ -58,11 +57,22 @@ Commontator.configure do |config|
|
|
58
57
|
# Default: 'commontable'
|
59
58
|
config.commontable_name = 'commontable'
|
60
59
|
|
60
|
+
# Proc that returns the commontable url that contains the thread
|
61
|
+
# (defaults to the commontable show url)
|
62
|
+
# Main application's routes can be accessed using main_app object
|
63
|
+
# Default: lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
64
|
+
config.commontable_url_proc = lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
65
|
+
|
61
66
|
# Proc that returns the subscription email subject
|
62
|
-
# Default:
|
63
|
-
|
67
|
+
# Default:
|
68
|
+
# lambda do |params|
|
69
|
+
# "#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
70
|
+
# "#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
71
|
+
# end
|
72
|
+
config.subscription_email_subject_proc = lambda do |params|
|
64
73
|
"#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
65
|
-
"#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
74
|
+
"#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
75
|
+
end
|
66
76
|
|
67
77
|
# The format of the timestamps used by Commontator
|
68
78
|
# Default: '%b %d %Y, %I:%M %p'
|
@@ -123,8 +133,9 @@ Commontator.configure do |config|
|
|
123
133
|
config.commontable_id_method = 'id'
|
124
134
|
|
125
135
|
# Method called on commontable and passed user as argument
|
126
|
-
# If true, that user is
|
127
|
-
#
|
136
|
+
# If true, that user is a moderator for that particular commontable's thread
|
137
|
+
# and is given admin-like capabilities for that thread only
|
138
|
+
# Default: '' (no thread-specific moderators)
|
128
139
|
config.can_edit_thread_method = ''
|
129
140
|
|
130
141
|
# Method called on commontable and passed user as argument
|
@@ -0,0 +1,174 @@
|
|
1
|
+
# Change the settings below to suit your needs
|
2
|
+
# All settings are initially set to their default values
|
3
|
+
Commontator.configure do |config|
|
4
|
+
|
5
|
+
# Engine Configuration
|
6
|
+
|
7
|
+
# Method called on ApplicationController to return the current user
|
8
|
+
# Default: 'current_user'
|
9
|
+
config.current_user_method = 'current_user'
|
10
|
+
|
11
|
+
# Proc that is called after any javascript runs (e.g. to clear flash)
|
12
|
+
# It is passed the 'self' object from the view template, so you should be able to
|
13
|
+
# access anything you normally could in a view template (by using, e.g. view.flash)
|
14
|
+
# Should return a string containing JS to be appended to all Commontator JS responses
|
15
|
+
# Default: lambda { |view| '$("#error_explanation").remove();' }
|
16
|
+
config.javascript_proc = lambda { |view| '$("#error_explanation").remove();' }
|
17
|
+
|
18
|
+
|
19
|
+
# Commontator (User model) Configuration
|
20
|
+
|
21
|
+
# Whether the commontator's name is clickable in the comment view
|
22
|
+
# Default: false
|
23
|
+
config.commontator_name_clickable = false
|
24
|
+
|
25
|
+
# The method that return the commontator's email address
|
26
|
+
# Default: 'email'
|
27
|
+
config.commontator_email_method = 'email'
|
28
|
+
|
29
|
+
# The method that return the commontator's name
|
30
|
+
# Default: '' (Anonymous)
|
31
|
+
config.commontator_name_method = ''
|
32
|
+
|
33
|
+
# Method that returns true if the commontator is an admin for all threads
|
34
|
+
# Admins can always delete other users' comments and close threads
|
35
|
+
# Default: '' (no admins)
|
36
|
+
config.is_admin_method = ''
|
37
|
+
|
38
|
+
|
39
|
+
# Commontable (Commentable model) Configuration
|
40
|
+
|
41
|
+
# What a comment is called in your application
|
42
|
+
# Default: 'comment'
|
43
|
+
config.comment_name = 'comment'
|
44
|
+
|
45
|
+
# Verb used when creating comments (present)
|
46
|
+
# Default: 'post'
|
47
|
+
config.comment_create_verb_present = 'post'
|
48
|
+
|
49
|
+
# Verb used when creating comments (past)
|
50
|
+
# Default: 'posted'
|
51
|
+
config.comment_create_verb_past = 'posted'
|
52
|
+
|
53
|
+
# What a commontable is called in your application
|
54
|
+
# If you have multiple commontable models,
|
55
|
+
# you might want to pass this configuration value
|
56
|
+
# as an argument to acts_as_commontable in each one
|
57
|
+
# Default: 'commontable'
|
58
|
+
config.commontable_name = 'commontable'
|
59
|
+
|
60
|
+
# Proc that returns the url to the thread's view (defaults to the commontable show url)
|
61
|
+
# Main application's routes can be accessed using main_app object
|
62
|
+
# Default: lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
63
|
+
config.commontable_url_proc = lambda { |main_app, commontable| main_app.polymorphic_url(commontable) }
|
64
|
+
|
65
|
+
# Proc that returns the subscription email subject
|
66
|
+
# Default:
|
67
|
+
# lambda do |params|
|
68
|
+
# "#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
69
|
+
# "#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
70
|
+
# end
|
71
|
+
config.subscription_email_subject_proc = lambda do |params|
|
72
|
+
"#{params[:commontator_name]} #{params[:config].comment_create_verb_past} a " + \
|
73
|
+
"#{params[:config].comment_name} on #{params[:commontable_name]} ##{params[:commontable_id]}"
|
74
|
+
end
|
75
|
+
|
76
|
+
# The format of the timestamps used by Commontator
|
77
|
+
# Default: '%b %d %Y, %I:%M %p'
|
78
|
+
config.timestamp_format = '%b %d %Y, %I:%M %p'
|
79
|
+
|
80
|
+
# Whether admins can edit other users' comments
|
81
|
+
# Default: false
|
82
|
+
config.admin_can_edit_comments = false
|
83
|
+
|
84
|
+
# Whether users automatically subscribe to a thread when commenting
|
85
|
+
# Default: false
|
86
|
+
config.auto_subscribe_on_comment = false
|
87
|
+
|
88
|
+
# Whether users can edit their own comments
|
89
|
+
# Default: true
|
90
|
+
config.can_edit_own_comments = true
|
91
|
+
|
92
|
+
# Whether users can edit their own comments
|
93
|
+
# after someone posted a newer comment
|
94
|
+
# Default: false
|
95
|
+
config.can_edit_old_comments = false
|
96
|
+
|
97
|
+
# Whether users can delete their own comments
|
98
|
+
# Default: false
|
99
|
+
config.can_delete_own_comments = false
|
100
|
+
|
101
|
+
# Whether users can delete their own comments
|
102
|
+
# after someone posted a newer comment
|
103
|
+
# Default: false
|
104
|
+
config.can_delete_old_comments = false
|
105
|
+
|
106
|
+
# Whether users can manually subscribe or unsubscribe to threads
|
107
|
+
# Default: true
|
108
|
+
config.can_subscribe_to_thread = true
|
109
|
+
|
110
|
+
# Whether users can vote on other users' comments
|
111
|
+
# Note: requires acts_as_votable gem installed
|
112
|
+
# and configured for your application
|
113
|
+
# Default: false
|
114
|
+
config.comments_can_be_voted_on = false
|
115
|
+
|
116
|
+
# Whether comments should be ordered by vote score
|
117
|
+
# instead of by order posted
|
118
|
+
# Default: false
|
119
|
+
config.comments_ordered_by_votes = false
|
120
|
+
|
121
|
+
# Whether users can read threads closed by admins
|
122
|
+
# Default: true
|
123
|
+
config.closed_threads_are_readable = true
|
124
|
+
|
125
|
+
# Whether comments deleted by admins can be seen
|
126
|
+
# (the content will still be hidden)
|
127
|
+
# Default: true
|
128
|
+
config.deleted_comments_are_visible = true
|
129
|
+
|
130
|
+
# Method called on commontable to return its id
|
131
|
+
# Default: 'id'
|
132
|
+
config.commontable_id_method = 'id'
|
133
|
+
|
134
|
+
# Method called on commontable and passed user as argument
|
135
|
+
# If true, that user is a moderator for that particular commontable's thread
|
136
|
+
# and is given admin-like capabilities for that thread only
|
137
|
+
# Default: '' (no thread-specific moderators)
|
138
|
+
config.can_edit_thread_method = ''
|
139
|
+
|
140
|
+
# Method called on commontable and passed user as argument
|
141
|
+
# If true, that user is allowed to read that commontable's thread
|
142
|
+
# Default: '' (no read restrictions)
|
143
|
+
config.can_read_thread_method = ''
|
144
|
+
|
145
|
+
# Method called on commontable when a comment is created
|
146
|
+
# Passed user, comment as arguments
|
147
|
+
# Default: '' (no callback)
|
148
|
+
config.comment_created_callback = ''
|
149
|
+
|
150
|
+
# Method called on commontable when a comment is edited
|
151
|
+
# Passed user, comment as arguments
|
152
|
+
# Default: '' (no callback)
|
153
|
+
config.comment_edited_callback = ''
|
154
|
+
|
155
|
+
# Method called on commontable when a comment is deleted
|
156
|
+
# Passed user, comment as arguments
|
157
|
+
# Default: '' (no callback)
|
158
|
+
config.comment_deleted_callback = ''
|
159
|
+
|
160
|
+
# Method called on commontable when a thread is closed
|
161
|
+
# Passed user as argument
|
162
|
+
# Default: '' (no callback)
|
163
|
+
config.thread_closed_callback = ''
|
164
|
+
|
165
|
+
# Method called on commontable when a thread is subscribed to
|
166
|
+
# Passed user as argument
|
167
|
+
# Default: '' (no callback)
|
168
|
+
config.subscribe_callback = ''
|
169
|
+
|
170
|
+
# Method called on commontable when a thread is unsubscribed to
|
171
|
+
# Passed user as argument
|
172
|
+
# Default: '' (no callback)
|
173
|
+
config.unsubscribe_callback = ''
|
174
|
+
end
|
@@ -342,3 +342,9 @@ Connecting to database specified by database.yml
|
|
342
342
|
Connecting to database specified by database.yml
|
343
343
|
SQLite3::SQLException: no such column: a: SELECT "commontator_comments".* FROM "commontator_comments" WHERE "commontator_comments"."thread_id" = 1 ORDER BY a
|
344
344
|
Connecting to database specified by database.yml
|
345
|
+
Connecting to database specified by database.yml
|
346
|
+
Connecting to database specified by database.yml
|
347
|
+
Connecting to database specified by database.yml
|
348
|
+
Connecting to database specified by database.yml
|
349
|
+
Connecting to database specified by database.yml
|
350
|
+
Connecting to database specified by database.yml
|
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: 0.
|
4
|
+
version: 0.3.10
|
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-
|
12
|
+
date: 2012-07-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -99,10 +99,8 @@ files:
|
|
99
99
|
- app/views/commontator/comments/new.html.erb~
|
100
100
|
- app/views/commontator/comments/update.js.erb
|
101
101
|
- app/views/commontator/comments/_actions.html.erb~
|
102
|
-
- app/views/commontator/comments/edit.html.erb
|
103
102
|
- app/views/commontator/comments/update.js.erb~
|
104
103
|
- app/views/commontator/comments/new.js.erb~
|
105
|
-
- app/views/commontator/comments/new.html.erb
|
106
104
|
- app/views/commontator/comments/_show.html.erb
|
107
105
|
- app/views/commontator/comments/_form.html.erb~
|
108
106
|
- app/views/commontator/comments/delete.js.erb~
|
@@ -116,20 +114,24 @@ files:
|
|
116
114
|
- app/views/commontator/comments/create.js.erb~
|
117
115
|
- app/views/commontator/subscriptions_mailer/comment_created_email.html.erb
|
118
116
|
- app/views/commontator/subscriptions_mailer/comment_created_email.html.erb~
|
117
|
+
- app/views/commontator/subscriptions/subscribe.js.erb
|
119
118
|
- app/views/commontator/subscriptions/_subscription_link.html.erb~
|
120
|
-
- app/views/commontator/subscriptions/
|
119
|
+
- app/views/commontator/subscriptions/_link.html.erb~
|
121
120
|
- app/views/commontator/subscriptions/destroy.js.erb~
|
121
|
+
- app/views/commontator/subscriptions/_link.html.erb
|
122
122
|
- app/views/commontator/subscriptions/index.html.erb~
|
123
|
-
- app/views/commontator/subscriptions/
|
124
|
-
- app/views/commontator/subscriptions/index.html.erb
|
125
|
-
- app/views/commontator/subscriptions/create.js.erb
|
123
|
+
- app/views/commontator/subscriptions/_index.html.erb~
|
126
124
|
- app/views/commontator/subscriptions/create.js.erb~
|
127
|
-
- app/views/commontator/
|
128
|
-
- app/views/commontator/
|
125
|
+
- app/views/commontator/subscriptions/subscribe.js.erb~
|
126
|
+
- app/views/commontator/shared/_thread_link.html.erb
|
127
|
+
- app/views/commontator/threads/show.js.erb~
|
129
128
|
- app/views/commontator/threads/_show.html.erb~
|
129
|
+
- app/views/commontator/threads/_link.html.erb~
|
130
130
|
- app/views/commontator/threads/show.js.erb
|
131
|
-
- app/views/commontator/threads/
|
131
|
+
- app/views/commontator/threads/close.js.erb~
|
132
|
+
- app/views/commontator/threads/_actions.html.erb~
|
132
133
|
- app/views/commontator/threads/_show.html.erb
|
134
|
+
- app/views/commontator/threads/show.html.erb~
|
133
135
|
- app/models/commontator/comment.rb
|
134
136
|
- app/models/commontator/subscription.rb
|
135
137
|
- app/models/commontator/comment.rb~
|
@@ -215,6 +217,7 @@ files:
|
|
215
217
|
- test/dummy/config/initializers/wrap_parameters.rb
|
216
218
|
- test/dummy/config/initializers/commontator.rb
|
217
219
|
- test/dummy/config/initializers/secret_token.rb
|
220
|
+
- test/dummy/config/initializers/commontator.rb~
|
218
221
|
- test/dummy/config/initializers/session_store.rb
|
219
222
|
- test/dummy/config/initializers/inflections.rb
|
220
223
|
- test/dummy/config/locales/en.yml
|
@@ -295,6 +298,7 @@ test_files:
|
|
295
298
|
- test/dummy/config/initializers/wrap_parameters.rb
|
296
299
|
- test/dummy/config/initializers/commontator.rb
|
297
300
|
- test/dummy/config/initializers/secret_token.rb
|
301
|
+
- test/dummy/config/initializers/commontator.rb~
|
298
302
|
- test/dummy/config/initializers/session_store.rb
|
299
303
|
- test/dummy/config/initializers/inflections.rb
|
300
304
|
- test/dummy/config/locales/en.yml
|