jenkins_api_client 2.0.0 → 2.1.0

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: aadb30157bc60ba6690d00e65c6f4189c9b67a99d28b237b1d6109eba3fb96dc
4
- data.tar.gz: 56d061edfd578401afe42ab0ed595db447945a6dc09e36fabc6ca22dd5413af4
3
+ metadata.gz: a499520438bb2fdcedc254768700d30b74c5c083e2557048a97b8a9f9b2e23ea
4
+ data.tar.gz: cf1d9d37530711baed6c6909ee34077a07c0161c68705ca3c7691d1ac53ba82e
5
5
  SHA512:
6
- metadata.gz: 78c788fc101b7d84afa16a832bbb427c8edb56b9c4625c5ec8a2f494404eba2ebb5d57677fef03a173d7ae1bd6a1fe2916baf101bb1d1fb6642317a183926665
7
- data.tar.gz: 04e8ab2ff60a70604b082cfa10a2f4cbafd11387893eeb39a8c45fc08291cde4f71f4c1fa4e7616e3d593e6a193006163a98d16162a2800cc795c48807d7dd4b
6
+ metadata.gz: '05659348d3846adbba1bb231ef5e751515d26aff76a2ea16d42ed4973507ca606192bfcd0bc5915d14e636c110d21dd3e2f99e59578f43e110c3f84724a3834f'
7
+ data.tar.gz: 0ad06756109a85dda032414524752cba25575061afb4f4b030d63d34d62b0d16373048bed46b0b624c4be1b204c858f5ca5b75592302328ea16c5765b4a065e2
@@ -345,7 +345,7 @@ module JenkinsApi
345
345
  when 'http'
346
346
  http = Net::HTTP::Proxy(@proxy_ip, @proxy_port).new(@server_ip, @server_port)
347
347
  when 'socks'
348
- http = Net::HTTP::SOCKSProxy(@proxy_ip, @proxy_port).start(@server_ip, @server_port)
348
+ http = Net::HTTP::SOCKSProxy(@proxy_ip, @proxy_port).new(@server_ip, @server_port)
349
349
  else
350
350
  raise "unknown proxy protocol: '#{@proxy_protocol}'"
351
351
  end
@@ -806,7 +806,7 @@ module JenkinsApi
806
806
  # the queue.
807
807
  when 200, 201, 302
808
808
  if to_send == "body" && send_json
809
- return JSON.parse(response.body)
809
+ return JSON.parse(response.body, max_nesting: false)
810
810
  elsif to_send == "body"
811
811
  return response.body
812
812
  elsif to_send == "code"
@@ -23,6 +23,6 @@
23
23
  module JenkinsApi
24
24
  class Client
25
25
  # Version String of Jenkins API Client.
26
- VERSION = "2.0.0"
26
+ VERSION = "2.1.0"
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jenkins_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kannan Manickam
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-20 00:00:00.000000000 Z
11
+ date: 2023-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -148,7 +148,7 @@ homepage: https://github.com/arangamani/jenkins_api_client
148
148
  licenses:
149
149
  - MIT
150
150
  metadata: {}
151
- post_install_message:
151
+ post_install_message:
152
152
  rdoc_options: []
153
153
  require_paths:
154
154
  - lib
@@ -163,8 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubygems_version: 3.1.6
167
- signing_key:
166
+ rubygems_version: 3.3.3
167
+ signing_key:
168
168
  specification_version: 4
169
169
  summary: Jenkins JSON API Client
170
170
  test_files: []