trollo 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/trollo/card.rb CHANGED
@@ -34,6 +34,7 @@ module Trollo
34
34
 
35
35
  def check
36
36
  check_due_at
37
+ unarchive! if due_at && archived?
37
38
  end
38
39
 
39
40
  def check_due_at
data/lib/trollo/task.rb CHANGED
@@ -7,6 +7,7 @@ module Trollo
7
7
  belongs_to :tasklist, touch: true
8
8
  before_save :set_ordinal
9
9
  after_save :update_tasklist
10
+ after_destroy :update_tasklist
10
11
  attr_accessible :name, :group, :workflow_state, :due_at, :trollable
11
12
 
12
13
  workflow do
@@ -1,3 +1,3 @@
1
1
  module Trollo
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
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-02-12 00:00:00.000000000 Z
12
+ date: 2014-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport