From 9d6780719db42c31b9e051a7213e73bdb12bccae Mon Sep 17 00:00:00 2001 From: viletyy Date: Tue, 19 Jul 2022 10:57:06 +0800 Subject: [PATCH] fix --- Gemfile.lock | 2 +- lib/gitea/api/repository.rb | 1 + lib/gitea/version.rb | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1c1bbc6..50d1328 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - gitea-client (0.10.1) + gitea-client (0.10.2) rest-client (~> 2.1.0) GEM diff --git a/lib/gitea/api/repository.rb b/lib/gitea/api/repository.rb index 993a4b0..4551245 100644 --- a/lib/gitea/api/repository.rb +++ b/lib/gitea/api/repository.rb @@ -29,6 +29,7 @@ module Gitea @http.get("/repos/#{owner}/#{repo}/assignees", opt) end + # get repository blame def get_repos_blame_by_owner_repo(owner, repo, opt = {}) @http.get("/repos/#{owner}/#{repo}/blame", opt) end diff --git a/lib/gitea/version.rb b/lib/gitea/version.rb index b2f98db..a17496d 100644 --- a/lib/gitea/version.rb +++ b/lib/gitea/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Gitea - VERSION = "0.10.1" + VERSION = "0.10.2" end