vonage_rails 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/Rakefile +16 -5
- data/lib/vonage_rails/version.rb +1 -1
- data/lib/vonage_rails.rb +4 -4
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81d7470e2401daea27acf679a3612819e82b505b5e8d2a30ac9ea57cd2a0a845
|
4
|
+
data.tar.gz: c7dc58f85c9c78ca66abf25e222bb015fda6c472cf32970307dd62391eb8b95b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dbc619cbbde446f20b1ce84e90f1c05ffcf3eea941ca39fe4959b4e09aa0a4605b162482242328bcbe1632391867e966a49a1f4f360aef762b12ec8bd475878
|
7
|
+
data.tar.gz: 979df7f676cbc874b4bbea48ac6805250ef0e5387d85bca7a8a52b03dcc33c42734b8bfd6ec35ba0ce14fbdb080f4be8fc41460201eaa068b39fbeeecdca7cbc
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Vonage Rails Gem
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/vonage_rails.svg)](https://badge.fury.io/rb/vonage_rails) [![Coverage Status](https://coveralls.io/repos/github/Nexmo/nexmo-rails/badge.svg?branch=master)](https://coveralls.io/github/Nexmo/nexmo-rails?branch=master) [![Build Status](https://api.travis-ci.org/Nexmo/nexmo-rails.svg?branch=
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/vonage_rails.svg)](https://badge.fury.io/rb/vonage_rails) [![Coverage Status](https://coveralls.io/repos/github/Nexmo/nexmo-rails/badge.svg?branch=master)](https://coveralls.io/github/Nexmo/nexmo-rails?branch=master) [![Build Status](https://api.travis-ci.org/Nexmo/nexmo-rails.svg?branch=main)](https://travis-ci.org/Nexmo/nexmo-rails)
|
4
4
|
|
5
5
|
<img src="https://developer.nexmo.com/assets/images/Vonage_Nexmo.svg" height="48px" alt="Nexmo is now known as Vonage" />
|
6
6
|
|
@@ -16,8 +16,8 @@ need a Vonage account. Sign up [for free at vonage.com](https://dashboard.nexmo.
|
|
16
16
|
|
17
17
|
Vonage Rails requires:
|
18
18
|
|
19
|
-
* Rails
|
20
|
-
* Ruby 2.
|
19
|
+
* Rails 6.1.0+
|
20
|
+
* Ruby 2.7.0+
|
21
21
|
* To use the Vonage APIs, you [need an account](https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL&utm_medium=github&utm_campaign=nexmo-rails)
|
22
22
|
|
23
23
|
## Installation
|
data/Rakefile
CHANGED
@@ -15,14 +15,25 @@ RDoc::Task.new(:rdoc) do |rdoc|
|
|
15
15
|
end
|
16
16
|
|
17
17
|
require 'bundler/gem_tasks'
|
18
|
-
|
18
|
+
require 'rake/testtask'
|
19
19
|
require 'rspec/core/rake_task'
|
20
|
-
require 'coveralls/rake/task'
|
21
20
|
|
22
21
|
RSpec::Core::RakeTask.new(:test)
|
23
22
|
|
24
|
-
Coveralls::RakeTask.new
|
25
|
-
|
26
23
|
task default: :test
|
27
24
|
|
28
|
-
|
25
|
+
desc "Build gem"
|
26
|
+
task :build_gem do
|
27
|
+
`rake build`
|
28
|
+
end
|
29
|
+
|
30
|
+
desc "Publish gem"
|
31
|
+
task publish_gem: [:build_gem] do
|
32
|
+
`gem push pkg/*.gem`
|
33
|
+
Rake::Task[:empty_pkg].invoke
|
34
|
+
end
|
35
|
+
|
36
|
+
desc "Empty pkg directory"
|
37
|
+
task :empty_pkg do
|
38
|
+
`rm -rf pkg/*`
|
39
|
+
end
|
data/lib/vonage_rails/version.rb
CHANGED
data/lib/vonage_rails.rb
CHANGED
@@ -8,10 +8,10 @@ module Vonage
|
|
8
8
|
attr_accessor :client
|
9
9
|
|
10
10
|
def_delegators :@client, :account, :alerts, :applications,
|
11
|
-
:
|
12
|
-
:
|
13
|
-
:
|
14
|
-
:
|
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
|
15
15
|
|
16
16
|
def setup(&block)
|
17
17
|
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.
|
4
|
+
version: 1.1.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: 2024-01-24 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.
|
33
|
+
version: 7.19.0
|
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.
|
40
|
+
version: 7.19.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dotenv-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,14 +135,14 @@ files:
|
|
135
135
|
- lib/generators/vonage_initializer/vonage_initializer_generator.rb
|
136
136
|
- lib/vonage_rails.rb
|
137
137
|
- lib/vonage_rails/version.rb
|
138
|
-
homepage: https://github.com/
|
138
|
+
homepage: https://github.com/Vonage/vonage-rails
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata:
|
142
|
-
homepage: https://github.com/
|
143
|
-
source_code_uri: https://github.com/
|
144
|
-
bug_tracker_uri: https://github.com/
|
145
|
-
changelog_uri: https://github.com/
|
142
|
+
homepage: https://github.com/Vonage/vonage-rails
|
143
|
+
source_code_uri: https://github.com/Vonage/vonage-rails
|
144
|
+
bug_tracker_uri: https://github.com/Vonage/vonage-rails/issues
|
145
|
+
changelog_uri: https://github.com/Vonage/vonage-rails/blob/main/CHANGES.md
|
146
146
|
post_install_message:
|
147
147
|
rdoc_options: []
|
148
148
|
require_paths:
|
@@ -158,9 +158,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
161
|
+
rubygems_version: 3.5.3
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
|
-
summary: This is a Rails initializer for Vonage's Ruby
|
164
|
+
summary: This is a Rails initializer for Vonage's Ruby SDK. To use it you'll need
|
165
165
|
a Vonage account. Sign up for free at https://www.vonage.com
|
166
166
|
test_files: []
|