sageone_api_request_signer 1.1.1 → 1.1.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69a2ec40ba5192d0cd276c4ec83a6c35cc7ee2f5
|
4
|
+
data.tar.gz: 291f2453461640e1c1481ddc2dbfeac63e8d8c95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5410a518e210eba7b4f6c2ec3660c3093c938f4db5f99a19d66de43c8df6c3269aaca944288ee52fb489f9a862bbab8cc5836f847a3cc0c22730beaacdd4c3ec
|
7
|
+
data.tar.gz: 4022561cba7fcae374b5756e4125439be53d2ca5093c669ab7bc895994b23c1e88fbec4e248339aea07a26413ac81e17903bf36527566746733f73bd4a99baac
|
@@ -34,31 +34,15 @@ RSpec.describe 'testing complex body params' do
|
|
34
34
|
check_signature!
|
35
35
|
end
|
36
36
|
|
37
|
-
it 'with arrays' do
|
37
|
+
it 'with something like "arrays"' do
|
38
38
|
subject.body_params = {
|
39
39
|
simple: 'param',
|
40
|
-
complex:
|
41
|
-
{one:11, two:12, three:13},
|
42
|
-
{one:21, two:22, three:23},
|
43
|
-
|
44
|
-
}
|
45
|
-
end
|
46
|
-
|
47
|
-
it 'hardcore one' do
|
48
|
-
subject.body_params = {
|
49
|
-
hardcore: [
|
50
|
-
{one:11, two:12, three:13},
|
51
|
-
{four:4, two:22, three:23},
|
52
|
-
{
|
53
|
-
fuck_all: {
|
54
|
-
i_am: 'really nested',
|
55
|
-
no: {
|
56
|
-
i_am: 'damm more'
|
57
|
-
}
|
58
|
-
}
|
59
|
-
}
|
60
|
-
]
|
40
|
+
complex: {
|
41
|
+
0 => {one:11, two:12, three:13},
|
42
|
+
1 => {one:21, two:22, three:23},
|
43
|
+
}
|
61
44
|
}
|
45
|
+
check_signature!
|
62
46
|
end
|
63
47
|
|
64
48
|
def check_signature!
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sageone_api_request_signer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rudiney Altair Franceschi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|