tasuku 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +82 -0
- data/Rakefile +28 -0
- data/app/assets/javascripts/tasks/application.js +13 -0
- data/app/assets/stylesheets/tasks/application.css +15 -0
- data/app/controllers/tasks/application_controller.rb +13 -0
- data/app/controllers/tasks/taskables/image/responses_controller.rb +32 -0
- data/app/controllers/tasks/taskables/questions/answers_controller.rb +37 -0
- data/app/controllers/tasks/taskables/text/responses_controller.rb +32 -0
- data/app/controllers/tasks/taskables/url/responses_controller.rb +32 -0
- data/app/controllers/tasks/taskables/verifications/confirmations_controller.rb +28 -0
- data/app/controllers/tasks/tasks_controller.rb +7 -0
- data/app/helpers/tasks/application_helper.rb +7 -0
- data/app/helpers/tasks/taskables/verifications_helper.rb +18 -0
- data/app/models/tasks/task.rb +5 -0
- data/app/models/tasks/taskables.rb +7 -0
- data/app/models/tasks/taskables/image.rb +7 -0
- data/app/models/tasks/taskables/image/request.rb +7 -0
- data/app/models/tasks/taskables/image/response.rb +17 -0
- data/app/models/tasks/taskables/question.rb +7 -0
- data/app/models/tasks/taskables/question/answer.rb +39 -0
- data/app/models/tasks/taskables/question/option.rb +7 -0
- data/app/models/tasks/taskables/question/vote.rb +6 -0
- data/app/models/tasks/taskables/taskable.rb +31 -0
- data/app/models/tasks/taskables/taskable/response.rb +9 -0
- data/app/models/tasks/taskables/taskable/submission.rb +39 -0
- data/app/models/tasks/taskables/text.rb +7 -0
- data/app/models/tasks/taskables/text/request.rb +7 -0
- data/app/models/tasks/taskables/text/response.rb +15 -0
- data/app/models/tasks/taskables/url.rb +7 -0
- data/app/models/tasks/taskables/url/request.rb +5 -0
- data/app/models/tasks/taskables/url/response.rb +18 -0
- data/app/models/tasks/taskables/verification.rb +7 -0
- data/app/models/tasks/taskables/verification/confirmation.rb +12 -0
- data/app/uploaders/tasks/image_uploader.rb +58 -0
- data/app/views/tasks/taskables/image/requests/_request.html.erb +19 -0
- data/app/views/tasks/taskables/image/responses/_form.html.erb +8 -0
- data/app/views/tasks/taskables/image/responses/create.html.erb +2 -0
- data/app/views/tasks/taskables/questions/_question.html.erb +27 -0
- data/app/views/tasks/taskables/questions/answers/_form.html.erb +16 -0
- data/app/views/tasks/taskables/questions/answers/_statistics.html.erb +26 -0
- data/app/views/tasks/taskables/text/requests/_request.html.erb +19 -0
- data/app/views/tasks/taskables/text/responses/_form.html.erb +5 -0
- data/app/views/tasks/taskables/text/responses/create.html.erb +2 -0
- data/app/views/tasks/taskables/url/requests/_request.html.erb +19 -0
- data/app/views/tasks/taskables/url/responses/_form.html.erb +5 -0
- data/app/views/tasks/taskables/url/responses/create.html.erb +2 -0
- data/app/views/tasks/taskables/verifications/_verification.html.erb +1 -0
- data/app/views/tasks/taskables/verifications/confirmations/_form.html.erb +3 -0
- data/app/views/tasks/tasks/_task.html.erb +3 -0
- data/app/views/tasks/tasks/show.html.erb +1 -0
- data/config/locales/en.yml +24 -0
- data/config/locales/nb.yml +122 -0
- data/config/routes.rb +35 -0
- data/db/migrate/20140315151838_create_tasks_tasks.rb +9 -0
- data/db/migrate/20140315152116_create_tasks_taskables_verifications.rb +11 -0
- data/db/migrate/20140315153512_create_tasks_taskables_verification_confirmations.rb +13 -0
- data/db/migrate/20140316203422_create_tasks_taskables_questions.rb +9 -0
- data/db/migrate/20140316203812_create_tasks_taskables_question_options.rb +10 -0
- data/db/migrate/20140316204119_create_tasks_taskables_question_answers.rb +12 -0
- data/db/migrate/20140316221703_remove_unique_constraint_on_task_taskable_question_answer_index.rb +6 -0
- data/db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb +6 -0
- data/db/migrate/20140402132837_create_tasks_taskables_image_requests.rb +9 -0
- data/db/migrate/20140402135306_create_tasks_taskables_image_responses.rb +13 -0
- data/db/migrate/20140403090537_remove_unique_constraint_on_image_response_author.rb +6 -0
- data/db/migrate/20140404113158_add_description_to_taskables_questions.rb +5 -0
- data/db/migrate/20140404130151_add_description_to_tasks_taskables_image_requests.rb +5 -0
- data/db/migrate/20140512072931_create_tasks_taskables_url_requests.rb +10 -0
- data/db/migrate/20140512074135_create_tasks_taskables_url_responses.rb +13 -0
- data/db/migrate/20140512120632_create_tasks_taskables_question_votes.rb +10 -0
- data/db/migrate/20140512121254_add_multiple_to_question.rb +5 -0
- data/db/migrate/20140512131526_remove_option_id_from_questions.rb +21 -0
- data/db/migrate/20140514082129_create_tasks_taskables_text_requests.rb +10 -0
- data/db/migrate/20140514082143_create_tasks_taskables_text_responses.rb +13 -0
- data/db/migrate/20140520122938_add_correct_to_tasks_taskables_question_option.rb +5 -0
- data/db/migrate/20140521134515_add_show_statistics_to_tasks_taskables_question.rb +5 -0
- data/db/migrate/20140523091152_add_images.rb +8 -0
- data/db/migrate/20140604075046_add_obligatory_to_tasks_task.rb +5 -0
- data/db/migrate/20140605095241_create_tasks_taskables_taskable_responses.rb +10 -0
- data/db/migrate/20140605124021_add_task_to_response.rb +6 -0
- data/db/migrate/20140606072225_migrate_existing_date.rb +15 -0
- data/lib/generators/tasks/install/USAGE +8 -0
- data/lib/generators/tasks/install/install_generator.rb +23 -0
- data/lib/generators/tasks/install/templates/tasks.rb +3 -0
- data/lib/generators/tasks/views/USAGE +5 -0
- data/lib/generators/tasks/views/views_generator.rb +9 -0
- data/lib/tasks.rb +20 -0
- data/lib/tasks/concerns.rb +7 -0
- data/lib/tasks/concerns/controllers.rb +5 -0
- data/lib/tasks/concerns/controllers/tasks_controller.rb +18 -0
- data/lib/tasks/concerns/illustratable.rb +9 -0
- data/lib/tasks/concerns/models.rb +4 -0
- data/lib/tasks/concerns/models/task.rb +25 -0
- data/lib/tasks/concerns/models/taskables.rb +7 -0
- data/lib/tasks/concerns/models/taskables/image.rb +3 -0
- data/lib/tasks/concerns/models/taskables/image/request.rb +18 -0
- data/lib/tasks/concerns/models/taskables/question.rb +31 -0
- data/lib/tasks/concerns/models/taskables/text.rb +3 -0
- data/lib/tasks/concerns/models/taskables/text/request.rb +18 -0
- data/lib/tasks/concerns/models/taskables/url.rb +3 -0
- data/lib/tasks/concerns/models/taskables/url/request.rb +18 -0
- data/lib/tasks/concerns/models/taskables/verification.rb +20 -0
- data/lib/tasks/concerns/redirectable.rb +11 -0
- data/lib/tasks/concerns/verifiable.rb +9 -0
- data/lib/tasks/engine.rb +22 -0
- data/lib/tasks/seeds.rb +13 -0
- data/lib/tasks/tasks_tasks.rake +4 -0
- data/lib/tasks/version.rb +3 -0
- data/lib/tasuku.rb +1 -0
- data/spec/controllers/tasks/taskables/image/responses_controller_spec.rb +37 -0
- data/spec/controllers/tasks/taskables/questions/answers_controller_spec.rb +39 -0
- data/spec/controllers/tasks/taskables/text/responses_controller_spec.rb +37 -0
- data/spec/controllers/tasks/taskables/verifications/confirmations_controller_spec.rb +38 -0
- data/spec/controllers/tasks/tasks_controller_spec.rb +17 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/helpers/application_helper.rb +5 -0
- data/spec/dummy/app/models/article.rb +3 -0
- data/spec/dummy/app/models/user.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +17 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +30 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/migrate/20140315162017_create_users.rb +8 -0
- data/spec/dummy/db/migrate/20140315185502_create_articles.rb +8 -0
- data/spec/dummy/db/schema.rb +166 -0
- data/spec/dummy/db/seeds.rb +3 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +90 -0
- data/spec/dummy/log/test.log +2568 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/tasks/taskables/image/request/image/1/doge.jpg +0 -0
- data/spec/dummy/public/uploads/tasks/taskables/image/response/image/1/doge.jpg +0 -0
- data/spec/dummy/public/uploads/tasks/taskables/question/image/1/doge.jpg +0 -0
- data/spec/dummy/public/uploads/tasks/taskables/text/request/image/1/doge.jpg +0 -0
- data/spec/dummy/public/uploads/tasks/taskables/url/request/image/1/doge.jpg +0 -0
- data/spec/dummy/spec/factories/articles.rb +6 -0
- data/spec/dummy/spec/factories/users.rb +6 -0
- data/spec/dummy/spec/models/article_spec.rb +4 -0
- data/spec/dummy/spec/models/user_spec.rb +4 -0
- data/spec/factories/tasks_taskables_image_requests.rb +7 -0
- data/spec/factories/tasks_taskables_image_responses.rb +8 -0
- data/spec/factories/tasks_taskables_question_answers.rb +17 -0
- data/spec/factories/tasks_taskables_question_options.rb +10 -0
- data/spec/factories/tasks_taskables_question_votes.rb +8 -0
- data/spec/factories/tasks_taskables_questions.rb +19 -0
- data/spec/factories/tasks_taskables_taskable_responses.rb +8 -0
- data/spec/factories/tasks_taskables_text_requests.rb +5 -0
- data/spec/factories/tasks_taskables_text_responses.rb +6 -0
- data/spec/factories/tasks_taskables_url_requests.rb +8 -0
- data/spec/factories/tasks_taskables_url_responses.rb +9 -0
- data/spec/factories/tasks_taskables_verification_confirmations.rb +8 -0
- data/spec/factories/tasks_taskables_verifications.rb +7 -0
- data/spec/factories/tasks_tasks.rb +14 -0
- data/spec/fixtures/doge.jpg +0 -0
- data/spec/helpers/tasks/taskables/verifications_helper_spec.rb +20 -0
- data/spec/lib/generators/views_generators_spec.rb +22 -0
- data/spec/lib/tasks/concerns/verifiable_spec.rb +23 -0
- data/spec/models/tasks/task_spec.rb +20 -0
- data/spec/models/tasks/taskables/image/request_spec.rb +6 -0
- data/spec/models/tasks/taskables/image/response_spec.rb +18 -0
- data/spec/models/tasks/taskables/question/answer_spec.rb +91 -0
- data/spec/models/tasks/taskables/question/option_spec.rb +6 -0
- data/spec/models/tasks/taskables/question/vote_spec.rb +6 -0
- data/spec/models/tasks/taskables/question_spec.rb +18 -0
- data/spec/models/tasks/taskables/taskable/response_spec.rb +7 -0
- data/spec/models/tasks/taskables/taskable/submission_spec.rb +30 -0
- data/spec/models/tasks/taskables/taskable_spec.rb +49 -0
- data/spec/models/tasks/taskables/text/request_spec.rb +6 -0
- data/spec/models/tasks/taskables/text/response_spec.rb +17 -0
- data/spec/models/tasks/taskables/url/request_spec.rb +6 -0
- data/spec/models/tasks/taskables/url/response_spec.rb +6 -0
- data/spec/models/tasks/taskables/verification/confirmation_spec.rb +6 -0
- data/spec/models/tasks/taskables/verification_spec.rb +18 -0
- data/spec/spec_helper.rb +31 -0
- data/spec/support/fixture.rb +3 -0
- data/spec/support/shared_examples_for_redirectable.rb +37 -0
- data/spec/support/trackable_submission_spec.rb +14 -0
- data/spec/views/tasks/taskables/image/requests/_request.html.erb_spec.rb +35 -0
- data/spec/views/tasks/taskables/image/responses/create.html.erb_spec.rb +4 -0
- data/spec/views/tasks/taskables/questions/_question.html.erb_spec.rb +35 -0
- data/spec/views/tasks/taskables/questions/answers/_form.html.erb_spec.rb +18 -0
- data/spec/views/tasks/taskables/text/requests/_request.html.erb_spec.rb +35 -0
- data/spec/views/tasks/taskables/url/requests/_request.html.erb_spec.rb +35 -0
- data/spec/views/tasks/taskables/verifications/confirmations/_form.html.erb_spec.rb +17 -0
- data/spec/views/tasks/tasks/show.html.erb_spec.rb +4 -0
- metadata +550 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/image/requests/_request.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
|
6
|
+
context 'for image requests that have an image' do
|
7
|
+
let(:image_request) { create :image_request, image: fixture("doge.jpg") }
|
8
|
+
|
9
|
+
before do
|
10
|
+
render partial: 'tasks/taskables/image/requests/request.html.erb', locals: {
|
11
|
+
request: image_request,
|
12
|
+
current_author: user
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'renders the image' do
|
17
|
+
expect(rendered).to have_xpath "//img[contains(@src, \"#{image_request.image.url}\")]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'for image requests that have no image' do
|
22
|
+
let(:image_request) { create :image_request }
|
23
|
+
|
24
|
+
before do
|
25
|
+
render partial: 'tasks/taskables/image/requests/request.html.erb', locals: {
|
26
|
+
request: image_request,
|
27
|
+
current_author: user
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'does not renders an image' do
|
32
|
+
expect(rendered).not_to have_xpath "//img"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/questions/_question.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
|
6
|
+
context 'for questions that have an image' do
|
7
|
+
let(:question) { create :question_with_options, image: fixture("doge.jpg") }
|
8
|
+
|
9
|
+
before do
|
10
|
+
render partial: 'tasks/taskables/questions/question.html.erb', locals: {
|
11
|
+
question: question,
|
12
|
+
current_author: user
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'renders the image' do
|
17
|
+
expect(rendered).to have_xpath "//img[contains(@src, \"#{question.image.url}\")]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'for questions that have no image' do
|
22
|
+
let(:question) { create :question_with_options }
|
23
|
+
|
24
|
+
before do
|
25
|
+
render partial: 'tasks/taskables/questions/question.html.erb', locals: {
|
26
|
+
question: question,
|
27
|
+
current_author: user
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'does not renders an image' do
|
32
|
+
expect(rendered).not_to have_xpath "//img"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/questions/answers/_form.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
let(:question) { create :question_with_options }
|
6
|
+
|
7
|
+
before do
|
8
|
+
render partial: 'tasks/taskables/questions/answers/form.html.erb', locals: {
|
9
|
+
question: question
|
10
|
+
}
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'renders a radio button for each option' do
|
14
|
+
question.options.each do |option|
|
15
|
+
expect(rendered).to match option.text
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/text/requests/_request.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
|
6
|
+
context 'for text requests that have an image' do
|
7
|
+
let(:text_request) { create :text_request, image: fixture("doge.jpg") }
|
8
|
+
|
9
|
+
before do
|
10
|
+
render partial: 'tasks/taskables/text/requests/request.html.erb', locals: {
|
11
|
+
request: text_request,
|
12
|
+
current_author: user
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'renders the image' do
|
17
|
+
expect(rendered).to have_xpath "//img[contains(@src, \"#{text_request.image.url}\")]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'for text requests that have no image' do
|
22
|
+
let(:text_request) { create :text_request }
|
23
|
+
|
24
|
+
before do
|
25
|
+
render partial: 'tasks/taskables/text/requests/request.html.erb', locals: {
|
26
|
+
request: text_request,
|
27
|
+
current_author: user
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'does not renders an image' do
|
32
|
+
expect(rendered).not_to have_xpath "//img"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/url/requests/_request.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
|
6
|
+
context 'for url requests that have an image' do
|
7
|
+
let(:url_request) { create :url_request, image: fixture("doge.jpg") }
|
8
|
+
|
9
|
+
before do
|
10
|
+
render partial: 'tasks/taskables/url/requests/request.html.erb', locals: {
|
11
|
+
request: url_request,
|
12
|
+
current_author: user
|
13
|
+
}
|
14
|
+
end
|
15
|
+
|
16
|
+
it 'renders the image' do
|
17
|
+
expect(rendered).to have_xpath "//img[contains(@src, \"#{url_request.image.url}\")]"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'for url requests that have no image' do
|
22
|
+
let(:url_request) { create :url_request }
|
23
|
+
|
24
|
+
before do
|
25
|
+
render partial: 'tasks/taskables/url/requests/request.html.erb', locals: {
|
26
|
+
request: url_request,
|
27
|
+
current_author: user
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'does not renders an image' do
|
32
|
+
expect(rendered).not_to have_xpath "//img"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'tasks/taskables/verifications/confirmations/_form.html.erb' do
|
4
|
+
let(:user) { create :user }
|
5
|
+
let(:verification) { create :verification }
|
6
|
+
let(:confirmation) { build :verification_confirmation, verification: verification }
|
7
|
+
let(:html) { Capybara.string rendered }
|
8
|
+
|
9
|
+
before do
|
10
|
+
assign :confirmation, confirmation
|
11
|
+
|
12
|
+
render partial: 'tasks/taskables/verifications/confirmations/form.html.erb', locals: {
|
13
|
+
confirmation: confirmation,
|
14
|
+
author: user
|
15
|
+
}
|
16
|
+
end
|
17
|
+
end
|
metadata
ADDED
@@ -0,0 +1,550 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tasuku
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Johannes Gorset
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-06-10 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '4.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: configatron
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: carrierwave
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.10'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.10'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mini_magick
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.7'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: embeddable
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.0.6
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.0.6
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: sqlite3
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec-rails
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: faker
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: capybara
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: factory_girl_rails
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: pry
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: generator_spec
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: guard
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: guard-rspec
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
description: Easily set up custom solvable tasks in your Ruby on Rails app.
|
210
|
+
email:
|
211
|
+
- johannes@hyper.no
|
212
|
+
executables: []
|
213
|
+
extensions: []
|
214
|
+
extra_rdoc_files: []
|
215
|
+
files:
|
216
|
+
- README.md
|
217
|
+
- Rakefile
|
218
|
+
- app/assets/javascripts/tasks/application.js
|
219
|
+
- app/assets/stylesheets/tasks/application.css
|
220
|
+
- app/controllers/tasks/application_controller.rb
|
221
|
+
- app/controllers/tasks/taskables/image/responses_controller.rb
|
222
|
+
- app/controllers/tasks/taskables/questions/answers_controller.rb
|
223
|
+
- app/controllers/tasks/taskables/text/responses_controller.rb
|
224
|
+
- app/controllers/tasks/taskables/url/responses_controller.rb
|
225
|
+
- app/controllers/tasks/taskables/verifications/confirmations_controller.rb
|
226
|
+
- app/controllers/tasks/tasks_controller.rb
|
227
|
+
- app/helpers/tasks/application_helper.rb
|
228
|
+
- app/helpers/tasks/taskables/verifications_helper.rb
|
229
|
+
- app/models/tasks/task.rb
|
230
|
+
- app/models/tasks/taskables.rb
|
231
|
+
- app/models/tasks/taskables/image.rb
|
232
|
+
- app/models/tasks/taskables/image/request.rb
|
233
|
+
- app/models/tasks/taskables/image/response.rb
|
234
|
+
- app/models/tasks/taskables/question.rb
|
235
|
+
- app/models/tasks/taskables/question/answer.rb
|
236
|
+
- app/models/tasks/taskables/question/option.rb
|
237
|
+
- app/models/tasks/taskables/question/vote.rb
|
238
|
+
- app/models/tasks/taskables/taskable.rb
|
239
|
+
- app/models/tasks/taskables/taskable/response.rb
|
240
|
+
- app/models/tasks/taskables/taskable/submission.rb
|
241
|
+
- app/models/tasks/taskables/text.rb
|
242
|
+
- app/models/tasks/taskables/text/request.rb
|
243
|
+
- app/models/tasks/taskables/text/response.rb
|
244
|
+
- app/models/tasks/taskables/url.rb
|
245
|
+
- app/models/tasks/taskables/url/request.rb
|
246
|
+
- app/models/tasks/taskables/url/response.rb
|
247
|
+
- app/models/tasks/taskables/verification.rb
|
248
|
+
- app/models/tasks/taskables/verification/confirmation.rb
|
249
|
+
- app/uploaders/tasks/image_uploader.rb
|
250
|
+
- app/views/tasks/taskables/image/requests/_request.html.erb
|
251
|
+
- app/views/tasks/taskables/image/responses/_form.html.erb
|
252
|
+
- app/views/tasks/taskables/image/responses/create.html.erb
|
253
|
+
- app/views/tasks/taskables/questions/_question.html.erb
|
254
|
+
- app/views/tasks/taskables/questions/answers/_form.html.erb
|
255
|
+
- app/views/tasks/taskables/questions/answers/_statistics.html.erb
|
256
|
+
- app/views/tasks/taskables/text/requests/_request.html.erb
|
257
|
+
- app/views/tasks/taskables/text/responses/_form.html.erb
|
258
|
+
- app/views/tasks/taskables/text/responses/create.html.erb
|
259
|
+
- app/views/tasks/taskables/url/requests/_request.html.erb
|
260
|
+
- app/views/tasks/taskables/url/responses/_form.html.erb
|
261
|
+
- app/views/tasks/taskables/url/responses/create.html.erb
|
262
|
+
- app/views/tasks/taskables/verifications/_verification.html.erb
|
263
|
+
- app/views/tasks/taskables/verifications/confirmations/_form.html.erb
|
264
|
+
- app/views/tasks/tasks/_task.html.erb
|
265
|
+
- app/views/tasks/tasks/show.html.erb
|
266
|
+
- config/locales/en.yml
|
267
|
+
- config/locales/nb.yml
|
268
|
+
- config/routes.rb
|
269
|
+
- db/migrate/20140315151838_create_tasks_tasks.rb
|
270
|
+
- db/migrate/20140315152116_create_tasks_taskables_verifications.rb
|
271
|
+
- db/migrate/20140315153512_create_tasks_taskables_verification_confirmations.rb
|
272
|
+
- db/migrate/20140316203422_create_tasks_taskables_questions.rb
|
273
|
+
- db/migrate/20140316203812_create_tasks_taskables_question_options.rb
|
274
|
+
- db/migrate/20140316204119_create_tasks_taskables_question_answers.rb
|
275
|
+
- db/migrate/20140316221703_remove_unique_constraint_on_task_taskable_question_answer_index.rb
|
276
|
+
- db/migrate/20140320123047_remove_unique_constraint_on_confirmation_author.rb
|
277
|
+
- db/migrate/20140402132837_create_tasks_taskables_image_requests.rb
|
278
|
+
- db/migrate/20140402135306_create_tasks_taskables_image_responses.rb
|
279
|
+
- db/migrate/20140403090537_remove_unique_constraint_on_image_response_author.rb
|
280
|
+
- db/migrate/20140404113158_add_description_to_taskables_questions.rb
|
281
|
+
- db/migrate/20140404130151_add_description_to_tasks_taskables_image_requests.rb
|
282
|
+
- db/migrate/20140512072931_create_tasks_taskables_url_requests.rb
|
283
|
+
- db/migrate/20140512074135_create_tasks_taskables_url_responses.rb
|
284
|
+
- db/migrate/20140512120632_create_tasks_taskables_question_votes.rb
|
285
|
+
- db/migrate/20140512121254_add_multiple_to_question.rb
|
286
|
+
- db/migrate/20140512131526_remove_option_id_from_questions.rb
|
287
|
+
- db/migrate/20140514082129_create_tasks_taskables_text_requests.rb
|
288
|
+
- db/migrate/20140514082143_create_tasks_taskables_text_responses.rb
|
289
|
+
- db/migrate/20140520122938_add_correct_to_tasks_taskables_question_option.rb
|
290
|
+
- db/migrate/20140521134515_add_show_statistics_to_tasks_taskables_question.rb
|
291
|
+
- db/migrate/20140523091152_add_images.rb
|
292
|
+
- db/migrate/20140604075046_add_obligatory_to_tasks_task.rb
|
293
|
+
- db/migrate/20140605095241_create_tasks_taskables_taskable_responses.rb
|
294
|
+
- db/migrate/20140605124021_add_task_to_response.rb
|
295
|
+
- db/migrate/20140606072225_migrate_existing_date.rb
|
296
|
+
- lib/generators/tasks/install/USAGE
|
297
|
+
- lib/generators/tasks/install/install_generator.rb
|
298
|
+
- lib/generators/tasks/install/templates/tasks.rb
|
299
|
+
- lib/generators/tasks/views/USAGE
|
300
|
+
- lib/generators/tasks/views/views_generator.rb
|
301
|
+
- lib/tasks.rb
|
302
|
+
- lib/tasks/concerns.rb
|
303
|
+
- lib/tasks/concerns/controllers.rb
|
304
|
+
- lib/tasks/concerns/controllers/tasks_controller.rb
|
305
|
+
- lib/tasks/concerns/illustratable.rb
|
306
|
+
- lib/tasks/concerns/models.rb
|
307
|
+
- lib/tasks/concerns/models/task.rb
|
308
|
+
- lib/tasks/concerns/models/taskables.rb
|
309
|
+
- lib/tasks/concerns/models/taskables/image.rb
|
310
|
+
- lib/tasks/concerns/models/taskables/image/request.rb
|
311
|
+
- lib/tasks/concerns/models/taskables/question.rb
|
312
|
+
- lib/tasks/concerns/models/taskables/text.rb
|
313
|
+
- lib/tasks/concerns/models/taskables/text/request.rb
|
314
|
+
- lib/tasks/concerns/models/taskables/url.rb
|
315
|
+
- lib/tasks/concerns/models/taskables/url/request.rb
|
316
|
+
- lib/tasks/concerns/models/taskables/verification.rb
|
317
|
+
- lib/tasks/concerns/redirectable.rb
|
318
|
+
- lib/tasks/concerns/verifiable.rb
|
319
|
+
- lib/tasks/engine.rb
|
320
|
+
- lib/tasks/seeds.rb
|
321
|
+
- lib/tasks/tasks_tasks.rake
|
322
|
+
- lib/tasks/version.rb
|
323
|
+
- lib/tasuku.rb
|
324
|
+
- spec/controllers/tasks/taskables/image/responses_controller_spec.rb
|
325
|
+
- spec/controllers/tasks/taskables/questions/answers_controller_spec.rb
|
326
|
+
- spec/controllers/tasks/taskables/text/responses_controller_spec.rb
|
327
|
+
- spec/controllers/tasks/taskables/verifications/confirmations_controller_spec.rb
|
328
|
+
- spec/controllers/tasks/tasks_controller_spec.rb
|
329
|
+
- spec/dummy/README.rdoc
|
330
|
+
- spec/dummy/Rakefile
|
331
|
+
- spec/dummy/app/assets/javascripts/application.js
|
332
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
333
|
+
- spec/dummy/app/controllers/application_controller.rb
|
334
|
+
- spec/dummy/app/helpers/application_helper.rb
|
335
|
+
- spec/dummy/app/models/article.rb
|
336
|
+
- spec/dummy/app/models/user.rb
|
337
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
338
|
+
- spec/dummy/bin/bundle
|
339
|
+
- spec/dummy/bin/rails
|
340
|
+
- spec/dummy/bin/rake
|
341
|
+
- spec/dummy/config.ru
|
342
|
+
- spec/dummy/config/application.rb
|
343
|
+
- spec/dummy/config/boot.rb
|
344
|
+
- spec/dummy/config/database.yml
|
345
|
+
- spec/dummy/config/environment.rb
|
346
|
+
- spec/dummy/config/environments/development.rb
|
347
|
+
- spec/dummy/config/environments/production.rb
|
348
|
+
- spec/dummy/config/environments/test.rb
|
349
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
350
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
351
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
352
|
+
- spec/dummy/config/initializers/inflections.rb
|
353
|
+
- spec/dummy/config/initializers/mime_types.rb
|
354
|
+
- spec/dummy/config/initializers/session_store.rb
|
355
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
356
|
+
- spec/dummy/config/locales/en.yml
|
357
|
+
- spec/dummy/config/routes.rb
|
358
|
+
- spec/dummy/config/secrets.yml
|
359
|
+
- spec/dummy/db/migrate/20140315162017_create_users.rb
|
360
|
+
- spec/dummy/db/migrate/20140315185502_create_articles.rb
|
361
|
+
- spec/dummy/db/schema.rb
|
362
|
+
- spec/dummy/db/seeds.rb
|
363
|
+
- spec/dummy/db/test.sqlite3
|
364
|
+
- spec/dummy/log/development.log
|
365
|
+
- spec/dummy/log/test.log
|
366
|
+
- spec/dummy/public/404.html
|
367
|
+
- spec/dummy/public/422.html
|
368
|
+
- spec/dummy/public/500.html
|
369
|
+
- spec/dummy/public/favicon.ico
|
370
|
+
- spec/dummy/public/uploads/tasks/taskables/image/request/image/1/doge.jpg
|
371
|
+
- spec/dummy/public/uploads/tasks/taskables/image/response/image/1/doge.jpg
|
372
|
+
- spec/dummy/public/uploads/tasks/taskables/question/image/1/doge.jpg
|
373
|
+
- spec/dummy/public/uploads/tasks/taskables/text/request/image/1/doge.jpg
|
374
|
+
- spec/dummy/public/uploads/tasks/taskables/url/request/image/1/doge.jpg
|
375
|
+
- spec/dummy/spec/factories/articles.rb
|
376
|
+
- spec/dummy/spec/factories/users.rb
|
377
|
+
- spec/dummy/spec/models/article_spec.rb
|
378
|
+
- spec/dummy/spec/models/user_spec.rb
|
379
|
+
- spec/factories/tasks_taskables_image_requests.rb
|
380
|
+
- spec/factories/tasks_taskables_image_responses.rb
|
381
|
+
- spec/factories/tasks_taskables_question_answers.rb
|
382
|
+
- spec/factories/tasks_taskables_question_options.rb
|
383
|
+
- spec/factories/tasks_taskables_question_votes.rb
|
384
|
+
- spec/factories/tasks_taskables_questions.rb
|
385
|
+
- spec/factories/tasks_taskables_taskable_responses.rb
|
386
|
+
- spec/factories/tasks_taskables_text_requests.rb
|
387
|
+
- spec/factories/tasks_taskables_text_responses.rb
|
388
|
+
- spec/factories/tasks_taskables_url_requests.rb
|
389
|
+
- spec/factories/tasks_taskables_url_responses.rb
|
390
|
+
- spec/factories/tasks_taskables_verification_confirmations.rb
|
391
|
+
- spec/factories/tasks_taskables_verifications.rb
|
392
|
+
- spec/factories/tasks_tasks.rb
|
393
|
+
- spec/fixtures/doge.jpg
|
394
|
+
- spec/helpers/tasks/taskables/verifications_helper_spec.rb
|
395
|
+
- spec/lib/generators/views_generators_spec.rb
|
396
|
+
- spec/lib/tasks/concerns/verifiable_spec.rb
|
397
|
+
- spec/models/tasks/task_spec.rb
|
398
|
+
- spec/models/tasks/taskables/image/request_spec.rb
|
399
|
+
- spec/models/tasks/taskables/image/response_spec.rb
|
400
|
+
- spec/models/tasks/taskables/question/answer_spec.rb
|
401
|
+
- spec/models/tasks/taskables/question/option_spec.rb
|
402
|
+
- spec/models/tasks/taskables/question/vote_spec.rb
|
403
|
+
- spec/models/tasks/taskables/question_spec.rb
|
404
|
+
- spec/models/tasks/taskables/taskable/response_spec.rb
|
405
|
+
- spec/models/tasks/taskables/taskable/submission_spec.rb
|
406
|
+
- spec/models/tasks/taskables/taskable_spec.rb
|
407
|
+
- spec/models/tasks/taskables/text/request_spec.rb
|
408
|
+
- spec/models/tasks/taskables/text/response_spec.rb
|
409
|
+
- spec/models/tasks/taskables/url/request_spec.rb
|
410
|
+
- spec/models/tasks/taskables/url/response_spec.rb
|
411
|
+
- spec/models/tasks/taskables/verification/confirmation_spec.rb
|
412
|
+
- spec/models/tasks/taskables/verification_spec.rb
|
413
|
+
- spec/spec_helper.rb
|
414
|
+
- spec/support/fixture.rb
|
415
|
+
- spec/support/shared_examples_for_redirectable.rb
|
416
|
+
- spec/support/trackable_submission_spec.rb
|
417
|
+
- spec/views/tasks/taskables/image/requests/_request.html.erb_spec.rb
|
418
|
+
- spec/views/tasks/taskables/image/responses/create.html.erb_spec.rb
|
419
|
+
- spec/views/tasks/taskables/questions/_question.html.erb_spec.rb
|
420
|
+
- spec/views/tasks/taskables/questions/answers/_form.html.erb_spec.rb
|
421
|
+
- spec/views/tasks/taskables/text/requests/_request.html.erb_spec.rb
|
422
|
+
- spec/views/tasks/taskables/url/requests/_request.html.erb_spec.rb
|
423
|
+
- spec/views/tasks/taskables/verifications/confirmations/_form.html.erb_spec.rb
|
424
|
+
- spec/views/tasks/tasks/show.html.erb_spec.rb
|
425
|
+
homepage: http://github.com/hyperoslo/tasks
|
426
|
+
licenses:
|
427
|
+
- MIT
|
428
|
+
metadata: {}
|
429
|
+
post_install_message:
|
430
|
+
rdoc_options: []
|
431
|
+
require_paths:
|
432
|
+
- lib
|
433
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
434
|
+
requirements:
|
435
|
+
- - ">="
|
436
|
+
- !ruby/object:Gem::Version
|
437
|
+
version: '0'
|
438
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
439
|
+
requirements:
|
440
|
+
- - ">="
|
441
|
+
- !ruby/object:Gem::Version
|
442
|
+
version: '0'
|
443
|
+
requirements: []
|
444
|
+
rubyforge_project:
|
445
|
+
rubygems_version: 2.2.2
|
446
|
+
signing_key:
|
447
|
+
specification_version: 4
|
448
|
+
summary: Easily set up custom solvable tasks in your Rails app
|
449
|
+
test_files:
|
450
|
+
- spec/controllers/tasks/taskables/image/responses_controller_spec.rb
|
451
|
+
- spec/controllers/tasks/taskables/questions/answers_controller_spec.rb
|
452
|
+
- spec/controllers/tasks/taskables/text/responses_controller_spec.rb
|
453
|
+
- spec/controllers/tasks/taskables/verifications/confirmations_controller_spec.rb
|
454
|
+
- spec/controllers/tasks/tasks_controller_spec.rb
|
455
|
+
- spec/dummy/app/assets/javascripts/application.js
|
456
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
457
|
+
- spec/dummy/app/controllers/application_controller.rb
|
458
|
+
- spec/dummy/app/helpers/application_helper.rb
|
459
|
+
- spec/dummy/app/models/article.rb
|
460
|
+
- spec/dummy/app/models/user.rb
|
461
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
462
|
+
- spec/dummy/bin/bundle
|
463
|
+
- spec/dummy/bin/rails
|
464
|
+
- spec/dummy/bin/rake
|
465
|
+
- spec/dummy/config/application.rb
|
466
|
+
- spec/dummy/config/boot.rb
|
467
|
+
- spec/dummy/config/database.yml
|
468
|
+
- spec/dummy/config/environment.rb
|
469
|
+
- spec/dummy/config/environments/development.rb
|
470
|
+
- spec/dummy/config/environments/production.rb
|
471
|
+
- spec/dummy/config/environments/test.rb
|
472
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
473
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
474
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
475
|
+
- spec/dummy/config/initializers/inflections.rb
|
476
|
+
- spec/dummy/config/initializers/mime_types.rb
|
477
|
+
- spec/dummy/config/initializers/session_store.rb
|
478
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
479
|
+
- spec/dummy/config/locales/en.yml
|
480
|
+
- spec/dummy/config/routes.rb
|
481
|
+
- spec/dummy/config/secrets.yml
|
482
|
+
- spec/dummy/config.ru
|
483
|
+
- spec/dummy/db/migrate/20140315162017_create_users.rb
|
484
|
+
- spec/dummy/db/migrate/20140315185502_create_articles.rb
|
485
|
+
- spec/dummy/db/schema.rb
|
486
|
+
- spec/dummy/db/seeds.rb
|
487
|
+
- spec/dummy/db/test.sqlite3
|
488
|
+
- spec/dummy/log/development.log
|
489
|
+
- spec/dummy/log/test.log
|
490
|
+
- spec/dummy/public/404.html
|
491
|
+
- spec/dummy/public/422.html
|
492
|
+
- spec/dummy/public/500.html
|
493
|
+
- spec/dummy/public/favicon.ico
|
494
|
+
- spec/dummy/public/uploads/tasks/taskables/image/request/image/1/doge.jpg
|
495
|
+
- spec/dummy/public/uploads/tasks/taskables/image/response/image/1/doge.jpg
|
496
|
+
- spec/dummy/public/uploads/tasks/taskables/question/image/1/doge.jpg
|
497
|
+
- spec/dummy/public/uploads/tasks/taskables/text/request/image/1/doge.jpg
|
498
|
+
- spec/dummy/public/uploads/tasks/taskables/url/request/image/1/doge.jpg
|
499
|
+
- spec/dummy/Rakefile
|
500
|
+
- spec/dummy/README.rdoc
|
501
|
+
- spec/dummy/spec/factories/articles.rb
|
502
|
+
- spec/dummy/spec/factories/users.rb
|
503
|
+
- spec/dummy/spec/models/article_spec.rb
|
504
|
+
- spec/dummy/spec/models/user_spec.rb
|
505
|
+
- spec/factories/tasks_taskables_image_requests.rb
|
506
|
+
- spec/factories/tasks_taskables_image_responses.rb
|
507
|
+
- spec/factories/tasks_taskables_question_answers.rb
|
508
|
+
- spec/factories/tasks_taskables_question_options.rb
|
509
|
+
- spec/factories/tasks_taskables_question_votes.rb
|
510
|
+
- spec/factories/tasks_taskables_questions.rb
|
511
|
+
- spec/factories/tasks_taskables_taskable_responses.rb
|
512
|
+
- spec/factories/tasks_taskables_text_requests.rb
|
513
|
+
- spec/factories/tasks_taskables_text_responses.rb
|
514
|
+
- spec/factories/tasks_taskables_url_requests.rb
|
515
|
+
- spec/factories/tasks_taskables_url_responses.rb
|
516
|
+
- spec/factories/tasks_taskables_verification_confirmations.rb
|
517
|
+
- spec/factories/tasks_taskables_verifications.rb
|
518
|
+
- spec/factories/tasks_tasks.rb
|
519
|
+
- spec/fixtures/doge.jpg
|
520
|
+
- spec/helpers/tasks/taskables/verifications_helper_spec.rb
|
521
|
+
- spec/lib/generators/views_generators_spec.rb
|
522
|
+
- spec/lib/tasks/concerns/verifiable_spec.rb
|
523
|
+
- spec/models/tasks/task_spec.rb
|
524
|
+
- spec/models/tasks/taskables/image/request_spec.rb
|
525
|
+
- spec/models/tasks/taskables/image/response_spec.rb
|
526
|
+
- spec/models/tasks/taskables/question/answer_spec.rb
|
527
|
+
- spec/models/tasks/taskables/question/option_spec.rb
|
528
|
+
- spec/models/tasks/taskables/question/vote_spec.rb
|
529
|
+
- spec/models/tasks/taskables/question_spec.rb
|
530
|
+
- spec/models/tasks/taskables/taskable/response_spec.rb
|
531
|
+
- spec/models/tasks/taskables/taskable/submission_spec.rb
|
532
|
+
- spec/models/tasks/taskables/taskable_spec.rb
|
533
|
+
- spec/models/tasks/taskables/text/request_spec.rb
|
534
|
+
- spec/models/tasks/taskables/text/response_spec.rb
|
535
|
+
- spec/models/tasks/taskables/url/request_spec.rb
|
536
|
+
- spec/models/tasks/taskables/url/response_spec.rb
|
537
|
+
- spec/models/tasks/taskables/verification/confirmation_spec.rb
|
538
|
+
- spec/models/tasks/taskables/verification_spec.rb
|
539
|
+
- spec/spec_helper.rb
|
540
|
+
- spec/support/fixture.rb
|
541
|
+
- spec/support/shared_examples_for_redirectable.rb
|
542
|
+
- spec/support/trackable_submission_spec.rb
|
543
|
+
- spec/views/tasks/taskables/image/requests/_request.html.erb_spec.rb
|
544
|
+
- spec/views/tasks/taskables/image/responses/create.html.erb_spec.rb
|
545
|
+
- spec/views/tasks/taskables/questions/_question.html.erb_spec.rb
|
546
|
+
- spec/views/tasks/taskables/questions/answers/_form.html.erb_spec.rb
|
547
|
+
- spec/views/tasks/taskables/text/requests/_request.html.erb_spec.rb
|
548
|
+
- spec/views/tasks/taskables/url/requests/_request.html.erb_spec.rb
|
549
|
+
- spec/views/tasks/taskables/verifications/confirmations/_form.html.erb_spec.rb
|
550
|
+
- spec/views/tasks/tasks/show.html.erb_spec.rb
|