trollo 0.0.5 → 0.0.6

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.
@@ -11,6 +11,7 @@ class CreateTrolloTables < ActiveRecord::Migration
11
11
  t.references :list
12
12
  t.integer :ordinal
13
13
  t.string :name
14
+ t.text :description
14
15
  t.string :workflow_state
15
16
  t.timestamp :due_at
16
17
  t.references :trollable, polymorphic: true
data/lib/trollo/card.rb CHANGED
@@ -7,7 +7,7 @@ module Trollo
7
7
  belongs_to :list, touch: true
8
8
  has_many :tasklists, order: :ordinal, dependent: :destroy
9
9
  before_save :set_ordinal
10
- attr_accessible :name, :workflow_state, :trollable
10
+ attr_accessible :name, :description, :workflow_state, :trollable
11
11
 
12
12
  scope :due_today, lambda { where(due_at: Time.now.beginning_of_day..Time.now.end_of_day) }
13
13
  scope :overdue, lambda { where('due_at < ?', Time.now) }
@@ -1,3 +1,3 @@
1
1
  module Trollo
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -10,6 +10,7 @@ ActiveRecord::Schema.define do
10
10
  t.references :list
11
11
  t.integer :ordinal
12
12
  t.string :name
13
+ t.text :description
13
14
  t.string :workflow_state
14
15
  t.timestamp :due_at
15
16
  t.references :trollable, polymorphic: true
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.0.5
4
+ version: 0.0.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-01-08 00:00:00.000000000 Z
12
+ date: 2014-01-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport