gitea-client 0.7.1 → 0.8.1

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: a01f550ea5386da4487deb12c7cba34036584176cec9112187ceb0b7086bd4d0
4
+ data.tar.gz: e121287067cdd78713d88bc40f30abc892667708dad5a988c055f98734f9152a
5
5
  SHA512:
6
- metadata.gz: 636116430f19f3771b0c4f91b54466f62bf54f6c375f51d346a07166d8092c19f5814a43316806fabb39e15579ba20ffe6ce73f3b043b7e422ec0e5768a8f2ff
7
- data.tar.gz: b6f7b35bc709f73776da18d4b3adee78ed956eb65e11ed8d3401cd796e6d82de828daf9995a0dc4ebec811fd6164c5791a8102f3854d4be0e2191748bcd6a621
6
+ metadata.gz: 340bee8032af5963dbef9a35972d64e2e6f29e1d7c4872081aa910e0fb4759b8cfda783b6fbcf8074164c76376157273792666be031e89e35870ea73a5052a0c
7
+ data.tar.gz: 751a80f76fc107ab635ffe91eb7773d92a20d935da0aaa468ffc88fc46698c599eec0d309ee3515d0c831ba0eef3fbb1a54786b236283e20093d498c8e5cf4fe
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.1)
5
5
  rest-client (~> 2.1.0)
6
6
 
7
7
  GEM
@@ -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.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - viletyy