response
This commit is contained in:
parent
ae1b1af0cc
commit
ba3cb6ad03
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
gitea-client (0.7.0)
|
||||
gitea-client (0.8.0)
|
||||
rest-client (~> 2.1.0)
|
||||
|
||||
GEM
|
||||
|
|
|
@ -104,7 +104,7 @@ module Gitea
|
|||
response.return!
|
||||
end
|
||||
|
||||
JSON.parse(response)
|
||||
JSON.parse(response) rescue {}
|
||||
end
|
||||
|
||||
def get_user_agent
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Gitea
|
||||
VERSION = "0.7.0"
|
||||
VERSION = "0.8.0"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue