lib/pt/client.rb in pt-0.2.1 vs lib/pt/client.rb in pt-0.2.2

- old
+ new

@@ -39,10 +39,10 @@ def get_my_tasks_to_estimate(project, user_name) project.stories.all(:owner => user_name, :story_type => 'feature').select{ |t| t.estimate == -1 } end def get_my_tasks_to_start(project, user_name) - tasks = project.stories.all(:owner => user_name, :current_state => 'unscheduled,rejected') + tasks = project.stories.all(:owner => user_name, :current_state => 'unscheduled,rejected,unstarted') tasks.reject{ |t| (t.story_type == 'feature') && (t.estimate == -1) } end def get_my_tasks_to_finish(project, user_name) project.stories.all(:owner => user_name, :current_state => 'started') \ No newline at end of file