nexmo_rails 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/Rakefile +7 -8
- data/lib/nexmo_rails.rb +1 -1
- data/lib/nexmo_rails/version.rb +3 -1
- metadata +32 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 838cc156070445298d3d6987e4290fdac150a1a6e5cae5d27a8989f0dd392add
|
4
|
+
data.tar.gz: f1612bd326a0b5c9593cfeb32f0cd85b9bf380748e2a0c5ec1b3f7a2c914fbbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 686f137faf649c8d9f4d2757ffab80f87d6e1bd64e05c162f87a4777a5a98588038dec546e6ce080921fddfe015bb02842b1e4181a85f93526662c4b995eb331
|
7
|
+
data.tar.gz: 75aef75f94588250b1309abe71e07c153d5fe1999cb8c0749e4e23582ac029ac6dc18ec0ca5cbf8e0839c172ce4a5746da5859cfb77cfe5cfdd7ddaece54d267
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Nexmo Rails Gem
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/nexmo_rails.svg)](https://badge.fury.io/rb/nexmo_rails)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/nexmo_rails.svg)](https://badge.fury.io/rb/nexmo_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=master)](https://travis-ci.org/Nexmo/nexmo-ruby)
|
4
4
|
|
5
5
|
This is the Nexmo Rails Gem for Nexmo's API. To use it you'll
|
6
6
|
need a Nexmo account. Sign up [for free at nexmo.com](https://dashboard.nexmo.com/sign-up?utm_source=DEV_REL&utm_medium=github&utm_campaign=nexmo-rails).
|
data/Rakefile
CHANGED
@@ -6,8 +6,6 @@ end
|
|
6
6
|
|
7
7
|
require 'rdoc/task'
|
8
8
|
|
9
|
-
require 'rails/dummy/tasks'
|
10
|
-
|
11
9
|
RDoc::Task.new(:rdoc) do |rdoc|
|
12
10
|
rdoc.rdoc_dir = 'rdoc'
|
13
11
|
rdoc.title = 'NexmoRails'
|
@@ -18,12 +16,13 @@ end
|
|
18
16
|
|
19
17
|
require 'bundler/gem_tasks'
|
20
18
|
|
21
|
-
require '
|
19
|
+
require 'rspec/core/rake_task'
|
20
|
+
require 'coveralls/rake/task'
|
22
21
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
t.verbose = false
|
27
|
-
end
|
22
|
+
RSpec::Core::RakeTask.new(:test)
|
23
|
+
|
24
|
+
Coveralls::RakeTask.new
|
28
25
|
|
29
26
|
task default: :test
|
27
|
+
|
28
|
+
task :test_with_coveralls => [:test, 'coveralls:push']
|
data/lib/nexmo_rails.rb
CHANGED
@@ -22,7 +22,7 @@ module Nexmo
|
|
22
22
|
api_secret: config.api_secret,
|
23
23
|
signature_secret: config.signature_secret,
|
24
24
|
application_id: config.application_id,
|
25
|
-
private_key: File.exist?(config.private_key) ? File.read(config.private_key) : config.private_key
|
25
|
+
private_key: config.private_key.present? && File.exist?(config.private_key) ? File.read(config.private_key) : config.private_key
|
26
26
|
)
|
27
27
|
end
|
28
28
|
end
|
data/lib/nexmo_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nexmo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: generator_spec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -94,6 +94,34 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.16'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0.16'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: coveralls
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.8.15
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.8.15
|
97
125
|
description: Rails Initializer for Nexmo's Ruby Client
|
98
126
|
email:
|
99
127
|
- devrel@nexmo.com
|