backlog 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -0
- data/Rakefile +5 -4
- data/app/models/task.rb +1 -0
- data/test/functional/tasks_controller_test.rb +9 -0
- metadata +1 -1
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -44,13 +44,14 @@ end
|
|
44
44
|
|
45
45
|
task :release_war do
|
46
46
|
Rake::Task['war:standalone:create'].invoke
|
47
|
+
war_pkg_file = "pkg/backlog.war"
|
47
48
|
if File.exists? 'backlog.war'
|
48
49
|
File.makedirs 'pkg'
|
49
|
-
File.move 'backlog.war',
|
50
|
+
File.move 'backlog.war', war_pkg_file
|
50
51
|
end
|
51
|
-
if File.exists?
|
52
|
+
if File.exists? war_pkg_file
|
52
53
|
rf = RubyForge.new
|
53
54
|
rf.login
|
54
|
-
rf.add_file 'backlog', 'backlog', APP::VERSION,
|
55
|
+
rf.add_file 'backlog', 'backlog', APP::VERSION, war_pkg_file
|
55
56
|
end
|
56
|
-
end
|
57
|
+
end
|
data/app/models/task.rb
CHANGED
@@ -305,4 +305,13 @@ class TasksControllerTest < Test::Unit::TestCase
|
|
305
305
|
assert_equal Task::ABORTED, after.resolution
|
306
306
|
end
|
307
307
|
|
308
|
+
def test_start_work
|
309
|
+
task_id = tasks(:first).id
|
310
|
+
|
311
|
+
post :start_work, :id => task_id
|
312
|
+
|
313
|
+
after = Task.find(task_id)
|
314
|
+
assert after.work_started?
|
315
|
+
end
|
316
|
+
|
308
317
|
end
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: backlog
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.10.
|
6
|
+
version: 0.10.2
|
7
7
|
date: 2007-09-23 00:00:00 +02:00
|
8
8
|
summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
|
9
9
|
require_paths:
|