vonage 7.8.0 → 7.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: 4fa13bcb2f12e1915f331b21aea4646d673622ea2a623daa9ef7b97ef6d64b9a
4
- data.tar.gz: c7a4129fe95ec0cd72d836f5b267e86429da90d86ba22f4a2b76b06f7a385798
3
+ metadata.gz: 16cb2584a98415fd28d34ff48e122bba7e74dc3274f3ccbce54e573bb5639d75
4
+ data.tar.gz: 4dde646ce5357983ac61bd80981e758875f0289e535afdb1b961c230895489b8
5
5
  SHA512:
6
- metadata.gz: c7e5cfd257e7b4595c3c2929fc1657e764eed720d0bdff3fba12efd3c852b66eee0f21c3aa424b685412af2dddcf11dfef9d6a13aada0716c5dfa479383ee26c
7
- data.tar.gz: 18b2657e9a2f371be7c5da6f299bf8e1c1d5e63e6a34fc6b72c468156bb2fb6b4cf93ca38630ce7ce85c41e20687c11980db00e9b1e7eecb0172b2c41b276afa
6
+ metadata.gz: ce5cc6037fcc81f6ce5cd99ec6b61a0a237fd94502dd85bd5a7e98bbc768834b8108babc3d4f81ff1f85fc9668d41165b3464f20f1218295b3a462d5343d4482
7
+ data.tar.gz: 464c94d4e284b83c68796f6324ec54a8e0c70d93537b800f8b140d5425db14f575369b1a500e2595cce0559371d363033508cce9c49737bbb6a20be238b0a10e
data/lib/vonage/jwt.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
  require 'securerandom'
4
4
  require 'openssl'
5
- require 'nexmo-jwt'
5
+ require 'vonage-jwt'
6
6
 
7
7
  module Vonage
8
8
  class JWT
@@ -15,7 +15,7 @@ module Vonage
15
15
  # attribute on the client object.
16
16
  #
17
17
  # Documentation for the Vonage Ruby JWT generator gem can be found at
18
- # https://www.rubydoc.info/github/Nexmo/nexmo-jwt-ruby
18
+ # https://www.rubydoc.info/github/Vonage/vonage-jwt-ruby
19
19
  #
20
20
  # @example
21
21
  # claims = {
@@ -37,7 +37,7 @@ module Vonage
37
37
  raise "Expecting 'private_key' in either the payload or as a separate parameter" if !payload[:private_key] && !private_key
38
38
 
39
39
  payload[:private_key] = private_key if private_key && !payload[:private_key]
40
- @token = Nexmo::JWTBuilder.new(payload).jwt.generate
40
+ @token = Vonage::JWTBuilder.new(payload).jwt.generate
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
 
3
3
  module Vonage
4
- VERSION = '7.8.0'
4
+ VERSION = '7.8.1'
5
5
  end
data/vonage.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.summary = 'This is the Ruby Server SDK for Vonage APIs. To use it you\'ll need a Vonage account. Sign up for free at https://www.vonage.com'
13
13
  s.files = Dir.glob('lib/**/*.rb') + %w(LICENSE.txt README.md vonage.gemspec)
14
14
  s.required_ruby_version = '>= 2.5.0'
15
- s.add_dependency('nexmo-jwt', '~> 0.1.2')
15
+ s.add_dependency('vonage-jwt', '~> 0.1.0')
16
16
  s.add_dependency('zeitwerk', '~> 2', '>= 2.2')
17
17
  s.add_dependency('sorbet-runtime', '~> 0.5')
18
18
  s.add_runtime_dependency('rexml')
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vonage
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.8.0
4
+ version: 7.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: nexmo-jwt
14
+ name: vonage-jwt
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.2
19
+ version: 0.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.2
26
+ version: 0.1.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: zeitwerk
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  - !ruby/object:Gem::Version
193
193
  version: '0'
194
194
  requirements: []
195
- rubygems_version: 3.3.7
195
+ rubygems_version: 3.3.26
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: This is the Ruby Server SDK for Vonage APIs. To use it you'll need a Vonage