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 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
@@ -1,3 +1,3 @@
1
1
  module Trollo
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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-20 00:00:00.000000000 Z
12
+ date: 2014-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport