gitea-client 1.4.6 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/gitea/api/exception.rb +1 -0
- 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: a674aabbd18dae2ecfac091da5f85e71a820a7bfe08987c0c47b2eab6c55fc07
|
4
|
+
data.tar.gz: 70116ef3b787fa720538f9f1d9f9c29deead91470645fe69683694611bc1e331
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40d870e3a1efccc284fcd139682c3f6a3617cc1623cd4b79ab42639f2e95eba3a01861e231f34eaa3e7cf232976af246ed52ec32de732cad9417cf52bf150592
|
7
|
+
data.tar.gz: e53fe55343aaa55f66f0271720352ad222cea9e8628586701f288e60772fc7a3014b5b124b9a82d3f292aa4e276de42c812acca4fdeb169eb3eb0e3ae81f9944
|
data/README.md
CHANGED
@@ -2,14 +2,12 @@
|
|
2
2
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gitea`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
Add this line to your application's Gemfile:
|
10
8
|
|
11
9
|
```ruby
|
12
|
-
gem 'gitea-client'
|
10
|
+
gem 'gitea-client', '~> 1.4.0'
|
13
11
|
```
|
14
12
|
|
15
13
|
And then execute:
|
@@ -19,8 +17,9 @@ And then execute:
|
|
19
17
|
Or install it yourself as:
|
20
18
|
|
21
19
|
$ gem install gitea-client
|
20
|
+
|
22
21
|
|
23
|
-
## Usage
|
22
|
+
## Usage Example
|
24
23
|
|
25
24
|
```ruby
|
26
25
|
require 'gitea-client'
|
@@ -31,6 +30,7 @@ client.get_users_search({query: {q: 'viletyy'}})
|
|
31
30
|
|
32
31
|
```
|
33
32
|
|
33
|
+
|
34
34
|
## Development
|
35
35
|
|
36
36
|
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/lib/gitea/api/exception.rb
CHANGED
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: 1.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- viletyy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.
|
95
|
+
rubygems_version: 3.4.10
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: Gitea API 库
|