commontator 0.1.46 → 0.2.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.
- data/MIT-LICENSE +1 -1
- data/README.md +99 -8
- data/app/mailers/commontator/subscriptions_mailer.rb +1 -4
- data/app/mailers/commontator/subscriptions_mailer.rb~ +1 -3
- data/app/models/commontator/comment.rb +0 -2
- data/app/models/commontator/comment.rb~ +1 -1
- data/app/models/commontator/subscription.rb +0 -2
- data/app/models/commontator/subscription.rb~ +2 -2
- data/app/models/commontator/thread.rb +22 -17
- data/app/models/commontator/thread.rb~ +22 -20
- data/config/initializers/commontator.rb +160 -3
- data/config/initializers/commontator.rb~ +164 -0
- data/db/migrate/{0_install_commontator.rb → 0_install.rb} +8 -0
- data/db/migrate/0_install_commontator.rb~ +9 -1
- data/lib/commontator.rb +46 -49
- data/lib/commontator.rb~ +46 -49
- data/lib/commontator/commontable_config.rb +2 -2
- data/lib/commontator/commontable_config.rb~ +13 -0
- data/lib/commontator/commontator_config.rb +2 -2
- data/lib/commontator/commontator_config.rb~ +13 -0
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +1 -1
- data/lib/tasks/commontator_tasks.rake +38 -0
- data/lib/tasks/commontator_tasks.rake~ +39 -0
- data/test/dummy/config/initializers/commontator.rb +164 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/1_install.commontator.rb +49 -0
- data/test/dummy/db/schema.rb +46 -1
- data/test/dummy/log/development.log +72 -0
- metadata +11 -3
- data/app/views/layouts/commontator/application.html.erb +0 -14
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.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -87,7 +87,6 @@ files:
|
|
87
87
|
- app/mailers/commontator/subscriptions_mailer.rb~
|
88
88
|
- app/mailers/commontator/subscription_mailer.rb~
|
89
89
|
- app/mailers/commontator/subscriptions_mailer.rb
|
90
|
-
- app/views/layouts/commontator/application.html.erb
|
91
90
|
- app/views/commontator/comments/_body.html.erb
|
92
91
|
- app/views/commontator/comments/_show.html.erb~
|
93
92
|
- app/views/commontator/comments/_votes.html.erb~
|
@@ -149,13 +148,17 @@ files:
|
|
149
148
|
- app/helpers/commontator/commontator_helper.rb
|
150
149
|
- app/helpers/commontator/application_helper.rb
|
151
150
|
- config/initializers/commontator.rb
|
151
|
+
- config/initializers/commontator.rb~
|
152
152
|
- config/routes.rb~
|
153
153
|
- config/routes.rb
|
154
154
|
- db/migrate/0_install_commontator.rb~
|
155
|
-
- db/migrate/
|
155
|
+
- db/migrate/0_install.rb
|
156
156
|
- lib/commontator.rb
|
157
157
|
- lib/commontator.rb~
|
158
|
+
- lib/tasks/commontator_tasks.rake~
|
159
|
+
- lib/tasks/commontator_tasks.rake
|
158
160
|
- lib/commontator/acts_as_commontable.rb
|
161
|
+
- lib/commontator/commontator_config.rb~
|
159
162
|
- lib/commontator/version.rb
|
160
163
|
- lib/commontator/engine.rb
|
161
164
|
- lib/commontator/acts_as_commontator.rb~
|
@@ -164,6 +167,7 @@ files:
|
|
164
167
|
- lib/commontator/version.rb~
|
165
168
|
- lib/commontator/routes.rb~
|
166
169
|
- lib/commontator/acts_as_commontator.rb
|
170
|
+
- lib/commontator/commontable_config.rb~
|
167
171
|
- lib/commontator/commontator_config.rb
|
168
172
|
- MIT-LICENSE
|
169
173
|
- Rakefile
|
@@ -193,6 +197,7 @@ files:
|
|
193
197
|
- test/dummy/db/development.sqlite3
|
194
198
|
- test/dummy/db/test.sqlite3
|
195
199
|
- test/dummy/db/schema.rb
|
200
|
+
- test/dummy/db/migrate/1_install.commontator.rb
|
196
201
|
- test/dummy/Rakefile
|
197
202
|
- test/dummy/script/rails
|
198
203
|
- test/dummy/app/assets/stylesheets/application.css
|
@@ -209,6 +214,7 @@ files:
|
|
209
214
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
210
215
|
- test/dummy/config/initializers/mime_types.rb
|
211
216
|
- test/dummy/config/initializers/wrap_parameters.rb
|
217
|
+
- test/dummy/config/initializers/commontator.rb
|
212
218
|
- test/dummy/config/initializers/secret_token.rb
|
213
219
|
- test/dummy/config/initializers/session_store.rb
|
214
220
|
- test/dummy/config/initializers/inflections.rb
|
@@ -271,6 +277,7 @@ test_files:
|
|
271
277
|
- test/dummy/db/development.sqlite3
|
272
278
|
- test/dummy/db/test.sqlite3
|
273
279
|
- test/dummy/db/schema.rb
|
280
|
+
- test/dummy/db/migrate/1_install.commontator.rb
|
274
281
|
- test/dummy/Rakefile
|
275
282
|
- test/dummy/script/rails
|
276
283
|
- test/dummy/app/assets/stylesheets/application.css
|
@@ -287,6 +294,7 @@ test_files:
|
|
287
294
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
288
295
|
- test/dummy/config/initializers/mime_types.rb
|
289
296
|
- test/dummy/config/initializers/wrap_parameters.rb
|
297
|
+
- test/dummy/config/initializers/commontator.rb
|
290
298
|
- test/dummy/config/initializers/secret_token.rb
|
291
299
|
- test/dummy/config/initializers/session_store.rb
|
292
300
|
- test/dummy/config/initializers/inflections.rb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Commontator</title>
|
5
|
-
<%= stylesheet_link_tag "commontator/application", :media => "all" %>
|
6
|
-
<%= javascript_include_tag "commontator/application" %>
|
7
|
-
<%= csrf_meta_tags %>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
|
11
|
-
<%= yield %>
|
12
|
-
|
13
|
-
</body>
|
14
|
-
</html>
|