jenkins_api_client 2.0.0 → 2.2.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aadb30157bc60ba6690d00e65c6f4189c9b67a99d28b237b1d6109eba3fb96dc
4
- data.tar.gz: 56d061edfd578401afe42ab0ed595db447945a6dc09e36fabc6ca22dd5413af4
3
+ metadata.gz: 4e2ab5890c84b9c8b7bc4c1d7667e4523818c878791a3c4819a4fefa2957df63
4
+ data.tar.gz: 21edac081e336dca91bd96a37f5795f6f250d6e834b828d76d534e8938726a43
5
5
  SHA512:
6
- metadata.gz: 78c788fc101b7d84afa16a832bbb427c8edb56b9c4625c5ec8a2f494404eba2ebb5d57677fef03a173d7ae1bd6a1fe2916baf101bb1d1fb6642317a183926665
7
- data.tar.gz: 04e8ab2ff60a70604b082cfa10a2f4cbafd11387893eeb39a8c45fc08291cde4f71f4c1fa4e7616e3d593e6a193006163a98d16162a2800cc795c48807d7dd4b
6
+ metadata.gz: 233e87b82f5ba33db7b668a9243e2f0a389914bda874da84e66de33ed655fd342e369231597eb19423d59c8685d5b35d874cbc95dce16572ffd1526765bd9b52
7
+ data.tar.gz: 6a5197b897bf5c1865c78afed98fbc97b36abe201a60a11c01007a184ac55fe7089b07d0175cdec89c4b771375a0142b5473abbcea4fe5aeb4fe9a805bf2a617
Binary file
@@ -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.2.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.2.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: 2025-01-11 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.4.10
167
+ signing_key:
168
168
  specification_version: 4
169
169
  summary: Jenkins JSON API Client
170
170
  test_files: []