tasks_management 0.1.2
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +37 -0
- data/app/assets/javascripts/tasks_management/application.js +13 -0
- data/app/assets/javascripts/tasks_management/tasks.js +2 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/assets/stylesheets/tasks_management/application.css +15 -0
- data/app/assets/stylesheets/tasks_management/tasks.css +4 -0
- data/app/controllers/tasks_management/application_controller.rb +4 -0
- data/app/controllers/tasks_management/tasks_controller.rb +64 -0
- data/app/helpers/tasks_management/application_helper.rb +4 -0
- data/app/helpers/tasks_management/tasks_helper.rb +4 -0
- data/app/models/tasks_management/task.rb +40 -0
- data/app/views/layouts/tasks_management/application.html.erb +14 -0
- data/app/views/tasks_management/tasks/_form.html.erb +49 -0
- data/app/views/tasks_management/tasks/edit.html.erb +6 -0
- data/app/views/tasks_management/tasks/index.html.erb +41 -0
- data/app/views/tasks_management/tasks/new.html.erb +5 -0
- data/app/views/tasks_management/tasks/show.html.erb +44 -0
- data/config/database.yml +15 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20151010133738_create_tasks_management_tasks.rb +16 -0
- data/lib/tasks/tasks_management_tasks.rake +4 -0
- data/lib/tasks_management/engine.rb +5 -0
- data/lib/tasks_management/exceptions.rb +6 -0
- data/lib/tasks_management/has_tasks.rb +12 -0
- data/lib/tasks_management/version.rb +3 -0
- data/lib/tasks_management.rb +6 -0
- data/test/controllers/tasks_management/tasks_controller_test.rb +52 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/javascripts/users.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +56 -0
- data/test/dummy/app/assets/stylesheets/users.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/users_controller.rb +58 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/helpers/users_helper.rb +2 -0
- data/test/dummy/app/models/user.rb +3 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/users/_form.html.erb +21 -0
- data/test/dummy/app/views/users/edit.html.erb +6 -0
- data/test/dummy/app/views/users/index.html.erb +27 -0
- data/test/dummy/app/views/users/new.html.erb +5 -0
- data/test/dummy/app/views/users/show.html.erb +9 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20151010135059_create_users.rb +9 -0
- data/test/dummy/db/schema.rb +35 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/users_controller_test.rb +49 -0
- data/test/dummy/test/fixtures/users.yml +7 -0
- data/test/dummy/test/models/user_test.rb +17 -0
- data/test/fixtures/tasks_management/tasks.yml +21 -0
- data/test/fixtures/users.yml +7 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/models/tasks_management/task_test.rb +81 -0
- data/test/tasks_management_test.rb +7 -0
- data/test/test_helper.rb +20 -0
- metadata +215 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 20151010135059) do
|
15
|
+
|
16
|
+
create_table "tasks_management_tasks", force: :cascade do |t|
|
17
|
+
t.string "title"
|
18
|
+
t.text "description"
|
19
|
+
t.integer "priority"
|
20
|
+
t.integer "state"
|
21
|
+
t.integer "parent_id"
|
22
|
+
t.integer "owner_id"
|
23
|
+
t.integer "requester_id"
|
24
|
+
t.date "end_date"
|
25
|
+
t.datetime "created_at", null: false
|
26
|
+
t.datetime "updated_at", null: false
|
27
|
+
end
|
28
|
+
|
29
|
+
create_table "users", force: :cascade do |t|
|
30
|
+
t.string "name"
|
31
|
+
t.datetime "created_at", null: false
|
32
|
+
t.datetime "updated_at", null: false
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/404.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
body {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body>
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UsersControllerTest < ActionController::TestCase
|
4
|
+
setup do
|
5
|
+
@user = users(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "should get index" do
|
9
|
+
get :index
|
10
|
+
assert_response :success
|
11
|
+
assert_not_nil assigns(:users)
|
12
|
+
end
|
13
|
+
|
14
|
+
test "should get new" do
|
15
|
+
get :new
|
16
|
+
assert_response :success
|
17
|
+
end
|
18
|
+
|
19
|
+
test "should create user" do
|
20
|
+
assert_difference('User.count') do
|
21
|
+
post :create, user: { name: @user.name }
|
22
|
+
end
|
23
|
+
|
24
|
+
assert_redirected_to user_path(assigns(:user))
|
25
|
+
end
|
26
|
+
|
27
|
+
test "should show user" do
|
28
|
+
get :show, id: @user
|
29
|
+
assert_response :success
|
30
|
+
end
|
31
|
+
|
32
|
+
test "should get edit" do
|
33
|
+
get :edit, id: @user
|
34
|
+
assert_response :success
|
35
|
+
end
|
36
|
+
|
37
|
+
test "should update user" do
|
38
|
+
patch :update, id: @user, user: { name: @user.name }
|
39
|
+
assert_redirected_to user_path(assigns(:user))
|
40
|
+
end
|
41
|
+
|
42
|
+
test "should destroy user" do
|
43
|
+
assert_difference('User.count', -1) do
|
44
|
+
delete :destroy, id: @user
|
45
|
+
end
|
46
|
+
|
47
|
+
assert_redirected_to users_path
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class UserTest < ActiveSupport::TestCase
|
4
|
+
test "the truth" do
|
5
|
+
assert true
|
6
|
+
end
|
7
|
+
|
8
|
+
test "has_many_owner_tasks" do
|
9
|
+
user = users(:one)
|
10
|
+
assert_equal TasksManagement::Task::ActiveRecord_Associations_CollectionProxy, user.owner_tasks.class
|
11
|
+
end
|
12
|
+
|
13
|
+
test "has_many_requester_tasks" do
|
14
|
+
user = users(:one)
|
15
|
+
assert_equal TasksManagement::Task::ActiveRecord_Associations_CollectionProxy, user.requester_tasks.class
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
2
|
+
|
3
|
+
one:
|
4
|
+
title: MyString
|
5
|
+
description: MyText
|
6
|
+
priority: 1
|
7
|
+
state: 1
|
8
|
+
parent_id: 1
|
9
|
+
owner_id: 1
|
10
|
+
requester_id: 1
|
11
|
+
end_date: 2015-10-10
|
12
|
+
|
13
|
+
two:
|
14
|
+
title: MyString
|
15
|
+
description: MyText
|
16
|
+
priority: 1
|
17
|
+
state: 1
|
18
|
+
parent_id: 1
|
19
|
+
owner_id: 1
|
20
|
+
requester_id: 1
|
21
|
+
end_date: 2015-10-10
|
@@ -0,0 +1,81 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
module TasksManagement
|
4
|
+
class TaskTest < ActiveSupport::TestCase
|
5
|
+
test "the truth" do
|
6
|
+
assert true
|
7
|
+
end
|
8
|
+
|
9
|
+
test "belongs_to_owner" do
|
10
|
+
task = tasks_management_tasks(:one)
|
11
|
+
user = users(:one)
|
12
|
+
task.owner = user
|
13
|
+
assert_equal user, task.owner
|
14
|
+
end
|
15
|
+
|
16
|
+
test "belongs_to_requester" do
|
17
|
+
task = tasks_management_tasks(:one)
|
18
|
+
user = users(:one)
|
19
|
+
task.requester = user
|
20
|
+
assert_equal user, task.requester
|
21
|
+
end
|
22
|
+
|
23
|
+
test "after_save" do
|
24
|
+
user_1 = users(:one)
|
25
|
+
user_2 = users(:two)
|
26
|
+
assert_raises TasksManagement::OwnerIdSettedException do TasksManagement::Task.create(title: 'two owners', owners: [user_1, user_2], owner: user_1) end
|
27
|
+
|
28
|
+
task = TasksManagement::Task.create(title: 'two owners', owners: [user_1, user_2], requester: user_1)
|
29
|
+
task.sub_tasks.each do |t|
|
30
|
+
assert_instance_of TasksManagement::Task, t
|
31
|
+
assert_equal task.title, t.title
|
32
|
+
assert_equal task.id, t.parent_id
|
33
|
+
assert_includes task.owners, t.owner
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
test "start!" do
|
38
|
+
task = TasksManagement::Task.new
|
39
|
+
|
40
|
+
task.pending!
|
41
|
+
task.start!
|
42
|
+
assert_equal 'started', task.state
|
43
|
+
|
44
|
+
task.rejected!
|
45
|
+
task.start!
|
46
|
+
assert_equal 'started', task.state
|
47
|
+
|
48
|
+
assert_raises TasksManagement::InvalidTaskStateException do task.start! end
|
49
|
+
end
|
50
|
+
|
51
|
+
test "finish!" do
|
52
|
+
task = TasksManagement::Task.new
|
53
|
+
task.started!
|
54
|
+
|
55
|
+
task.finish!
|
56
|
+
assert_equal 'finished', task.state
|
57
|
+
|
58
|
+
assert_raises TasksManagement::InvalidTaskStateException do task.finish! end
|
59
|
+
end
|
60
|
+
|
61
|
+
test "accept!" do
|
62
|
+
task = TasksManagement::Task.new
|
63
|
+
task.finished!
|
64
|
+
|
65
|
+
task.accept!
|
66
|
+
assert_equal 'accepted', task.state
|
67
|
+
|
68
|
+
assert_raises TasksManagement::InvalidTaskStateException do task.accept! end
|
69
|
+
end
|
70
|
+
|
71
|
+
test "reject!" do
|
72
|
+
task = TasksManagement::Task.new
|
73
|
+
task.finished!
|
74
|
+
|
75
|
+
task.reject!
|
76
|
+
assert_equal 'rejected', task.state
|
77
|
+
|
78
|
+
assert_raises TasksManagement::InvalidTaskStateException do task.reject! end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../../test/dummy/config/environment.rb", __FILE__)
|
5
|
+
ActiveRecord::Migrator.migrations_paths = [File.expand_path("../../test/dummy/db/migrate", __FILE__)]
|
6
|
+
ActiveRecord::Migrator.migrations_paths << File.expand_path('../../db/migrate', __FILE__)
|
7
|
+
require "rails/test_help"
|
8
|
+
|
9
|
+
# Filter out Minitest backtrace while allowing backtrace from other libraries
|
10
|
+
# to be shown.
|
11
|
+
Minitest.backtrace_filter = Minitest::BacktraceFilter.new
|
12
|
+
|
13
|
+
# Load support files
|
14
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
+
|
16
|
+
# Load fixtures from the engine
|
17
|
+
if ActiveSupport::TestCase.respond_to?(:fixture_path=)
|
18
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
19
|
+
ActiveSupport::TestCase.fixtures :all
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,215 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tasks_management
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Adrian Chang
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-12 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: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.3'
|
41
|
+
description: TasksManagement permits set title, description, state, priority, owner,
|
42
|
+
requester, task parent, end date and attach a file for any task.
|
43
|
+
email:
|
44
|
+
- adrian.chang.alcover@gmail.com
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- MIT-LICENSE
|
50
|
+
- README.rdoc
|
51
|
+
- Rakefile
|
52
|
+
- app/assets/javascripts/tasks_management/application.js
|
53
|
+
- app/assets/javascripts/tasks_management/tasks.js
|
54
|
+
- app/assets/stylesheets/scaffold.css
|
55
|
+
- app/assets/stylesheets/tasks_management/application.css
|
56
|
+
- app/assets/stylesheets/tasks_management/tasks.css
|
57
|
+
- app/controllers/tasks_management/application_controller.rb
|
58
|
+
- app/controllers/tasks_management/tasks_controller.rb
|
59
|
+
- app/helpers/tasks_management/application_helper.rb
|
60
|
+
- app/helpers/tasks_management/tasks_helper.rb
|
61
|
+
- app/models/tasks_management/task.rb
|
62
|
+
- app/views/layouts/tasks_management/application.html.erb
|
63
|
+
- app/views/tasks_management/tasks/_form.html.erb
|
64
|
+
- app/views/tasks_management/tasks/edit.html.erb
|
65
|
+
- app/views/tasks_management/tasks/index.html.erb
|
66
|
+
- app/views/tasks_management/tasks/new.html.erb
|
67
|
+
- app/views/tasks_management/tasks/show.html.erb
|
68
|
+
- config/database.yml
|
69
|
+
- config/routes.rb
|
70
|
+
- db/migrate/20151010133738_create_tasks_management_tasks.rb
|
71
|
+
- lib/tasks/tasks_management_tasks.rake
|
72
|
+
- lib/tasks_management.rb
|
73
|
+
- lib/tasks_management/engine.rb
|
74
|
+
- lib/tasks_management/exceptions.rb
|
75
|
+
- lib/tasks_management/has_tasks.rb
|
76
|
+
- lib/tasks_management/version.rb
|
77
|
+
- test/controllers/tasks_management/tasks_controller_test.rb
|
78
|
+
- test/dummy/README.rdoc
|
79
|
+
- test/dummy/Rakefile
|
80
|
+
- test/dummy/app/assets/javascripts/application.js
|
81
|
+
- test/dummy/app/assets/javascripts/users.js
|
82
|
+
- test/dummy/app/assets/stylesheets/application.css
|
83
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
84
|
+
- test/dummy/app/assets/stylesheets/users.css
|
85
|
+
- test/dummy/app/controllers/application_controller.rb
|
86
|
+
- test/dummy/app/controllers/users_controller.rb
|
87
|
+
- test/dummy/app/helpers/application_helper.rb
|
88
|
+
- test/dummy/app/helpers/users_helper.rb
|
89
|
+
- test/dummy/app/models/user.rb
|
90
|
+
- test/dummy/app/views/layouts/application.html.erb
|
91
|
+
- test/dummy/app/views/users/_form.html.erb
|
92
|
+
- test/dummy/app/views/users/edit.html.erb
|
93
|
+
- test/dummy/app/views/users/index.html.erb
|
94
|
+
- test/dummy/app/views/users/new.html.erb
|
95
|
+
- test/dummy/app/views/users/show.html.erb
|
96
|
+
- test/dummy/bin/bundle
|
97
|
+
- test/dummy/bin/rails
|
98
|
+
- test/dummy/bin/rake
|
99
|
+
- test/dummy/bin/setup
|
100
|
+
- test/dummy/config.ru
|
101
|
+
- test/dummy/config/application.rb
|
102
|
+
- test/dummy/config/boot.rb
|
103
|
+
- test/dummy/config/database.yml
|
104
|
+
- test/dummy/config/environment.rb
|
105
|
+
- test/dummy/config/environments/development.rb
|
106
|
+
- test/dummy/config/environments/production.rb
|
107
|
+
- test/dummy/config/environments/test.rb
|
108
|
+
- test/dummy/config/initializers/assets.rb
|
109
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
110
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
111
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
112
|
+
- test/dummy/config/initializers/inflections.rb
|
113
|
+
- test/dummy/config/initializers/mime_types.rb
|
114
|
+
- test/dummy/config/initializers/session_store.rb
|
115
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
116
|
+
- test/dummy/config/locales/en.yml
|
117
|
+
- test/dummy/config/routes.rb
|
118
|
+
- test/dummy/config/secrets.yml
|
119
|
+
- test/dummy/db/migrate/20151010135059_create_users.rb
|
120
|
+
- test/dummy/db/schema.rb
|
121
|
+
- test/dummy/public/404.html
|
122
|
+
- test/dummy/public/422.html
|
123
|
+
- test/dummy/public/500.html
|
124
|
+
- test/dummy/public/favicon.ico
|
125
|
+
- test/dummy/test/controllers/users_controller_test.rb
|
126
|
+
- test/dummy/test/fixtures/users.yml
|
127
|
+
- test/dummy/test/models/user_test.rb
|
128
|
+
- test/fixtures/tasks_management/tasks.yml
|
129
|
+
- test/fixtures/users.yml
|
130
|
+
- test/integration/navigation_test.rb
|
131
|
+
- test/models/tasks_management/task_test.rb
|
132
|
+
- test/tasks_management_test.rb
|
133
|
+
- test/test_helper.rb
|
134
|
+
homepage: ''
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
metadata: {}
|
138
|
+
post_install_message:
|
139
|
+
rdoc_options: []
|
140
|
+
require_paths:
|
141
|
+
- lib
|
142
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
requirements: []
|
153
|
+
rubyforge_project:
|
154
|
+
rubygems_version: 2.4.8
|
155
|
+
signing_key:
|
156
|
+
specification_version: 4
|
157
|
+
summary: It is for a simple tasks management
|
158
|
+
test_files:
|
159
|
+
- test/test_helper.rb
|
160
|
+
- test/tasks_management_test.rb
|
161
|
+
- test/models/tasks_management/task_test.rb
|
162
|
+
- test/integration/navigation_test.rb
|
163
|
+
- test/fixtures/users.yml
|
164
|
+
- test/fixtures/tasks_management/tasks.yml
|
165
|
+
- test/dummy/config.ru
|
166
|
+
- test/dummy/Rakefile
|
167
|
+
- test/dummy/README.rdoc
|
168
|
+
- test/dummy/test/models/user_test.rb
|
169
|
+
- test/dummy/test/fixtures/users.yml
|
170
|
+
- test/dummy/test/controllers/users_controller_test.rb
|
171
|
+
- test/dummy/public/favicon.ico
|
172
|
+
- test/dummy/public/500.html
|
173
|
+
- test/dummy/public/422.html
|
174
|
+
- test/dummy/public/404.html
|
175
|
+
- test/dummy/db/schema.rb
|
176
|
+
- test/dummy/db/migrate/20151010135059_create_users.rb
|
177
|
+
- test/dummy/config/secrets.yml
|
178
|
+
- test/dummy/config/routes.rb
|
179
|
+
- test/dummy/config/environment.rb
|
180
|
+
- test/dummy/config/database.yml
|
181
|
+
- test/dummy/config/boot.rb
|
182
|
+
- test/dummy/config/application.rb
|
183
|
+
- test/dummy/config/locales/en.yml
|
184
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
185
|
+
- test/dummy/config/initializers/session_store.rb
|
186
|
+
- test/dummy/config/initializers/mime_types.rb
|
187
|
+
- test/dummy/config/initializers/inflections.rb
|
188
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
189
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
190
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
191
|
+
- test/dummy/config/initializers/assets.rb
|
192
|
+
- test/dummy/config/environments/test.rb
|
193
|
+
- test/dummy/config/environments/production.rb
|
194
|
+
- test/dummy/config/environments/development.rb
|
195
|
+
- test/dummy/bin/setup
|
196
|
+
- test/dummy/bin/rake
|
197
|
+
- test/dummy/bin/rails
|
198
|
+
- test/dummy/bin/bundle
|
199
|
+
- test/dummy/app/views/users/show.html.erb
|
200
|
+
- test/dummy/app/views/users/new.html.erb
|
201
|
+
- test/dummy/app/views/users/index.html.erb
|
202
|
+
- test/dummy/app/views/users/edit.html.erb
|
203
|
+
- test/dummy/app/views/users/_form.html.erb
|
204
|
+
- test/dummy/app/views/layouts/application.html.erb
|
205
|
+
- test/dummy/app/models/user.rb
|
206
|
+
- test/dummy/app/helpers/users_helper.rb
|
207
|
+
- test/dummy/app/helpers/application_helper.rb
|
208
|
+
- test/dummy/app/controllers/users_controller.rb
|
209
|
+
- test/dummy/app/controllers/application_controller.rb
|
210
|
+
- test/dummy/app/assets/stylesheets/users.css
|
211
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
212
|
+
- test/dummy/app/assets/stylesheets/application.css
|
213
|
+
- test/dummy/app/assets/javascripts/users.js
|
214
|
+
- test/dummy/app/assets/javascripts/application.js
|
215
|
+
- test/controllers/tasks_management/tasks_controller_test.rb
|