vonage_rails 1.1.0 → 1.2.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: 81d7470e2401daea27acf679a3612819e82b505b5e8d2a30ac9ea57cd2a0a845
4
- data.tar.gz: c7dc58f85c9c78ca66abf25e222bb015fda6c472cf32970307dd62391eb8b95b
3
+ metadata.gz: 2bd1c1ffc04ff4fd5f5b06244358da2857be845d4fc5bdb07531a39563643ab8
4
+ data.tar.gz: f3dfb59a0af22bb11c96e73327426a75cd795798e1efda879b079e0fda61b000
5
5
  SHA512:
6
- metadata.gz: 8dbc619cbbde446f20b1ce84e90f1c05ffcf3eea941ca39fe4959b4e09aa0a4605b162482242328bcbe1632391867e966a49a1f4f360aef762b12ec8bd475878
7
- data.tar.gz: 979df7f676cbc874b4bbea48ac6805250ef0e5387d85bca7a8a52b03dcc33c42734b8bfd6ec35ba0ce14fbdb080f4be8fc41460201eaa068b39fbeeecdca7cbc
6
+ metadata.gz: c88e6f6d9731a61bf64ade33aac76f74c4d8cc873d6c69c2fe403148dca8cfc1ff6827e943900ea48b5cd8457cb521f6ed68c865b35949497848cf8cf79983f2
7
+ data.tar.gz: 823fc886b980615f76fa80aea231b0a7260c98ae1ae60d34c9b5e529fe86c129a91353b6774d82a87cc0e237eabb4004f6c189a41c0eb1e86bd77ecbef637e45
@@ -1,5 +1,5 @@
1
1
  # :nocov:
2
2
  module VonageRails
3
- VERSION = '1.1.0'
3
+ VERSION = '1.2.0'
4
4
  end
5
5
  # :nocov:
data/lib/vonage_rails.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'vonage'
2
2
  require 'forwardable'
3
+ require 'ostruct'
3
4
 
4
5
  module Vonage
5
6
  class << self
@@ -7,11 +8,7 @@ module Vonage
7
8
 
8
9
  attr_accessor :client
9
10
 
10
- def_delegators :@client, :account, :alerts, :applications,
11
- :conversations, :conversions, :files, :messages,
12
- :messaging, :numbers, :number_insight, :number_insight_2,
13
- :pricing, :redact, :secrets, :sms, :signature, :subaccounts,
14
- :tfa, :users, :verify, :verify2, :video, :voice
11
+ def_delegators :@client, *::Vonage::Client.instance_methods(false) - [:config]
15
12
 
16
13
  def setup(&block)
17
14
  config = OpenStruct.new
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vonage_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vonage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-24 00:00:00.000000000 Z
11
+ date: 2024-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 7.19.0
33
+ version: '7.19'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 7.19.0
40
+ version: '7.19'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dotenv-rails
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  requirements: []
161
- rubygems_version: 3.5.3
161
+ rubygems_version: 3.5.9
162
162
  signing_key:
163
163
  specification_version: 4
164
164
  summary: This is a Rails initializer for Vonage's Ruby SDK. To use it you'll need