vonage 7.19.0.exp.0.1.0 → 7.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vonage/namespace.rb +4 -5
- data/lib/vonage/version.rb +1 -1
- data/vonage.gemspec +0 -1
- metadata +3 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748a3a579f5c7c4a263b7b840234b0489e7b895e63d43d939f01bdc177616a53
|
4
|
+
data.tar.gz: 6e2b5d3d0a8135aff72a1314c33a833c1a77384f7a6047e6147c013e29e6ea45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 913f6f7f81f667513740f61849db751dfdd9dc60ca6366c81b6e621564e53719f3503a5085ed38f7c48570dd55a33a26b5037af136387aa2226ed7c8a4542b2c
|
7
|
+
data.tar.gz: 636e92166449f951489340b2cb00a00c7f72225fd2239f4ba9faba6919e72bd17ba24454f8a2be9ed2be8c6f76382045490a2d24b13e09bb1323dbb5dbadcb81
|
data/lib/vonage/namespace.rb
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
require 'net/http'
|
5
|
-
require 'net/http/persistent'
|
6
5
|
require 'net/http/post/multipart'
|
7
6
|
require 'json'
|
8
7
|
|
@@ -13,7 +12,8 @@ module Vonage
|
|
13
12
|
|
14
13
|
@host = set_host
|
15
14
|
|
16
|
-
@http = Net::HTTP::
|
15
|
+
@http = Net::HTTP.new(@host, Net::HTTP.https_default_port, p_addr = nil)
|
16
|
+
@http.use_ssl = true
|
17
17
|
|
18
18
|
@config.http.set(@http) unless @config.http.nil?
|
19
19
|
end
|
@@ -94,8 +94,7 @@ module Vonage
|
|
94
94
|
def make_request!(request, &block)
|
95
95
|
logger.log_request_info(request)
|
96
96
|
|
97
|
-
|
98
|
-
response = @http.request(uri, request, &block)
|
97
|
+
response = @http.request(request, &block)
|
99
98
|
|
100
99
|
logger.log_response_info(response, @host)
|
101
100
|
|
@@ -144,7 +143,7 @@ module Vonage
|
|
144
143
|
|
145
144
|
uri = override_uri ? URI(override_uri) : URI('https://' + @host + path)
|
146
145
|
|
147
|
-
http = Net::HTTP.new(uri.host, Net::HTTP.https_default_port, p_addr = nil)
|
146
|
+
http = override_uri ? Net::HTTP.new(uri.host, Net::HTTP.https_default_port, p_addr = nil) : @http
|
148
147
|
http.use_ssl = true
|
149
148
|
http.set_debug_output($stdout)
|
150
149
|
|
data/lib/vonage/version.rb
CHANGED
data/vonage.gemspec
CHANGED
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency('zeitwerk', '~> 2', '>= 2.2')
|
17
17
|
s.add_dependency('sorbet-runtime', '~> 0.5')
|
18
18
|
s.add_dependency('multipart-post', '~> 2.0')
|
19
|
-
s.add_dependency('net-http-persistent', '~> 4.0', '>= 4.0.2')
|
20
19
|
s.add_runtime_dependency('rexml')
|
21
20
|
s.add_runtime_dependency('phonelib')
|
22
21
|
s.require_path = 'lib'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vonage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.19.0
|
4
|
+
version: 7.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vonage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: vonage-jwt
|
@@ -72,26 +72,6 @@ dependencies:
|
|
72
72
|
- - "~>"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '2.0'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: net-http-persistent
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '4.0'
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: 4.0.2
|
85
|
-
type: :runtime
|
86
|
-
prerelease: false
|
87
|
-
version_requirements: !ruby/object:Gem::Requirement
|
88
|
-
requirements:
|
89
|
-
- - "~>"
|
90
|
-
- !ruby/object:Gem::Version
|
91
|
-
version: '4.0'
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 4.0.2
|
95
75
|
- !ruby/object:Gem::Dependency
|
96
76
|
name: rexml
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -274,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
274
254
|
- !ruby/object:Gem::Version
|
275
255
|
version: '0'
|
276
256
|
requirements: []
|
277
|
-
rubygems_version: 3.
|
257
|
+
rubygems_version: 3.4.10
|
278
258
|
signing_key:
|
279
259
|
specification_version: 4
|
280
260
|
summary: This is the Ruby Server SDK for Vonage APIs. To use it you'll need a Vonage
|