trollo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/trollo/card.rb +1 -1
- data/lib/trollo/task.rb +1 -1
- data/lib/trollo/version.rb +1 -1
- metadata +2 -2
data/lib/trollo/card.rb
CHANGED
@@ -9,7 +9,7 @@ module Trollo
|
|
9
9
|
has_many :tasklists, order: :ordinal, dependent: :destroy
|
10
10
|
has_and_belongs_to_many :labels, join_table: 'trollo_cards_labels'
|
11
11
|
before_save :set_ordinal
|
12
|
-
attr_accessible :name, :description, :workflow_state, :trollable
|
12
|
+
attr_accessible :name, :description, :workflow_state, :due_at, :trollable
|
13
13
|
|
14
14
|
scope :due_today, lambda { where(due_at: Time.now.beginning_of_day..Time.now.end_of_day) }
|
15
15
|
scope :overdue, lambda { where('due_at < ?', Time.now) }
|
data/lib/trollo/task.rb
CHANGED
@@ -7,7 +7,7 @@ module Trollo
|
|
7
7
|
belongs_to :tasklist, touch: true
|
8
8
|
before_save :set_ordinal
|
9
9
|
after_save :update_tasklist
|
10
|
-
attr_accessible :name, :group, :workflow_state, :trollable
|
10
|
+
attr_accessible :name, :group, :workflow_state, :due_at, :trollable
|
11
11
|
|
12
12
|
workflow do
|
13
13
|
state :incomplete do
|
data/lib/trollo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trollo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.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: 2014-01-
|
12
|
+
date: 2014-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|