smaak 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smaak/server.rb +1 -1
- data/lib/smaak/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa324b6c89ae844f39d2b56535a909251aaf9ad3
|
4
|
+
data.tar.gz: bdce6d9eae9fce29e41b9a573de6add9d02164d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45006348cf0feb78d1e6460e9190cff22480895c22e08d10a38bde025729d599b23446c8ecd9bb71f9ef994cb7c2b2ea3c600b39079e644a15d0c103855078c2
|
7
|
+
data.tar.gz: 9ead16c1d804141e74c5d60be4cb811841489a102746d5bfd71f89ac0cf69d9f60d64c8e317f30c6f4c1d7cc61cf2b34f5d037f0e29c687e9f54465dd9c8cb5c
|
data/lib/smaak/server.rb
CHANGED
@@ -28,7 +28,7 @@ module Smaak
|
|
28
28
|
auth_body = JSON.parse(authorization)
|
29
29
|
message = auth_body['message']
|
30
30
|
signature = auth_body['signature']
|
31
|
-
return message, Base64.decode64(signature)
|
31
|
+
return AuthMessage.new(message), Base64.decode64(signature)
|
32
32
|
end
|
33
33
|
|
34
34
|
def verify_signed_request(request)
|
data/lib/smaak/version.rb
CHANGED