dev_flow 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- puts "debug: resource list are #{current_task.resources.join(',')}, i am #{@config["whoami"]}"
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
@@ -1,3 +1,3 @@
1
1
  module DevFlow
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_flow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: