gitcycle 0.1.17 → 0.1.18
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/gitcycle.gemspec +1 -1
- data/lib/gitcycle.rb +2 -10
- metadata +3 -3
data/gitcycle.gemspec
CHANGED
data/lib/gitcycle.rb
CHANGED
|
@@ -191,7 +191,7 @@ class Gitcycle
|
|
|
191
191
|
)
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
|
|
194
|
+
unless issues.empty?
|
|
195
195
|
puts "\nLabeling issue #{branch['issue']} as '#{label}'.\n".green
|
|
196
196
|
get('label',
|
|
197
197
|
'qa_branch[source]' => qa_branch['source'],
|
|
@@ -201,21 +201,13 @@ class Gitcycle
|
|
|
201
201
|
end
|
|
202
202
|
end
|
|
203
203
|
|
|
204
|
-
if issues.empty?
|
|
204
|
+
if issues.empty?
|
|
205
205
|
puts "\nLabeling all issues as '#{label}'.\n".green
|
|
206
206
|
get('label',
|
|
207
207
|
'qa_branch[source]' => qa_branch['source'],
|
|
208
208
|
'labels' => [ label ]
|
|
209
209
|
)
|
|
210
210
|
end
|
|
211
|
-
|
|
212
|
-
if pass_fail == 'pass'
|
|
213
|
-
puts "Marking Lighthouse tickets as 'pending-approval'.\n".green
|
|
214
|
-
branches = branches.collect do |b|
|
|
215
|
-
{ :name => b['branch'], :repo => b['repo'], :user => b['user'] }
|
|
216
|
-
end
|
|
217
|
-
get('ticket_resolve', 'branches' => Yajl::Encoder.encode(branches))
|
|
218
|
-
end
|
|
219
211
|
else
|
|
220
212
|
puts "\nYou are not in a QA branch.\n".red
|
|
221
213
|
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: 63
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 18
|
|
10
|
+
version: 0.1.18
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Winton Welsh
|