Skip to content

Commit

Permalink
fix for jruby
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed May 23, 2011
1 parent 4f183f6 commit 8512343
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -85,7 +85,7 @@ Limitations
===========

* Strictly a DKIM signing library. No support for signature verification. *(none planned)*
* No support for the older Yahoo! DomainKeys standard (rfc4870) *(none planned)*
* No support for the older Yahoo! DomainKeys standard ([RFC 4870](http://tools.ietf.org/html/rfc4870)) *(none planned)*
* No support for specifying DKIM identity `i=` *(planned)*
* No support for body length `l=` *(planned)*
* No support for signature expiration `x=` *(planned)*
Expand Down
2 changes: 1 addition & 1 deletion lib/dkim/dkim_header.rb
Expand Up @@ -5,7 +5,7 @@ module Dkim
class DkimHeader < Header
def initialize values={}
self.key = 'DKIM-Signature'
@values = values.flatten.each_slice(2).to_a
@values = values.to_a.flatten.each_slice(2).to_a
end
def value
@values.map do |(k, v)|
Expand Down

0 comments on commit 8512343

Please sign in to comment.