gitea-client 0.9.1 → 0.9.2

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: 1a86feed7c458159c32c4a9dc5df71aea90313379611c01f3aaf2d9a92dc45b9
4
- data.tar.gz: 5d2b6143ab2818ebc53ca7242e45edaa0b410d83d4ba4e0f7f4cc573d98dda3e
3
+ metadata.gz: 5b991ac643003f3bbdb6b5d127d937167e3a5a3331017958a360247c20854653
4
+ data.tar.gz: d64feef2ca9cd683b6d6285ac88987fd8ac497ab37e3a4754db9bab8539e75da
5
5
  SHA512:
6
- metadata.gz: 5d7b33a67d114bdf951bb46745821d82bbd1b229cfdfd2d42fdf57ca6a2d9263a81a126f33852dcfa6d8af6442c7ae649b69298e104a375a2bf0f946e3be85bd
7
- data.tar.gz: 2537f303f67bdacc819eb4ecf753035853ca0b052e67ad038a823c9b7c3b3e4d1fe8fab945f92f0f77018f280c780e29b635497d45f0f2768b2eed5499ab4d21
6
+ metadata.gz: 586ca5d35e2407a9368d6c06355ee715f6219b9ff5184f7a7da2faf4fe5de7a8642e5aa18cea1f6b94ea4e8d64c32bc12ee7d8239fe6b10902d4e63675360b51
7
+ data.tar.gz: 4b26d762a32471c6cd8a2ba5ffceb3795ef5b02028be01d72b2b7c90428ac12c5629934a8af76ad8fe0f46ebdc8a9ec668416046809b4e5a2e68f93fbac6d6a8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitea-client (0.9.1)
4
+ gitea-client (0.9.2)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
@@ -101,6 +101,10 @@ module Gitea
101
101
  @http.get("/repos/#{owner}/#{repo}/commits", opt)
102
102
  end
103
103
 
104
+ def get_repos_commits_diff_by_owner_repo(owner, repo, opt = {})
105
+ @http.get("/repos/#{owner}/#{repo}/commits/diff", opt)
106
+ end
107
+
104
108
  def get_repos_commits_status_by_owner_repo_ref(owner, repo, ref, opt = {})
105
109
  @http.get("/repos/#{owner}/#{repo}/commits/#{ref}/status", opt)
106
110
  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.9.1"
4
+ VERSION = "0.9.2"
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.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - viletyy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-15 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client