dev_flow 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dev_flow/commands/complete.rb +1 -1
- data/lib/dev_flow/commands/info.rb +1 -1
- data/lib/dev_flow/version.rb +1 -1
- metadata +1 -1
@@ -9,7 +9,7 @@ module DevFlow
|
|
9
9
|
error "Not on a known task branch. Can not continue." unless current_task
|
10
10
|
|
11
11
|
info "Assigned resources for current task: " + current_task.resources.join(", ")
|
12
|
-
|
12
|
+
info "Task resource list are #{current_task.resources.join(',')}, you are #{@config["whoami"]}"
|
13
13
|
unless current_task.resources.include?(@config["whoami"])
|
14
14
|
if i_have_power?
|
15
15
|
role = 'supervisor' if i_am_supervisor?
|
@@ -35,7 +35,7 @@ module DevFlow
|
|
35
35
|
switch_to! @waiting[ans.to_i].branch_name
|
36
36
|
|
37
37
|
# update your work directory
|
38
|
-
`git pull #{@config["git_remote"]} #{@waiting[ans.to_i].branch_name}` if @config["git_remote"]
|
38
|
+
`git pull #{@config["git_remote"]} #{@waiting[ans.to_i].branch_name}` if @config["git_remote"] and @waiting[ans.to_i].progress > 0
|
39
39
|
|
40
40
|
# if the task not started yet, update progress
|
41
41
|
upload_progress!(@waiting[ans.to_i], 10) unless @waiting[ans.to_i].progress > 0
|
data/lib/dev_flow/version.rb
CHANGED