git-review 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/git-review.rb +1 -1
  2. metadata +4 -4
data/lib/git-review.rb CHANGED
@@ -101,7 +101,7 @@ class GitReview
101
101
  # Close a specified request.
102
102
  def close
103
103
  return unless request_exists?
104
- Octokit.post("issues/close/#{source_repo}/#{@pending_request['number']}")
104
+ Octokit.close_issue(source_repo, @pending_request['number'])
105
105
  puts 'Successfully closed request.' unless request_exists?(@pending_request['number'])
106
106
  end
107
107
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-review
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 5
10
- version: 0.8.5
9
+ - 6
10
+ version: 0.8.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dominik Bamberger, Cristian Messel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-22 00:00:00 +01:00
18
+ date: 2011-12-23 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency