vonage 7.8.1 → 7.8.2

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: 16cb2584a98415fd28d34ff48e122bba7e74dc3274f3ccbce54e573bb5639d75
4
- data.tar.gz: 4dde646ce5357983ac61bd80981e758875f0289e535afdb1b961c230895489b8
3
+ metadata.gz: 263068d03f9527437cbee45239f7d51da8800b0003930002f6d10c6843f12828
4
+ data.tar.gz: 5fdcc6879830f92cabe656c05e050eacc9616f2b135af2ca7f128d57cef6fded
5
5
  SHA512:
6
- metadata.gz: ce5cc6037fcc81f6ce5cd99ec6b61a0a237fd94502dd85bd5a7e98bbc768834b8108babc3d4f81ff1f85fc9668d41165b3464f20f1218295b3a462d5343d4482
7
- data.tar.gz: 464c94d4e284b83c68796f6324ec54a8e0c70d93537b800f8b140d5425db14f575369b1a500e2595cce0559371d363033508cce9c49737bbb6a20be238b0a10e
6
+ metadata.gz: 1beea2eeef06d2b8c9e6153fe5f356981e285f7c96bd8b3674af1ca09ae2fb606627c619bdaeec0803911590149fa63f6e581d59a03b7245b6f89e1ef914dac5
7
+ data.tar.gz: 12ce327c5db5735e357c5ad39f0ab850f0e3f490dc71cfb65065a0b61ad6586821ce70a79101e1448c2df62995b546285af3d6a8c255c3a89cad615b8c36b0fb
data/lib/vonage/gsm7.rb CHANGED
@@ -4,7 +4,7 @@ module Vonage
4
4
  module GSM7
5
5
  extend T::Sig
6
6
 
7
- CHARACTERS = "\n\f\r !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~ ¡£¤¥§¿ÄÅÆÉÑÖØÜßàäåæçèéìñòöøùüΓΔΘΛΞΠΣΦΨΩ€"
7
+ CHARACTERS = "\n\f\r !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_abcdefghijklmnopqrstuvwxyz{|}~ ¡£¤¥§¿ÄÅÆÇÉÑÖØÜßàäåæèéìñòöøùüΓΔΘΛΞΠΣΦΨΩ€"
8
8
 
9
9
  REGEXP = /\A[#{Regexp.escape(CHARACTERS)}]*\z/
10
10
 
@@ -32,7 +32,7 @@ module Vonage
32
32
 
33
33
  signature = params.delete('sig')
34
34
 
35
- ::JWT::SecurityUtils.secure_compare(signature, digest(params, signature_method))
35
+ ::JWT::Algos::Hmac::SecurityUtils.secure_compare(signature, digest(params, signature_method))
36
36
  end
37
37
 
38
38
  private
data/lib/vonage/sms.rb CHANGED
@@ -47,14 +47,6 @@ module Vonage
47
47
  # @option params [String] :type
48
48
  # The format of the message body.
49
49
  #
50
- # @option params [String] :vcard
51
- # A business card in [vCard format](https://en.wikipedia.org/wiki/VCard).
52
- # Depends on **:type** option having the value `vcard`.
53
- #
54
- # @option params [String] :vcal
55
- # A calendar event in [vCal format](https://en.wikipedia.org/wiki/VCal).
56
- # Depends on **:type** option having the value `vcal`.
57
- #
58
50
  # @option params [String] :body
59
51
  # Hex encoded binary data.
60
52
  # Depends on **:type** option having the value `binary`.
@@ -67,18 +59,6 @@ module Vonage
67
59
  # The value of the [protocol identifier](https://en.wikipedia.org/wiki/GSM_03.40#Protocol_Identifier) to use.
68
60
  # Ensure that the value is aligned with **:udh**.
69
61
  #
70
- # @option params [String] :title
71
- # The title for a wappush SMS.
72
- # Depends on **:type** option having the value `wappush`.
73
- #
74
- # @option params [String] :url
75
- # The URL of your website.
76
- # Depends on **:type** option having the value `wappush`.
77
- #
78
- # @option params [String] :validity
79
- # The availability for an SMS in milliseconds.
80
- # Depends on **:type** option having the value `wappush`.
81
- #
82
62
  # @option params [String] :client_ref
83
63
  # You can optionally include your own reference of up to 40 characters.
84
64
  #
@@ -1,5 +1,5 @@
1
1
  # typed: strong
2
2
 
3
3
  module Vonage
4
- VERSION = '7.8.1'
4
+ VERSION = '7.8.2'
5
5
  end
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.8.1
4
+ version: 7.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-29 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vonage-jwt
@@ -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.26
195
+ rubygems_version: 3.4.1
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