nexmo 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/nexmo/signature.rb +1 -1
- data/lib/nexmo/version.rb +1 -1
- data/spec/nexmo_spec.rb +1 -1
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NGIwZDlmNDQ3OWNiOTIyMmZmY2QwNjJmMmZjZTA5NTNhZmViNWVjYw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YTcwZjhmNDAzMmRlNzBmOTg3NGFjOWZiNTlhYWE5NThmNmYzZGMxYw==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NDVjY2MyODk1Mzc0NjNjOTA3ZWZmOTgyNDc1OTI5YzkwMDY2NDAxYjUyMTNk
|
10
|
+
NTY2ZTI0MDgzNjNiMjYwNDBlYzlkYWYzOWM1YzVkOTdlNzQ4OWUwYzFlM2M5
|
11
|
+
ODI5Y2IwZTAyY2VmZDU1Y2FiMjcyZTRkNjEwY2MzYWI2ZmE1YzI=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzAyZTY1YmMyNTMyNGJhNTIyZmY0YjlhNjU0Mjk4YzU4NzQ0NDAwZTEzYzU5
|
14
|
+
YzliYTZhMmU4MGNhY2MwZThhOGFjZWY3NThjZmUwNzdiZDIxMGM0ZTUzMzIw
|
15
|
+
M2Y0N2YwYzE0NTY4ZDQyY2U4Y2VjZmQzOGJkODZjMTcyYmY1ZjQ=
|
data/lib/nexmo/signature.rb
CHANGED
data/lib/nexmo/version.rb
CHANGED
data/spec/nexmo_spec.rb
CHANGED
@@ -485,7 +485,7 @@ describe 'Nexmo::Client' do
|
|
485
485
|
|
486
486
|
describe 'check_signature method' do
|
487
487
|
it 'returns true if the signature in the given params is correct' do
|
488
|
-
params = {'a'
|
488
|
+
params = {'a' => '1', 'b' => '2', 'timestamp' => '1461605396', 'sig' => '6af838ef94998832dbfc29020b564830'}
|
489
489
|
|
490
490
|
client = Nexmo::Client.new(key: @api_key, secret: @api_secret, signature_secret: 'secret')
|
491
491
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nexmo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Craft
|
@@ -14,56 +14,56 @@ dependencies:
|
|
14
14
|
name: jwt
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.1'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: webmock
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.18'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.18'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '5.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '5.0'
|
69
69
|
description: Nexmo Client Library for Ruby
|
@@ -96,17 +96,17 @@ require_paths:
|
|
96
96
|
- lib
|
97
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
98
|
requirements:
|
99
|
-
- -
|
99
|
+
- - ! '>='
|
100
100
|
- !ruby/object:Gem::Version
|
101
101
|
version: 1.9.3
|
102
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - ! '>='
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: '0'
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
|
-
rubygems_version: 2.
|
109
|
+
rubygems_version: 2.6.3
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: This is the Ruby client library for Nexmo's API. To use it you'll need a
|