stonepath 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -31,8 +31,8 @@ module StonePath
31
31
  transitions :to => :expired, :from => :active
32
32
  end
33
33
 
34
- named_scope :unassigned, { :conditions => ['assignee_id IS NULL'] }
35
- named_scope :assigned, { :conditions => ['assignee_id IS NOT NULL'] }
34
+ named_scope :unassigned, { :conditions => ['workbench_id IS NULL'] }
35
+ named_scope :assigned, { :conditions => ['workbench_id IS NOT NULL'] }
36
36
  named_scope :active, { :conditions => ['aasm_state in (?)', ['active']] }
37
37
  named_scope :completed, { :conditions => ['aasm_state in (?)', ['completed']] }
38
38
  named_scope :expired, { :conditions => ['aasm_state in (?)', ['expired']] }
@@ -3,8 +3,6 @@ module StonePath
3
3
  def self.included(base)
4
4
  base.instance_eval do
5
5
  def workbench_for(tasks, options={})
6
- #options.merge!(:foreign_key => :assignee_id)
7
- #puts options
8
6
  has_many tasks, :as => :workbench
9
7
  end
10
8
  end
data/stonepath.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{stonepath}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["David Bock"]
12
- s.date = %q{2009-12-20}
12
+ s.date = %q{2009-12-21}
13
13
  s.description = %q{Stateful workflow modeling for Rails}
14
14
  s.email = %q{dbock@codesherpas.com}
15
15
  s.extra_rdoc_files = [
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.0.4
4
+ version: 0.0.5
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: 2009-12-20 00:00:00 -05:00
12
+ date: 2009-12-21 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency