flyboy 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/app/views/flyboy/goals/index.html.slim +7 -7
- data/app/views/flyboy/task_comments/_list.html.slim +1 -1
- data/lib/flyboy/version.rb +1 -1
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +3 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/{task_comments.rb → flyboy_task_comments.rb} +0 -0
- metadata +10 -6
@@ -12,26 +12,26 @@
|
|
12
12
|
table.default
|
13
13
|
thead
|
14
14
|
tr
|
15
|
-
th = Flyboy::Goal.human_attribute_name(:progress)
|
16
15
|
th = sortable_column Flyboy::Goal.model_name.human, column: "title"
|
16
|
+
th = Flyboy::Goal.human_attribute_name(:progress)
|
17
17
|
th = sortable_column Flyboy::Goal.human_attribute_name(:status), column: "status"
|
18
18
|
th = t ".actions", default: t("helpers.actions")
|
19
19
|
|
20
20
|
tbody
|
21
21
|
- @goals.each do |goal|
|
22
22
|
tr.goal class=goal_color(goal)
|
23
|
-
td.
|
24
|
-
= progress_bar percentage: goal.progress, label: true
|
25
|
-
|
26
|
-
td
|
23
|
+
td.title
|
27
24
|
- if can? :read, goal
|
28
25
|
= link_to goal.title, goal_path(goal)
|
29
26
|
- else
|
30
27
|
= goal.title
|
31
28
|
|
32
|
-
td
|
29
|
+
td.goal_progress
|
30
|
+
= progress_bar percentage: goal.progress, label: true
|
31
|
+
|
32
|
+
td.status
|
33
33
|
= t("messages.goals.status.#{goal.status}")
|
34
34
|
|
35
|
-
td
|
35
|
+
td.actions
|
36
36
|
- if can? :create, Flyboy::Task.new(goal: goal)
|
37
37
|
= create_button flyboy.new_goal_task_path(goal), text: t("actions.goals.new_task")
|
data/lib/flyboy/version.rb
CHANGED
File without changes
|
data/spec/dummy/log/test.log
CHANGED
@@ -2482,3 +2482,6 @@ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.5ms)
|
|
2482
2482
|
[1m[35m (0.7ms)[0m DELETE FROM "flyboy_tasks";
|
2483
2483
|
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2484
2484
|
[1m[35m (0.9ms)[0m DELETE FROM sqlite_sequence where name = 'flyboy_tasks';
|
2485
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2486
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2487
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
@@ -0,0 +1 @@
|
|
1
|
+
43364
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flyboy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -213,6 +213,7 @@ files:
|
|
213
213
|
- spec/dummy/db/development.sqlite3
|
214
214
|
- spec/dummy/db/schema.rb
|
215
215
|
- spec/dummy/db/test.sqlite3
|
216
|
+
- spec/dummy/log/development.log
|
216
217
|
- spec/dummy/log/test.log
|
217
218
|
- spec/dummy/public/404.html
|
218
219
|
- spec/dummy/public/422.html
|
@@ -542,9 +543,10 @@ files:
|
|
542
543
|
- spec/dummy/tmp/cache/assets/test/sprockets/f3d6b09d91357b801c3937fc4f785460
|
543
544
|
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
544
545
|
- spec/dummy/tmp/cache/assets/test/sprockets/f9538cdf7ea59e952582e047cece33ba
|
546
|
+
- spec/dummy/tmp/pids/server.pid
|
545
547
|
- spec/factories/flyboy_goals.rb
|
548
|
+
- spec/factories/flyboy_task_comments.rb
|
546
549
|
- spec/factories/flyboy_tasks.rb
|
547
|
-
- spec/factories/task_comments.rb
|
548
550
|
- spec/helpers/flyboy/application_helper_spec.rb
|
549
551
|
- spec/models/flyboy/ability_spec.rb
|
550
552
|
- spec/models/flyboy/goal_spec.rb
|
@@ -570,7 +572,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
570
572
|
version: '0'
|
571
573
|
segments:
|
572
574
|
- 0
|
573
|
-
hash: -
|
575
|
+
hash: -1094301875324672186
|
574
576
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
575
577
|
none: false
|
576
578
|
requirements:
|
@@ -579,7 +581,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
579
581
|
version: '0'
|
580
582
|
segments:
|
581
583
|
- 0
|
582
|
-
hash: -
|
584
|
+
hash: -1094301875324672186
|
583
585
|
requirements: []
|
584
586
|
rubyforge_project:
|
585
587
|
rubygems_version: 1.8.23.2
|
@@ -620,6 +622,7 @@ test_files:
|
|
620
622
|
- spec/dummy/db/development.sqlite3
|
621
623
|
- spec/dummy/db/schema.rb
|
622
624
|
- spec/dummy/db/test.sqlite3
|
625
|
+
- spec/dummy/log/development.log
|
623
626
|
- spec/dummy/log/test.log
|
624
627
|
- spec/dummy/public/404.html
|
625
628
|
- spec/dummy/public/422.html
|
@@ -949,9 +952,10 @@ test_files:
|
|
949
952
|
- spec/dummy/tmp/cache/assets/test/sprockets/f3d6b09d91357b801c3937fc4f785460
|
950
953
|
- spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
951
954
|
- spec/dummy/tmp/cache/assets/test/sprockets/f9538cdf7ea59e952582e047cece33ba
|
955
|
+
- spec/dummy/tmp/pids/server.pid
|
952
956
|
- spec/factories/flyboy_goals.rb
|
957
|
+
- spec/factories/flyboy_task_comments.rb
|
953
958
|
- spec/factories/flyboy_tasks.rb
|
954
|
-
- spec/factories/task_comments.rb
|
955
959
|
- spec/helpers/flyboy/application_helper_spec.rb
|
956
960
|
- spec/models/flyboy/ability_spec.rb
|
957
961
|
- spec/models/flyboy/goal_spec.rb
|