git_pr 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e231910d981e67ad3eede6e7ceb0b64edb8e838c
4
- data.tar.gz: b0f203c2bd2c920840aa0440fe80f29b8b4185b2
3
+ metadata.gz: 7968f62060b92b884f997995272104332c1030e7
4
+ data.tar.gz: 71f6a543bb64d27d0f938a695997ee3492d91629
5
5
  SHA512:
6
- metadata.gz: fdeb0d89f3c48faa1b9acbf9735745824b71b3dc2b74a700bad7a747a5cc02edf9c7a1d122afd2d7a4982695d0ac17967afd707f4d634a5fc8e458f26d2b4e68
7
- data.tar.gz: e59e243ffcc9b8bf6d27c1a87b5486182f6971e0ed541698c89d0b4bcbb85e81ba8228f3c06b1ec2370de0f34935a62a578cfea234e4cca3eb7ae6d68f529e3d
6
+ metadata.gz: f820bb0fe822c56a9ee7c4545ec48c0e35639830f1e50d7d50a7ea3554a878611490c74f2fc491d176f8abec409207c5659a2eb822ba3e4468b62586ca408dbf
7
+ data.tar.gz: f87879e59f11b490d89c360589ec0fb47f096b48003137593441be80bf4fb4c3be1f8e4da3af33b5727b99c3e1c4cf114c21c64d203ff2a4d0ac33b8f0ca46ba
data/lib/git_pr/merge.rb CHANGED
@@ -3,13 +3,13 @@ module GitPr
3
3
  def self.ensure_remotes_for_pull_request git, pull
4
4
  source_remote = GitPr.ensure_remote_for_project(git,
5
5
  pull[:head][:user][:login],
6
- pull[:head][:repo][:git_url],
7
- pull[:head][:repo][:ssh_url])
6
+ pull[:head][:repo][:ssh_url],
7
+ pull[:head][:repo][:git_url])
8
8
 
9
9
  target_remote = GitPr.ensure_remote_for_project(git,
10
10
  pull[:base][:user][:login],
11
- pull[:base][:repo][:git_url],
12
- pull[:base][:repo][:ssh_url])
11
+ pull[:base][:repo][:ssh_url],
12
+ pull[:base][:repo][:git_url])
13
13
 
14
14
  [source_remote, target_remote]
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module GitPr
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Sharon