gitea-client 0.7.1 → 0.8.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: cc354d6ebcd5ec3bf4fd76fd7647cdaea7f1d024a0bd578c5058a982244f815d
4
- data.tar.gz: 38bc505b08560028ea865c2f039cf2cb3cbc6a2a4757f397a378e8013118e240
3
+ metadata.gz: a4888dd06916a46c9d07b5e58ff98e8bc7f7e8123508bfecfde82f7326c8621b
4
+ data.tar.gz: cb9ac280db2f175fb89ec3132172c0b7723885b3d62432fac2b05c4461ce5c58
5
5
  SHA512:
6
- metadata.gz: 636116430f19f3771b0c4f91b54466f62bf54f6c375f51d346a07166d8092c19f5814a43316806fabb39e15579ba20ffe6ce73f3b043b7e422ec0e5768a8f2ff
7
- data.tar.gz: b6f7b35bc709f73776da18d4b3adee78ed956eb65e11ed8d3401cd796e6d82de828daf9995a0dc4ebec811fd6164c5791a8102f3854d4be0e2191748bcd6a621
6
+ metadata.gz: 543d71644fa7aa9dff5009a609172ef8bc87498fca4783f43629537987dd5c03f7f6bdc7e783905e32870b9f0430cdbdbb6c47b3c5aabd5673a142cbd4f60c58
7
+ data.tar.gz: 718d0a066c54eddb5394c607da4081008a83a37456de64a38f698f332082f21990f1484200bc5a838f7db1a2b7fdd891f29d2b27b04cd92748ccf67800258183
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gitea-client (0.7.1)
4
+ gitea-client (0.8.2)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
data/gitea-client.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = ""
13
13
  spec.homepage = "https://github.com/viletyy/gitea-client"
14
14
  spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.6.0"
15
+ spec.required_ruby_version = ">= 2.4.0"
16
16
 
17
17
  spec.metadata["homepage_uri"] = spec.homepage
18
18
  spec.metadata["source_code_uri"] = "https://github.com/viletyy/gitea-client"
@@ -104,7 +104,7 @@ module Gitea
104
104
  response.return!
105
105
  end
106
106
 
107
- JSON.parse(response)
107
+ JSON.parse(response) rescue {}
108
108
  end
109
109
 
110
110
  def get_user_agent
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.7.1"
4
+ VERSION = "0.8.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.7.1
4
+ version: 0.8.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-06-23 00:00:00.000000000 Z
11
+ date: 2022-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -77,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: 2.6.0
80
+ version: 2.4.0
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="