nexmo 7.1.0 → 7.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nexmo/config.rb +2 -2
- data/lib/nexmo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30bb0f469e9a1f2f85455d1ac2e0524bbc29a95589d4a87cb61a71b2667fe939
|
4
|
+
data.tar.gz: 92790dada4fd50a470e97214d0b0aa3584ac6d0e75fcc350ed912c3b7fc79886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff3fcd89549bfcd1c98db024e2bace02b2b2e63780a3171dd2a31af84db1ea5e6e4efe7e1ac361f488d1f2964a3fc11a0e20b575cbef76e0b92a44d97ee15b6b
|
7
|
+
data.tar.gz: ae131dac65585a7544770b4f7d68b002605273a3e79b2293f7f9885049872ccfdb13a48328aa284df07dae1c2862655bb5b3e818abd8a22cc14fd5c0d8e93db9
|
data/lib/nexmo/config.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# typed:
|
1
|
+
# typed: false
|
2
2
|
# frozen_string_literal: true
|
3
3
|
require 'logger'
|
4
4
|
|
@@ -12,7 +12,7 @@ module Nexmo
|
|
12
12
|
self.api_key = T.let(ENV['NEXMO_API_KEY'], T.nilable(String))
|
13
13
|
self.api_secret = T.let(ENV['NEXMO_API_SECRET'], T.nilable(String))
|
14
14
|
self.application_id = ENV['NEXMO_APPLICATION_ID']
|
15
|
-
self.logger = (defined?(Rails.logger) && Rails.
|
15
|
+
self.logger = (defined?(Rails.logger) && Rails.logger) || Nexmo::Logger.new(nil)
|
16
16
|
self.private_key = ENV['NEXMO_PRIVATE_KEY_PATH'] ? File.read(T.must(ENV['NEXMO_PRIVATE_KEY_PATH'])) : ENV['NEXMO_PRIVATE_KEY']
|
17
17
|
self.rest_host = 'rest.nexmo.com'
|
18
18
|
self.signature_secret = ENV['NEXMO_SIGNATURE_SECRET']
|
data/lib/nexmo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.1.
|
4
|
+
version: 7.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nexmo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-06-
|
11
|
+
date: 2020-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jwt
|