gitea-client 1.5.7 → 1.5.9

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: 6db227dd5245c47c243c9cd74dd7b11420b090c04ae179ba7d13fa6e474037b0
4
- data.tar.gz: 308cf6cfb738e651a13762cdadb4f5e61c28b91b721034fcd106f4c28ade020d
3
+ metadata.gz: 63c0dfa2a99de01e74f0da89ba2fc8cbfc4ab4cc11f8efcbc970baaa6ff30a99
4
+ data.tar.gz: ef27b8f8fe6fd97c24304f003b8eab81c64f571661bfd6854f9daae2a65260aa
5
5
  SHA512:
6
- metadata.gz: fd1e439b56351b61149392971a79563b004a4d445b918a609ac1d023e42bfb6cadb0ed4536dee8fb60d95df2720cd845e0e1ffe27bb35c3ad9c8f8c4eac6190e
7
- data.tar.gz: b7b19675211636fac49f372cd7314f3de7fd070f7a9be5a15b1344c0920223f42ace44bec514fd32f46e628d87797a791970797755e7f335f79f5773bf65f36b
6
+ metadata.gz: 54e47a1f53c192e934e175ffa9d24b9d1fb8cfbebc077bbe324b319e224be2f6cdb90ad282653b4dc2cb0e61b514f24560b325f763cfe1bf9c9838931dee8aac
7
+ data.tar.gz: f8d6ab5d9dfc83b97536993d10b29de16f446e0eb89d9953f32e25ab1549287784e3ffac10b7abc3d57e88369341da4715f065721791d5bf2589a0cb18919586
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitea-client (1.5.7)
4
+ gitea-client (1.5.9)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
@@ -3,10 +3,18 @@ module Gitea
3
3
  module Hat
4
4
  module Repository
5
5
 
6
+ def delete_repos_by_owner_repo(owner, repo, opt = {})
7
+ @http.delete("/repos/#{owner}/#{repo}", opt)
8
+ end
9
+
6
10
  def get_repos_actions_by_owner_repo(owner, repo, opt = {})
7
11
  @http.get("/repos/#{owner}/#{repo}/actions", opt)
8
12
  end
9
13
 
14
+ def post_repos_actions_runs_by_owner_repo(owner, repo, opt = {})
15
+ @http.post("/repos/#{owner}/#{repo}/actions/runs", opt)
16
+ end
17
+
10
18
  def post_repos_actions_runs_jobs_by_owner_repo_run_job(owner, repo, run, job, opt = {})
11
19
  @http.post("/repos/#{owner}/#{repo}/actions/runs/#{run}/jobs/#{job}", opt)
12
20
  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.7"
4
+ VERSION = "1.5.9"
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.7
4
+ version: 1.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - viletyy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client