github_pulley 0.1.0 → 0.1.1
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/lib/github_pulley/base.rb +3 -2
- data/lib/github_pulley/version.rb +1 -1
- metadata +3 -3
data/lib/github_pulley/base.rb
CHANGED
@@ -14,9 +14,10 @@ module GithubPulley
|
|
14
14
|
def attach_pull_request_to_issue(issue, opts={})
|
15
15
|
opts = {
|
16
16
|
:base => 'master',
|
17
|
-
:head => "#{
|
17
|
+
:head => "#{origin_user}:#{current_branch}",
|
18
18
|
:branch => current_branch
|
19
19
|
}.merge(opts)
|
20
|
+
p opts
|
20
21
|
puts "Pushing to #{opts[:branch]} on 'origin'"
|
21
22
|
`git push origin #{opts[:branch]}`
|
22
23
|
pull_to = forked_from || origin_repo
|
@@ -31,7 +32,7 @@ module GithubPulley
|
|
31
32
|
def create_pull_request(title, body='', opts={})
|
32
33
|
opts = {
|
33
34
|
:base => 'master',
|
34
|
-
:head => "#{
|
35
|
+
:head => "#{origin_user}:#{current_branch}",
|
35
36
|
:branch => current_branch
|
36
37
|
}.merge(opts)
|
37
38
|
puts "Pushing to #{opts[:branch]} on 'origin'"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_pulley
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mark Percival
|