dev_flow 0.0.7 → 0.0.8

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.
data/bin/dw CHANGED
@@ -23,8 +23,7 @@ optparse = OptionParser.new do |opts|
23
23
  options[:local_config] = lc
24
24
  end
25
25
 
26
- options[:members_file] = 'members.yml' if File.exists?('members.yml')
27
- options[:members_file] = 'config/members.yml' if File.exists?('config/members.yml')
26
+ options[:members_file] = 'members.yml'
28
27
  opts.on('-m MEMBERS_FILE', '--members_file MEMBERS_FILE', 'use an other members file') do |mf|
29
28
  options[:members_file] = mf
30
29
  raise "the specified members file #{mf} is not exists." unless File.exists? mf
File without changes
@@ -24,7 +24,7 @@ module DevFlow
24
24
 
25
25
  # commit you current branch and push
26
26
  progress = 99
27
- message = ARGV[2] || "complete your branch by set progress to 99."
27
+ message = ARGV[2] || "complete the branch by set progress to 99."
28
28
  message = "[complete] " + message
29
29
 
30
30
  info "Commit your progress"
File without changes
File without changes
File without changes
data/lib/dev_flow/girc.rb CHANGED
@@ -132,6 +132,7 @@ module DevFlow
132
132
  cb = self.current_branch
133
133
  stashed = false
134
134
  unless self.wd_clean?
135
+ info "Stash your local changes"
135
136
  self.stash!
136
137
  stashed = true
137
138
  end
@@ -148,12 +149,12 @@ module DevFlow
148
149
  info "Update branch from remote"
149
150
  # rslt = `#{@git} pull --rebase #{remote} #{branch}`
150
151
  rslt = `#{@git} pull #{remote} #{branch}`
151
- raise "Rebase pull for #{branch} failed: #{rslt}" unless $?.success?
152
+ raise "Pull for #{branch} failed: #{rslt}" unless $?.success?
152
153
  info "Switch back to branch #{cb}"
153
154
  `#{@git} checkout #{cb}`
154
- info "Rebase from #{branch}"
155
- rslt = `#{@git} rebase #{branch}`
156
- raise "Rebase with #{branch} failed: #{rslt}" unless $?.success?
155
+ info "Merge from #{branch}"
156
+ rslt = `#{@git} merge #{branch}`
157
+ raise "Merge with #{branch} failed: #{rslt}" unless $?.success?
157
158
  end
158
159
 
159
160
  self.stash_pop! if stashed
File without changes
@@ -1,3 +1,3 @@
1
1
  module DevFlow
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
data/tags CHANGED
File without changes
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.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-26 00:00:00.000000000 Z
12
+ date: 2013-03-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: term-ansicolor
@@ -52,7 +52,6 @@ extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
54
  - README.md
55
- - ROADMAP
56
55
  - Rakefile
57
56
  - bin/dw
58
57
  - dev_flow.gemspec
@@ -107,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
106
  version: '0'
108
107
  requirements: []
109
108
  rubyforge_project:
110
- rubygems_version: 1.8.24
109
+ rubygems_version: 1.8.25
111
110
  signing_key:
112
111
  specification_version: 3
113
112
  summary: a bundle of tools for ROADMAP/git based development flow control.
data/ROADMAP DELETED
@@ -1,15 +0,0 @@
1
- ROADMAP for dev_flow Development
2
- ==================================
3
-
4
- % -----
5
- title: dev_flow development tools
6
- status: producing
7
- members:
8
- huangw: [Huang Wei, "huangw@pe-po.com"]
9
- leader: huangw
10
- year: 2013
11
- % -----
12
-
13
- [+] release_v0.3: with version number handling 03/25 @huangw:03/25
14
- [+] hotfix_taginfo: put tag situation on info screen 03/25 @huangw:03/25
15
- [+] release_v0.4: with cleanup closed local task branches 03/25 @huangw:03/25