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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a674aabbd18dae2ecfac091da5f85e71a820a7bfe08987c0c47b2eab6c55fc07
4
- data.tar.gz: 70116ef3b787fa720538f9f1d9f9c29deead91470645fe69683694611bc1e331
3
+ metadata.gz: 2329e00e2af0a331e2ae7c951f0581c4cb672ed48b72d2efd93ee7dc6ad74528
4
+ data.tar.gz: 3e1b7b481ed27f11b68fe363118396af0722dda9c0d591c4df46341db3561b2f
5
5
  SHA512:
6
- metadata.gz: 40d870e3a1efccc284fcd139682c3f6a3617cc1623cd4b79ab42639f2e95eba3a01861e231f34eaa3e7cf232976af246ed52ec32de732cad9417cf52bf150592
7
- data.tar.gz: e53fe55343aaa55f66f0271720352ad222cea9e8628586701f288e60772fc7a3014b5b124b9a82d3f292aa4e276de42c812acca4fdeb169eb3eb0e3ae81f9944
6
+ metadata.gz: 84bfc1052683db65b1d4f0e620310f6772355745e0cb8027462701d4652ad7c8c4ce9a3b12f2efb9cddf8bd4adb4862146b513f7fad90a9d4e2ab33b0425cd7d
7
+ data.tar.gz: cb07ef775f22bf237817485a719e7b34453fded60306bb1985414b22ff6cb65c023b14f5bb744bab198e3bdf7c7304b2029110107c745c168a6fbefd05557f6c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitea-client (1.4.5)
4
+ gitea-client (1.5.8)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
@@ -48,6 +48,7 @@ GEM
48
48
 
49
49
  PLATFORMS
50
50
  -darwin-21
51
+ arm64-darwin-21
51
52
  x86_64-darwin-20
52
53
 
53
54
  DEPENDENCIES
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gitea
4
- VERSION = "1.5.6"
4
+ VERSION = "1.5.8"
5
5
  end
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.6
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-04-26 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client