gitcycle 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/gitcycle.gemspec +1 -1
- data/lib/gitcycle.rb +4 -3
- metadata +4 -4
data/gitcycle.gemspec
CHANGED
data/lib/gitcycle.rb
CHANGED
@@ -175,7 +175,7 @@ class Gitcycle
|
|
175
175
|
run("git checkout #{qa_branch['source']}")
|
176
176
|
|
177
177
|
if issues[1..-1].empty?
|
178
|
-
if issues.first
|
178
|
+
if issues.first == 'pass'
|
179
179
|
puts "Merging '#{branch}' into '#{qa_branch['source']}'.\n".green
|
180
180
|
run("git merge #{branch}")
|
181
181
|
run("git push origin #{qa_branch['source']}")
|
@@ -196,7 +196,7 @@ class Gitcycle
|
|
196
196
|
end
|
197
197
|
|
198
198
|
branches.each do |branch|
|
199
|
-
if issues.first
|
199
|
+
if issues.first == 'pass'
|
200
200
|
merge_remote_branch(
|
201
201
|
:user => branch['user'],
|
202
202
|
:repo => branch['repo'].split(':'),
|
@@ -213,7 +213,7 @@ class Gitcycle
|
|
213
213
|
end
|
214
214
|
end
|
215
215
|
|
216
|
-
if issues.first
|
216
|
+
if issues.first == 'pass'
|
217
217
|
puts "\nMarking Lighthouse tickets as 'pending-approval'.\n".green
|
218
218
|
branches = branches.collect do |b|
|
219
219
|
{ :name => b['branch'], :repo => b['repo'], :user => b['user'] }
|
@@ -550,6 +550,7 @@ class Gitcycle
|
|
550
550
|
end
|
551
551
|
|
552
552
|
def save_config
|
553
|
+
FileUtils.mkdir_p(File.dirname(@config_path))
|
553
554
|
File.open(@config_path, 'w') do |f|
|
554
555
|
f.write(YAML.dump(@config))
|
555
556
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitcycle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Winton Welsh
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-01-
|
18
|
+
date: 2012-01-19 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|