diff --git a/Gemfile.lock b/Gemfile.lock index cb6b2ba..cb21fc7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - gitea-client (0.7.0) + gitea-client (0.8.0) rest-client (~> 2.1.0) GEM diff --git a/lib/gitea/api/http.rb b/lib/gitea/api/http.rb index b6525c2..814ebcb 100644 --- a/lib/gitea/api/http.rb +++ b/lib/gitea/api/http.rb @@ -104,7 +104,7 @@ module Gitea response.return! end - JSON.parse(response) + JSON.parse(response) rescue {} end def get_user_agent diff --git a/lib/gitea/version.rb b/lib/gitea/version.rb index 23912a2..a2a74ef 100644 --- a/lib/gitea/version.rb +++ b/lib/gitea/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Gitea - VERSION = "0.7.0" + VERSION = "0.8.0" end