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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c1d312a4ebb81ec04069a79c8234756110383701
4
- data.tar.gz: 18b4689e6ff820a8c4862fc1e7b385bb15ffc828
3
+ metadata.gz: aa324b6c89ae844f39d2b56535a909251aaf9ad3
4
+ data.tar.gz: bdce6d9eae9fce29e41b9a573de6add9d02164d8
5
5
  SHA512:
6
- metadata.gz: abff81b4eaee73352265c856c667bce85d1db85831445b34ad1d76f47df816088b62647d7c967ee908733801a4c37def17e90f142f1f56aa369a0150a876f84c
7
- data.tar.gz: 6d77de506b03e06c8278baa152c2c9eed851dd3b005df0e8134f3a4c7111a856d1adfb25913cbeec32429ebd7b7b47da3be8c4e2eab8cec0edf778e0243a6e22
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
@@ -1,3 +1,3 @@
1
1
  module Smaak
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smaak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ernst van Graan