github_pulley 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 => "#{upstream_user||origin_user}:#{current_branch}",
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 => "#{upstream_user||origin_user}:#{current_branch}",
35
+ :head => "#{origin_user}:#{current_branch}",
35
36
  :branch => current_branch
36
37
  }.merge(opts)
37
38
  puts "Pushing to #{opts[:branch]} on 'origin'"
@@ -1,3 +1,3 @@
1
1
  module GithubPulley
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mark Percival