nexmo_rails 0.3.0 → 0.3.1

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: 13cc8e0c5e0ab5daba2fd596043c08a8e8c91b5db2557d1f1b802be190683cb6
4
- data.tar.gz: 1e14760bf28f806bac4b8e1fd3958cf4d8f33f035dcef23add1ce2c2c56d2b85
3
+ metadata.gz: 42b972b8b6b429ac78f330b225042443a6ae3ae3cec31cebb32620fc5bbc0392
4
+ data.tar.gz: 0ff3462241fe40883f7f8bc9f82596176746be7025365bc096b833a305158d00
5
5
  SHA512:
6
- metadata.gz: 1f150c7ddc423fc5b7110a06e6f1ed23f790398d087464187a9301ec246ccd14bf4a3873bb80420482f80615b533a6f7d40a51b5acb75e444a944f7f05c44399
7
- data.tar.gz: e8e7177f54d6fcf4c18e0071607fd1672711dae459f0c3f29b20c5e3dd9ed6428277fb8cb6dc7e99f274ac6cf9a8316a9e4b2b9e58df3e3acf2b0cfdd28671bc
6
+ metadata.gz: eb39f0e1b88c4624c4665c96ee28dc70d1b241cf8336ea563da775f5cceacf1788264413494a5f62f35d9880d9fe376999a04d5f55cc7e1f76731361050b8d09
7
+ data.tar.gz: b7cb08bd45c7e5fe5e3b1caccfd236c4efe3e6cf8d96dc08d0ee2bd143aac81abb98d68035046664edb0030836ad804a376bb5efdfee31ebd7e694a3feb3bee8
data/lib/nexmo_rails.rb CHANGED
@@ -21,7 +21,7 @@ module Nexmo
21
21
  api_secret: config.api_secret,
22
22
  signature_secret: config.signature_secret,
23
23
  application_id: config.application_id,
24
- private_key: config.private_key
24
+ private_key: File.exist?(config.private_key) ? File.read(config.private_key) : config.private_key
25
25
  )
26
26
  end
27
27
  end
@@ -1,3 +1,3 @@
1
1
  module NexmoRails
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
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.3.0
4
+ version: 0.3.1
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-04 00:00:00.000000000 Z
11
+ date: 2019-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt