commontator 4.10.3 → 4.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +7 -6
- data/app/models/commontator/subscription.rb +4 -2
- data/app/models/commontator/subscription.rb~ +23 -0
- data/app/views/commontator/comments/_votes.html.erb +8 -8
- data/config/locales/{commontator/en.yml → en.yml} +0 -0
- data/lib/commontator/engine.rb +0 -3
- data/lib/commontator/version.rb +1 -1
- data/lib/commontator/version.rb~ +3 -0
- data/spec/controllers/commontator/comments_controller_spec.rb +566 -0
- data/spec/controllers/commontator/comments_controller_spec.rb~ +565 -0
- data/spec/controllers/commontator/subscriptions_controller_spec.rb +102 -0
- data/spec/controllers/commontator/subscriptions_controller_spec.rb~ +101 -0
- data/spec/controllers/commontator/threads_controller_spec.rb +130 -0
- data/spec/controllers/commontator/threads_controller_spec.rb~ +130 -0
- data/spec/dummy/README.md +1 -0
- data/spec/dummy/README.md~ +3 -0
- data/spec/dummy/Rakefile +1 -0
- data/spec/dummy/Rakefile~ +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +1 -0
- data/spec/dummy/app/assets/javascripts/application.js~ +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +1 -0
- data/spec/dummy/app/assets/stylesheets/application.css~ +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +1 -0
- data/spec/dummy/app/controllers/application_controller.rb~ +3 -0
- data/spec/dummy/app/controllers/dummy_models_controller.rb +12 -6
- data/spec/dummy/app/controllers/dummy_models_controller.rb~ +34 -0
- data/spec/dummy/app/helpers/application_helper.rb +4 -3
- data/spec/dummy/app/helpers/application_helper.rb~ +15 -0
- data/spec/dummy/app/models/dummy_model.rb +1 -0
- data/spec/dummy/app/models/dummy_model.rb~ +3 -0
- data/spec/dummy/app/models/dummy_user.rb +2 -1
- data/spec/dummy/app/models/dummy_user.rb~ +13 -0
- data/spec/dummy/app/views/dummy_model/show.html.erb +1 -0
- data/spec/dummy/app/views/dummy_model/show.html.erb~ +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb~ +14 -0
- data/spec/dummy/config.ru +1 -0
- data/spec/dummy/config.ru~ +4 -0
- data/spec/dummy/config/application.rb +1 -0
- data/spec/dummy/config/application.rb~ +26 -0
- data/spec/dummy/config/boot.rb +1 -0
- data/spec/dummy/config/boot.rb~ +5 -0
- data/spec/dummy/config/database.yml +1 -0
- data/spec/dummy/config/database.yml~ +25 -0
- data/spec/dummy/config/environment.rb +1 -0
- data/spec/dummy/config/environment.rb~ +5 -0
- data/spec/dummy/config/environments/development.rb +1 -0
- data/spec/dummy/config/environments/development.rb~ +31 -0
- data/spec/dummy/config/environments/production.rb +1 -0
- data/spec/dummy/config/environments/production.rb~ +82 -0
- data/spec/dummy/config/environments/test.rb +1 -0
- data/spec/dummy/config/environments/test.rb~ +40 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +1 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb~ +7 -0
- data/spec/dummy/config/initializers/commontator.rb +1 -0
- data/spec/dummy/config/initializers/commontator.rb~ +14 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +1 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb~ +4 -0
- data/spec/dummy/config/initializers/inflections.rb +1 -0
- data/spec/dummy/config/initializers/inflections.rb~ +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +1 -0
- data/spec/dummy/config/initializers/mime_types.rb~ +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +1 -0
- data/spec/dummy/config/initializers/secret_token.rb~ +12 -0
- data/spec/dummy/config/initializers/session_store.rb +1 -0
- data/spec/dummy/config/initializers/session_store.rb~ +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +1 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb~ +14 -0
- data/spec/dummy/config/routes.rb +2 -1
- data/spec/dummy/config/routes.rb~ +7 -0
- data/spec/dummy/db/migrate/1_create_dummy_models.rb +1 -0
- data/spec/dummy/db/migrate/1_create_dummy_models.rb~ +7 -0
- data/spec/dummy/db/migrate/2_create_dummy_users.rb +1 -0
- data/spec/dummy/db/migrate/2_create_dummy_users.rb~ +7 -0
- data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb +1 -0
- data/spec/dummy/db/migrate/3_acts_as_votable_migration.rb~ +27 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +33 -119
- data/spec/dummy/log/test.log +33394 -31595
- data/spec/dummy/public/404.html +1 -0
- data/spec/dummy/public/404.html~ +26 -0
- data/spec/dummy/public/422.html +1 -0
- data/spec/dummy/public/422.html~ +26 -0
- data/spec/dummy/public/500.html +1 -0
- data/spec/dummy/public/500.html~ +25 -0
- data/spec/dummy/script/rails +1 -0
- data/spec/dummy/script/rails~ +6 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{72b63dddbc5c995f79af8e3c94904fd9 → 02d4b791eb831cf2057bf4703a1218d1} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{a77b1a9223d168112e1705c29220116f → 0f196a1a50363b0a076ec6e1ee5417f6} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{afa63eb365bdf4f42584b17ac9176b9d → a3fb9025f90ff05a6fd4afc7ded2692c} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{a473b3873e554893372a53d71f5e9879 → c69ee3cc5796188d873574179290a6ef} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{f721383d531f067d82b071e14aed7a92 → e1f674c11941d62aac1764ef3a7134e4} +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/{d2244ccef8e05bb993f75715af0344cc → e85565206c3e5fdf9dfeb367c85557b1} +0 -0
- data/spec/helpers/commontator/application_helper_spec.rb +10 -0
- data/spec/helpers/commontator/application_helper_spec.rb~ +9 -0
- data/spec/lib/commontator/acts_as_commontable_spec.rb +16 -15
- data/spec/lib/commontator/acts_as_commontable_spec.rb~ +25 -0
- data/spec/lib/commontator/acts_as_commontator_spec.rb +17 -16
- data/spec/lib/commontator/acts_as_commontator_spec.rb~ +52 -0
- data/spec/lib/commontator/commontable_config_spec.rb +9 -8
- data/spec/lib/commontator/commontable_config_spec.rb~ +29 -0
- data/spec/lib/commontator/commontator_config_spec.rb +9 -8
- data/spec/lib/commontator/commontator_config_spec.rb~ +29 -0
- data/spec/lib/commontator/controller_includes_spec.rb +10 -7
- data/spec/lib/commontator/controller_includes_spec.rb~ +18 -0
- data/spec/lib/commontator/shared_helper_spec.rb +14 -9
- data/spec/lib/commontator/shared_helper_spec.rb~ +22 -0
- data/spec/lib/commontator_spec.rb +7 -6
- data/spec/lib/commontator_spec.rb~ +26 -0
- data/spec/mailers/commontator/subscriptions_mailer_spec.rb +30 -0
- data/spec/{app/mailers/commontator/subscriptions_mailer_spec.rb → mailers/commontator/subscriptions_mailer_spec.rb~} +12 -12
- data/spec/models/commontator/comment_spec.rb +82 -0
- data/spec/models/commontator/comment_spec.rb~ +82 -0
- data/spec/{app/models → models}/commontator/subscription_spec.rb +14 -13
- data/spec/models/commontator/subscription_spec.rb~ +38 -0
- data/spec/models/commontator/thread_spec.rb +122 -0
- data/spec/{app/models/commontator/thread_spec.rb → models/commontator/thread_spec.rb~} +52 -50
- data/spec/rails_helper.rb +71 -0
- data/spec/rails_helper.rb~ +74 -0
- data/spec/spec_helper.rb +77 -27
- data/spec/spec_helper.rb~ +86 -0
- metadata +184 -78
- data/spec/app/controllers/commontator/comments_controller_spec.rb +0 -582
- data/spec/app/controllers/commontator/subscriptions_controller_spec.rb +0 -99
- data/spec/app/controllers/commontator/threads_controller_spec.rb +0 -127
- data/spec/app/helpers/commontator/application_helper_spec.rb +0 -9
- data/spec/app/models/commontator/comment_spec.rb +0 -73
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/decb63cac838a5314aa0c22a979f5ac9 +0 -0
data/spec/spec_helper.rb
CHANGED
@@ -1,36 +1,86 @@
|
|
1
|
-
|
2
|
-
require File.expand_path('../dummy/config/environment', __FILE__)
|
3
|
-
require 'rails/test_help'
|
4
|
-
require 'minitest/rails'
|
1
|
+
require 'rspec/core'
|
5
2
|
|
6
|
-
#
|
7
|
-
#
|
8
|
-
# require
|
3
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
4
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
5
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
6
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
7
|
+
#
|
8
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
9
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
10
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
11
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
12
|
+
# a separate helper file that requires the additional dependencies and performs
|
13
|
+
# the additional setup, and require it from the spec files that actually need it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
9
33
|
|
10
|
-
#
|
11
|
-
#
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
12
42
|
|
13
|
-
|
43
|
+
# The settings below are suggested to provide a good initial experience
|
44
|
+
# with RSpec, but feel free to customize to your heart's content.
|
45
|
+
# These two settings work together to allow you to limit a spec run
|
46
|
+
# to individual examples or groups you care about by tagging them with
|
47
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
48
|
+
# get run.
|
49
|
+
config.filter_run :focus
|
50
|
+
config.run_all_when_everything_filtered = true
|
14
51
|
|
15
|
-
|
16
|
-
|
17
|
-
|
52
|
+
# Limits the available syntax to the non-monkey patched syntax that is recommended.
|
53
|
+
# For more details, see:
|
54
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
55
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
56
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
57
|
+
config.disable_monkey_patching!
|
18
58
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
59
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
60
|
+
# file, and it's useful to allow more verbose output when running an
|
61
|
+
# individual spec file.
|
62
|
+
if config.files_to_run.one?
|
63
|
+
# Use the documentation formatter for detailed output,
|
64
|
+
# unless a formatter has already been configured
|
65
|
+
# (e.g. via a command-line flag).
|
66
|
+
config.default_formatter = 'doc'
|
67
|
+
end
|
24
68
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
end
|
69
|
+
# Print the 10 slowest examples and example groups at the
|
70
|
+
# end of the spec run, to help surface which specs are running
|
71
|
+
# particularly slow.
|
72
|
+
#config.profile_examples = 10
|
30
73
|
|
31
|
-
|
32
|
-
|
74
|
+
# Run specs in random order to surface order dependencies. If you find an
|
75
|
+
# order dependency and want to debug it, you can fix the order by providing
|
76
|
+
# the seed, which is printed after each run.
|
77
|
+
# --seed 1234
|
78
|
+
config.order = :random
|
33
79
|
|
34
|
-
|
35
|
-
|
80
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
81
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
82
|
+
# test failures related to randomization by passing the same `--seed` value
|
83
|
+
# as the one that triggered the failure.
|
84
|
+
Kernel.srand config.seed
|
36
85
|
end
|
86
|
+
|
@@ -0,0 +1,86 @@
|
|
1
|
+
require 'rspec/core'
|
2
|
+
|
3
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
4
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
5
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause this
|
6
|
+
# file to always be loaded, without a need to explicitly require it in any files.
|
7
|
+
#
|
8
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
9
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
10
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
11
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
12
|
+
# a separate helper file that requires the additional dependencies and performs
|
13
|
+
# the additional setup, and require it from the spec files that actually need it.
|
14
|
+
#
|
15
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
16
|
+
# users commonly want.
|
17
|
+
#
|
18
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
19
|
+
RSpec.configure do |config|
|
20
|
+
# rspec-expectations config goes here. You can use an alternate
|
21
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
22
|
+
# assertions if you prefer.
|
23
|
+
config.expect_with :rspec do |expectations|
|
24
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
25
|
+
# and `failure_message` of custom matchers include text for helper methods
|
26
|
+
# defined using `chain`, e.g.:
|
27
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
28
|
+
# # => "be bigger than 2 and smaller than 4"
|
29
|
+
# ...rather than:
|
30
|
+
# # => "be bigger than 2"
|
31
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
32
|
+
end
|
33
|
+
|
34
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
35
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
36
|
+
config.mock_with :rspec do |mocks|
|
37
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
38
|
+
# a real object. This is generally recommended, and will default to
|
39
|
+
# `true` in RSpec 4.
|
40
|
+
mocks.verify_partial_doubles = true
|
41
|
+
end
|
42
|
+
|
43
|
+
# The settings below are suggested to provide a good initial experience
|
44
|
+
# with RSpec, but feel free to customize to your heart's content.
|
45
|
+
# These two settings work together to allow you to limit a spec run
|
46
|
+
# to individual examples or groups you care about by tagging them with
|
47
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
48
|
+
# get run.
|
49
|
+
config.filter_run :focus
|
50
|
+
config.run_all_when_everything_filtered = true
|
51
|
+
|
52
|
+
# Limits the available syntax to the non-monkey patched syntax that is recommended.
|
53
|
+
# For more details, see:
|
54
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
55
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
56
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
57
|
+
config.disable_monkey_patching!
|
58
|
+
|
59
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
60
|
+
# file, and it's useful to allow more verbose output when running an
|
61
|
+
# individual spec file.
|
62
|
+
if config.files_to_run.one?
|
63
|
+
# Use the documentation formatter for detailed output,
|
64
|
+
# unless a formatter has already been configured
|
65
|
+
# (e.g. via a command-line flag).
|
66
|
+
config.default_formatter = 'doc'
|
67
|
+
end
|
68
|
+
|
69
|
+
# Print the 10 slowest examples and example groups at the
|
70
|
+
# end of the spec run, to help surface which specs are running
|
71
|
+
# particularly slow.
|
72
|
+
config.profile_examples = 10
|
73
|
+
|
74
|
+
# Run specs in random order to surface order dependencies. If you find an
|
75
|
+
# order dependency and want to debug it, you can fix the order by providing
|
76
|
+
# the seed, which is printed after each run.
|
77
|
+
# --seed 1234
|
78
|
+
config.order = :random
|
79
|
+
|
80
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
81
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
82
|
+
# test failures related to randomization by passing the same `--seed` value
|
83
|
+
# as the one that triggered the failure.
|
84
|
+
Kernel.srand config.seed
|
85
|
+
end
|
86
|
+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: commontator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.10.
|
4
|
+
version: 4.10.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: rspec-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- app/mailers/commontator/subscriptions_mailer.rb
|
110
110
|
- app/models/commontator/comment.rb
|
111
111
|
- app/models/commontator/subscription.rb
|
112
|
+
- app/models/commontator/subscription.rb~
|
112
113
|
- app/models/commontator/thread.rb
|
113
114
|
- app/views/commontator/comments/_actions.html.erb
|
114
115
|
- app/views/commontator/comments/_body.html.erb
|
@@ -132,7 +133,7 @@ files:
|
|
132
133
|
- app/views/commontator/threads/_show.js.erb
|
133
134
|
- app/views/commontator/threads/show.js.erb
|
134
135
|
- config/initializers/commontator.rb
|
135
|
-
- config/locales/
|
136
|
+
- config/locales/en.yml
|
136
137
|
- config/routes.rb
|
137
138
|
- db/migrate/0_install_commontator.rb
|
138
139
|
- lib/commontator.rb
|
@@ -146,71 +147,124 @@ files:
|
|
146
147
|
- lib/commontator/security_transgression.rb
|
147
148
|
- lib/commontator/shared_helper.rb
|
148
149
|
- lib/commontator/version.rb
|
150
|
+
- lib/commontator/version.rb~
|
149
151
|
- lib/tasks/commontator_tasks.rake
|
150
|
-
- spec/
|
151
|
-
- spec/
|
152
|
-
- spec/
|
153
|
-
- spec/
|
154
|
-
- spec/
|
155
|
-
- spec/
|
156
|
-
- spec/app/models/commontator/subscription_spec.rb
|
157
|
-
- spec/app/models/commontator/thread_spec.rb
|
152
|
+
- spec/controllers/commontator/comments_controller_spec.rb
|
153
|
+
- spec/controllers/commontator/comments_controller_spec.rb~
|
154
|
+
- spec/controllers/commontator/subscriptions_controller_spec.rb
|
155
|
+
- spec/controllers/commontator/subscriptions_controller_spec.rb~
|
156
|
+
- spec/controllers/commontator/threads_controller_spec.rb
|
157
|
+
- spec/controllers/commontator/threads_controller_spec.rb~
|
158
158
|
- spec/dummy/README.md
|
159
|
+
- spec/dummy/README.md~
|
159
160
|
- spec/dummy/Rakefile
|
161
|
+
- spec/dummy/Rakefile~
|
160
162
|
- spec/dummy/app/assets/javascripts/application.js
|
163
|
+
- spec/dummy/app/assets/javascripts/application.js~
|
161
164
|
- spec/dummy/app/assets/stylesheets/application.css
|
165
|
+
- spec/dummy/app/assets/stylesheets/application.css~
|
162
166
|
- spec/dummy/app/controllers/application_controller.rb
|
167
|
+
- spec/dummy/app/controllers/application_controller.rb~
|
163
168
|
- spec/dummy/app/controllers/dummy_models_controller.rb
|
169
|
+
- spec/dummy/app/controllers/dummy_models_controller.rb~
|
164
170
|
- spec/dummy/app/helpers/application_helper.rb
|
171
|
+
- spec/dummy/app/helpers/application_helper.rb~
|
165
172
|
- spec/dummy/app/models/dummy_model.rb
|
173
|
+
- spec/dummy/app/models/dummy_model.rb~
|
166
174
|
- spec/dummy/app/models/dummy_user.rb
|
175
|
+
- spec/dummy/app/models/dummy_user.rb~
|
167
176
|
- spec/dummy/app/views/dummy_model/show.html.erb
|
177
|
+
- spec/dummy/app/views/dummy_model/show.html.erb~
|
168
178
|
- spec/dummy/app/views/layouts/application.html.erb
|
179
|
+
- spec/dummy/app/views/layouts/application.html.erb~
|
169
180
|
- spec/dummy/config.ru
|
181
|
+
- spec/dummy/config.ru~
|
170
182
|
- spec/dummy/config/application.rb
|
183
|
+
- spec/dummy/config/application.rb~
|
171
184
|
- spec/dummy/config/boot.rb
|
185
|
+
- spec/dummy/config/boot.rb~
|
172
186
|
- spec/dummy/config/database.yml
|
187
|
+
- spec/dummy/config/database.yml~
|
173
188
|
- spec/dummy/config/environment.rb
|
189
|
+
- spec/dummy/config/environment.rb~
|
174
190
|
- spec/dummy/config/environments/development.rb
|
191
|
+
- spec/dummy/config/environments/development.rb~
|
175
192
|
- spec/dummy/config/environments/production.rb
|
193
|
+
- spec/dummy/config/environments/production.rb~
|
176
194
|
- spec/dummy/config/environments/test.rb
|
195
|
+
- spec/dummy/config/environments/test.rb~
|
177
196
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
197
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb~
|
178
198
|
- spec/dummy/config/initializers/commontator.rb
|
199
|
+
- spec/dummy/config/initializers/commontator.rb~
|
179
200
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
201
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb~
|
180
202
|
- spec/dummy/config/initializers/inflections.rb
|
203
|
+
- spec/dummy/config/initializers/inflections.rb~
|
181
204
|
- spec/dummy/config/initializers/mime_types.rb
|
205
|
+
- spec/dummy/config/initializers/mime_types.rb~
|
182
206
|
- spec/dummy/config/initializers/secret_token.rb
|
207
|
+
- spec/dummy/config/initializers/secret_token.rb~
|
183
208
|
- spec/dummy/config/initializers/session_store.rb
|
209
|
+
- spec/dummy/config/initializers/session_store.rb~
|
184
210
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
211
|
+
- spec/dummy/config/initializers/wrap_parameters.rb~
|
185
212
|
- spec/dummy/config/routes.rb
|
186
|
-
- spec/dummy/
|
213
|
+
- spec/dummy/config/routes.rb~
|
187
214
|
- spec/dummy/db/migrate/1_create_dummy_models.rb
|
215
|
+
- spec/dummy/db/migrate/1_create_dummy_models.rb~
|
188
216
|
- spec/dummy/db/migrate/2_create_dummy_users.rb
|
217
|
+
- spec/dummy/db/migrate/2_create_dummy_users.rb~
|
189
218
|
- spec/dummy/db/migrate/3_acts_as_votable_migration.rb
|
219
|
+
- spec/dummy/db/migrate/3_acts_as_votable_migration.rb~
|
190
220
|
- spec/dummy/db/schema.rb
|
191
221
|
- spec/dummy/db/test.sqlite3
|
192
222
|
- spec/dummy/log/development.log
|
193
223
|
- spec/dummy/log/test.log
|
194
224
|
- spec/dummy/public/404.html
|
225
|
+
- spec/dummy/public/404.html~
|
195
226
|
- spec/dummy/public/422.html
|
227
|
+
- spec/dummy/public/422.html~
|
196
228
|
- spec/dummy/public/500.html
|
229
|
+
- spec/dummy/public/500.html~
|
197
230
|
- spec/dummy/public/favicon.ico
|
198
231
|
- spec/dummy/script/rails
|
199
|
-
- spec/dummy/
|
200
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
201
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
202
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
203
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
204
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
205
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
232
|
+
- spec/dummy/script/rails~
|
233
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/02d4b791eb831cf2057bf4703a1218d1
|
234
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0f196a1a50363b0a076ec6e1ee5417f6
|
235
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a3fb9025f90ff05a6fd4afc7ded2692c
|
236
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609
|
237
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/c69ee3cc5796188d873574179290a6ef
|
238
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e1f674c11941d62aac1764ef3a7134e4
|
239
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e85565206c3e5fdf9dfeb367c85557b1
|
240
|
+
- spec/helpers/commontator/application_helper_spec.rb
|
241
|
+
- spec/helpers/commontator/application_helper_spec.rb~
|
206
242
|
- spec/lib/commontator/acts_as_commontable_spec.rb
|
243
|
+
- spec/lib/commontator/acts_as_commontable_spec.rb~
|
207
244
|
- spec/lib/commontator/acts_as_commontator_spec.rb
|
245
|
+
- spec/lib/commontator/acts_as_commontator_spec.rb~
|
208
246
|
- spec/lib/commontator/commontable_config_spec.rb
|
247
|
+
- spec/lib/commontator/commontable_config_spec.rb~
|
209
248
|
- spec/lib/commontator/commontator_config_spec.rb
|
249
|
+
- spec/lib/commontator/commontator_config_spec.rb~
|
210
250
|
- spec/lib/commontator/controller_includes_spec.rb
|
251
|
+
- spec/lib/commontator/controller_includes_spec.rb~
|
211
252
|
- spec/lib/commontator/shared_helper_spec.rb
|
253
|
+
- spec/lib/commontator/shared_helper_spec.rb~
|
212
254
|
- spec/lib/commontator_spec.rb
|
255
|
+
- spec/lib/commontator_spec.rb~
|
256
|
+
- spec/mailers/commontator/subscriptions_mailer_spec.rb
|
257
|
+
- spec/mailers/commontator/subscriptions_mailer_spec.rb~
|
258
|
+
- spec/models/commontator/comment_spec.rb
|
259
|
+
- spec/models/commontator/comment_spec.rb~
|
260
|
+
- spec/models/commontator/subscription_spec.rb
|
261
|
+
- spec/models/commontator/subscription_spec.rb~
|
262
|
+
- spec/models/commontator/thread_spec.rb
|
263
|
+
- spec/models/commontator/thread_spec.rb~
|
264
|
+
- spec/rails_helper.rb
|
265
|
+
- spec/rails_helper.rb~
|
213
266
|
- spec/spec_helper.rb
|
267
|
+
- spec/spec_helper.rb~
|
214
268
|
homepage: http://github.com/lml/commontator
|
215
269
|
licenses:
|
216
270
|
- MIT
|
@@ -236,67 +290,119 @@ signing_key:
|
|
236
290
|
specification_version: 4
|
237
291
|
summary: Allows users to comment on any model in your application.
|
238
292
|
test_files:
|
239
|
-
- spec/
|
240
|
-
- spec/
|
241
|
-
- spec/
|
242
|
-
- spec/
|
243
|
-
- spec/
|
244
|
-
- spec/
|
245
|
-
- spec/
|
246
|
-
- spec/
|
247
|
-
- spec/
|
248
|
-
- spec/
|
249
|
-
- spec/
|
250
|
-
- spec/
|
251
|
-
- spec/
|
252
|
-
- spec/
|
253
|
-
- spec/
|
254
|
-
- spec/
|
255
|
-
- spec/
|
256
|
-
- spec/
|
257
|
-
- spec/
|
258
|
-
- spec/
|
259
|
-
- spec/
|
260
|
-
- spec/
|
261
|
-
- spec/
|
262
|
-
- spec/
|
263
|
-
- spec/
|
264
|
-
- spec/
|
265
|
-
- spec/
|
266
|
-
- spec/
|
267
|
-
- spec/
|
268
|
-
- spec/
|
269
|
-
- spec/
|
270
|
-
- spec/
|
271
|
-
- spec/
|
293
|
+
- spec/mailers/commontator/subscriptions_mailer_spec.rb
|
294
|
+
- spec/mailers/commontator/subscriptions_mailer_spec.rb~
|
295
|
+
- spec/spec_helper.rb~
|
296
|
+
- spec/controllers/commontator/subscriptions_controller_spec.rb~
|
297
|
+
- spec/controllers/commontator/comments_controller_spec.rb~
|
298
|
+
- spec/controllers/commontator/comments_controller_spec.rb
|
299
|
+
- spec/controllers/commontator/subscriptions_controller_spec.rb
|
300
|
+
- spec/controllers/commontator/threads_controller_spec.rb~
|
301
|
+
- spec/controllers/commontator/threads_controller_spec.rb
|
302
|
+
- spec/models/commontator/subscription_spec.rb
|
303
|
+
- spec/models/commontator/thread_spec.rb~
|
304
|
+
- spec/models/commontator/comment_spec.rb
|
305
|
+
- spec/models/commontator/comment_spec.rb~
|
306
|
+
- spec/models/commontator/thread_spec.rb
|
307
|
+
- spec/models/commontator/subscription_spec.rb~
|
308
|
+
- spec/lib/commontator_spec.rb
|
309
|
+
- spec/lib/commontator_spec.rb~
|
310
|
+
- spec/lib/commontator/acts_as_commontable_spec.rb
|
311
|
+
- spec/lib/commontator/shared_helper_spec.rb
|
312
|
+
- spec/lib/commontator/commontable_config_spec.rb
|
313
|
+
- spec/lib/commontator/commontable_config_spec.rb~
|
314
|
+
- spec/lib/commontator/controller_includes_spec.rb~
|
315
|
+
- spec/lib/commontator/controller_includes_spec.rb
|
316
|
+
- spec/lib/commontator/commontator_config_spec.rb~
|
317
|
+
- spec/lib/commontator/commontator_config_spec.rb
|
318
|
+
- spec/lib/commontator/acts_as_commontator_spec.rb~
|
319
|
+
- spec/lib/commontator/shared_helper_spec.rb~
|
320
|
+
- spec/lib/commontator/acts_as_commontable_spec.rb~
|
321
|
+
- spec/lib/commontator/acts_as_commontator_spec.rb
|
322
|
+
- spec/spec_helper.rb
|
323
|
+
- spec/rails_helper.rb
|
324
|
+
- spec/helpers/commontator/application_helper_spec.rb~
|
325
|
+
- spec/helpers/commontator/application_helper_spec.rb
|
326
|
+
- spec/rails_helper.rb~
|
327
|
+
- spec/dummy/public/404.html~
|
328
|
+
- spec/dummy/public/422.html
|
329
|
+
- spec/dummy/public/500.html~
|
330
|
+
- spec/dummy/public/404.html
|
331
|
+
- spec/dummy/public/422.html~
|
332
|
+
- spec/dummy/public/500.html
|
333
|
+
- spec/dummy/public/favicon.ico
|
334
|
+
- spec/dummy/Rakefile
|
272
335
|
- spec/dummy/config.ru
|
273
|
-
- spec/dummy/
|
336
|
+
- spec/dummy/log/test.log
|
337
|
+
- spec/dummy/log/development.log
|
338
|
+
- spec/dummy/db/schema.rb
|
339
|
+
- spec/dummy/db/migrate/1_create_dummy_models.rb~
|
340
|
+
- spec/dummy/db/migrate/3_acts_as_votable_migration.rb~
|
341
|
+
- spec/dummy/db/migrate/2_create_dummy_users.rb~
|
274
342
|
- spec/dummy/db/migrate/1_create_dummy_models.rb
|
275
343
|
- spec/dummy/db/migrate/2_create_dummy_users.rb
|
276
344
|
- spec/dummy/db/migrate/3_acts_as_votable_migration.rb
|
277
|
-
- spec/dummy/db/schema.rb
|
278
345
|
- spec/dummy/db/test.sqlite3
|
279
|
-
- spec/dummy/
|
280
|
-
- spec/dummy/log/test.log
|
281
|
-
- spec/dummy/public/404.html
|
282
|
-
- spec/dummy/public/422.html
|
283
|
-
- spec/dummy/public/500.html
|
284
|
-
- spec/dummy/public/favicon.ico
|
285
|
-
- spec/dummy/Rakefile
|
286
|
-
- spec/dummy/README.md
|
346
|
+
- spec/dummy/script/rails~
|
287
347
|
- spec/dummy/script/rails
|
288
|
-
- spec/dummy/
|
289
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
290
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
291
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
292
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
293
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
294
|
-
- spec/dummy/tmp/cache/assets/test/sprockets/
|
295
|
-
- spec/
|
296
|
-
- spec/
|
297
|
-
- spec/
|
298
|
-
- spec/
|
299
|
-
- spec/
|
300
|
-
- spec/
|
301
|
-
- spec/
|
302
|
-
- spec/
|
348
|
+
- spec/dummy/README.md~
|
349
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a3fb9025f90ff05a6fd4afc7ded2692c
|
350
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/a41c8be5379abec3c0d0d98e2f0d5609
|
351
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e85565206c3e5fdf9dfeb367c85557b1
|
352
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/02d4b791eb831cf2057bf4703a1218d1
|
353
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/e1f674c11941d62aac1764ef3a7134e4
|
354
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/c69ee3cc5796188d873574179290a6ef
|
355
|
+
- spec/dummy/tmp/cache/assets/test/sprockets/0f196a1a50363b0a076ec6e1ee5417f6
|
356
|
+
- spec/dummy/README.md
|
357
|
+
- spec/dummy/config.ru~
|
358
|
+
- spec/dummy/config/routes.rb~
|
359
|
+
- spec/dummy/config/routes.rb
|
360
|
+
- spec/dummy/config/database.yml
|
361
|
+
- spec/dummy/config/boot.rb
|
362
|
+
- spec/dummy/config/environment.rb
|
363
|
+
- spec/dummy/config/initializers/wrap_parameters.rb~
|
364
|
+
- spec/dummy/config/initializers/session_store.rb~
|
365
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
366
|
+
- spec/dummy/config/initializers/commontator.rb~
|
367
|
+
- spec/dummy/config/initializers/inflections.rb
|
368
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb~
|
369
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
370
|
+
- spec/dummy/config/initializers/mime_types.rb
|
371
|
+
- spec/dummy/config/initializers/inflections.rb~
|
372
|
+
- spec/dummy/config/initializers/mime_types.rb~
|
373
|
+
- spec/dummy/config/initializers/secret_token.rb~
|
374
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb~
|
375
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
376
|
+
- spec/dummy/config/initializers/commontator.rb
|
377
|
+
- spec/dummy/config/initializers/secret_token.rb
|
378
|
+
- spec/dummy/config/initializers/session_store.rb
|
379
|
+
- spec/dummy/config/application.rb
|
380
|
+
- spec/dummy/config/environments/development.rb
|
381
|
+
- spec/dummy/config/environments/test.rb
|
382
|
+
- spec/dummy/config/environments/test.rb~
|
383
|
+
- spec/dummy/config/environments/development.rb~
|
384
|
+
- spec/dummy/config/environments/production.rb~
|
385
|
+
- spec/dummy/config/environments/production.rb
|
386
|
+
- spec/dummy/config/boot.rb~
|
387
|
+
- spec/dummy/config/environment.rb~
|
388
|
+
- spec/dummy/config/database.yml~
|
389
|
+
- spec/dummy/config/application.rb~
|
390
|
+
- spec/dummy/Rakefile~
|
391
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
392
|
+
- spec/dummy/app/assets/stylesheets/application.css~
|
393
|
+
- spec/dummy/app/assets/javascripts/application.js~
|
394
|
+
- spec/dummy/app/assets/javascripts/application.js
|
395
|
+
- spec/dummy/app/controllers/application_controller.rb
|
396
|
+
- spec/dummy/app/controllers/dummy_models_controller.rb~
|
397
|
+
- spec/dummy/app/controllers/dummy_models_controller.rb
|
398
|
+
- spec/dummy/app/controllers/application_controller.rb~
|
399
|
+
- spec/dummy/app/models/dummy_model.rb~
|
400
|
+
- spec/dummy/app/models/dummy_user.rb~
|
401
|
+
- spec/dummy/app/models/dummy_model.rb
|
402
|
+
- spec/dummy/app/models/dummy_user.rb
|
403
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
404
|
+
- spec/dummy/app/views/layouts/application.html.erb~
|
405
|
+
- spec/dummy/app/views/dummy_model/show.html.erb
|
406
|
+
- spec/dummy/app/views/dummy_model/show.html.erb~
|
407
|
+
- spec/dummy/app/helpers/application_helper.rb
|
408
|
+
- spec/dummy/app/helpers/application_helper.rb~
|