flyboy 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.goal_progress
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")
@@ -21,7 +21,7 @@
21
21
  td.task_progress
22
22
  = progress_bar percentage: comment.progress, label: true
23
23
 
24
- td.desription
24
+ td.description
25
25
  p: small
26
26
  span.date = comment.date
27
27
 
@@ -1,3 +1,3 @@
1
1
  module Flyboy
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
File without changes
@@ -2482,3 +2482,6 @@ Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.5ms)
2482
2482
   (0.7ms) DELETE FROM "flyboy_tasks";
2483
2483
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
2484
2484
   (0.9ms) DELETE FROM sqlite_sequence where name = 'flyboy_tasks';
2485
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2486
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2487
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1 @@
1
+ 43364
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.2
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-13 00:00:00.000000000 Z
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: -3917455584714897710
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: -3917455584714897710
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