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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d34cdf077d1ddbc165e0c8e1885195f7a696af8122f45051c485b21ead088cc5
4
- data.tar.gz: 530deeff982fc3c73d9aeb6224ccfafdbb7b2b9e29ca3e5065cc53bdf1f57e45
3
+ metadata.gz: 838cc156070445298d3d6987e4290fdac150a1a6e5cae5d27a8989f0dd392add
4
+ data.tar.gz: f1612bd326a0b5c9593cfeb32f0cd85b9bf380748e2a0c5ec1b3f7a2c914fbbe
5
5
  SHA512:
6
- metadata.gz: ee22b9998fe67c8a4cc3ea49a4387b5c197840d3a9b8f746cfb753d2606233eb2257d65ecb18930ffe31a93156d2050dcf8fb47f5535717a1110083109ed2040
7
- data.tar.gz: 0f8c71c2fb376727a08af72ec579ea5f691326f5154c1cd331d2c30a41084aa0b2ee930aa3772773deb9f373d8be6314577168c86f08ba29c107a9a25c3ddd68
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 'rake/testtask'
19
+ require 'rspec/core/rake_task'
20
+ require 'coveralls/rake/task'
22
21
 
23
- Rake::TestTask.new(:test) do |t|
24
- t.libs << 'test'
25
- t.pattern = 'test/**/*_test.rb'
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']
@@ -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
@@ -1,3 +1,5 @@
1
+ # :nocov:
1
2
  module NexmoRails
2
- VERSION = '0.4.1'
3
+ VERSION = '0.4.2'
3
4
  end
5
+ # :nocov:
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.1
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-06-20 00:00:00.000000000 Z
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: generator_spec
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: rails-dummy
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