backlog 0.15.0 → 0.15.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,13 @@
1
+ == 0.15.1 2007-11-29
2
+
3
+ === Features
4
+
5
+ * Added displaying of task id in lists.
6
+
7
+ === Fixes
8
+
9
+ * Fixed bug in task reordering.
10
+
1
11
  == 0.15.0 2007-11-28
2
12
 
3
13
  === Features
@@ -191,7 +191,7 @@ class TasksController < ApplicationController
191
191
  else
192
192
  flash[:notice] = "Task not found"
193
193
  end
194
- back_or_redirect_to :controller => 'periods', :action => :show_no_layout, :id => task.period_id, :task => task.id
194
+ redirect_to :controller => 'periods', :action => :show_no_layout, :id => task.period_id, :task => task.id
195
195
  end
196
196
 
197
197
  def start_work
data/app/models/task.rb CHANGED
@@ -377,6 +377,10 @@ class Task < ActiveRecord::Base
377
377
  started_works.select {|work| work.user.nil?}.last
378
378
  end
379
379
 
380
+ def description_with_id
381
+ "##{id}: #{description}"
382
+ end
383
+
380
384
  def description_with_parents
381
385
  if parent.nil?
382
386
  "#{backlog.name}: #{description}"
@@ -15,7 +15,7 @@
15
15
  </td>
16
16
  <td>
17
17
  <div id="task_<%=@task.id%>_description"<%=' class="tasks" onmouseover="this.style.border=\'1px solid black\'" onmouseout="this.style.border=\'1px solid transparent\'"' if active && (@task.period.nil? || @task.period.active_or_future?) && (not @task.work_started?) %>>
18
- <%=detour_to h(@task.description), :controller => 'tasks', :action => :edit, :id => @task.id if @task.position || @task.depth == 0 %>
18
+ <%=detour_to h(@task.description_with_id), :controller => 'tasks', :action => :edit, :id => @task.id if @task.position || @task.depth == 0 %>
19
19
  </div>
20
20
  </td>
21
21
  <td align="right" nowrap="true" width="1">
data/cruise_config.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  Project.configure do |project|
2
2
  project.email_notifier.emails = ['uwe@datek.no']
3
3
  project.scheduler.polling_interval = 5.minutes
4
- project.build_command = 'RAILS_ENV=test rake'
4
+ project.build_command = 'export RAILS_ENV=test ; rake db:migrate ; rake'
5
5
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: backlog
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.15.0
7
- date: 2007-11-28 00:00:00 +01:00
6
+ version: 0.15.1
7
+ date: 2007-11-29 00:00:00 +01:00
8
8
  summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
9
9
  require_paths:
10
10
  - lib