gitcycle 0.2.29 → 0.2.30

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.
Files changed (3) hide show
  1. data/gitcycle.gemspec +1 -1
  2. data/lib/gitcycle.rb +1 -20
  3. metadata +1 -1
data/gitcycle.gemspec CHANGED
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gitcycle"
9
- s.version = '0.2.29'
9
+ s.version = '0.2.30'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
data/lib/gitcycle.rb CHANGED
@@ -364,7 +364,6 @@ class Gitcycle
364
364
  elsif branch =~ /^qa_/
365
365
  puts "\nRetrieving branch information from gitcycle.\n".green
366
366
  qa_branch = get('qa_branch', :source => branch.gsub(/^qa_/, ''))
367
- qa_branch_name = "qa_#{qa_branch['source']}_#{qa_branch['user']}"
368
367
 
369
368
  if pass_fail == 'pass'
370
369
  checkout_or_track(:name => qa_branch['source'], :remote => 'origin')
@@ -380,28 +379,10 @@ class Gitcycle
380
379
 
381
380
  if pass_fail == 'pass' && issues.empty?
382
381
  owner, repo = qa_branch['repo'].split(':')
383
-
384
- qa_branch['branches'].each do |b|
385
- repo = b['repo'].split(':')[1]
386
-
387
- add_remote_and_fetch(
388
- :owner => b['home'],
389
- :repo => repo
390
- )
391
-
392
- output = run("git log #{qa_branch_name}..#{b['home']}/#{repo}")
393
-
394
- unless output.strip.empty?
395
- puts "\nUn-merged changes detected in '#{repo}/#{b['home']}':".red
396
- puts "\n#{output}"
397
- puts "\nTo merge the change: git merge #{repo}/#{b['home']}".yellow
398
- end
399
- end
400
-
401
382
  merge_remote_branch(
402
383
  :owner => owner,
403
384
  :repo => repo,
404
- :branch => qa_branch_name,
385
+ :branch => "qa_#{qa_branch['source']}_#{qa_branch['user']}",
405
386
  :type => :from_qa
406
387
  )
407
388
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitcycle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.29
4
+ version: 0.2.30
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: