git_pivotal_tracker 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -24,7 +24,7 @@ module GitPivotalTracker
|
|
24
24
|
log repository.git.merge(merge_options, current_branch)
|
25
25
|
|
26
26
|
puts "Pushing #{integration_branch}"
|
27
|
-
log repository.git.push({:raise => true})
|
27
|
+
log repository.git.push({:raise => true}, 'origin', integration_branch)
|
28
28
|
|
29
29
|
puts "Marking Story #{story_id} as finished..."
|
30
30
|
if story.update(:current_state => finished_state)
|
@@ -48,7 +48,7 @@ describe GitPivotalTracker::Finish do
|
|
48
48
|
index.add('test.txt', message)
|
49
49
|
@sha = index.commit(message, [@repo.heads.detect { |h| h.name == @new_branch }.commit], nil, nil, @new_branch)
|
50
50
|
|
51
|
-
@repo.git.should_receive(:push).with(:raise => true)
|
51
|
+
@repo.git.should_receive(:push).with({:raise => true}, 'origin', @current_head.name)
|
52
52
|
end
|
53
53
|
|
54
54
|
it "merges the topic branch into the integration branch with a merge commit" do
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: git_pivotal_tracker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ben Lindsey
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-08-19 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|