hmac_signature 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module HmacSignature
31
31
 
32
32
  def authenticate
33
33
  raise ArgumentError, "Block required" unless block_given?
34
- raise AuthenticationError, "Missing parameter: key" unless credentials.key
34
+ raise AuthenticationError, "Missing parameter: auth_key" unless credentials.key
35
35
  token = yield credentials.key
36
36
  unless token
37
37
  raise AuthenticationError, "Unknown key"
@@ -1,3 +1,3 @@
1
1
  module HmacSignature
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: hmac_signature
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -105,11 +105,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 1.8.25
108
+ rubygems_version: 1.8.24
109
109
  signing_key:
110
110
  specification_version: 3
111
111
  summary: Simple key/secret based hmac authentication via headers or query string
112
112
  test_files:
113
113
  - spec/hmac_signature_spec.rb
114
114
  - spec/spec_helper.rb
115
- has_rdoc: