git_pr 0.0.14.beta10 → 0.0.14.beta11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-pr +2 -2
  3. data/lib/git_pr/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f86f6a53ac9443ae17b3af7a661214495b97c9cf
4
- data.tar.gz: 23442f35975e57a8eed5956296804ef54a7db85e
3
+ metadata.gz: 8fe915321c30b65e358c3a0c9f5d1b0d9fcfc2c3
4
+ data.tar.gz: 79f39d8dc9a669fd8f37c878036f8b9045cea6b3
5
5
  SHA512:
6
- metadata.gz: 2f7bd3c44f1aa393332683099dbd8a19cb5f72aa0e3976eca24ce1989250c672d1a161c3da8c7987d1ffb3073d9c610632fa9b51495e89d9419691078a7ed674
7
- data.tar.gz: 518af0426d9181cb1946ca2b876434530b7544530741805c7cc37bb89a1a5e82c543640a70ce06ede18e8fb735c4b9cd62ef67fcf81c159ed07be850e41afde2
6
+ metadata.gz: 14e8a3018ab527e473b6499198b0276f16d426ce3917a38ff3999cf7a570e2ef6f6b7f4f4de66330f9b9ba451ce3ec5dc00a69a65d5ef6a817115ebe09b98450
7
+ data.tar.gz: 5ad4a43859f3c83f8b30642f95d7fbf69917036c3377d5ec772d221d9524cc2f92ef263a0deffb646a34718f5c96e7f810c37e09cd5973ee7ce7fc9f5baea5ef
data/bin/git-pr CHANGED
@@ -280,8 +280,8 @@ when "open"
280
280
  end
281
281
 
282
282
  # We didn't find a matching pull request, so let's try to open the "create
283
- # pull request" page.
284
- source = source
283
+ # pull request" page for the passed in branch, or the current branch.
284
+ source = argument || git.current_branch
285
285
  if not git.is_local_branch_fast? source
286
286
  puts "Unknown branch '#{source}'.".red
287
287
  exit -1
@@ -1,3 +1,3 @@
1
1
  module GitPr
2
- VERSION = "0.0.14.beta10"
2
+ VERSION = "0.0.14.beta11"
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.14.beta10
4
+ version: 0.0.14.beta11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Sharon