gitea-client 0.10.4 → 0.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +18 -17
- data/lib/gitea/api/repository.rb +5 -1
- data/lib/gitea/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2fa85dbb835f284ebdd18d59af3cdb8fc823a3e6ca8f546c56df6a435c72bc65
|
|
4
|
+
data.tar.gz: 1021ec5ccee4f7e21ea1afe072ea2ec385417dd019e0a9da388f88040e6729a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cba58dcadfe24249e87a540e613a640c13a3175bee411aba5b8ef989b7de509ab9ba9a52fc6e07ef89cc26a3aea503947854365685ce1cd6f90e6a75493623c7
|
|
7
|
+
data.tar.gz: 7e5d942b77ee035192b7c49af1b3239c7d8a638d9db0d66bbedd1ca5ff2ac1623dddf94feec66d89cefbc914e5c4e6e9b8454a7906712fe904d13d40fcf66066
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
gitea-client (0.10.
|
|
4
|
+
gitea-client (0.10.6)
|
|
5
5
|
rest-client (~> 2.1.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -17,49 +17,50 @@ GEM
|
|
|
17
17
|
mime-types-data (~> 3.2015)
|
|
18
18
|
mime-types-data (3.2022.0105)
|
|
19
19
|
netrc (0.11.0)
|
|
20
|
-
parallel (1.
|
|
21
|
-
parser (3.1.
|
|
20
|
+
parallel (1.20.1)
|
|
21
|
+
parser (3.1.3.0)
|
|
22
22
|
ast (~> 2.4.1)
|
|
23
23
|
rainbow (3.1.1)
|
|
24
24
|
rake (13.0.6)
|
|
25
|
-
regexp_parser (2.
|
|
25
|
+
regexp_parser (2.6.1)
|
|
26
26
|
rest-client (2.1.0)
|
|
27
27
|
http-accept (>= 1.7.0, < 2.0)
|
|
28
28
|
http-cookie (>= 1.0.2, < 2.0)
|
|
29
29
|
mime-types (>= 1.16, < 4.0)
|
|
30
30
|
netrc (~> 0.8)
|
|
31
31
|
rexml (3.2.5)
|
|
32
|
-
rubocop (1.
|
|
32
|
+
rubocop (1.12.1)
|
|
33
33
|
parallel (~> 1.10)
|
|
34
|
-
parser (>= 3.
|
|
34
|
+
parser (>= 3.0.0.0)
|
|
35
35
|
rainbow (>= 2.2.2, < 4.0)
|
|
36
36
|
regexp_parser (>= 1.8, < 3.0)
|
|
37
37
|
rexml
|
|
38
|
-
rubocop-ast (>= 1.
|
|
38
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
|
39
39
|
ruby-progressbar (~> 1.7)
|
|
40
40
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
41
|
-
rubocop-ast (1.
|
|
42
|
-
parser (>=
|
|
43
|
-
rubocop-performance (1.
|
|
44
|
-
rubocop (>=
|
|
41
|
+
rubocop-ast (1.4.1)
|
|
42
|
+
parser (>= 2.7.1.5)
|
|
43
|
+
rubocop-performance (1.10.1)
|
|
44
|
+
rubocop (>= 0.90.0, < 2.0)
|
|
45
45
|
rubocop-ast (>= 0.4.0)
|
|
46
46
|
ruby-progressbar (1.11.0)
|
|
47
|
-
standard (1.
|
|
48
|
-
rubocop (= 1.
|
|
49
|
-
rubocop-performance (= 1.
|
|
47
|
+
standard (1.0.5)
|
|
48
|
+
rubocop (= 1.12.1)
|
|
49
|
+
rubocop-performance (= 1.10.1)
|
|
50
50
|
unf (0.1.4)
|
|
51
51
|
unf_ext
|
|
52
52
|
unf_ext (0.0.8.1)
|
|
53
|
-
unicode-display_width (2.
|
|
53
|
+
unicode-display_width (2.3.0)
|
|
54
54
|
|
|
55
55
|
PLATFORMS
|
|
56
|
+
-darwin-21
|
|
56
57
|
x86_64-darwin-20
|
|
57
58
|
|
|
58
59
|
DEPENDENCIES
|
|
59
60
|
gitea-client!
|
|
60
61
|
rake (~> 13.0)
|
|
61
62
|
rest-client
|
|
62
|
-
standard
|
|
63
|
+
standard
|
|
63
64
|
|
|
64
65
|
BUNDLED WITH
|
|
65
|
-
2.
|
|
66
|
+
2.3.22
|
data/lib/gitea/api/repository.rb
CHANGED
|
@@ -86,6 +86,10 @@ module Gitea
|
|
|
86
86
|
@http.delete("/repos/#{owner}/#{repo}/branches/#{branch}", opt)
|
|
87
87
|
end
|
|
88
88
|
|
|
89
|
+
def get_repos_code_stats_by_owner_repo(owner, repo, opt = {})
|
|
90
|
+
@http.get("/repos/#{owner}/#{repo}/code_stats", opt)
|
|
91
|
+
end
|
|
92
|
+
|
|
89
93
|
def get_repos_compare_by_owner_repo_from_to(owner, repo, from, to, opt = {})
|
|
90
94
|
@http.get("/repos/#{owner}/#{repo}/compare/#{to}...#{from}", opt)
|
|
91
95
|
end
|
|
@@ -278,7 +282,7 @@ module Gitea
|
|
|
278
282
|
@http.post("/repos/#{owner}/#{repo}/pulls", opt)
|
|
279
283
|
end
|
|
280
284
|
|
|
281
|
-
def get_repos_pulls_by_owner_repo_index(owner, repo, opt = {})
|
|
285
|
+
def get_repos_pulls_by_owner_repo_index(owner, repo, index, opt = {})
|
|
282
286
|
@http.get("/repos/#{owner}/#{repo}/pulls/#{index}", opt)
|
|
283
287
|
end
|
|
284
288
|
|
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: 0.10.
|
|
4
|
+
version: 0.10.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- viletyy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
84
84
|
- !ruby/object:Gem::Version
|
|
85
85
|
version: '0'
|
|
86
86
|
requirements: []
|
|
87
|
-
rubygems_version: 3.
|
|
87
|
+
rubygems_version: 3.2.3
|
|
88
88
|
signing_key:
|
|
89
89
|
specification_version: 4
|
|
90
90
|
summary: Gitea API 库
|