rainforest_auth 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rainforest/auth.rb +2 -2
  2. metadata +1 -1
@@ -18,12 +18,12 @@ class RainforestAuth
18
18
  end
19
19
 
20
20
  # Return a signature for a command and specified options
21
- def sign command, options
21
+ def sign command, options = nil
22
22
  OpenSSL::HMAC.hexdigest(digest, @key, merge_data(command, options))
23
23
  end
24
24
 
25
25
  # Verify a digest vs command and options
26
- def verify digest, command, options
26
+ def verify digest, command, options = nil
27
27
  digest == sign(command, options)
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainforest_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: