stonepath 0.3.0 → 0.3.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -10,6 +10,7 @@ module StonePath
10
10
  def self.included(base)
11
11
  base.instance_eval do
12
12
  def workowner_for(work_items, options={})
13
+ options.merge!(:foreign_key => :owner_id)
13
14
  has_many work_items, options
14
15
  end
15
16
  end
@@ -5,7 +5,7 @@ class <%= args[0].classify %> < ActiveRecord::Base
5
5
 
6
6
  #logs_transitions # uncomment this if you generate the event log.
7
7
 
8
- attr_accessible <%= attributes.map { |a| ":#{a.name}" }.join(", ") %>
8
+ attr_accessible :workitem, :workbench, <%= attributes.map { |a| ":#{a.name}" }.join(", ") %>
9
9
 
10
10
  # you might think 'overdue' should be a state, but no, part of the stonepath
11
11
  # methodology is that states should be as free of time definition as possible.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stonepath
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Bock
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-08 00:00:00 -05:00
12
+ date: 2010-02-10 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency