git-issue 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Binary file
Binary file
@@ -200,6 +200,8 @@ class GitIssue::Github < GitIssue::Base
200
200
  response = send_request(url, {},options, params, :get)
201
201
  json = JSON.parse(response.body)
202
202
 
203
+ raise error_message(json) unless response_success?(response)
204
+
203
205
  if @debug
204
206
  puts '-' * 80
205
207
  puts url
@@ -312,6 +314,7 @@ class GitIssue::Github < GitIssue::Base
312
314
  puts "#{response.code}: #{response.msg}"
313
315
  puts response.body
314
316
  end
317
+
315
318
  response
316
319
  }
317
320
  end
@@ -1,3 +1,3 @@
1
1
  module GitIssue
2
- VERSION = "0.8.3"
2
+ VERSION = "0.8.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-issue
3
3
  version: !ruby/object:Gem::Version
4
- hash: 57
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 8
9
- - 3
10
- version: 0.8.3
9
+ - 4
10
+ version: 0.8.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tomohito Ozaki