This commit is contained in:
viletyy 2022-06-23 15:33:33 +08:00
parent ae1b1af0cc
commit ba3cb6ad03
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
PATH
remote: .
specs:
gitea-client (0.7.0)
gitea-client (0.8.0)
rest-client (~> 2.1.0)
GEM

View File

@ -104,7 +104,7 @@ module Gitea
response.return!
end
JSON.parse(response)
JSON.parse(response) rescue {}
end
def get_user_agent

View File

@ -1,5 +1,5 @@
# frozen_string_literal: true
module Gitea
VERSION = "0.7.0"
VERSION = "0.8.0"
end