gitea-client 0.6.0 → 0.7.0

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: f90390572b613eccb3ff28eb6f1232f5fc058630860925ff88880bff4a19e25c
4
- data.tar.gz: 887099057591026829b85aecd5c174483bbf3043ad4b756331d61fbba874186f
3
+ metadata.gz: ca16b2d2421abb2131045e85d96ae8ef9da5f06e94e817f8aa1bf80122ba15c2
4
+ data.tar.gz: 3b3db595d5fa6d5c6430e2e9fa9e78f89c870ef7c862e76ecfd143adfb8fd07d
5
5
  SHA512:
6
- metadata.gz: 8dbb99a33ae314b4a137afd1baebd4d2612c0c274db22d54eb4b97109161401e254ea0355d569770ab2f0dd7b0d9d17132a5af072e89d97d5fb5a038afde3cb8
7
- data.tar.gz: df079649480b013cbf1e4e6e210056913826a6518503528bcce6eb6688d1902c18084edece8f528a1c2b31ef655c790fc35f1564e56080940ea2d46677db1778
6
+ metadata.gz: a8132c9f6a7cc1baec42ce4e924883aea793a21948e6a02c351625c1b542a1839a26b2c0067850fbda241bdba02e65b5bf14afb67bdcc6f2954168a98a572bfd
7
+ data.tar.gz: 884c00d5b01de20ce995f6fb3b3c645649bba524a76dd6eaeb0abdf4f1febae3b8665ee2d3629900edfa4e46d07843633d81c0988c0bcc6035c3aab874a88de4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitea-client (0.6.0)
4
+ gitea-client (0.7.0)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
@@ -30,6 +30,10 @@ module Gitea
30
30
  do_request('PUT', api_url, http_options, &block)
31
31
  end
32
32
 
33
+ def patch(api_url = '', http_options = {}, &block)
34
+ do_request('PATCH', api_url, http_options, &block)
35
+ end
36
+
33
37
  def post(api_url = '', http_options = {}, &block)
34
38
  do_request('POST', api_url, http_options, &block)
35
39
  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 = "0.6.0"
4
+ VERSION = "0.7.0"
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: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - viletyy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-22 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client