fix: lose collaborators edit api
This commit is contained in:
parent
ea69f224b4
commit
ac7c2088fd
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
gitea-client (0.4.0)
|
||||
gitea-client (0.5.0)
|
||||
rest-client (~> 2.1.0)
|
||||
|
||||
GEM
|
||||
|
|
|
@ -69,6 +69,10 @@ module Gitea
|
|||
@http.get("/repos/#{owner}/#{repo}/collaborators/#{collaborator}", opt)
|
||||
end
|
||||
|
||||
def put_repos_collaborators_by_owner_repo_collaborator(owner, repo, collaborator, opt = {})
|
||||
@http.put("/repos/#{owner}/#{repo}/collaborators/#{collaborator}", opt)
|
||||
end
|
||||
|
||||
def delete_repos_collaborators_by_owner_repo_collaborator(owner, repo, collaborator, opt = {})
|
||||
@http.delete("/repos/#{owner}/#{repo}/collaborators/#{collaborator}", opt)
|
||||
end
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
module Gitea
|
||||
VERSION = "0.4.0"
|
||||
VERSION = "0.5.0"
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue