gitea-client 1.5.6 → 1.5.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -1
- data/lib/gitea/api/hat/repository.rb +16 -0
- data/lib/gitea/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2329e00e2af0a331e2ae7c951f0581c4cb672ed48b72d2efd93ee7dc6ad74528
|
4
|
+
data.tar.gz: 3e1b7b481ed27f11b68fe363118396af0722dda9c0d591c4df46341db3561b2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84bfc1052683db65b1d4f0e620310f6772355745e0cb8027462701d4652ad7c8c4ce9a3b12f2efb9cddf8bd4adb4862146b513f7fad90a9d4e2ab33b0425cd7d
|
7
|
+
data.tar.gz: cb07ef775f22bf237817485a719e7b34453fded60306bb1985414b22ff6cb65c023b14f5bb744bab198e3bdf7c7304b2029110107c745c168a6fbefd05557f6c
|
data/Gemfile.lock
CHANGED
@@ -7,10 +7,26 @@ module Gitea
|
|
7
7
|
@http.get("/repos/#{owner}/#{repo}/actions", opt)
|
8
8
|
end
|
9
9
|
|
10
|
+
def post_repos_actions_runs_by_owner_repo(owner, repo, opt = {})
|
11
|
+
@http.post("/repos/#{owner}/#{repo}/actions/runs", opt)
|
12
|
+
end
|
13
|
+
|
10
14
|
def post_repos_actions_runs_jobs_by_owner_repo_run_job(owner, repo, run, job, opt = {})
|
11
15
|
@http.post("/repos/#{owner}/#{repo}/actions/runs/#{run}/jobs/#{job}", opt)
|
12
16
|
end
|
13
17
|
|
18
|
+
def post_repos_actions_runs_rerun_by_owner_repo_run(owner, repo, run, opt = {})
|
19
|
+
@http.post("/repos/#{owner}/#{repo}/actions/runs/#{run}/rerun", opt)
|
20
|
+
end
|
21
|
+
|
22
|
+
def post_repos_actions_runs_jobs_rerun_by_owner_repo_run_job(owner, repo, run, job, opt = {})
|
23
|
+
@http.post("/repos/#{owner}/#{repo}/actions/runs/#{run}/jobs/#{job}/rerun", opt)
|
24
|
+
end
|
25
|
+
|
26
|
+
def get_repos_actions_runs_jobs_logs_by_owner_repo_run_job(owner, repo, run, job, opt = {})
|
27
|
+
@http.get("/repos/#{owner}/#{repo}/actions/runs/#{run}/jobs/#{job}/logs")
|
28
|
+
end
|
29
|
+
|
14
30
|
def post_repos_actions_disable(owner, repo, opt= {})
|
15
31
|
@http.post("/repos/#{owner}/#{repo}/actions/disable", opt)
|
16
32
|
end
|
data/lib/gitea/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitea-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- viletyy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|