Digest::Class.digest should accept a variable number of arguments
-----------------------------------------------------------------

                 Key: JRUBY-4800
                 URL: http://jira.codehaus.org/browse/JRUBY-4800
             Project: JRuby
          Issue Type: Bug
          Components: Standard Library
    Affects Versions: JRuby 1.5
         Environment: OS X 10.5.6, rvm + jruby 1.5.0
            Reporter: Aaron Quint
            Assignee: Thomas E Enebo


When trying to use a Digest::Class extension (specifically Ruby 1.9's pure ruby 
implementation of Digest::HMAC) we get an argument error because 
Digest::HMAC.digest throws an ArgumentError. 

http://gist.github.com/406352

The reason is that Digest::Class.digest should accept a variable number of 
arguments that get passed to the Digest::Class's initialize (see 
http://ruby-doc.org/stdlib/libdoc/digest/rdoc/classes/Digest/Class.html#M000450)

I believe the issue is L362 here: http://gist.github.com/406400

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to