commontator 1.1.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/commontator/comments_controller.rb +3 -2
- data/app/controllers/commontator/comments_controller.rb~ +136 -0
- data/app/models/commontator/comment.rb +53 -36
- data/app/models/commontator/comment.rb~ +108 -0
- data/app/models/commontator/subscription.rb +8 -6
- data/app/models/commontator/subscription.rb~ +21 -0
- data/app/models/commontator/thread.rb +48 -44
- data/app/models/commontator/thread.rb~ +48 -47
- data/app/views/commontator/comments/_body.html.erb +1 -1
- data/app/views/commontator/comments/_body.html.erb~ +8 -0
- data/app/views/commontator/comments/_form.html.erb +1 -1
- data/app/views/commontator/comments/_form.html.erb~ +38 -0
- data/app/views/commontator/comments/_show.html.erb +1 -1
- data/app/views/commontator/comments/_show.html.erb~ +44 -0
- data/app/views/commontator/comments/_votes.html.erb +1 -1
- data/app/views/commontator/comments/_votes.html.erb~ +57 -0
- data/app/views/commontator/comments/delete.js.erb +1 -1
- data/app/views/commontator/comments/delete.js.erb~ +17 -0
- data/config/initializers/commontator.rb +11 -4
- data/config/initializers/commontator.rb~ +171 -0
- data/db/migrate/0_install.rb +23 -21
- data/db/migrate/0_install.rb~ +23 -21
- data/lib/commontator.rb +2 -0
- data/lib/commontator.rb~ +1 -1
- data/lib/commontator/acts_as_commontable.rb +7 -6
- data/lib/commontator/acts_as_commontable.rb~ +8 -6
- data/lib/commontator/acts_as_commontator.rb +4 -3
- data/lib/commontator/acts_as_commontator.rb~ +31 -0
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/spec/app/controllers/commontator/comments_controller_spec.rb +61 -20
- data/spec/app/controllers/commontator/comments_controller_spec.rb~ +58 -21
- data/spec/app/models/commontator/comment_spec.rb +8 -7
- data/spec/app/models/commontator/comment_spec.rb~ +9 -8
- data/spec/app/models/commontator/thread_spec.rb +1 -1
- data/spec/app/models/commontator/thread_spec.rb~ +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +16 -16
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +724 -0
- data/spec/dummy/log/test.log +41005 -0
- metadata +12 -2
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:
|
4
|
+
version: 2.0.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: 2013-
|
12
|
+
date: 2013-07-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -101,6 +101,7 @@ files:
|
|
101
101
|
- app/controllers/commontator/threads_controller.rb
|
102
102
|
- app/controllers/commontator/application_controller.rb
|
103
103
|
- app/controllers/commontator/subscriptions_controller.rb
|
104
|
+
- app/controllers/commontator/comments_controller.rb~
|
104
105
|
- app/controllers/commontator/comments_controller.rb
|
105
106
|
- app/assets/stylesheets/commontator/application.css
|
106
107
|
- app/assets/stylesheets/commontator/comments.css
|
@@ -112,9 +113,11 @@ files:
|
|
112
113
|
- app/models/commontator/thread.rb~
|
113
114
|
- app/models/commontator/subscription.rb
|
114
115
|
- app/models/commontator/tree.rb~
|
116
|
+
- app/models/commontator/subscription.rb~
|
115
117
|
- app/models/commontator/thread.rb
|
116
118
|
- app/models/commontator/comment.rb
|
117
119
|
- app/models/commontator/comment_observer.rb
|
120
|
+
- app/models/commontator/comment.rb~
|
118
121
|
- app/helpers/commontator/threads_helper.rb
|
119
122
|
- app/helpers/commontator/application_helper.rb
|
120
123
|
- app/views/commontator/subscriptions/subscribe.js.erb
|
@@ -124,18 +127,24 @@ files:
|
|
124
127
|
- app/views/commontator/threads/show.js.erb
|
125
128
|
- app/views/commontator/shared/_thread.html.erb
|
126
129
|
- app/views/commontator/comments/_votes.html.erb
|
130
|
+
- app/views/commontator/comments/_body.html.erb~
|
127
131
|
- app/views/commontator/comments/create.js.erb
|
128
132
|
- app/views/commontator/comments/_show.html.erb
|
129
133
|
- app/views/commontator/comments/_actions.html.erb
|
134
|
+
- app/views/commontator/comments/_show.html.erb~
|
130
135
|
- app/views/commontator/comments/update.js.erb
|
131
136
|
- app/views/commontator/comments/delete.js.erb
|
132
137
|
- app/views/commontator/comments/new.js.erb
|
133
138
|
- app/views/commontator/comments/_body.html.erb
|
134
139
|
- app/views/commontator/comments/edit.js.erb
|
140
|
+
- app/views/commontator/comments/_votes.html.erb~
|
135
141
|
- app/views/commontator/comments/vote.js.erb
|
136
142
|
- app/views/commontator/comments/_form.html.erb
|
143
|
+
- app/views/commontator/comments/_form.html.erb~
|
144
|
+
- app/views/commontator/comments/delete.js.erb~
|
137
145
|
- app/mailers/commontator/subscriptions_mailer.rb
|
138
146
|
- config/routes.rb
|
147
|
+
- config/initializers/commontator.rb~
|
139
148
|
- config/initializers/commontator.rb
|
140
149
|
- db/migrate/0_install.rb
|
141
150
|
- db/migrate/0_install.rb~
|
@@ -143,6 +152,7 @@ files:
|
|
143
152
|
- lib/commontator/version.rb~
|
144
153
|
- lib/commontator/commontable_config.rb
|
145
154
|
- lib/commontator/acts_as_commontator.rb
|
155
|
+
- lib/commontator/acts_as_commontator.rb~
|
146
156
|
- lib/commontator/commontator_config.rb
|
147
157
|
- lib/commontator/acts_as_commontable.rb
|
148
158
|
- lib/commontator/controller_includes.rb
|