onelogin/ruby-saml — pull request #58 by squarooticus (2013-01-02 17:32:56+00:00)
Title: Fix for response condition validation based on responses I'm getting from OneLogin

Adds ability to parse out NotBefore and NotOnOrAfter for responses with signed Response element rather than signed Assertion element. Also abstracts out the retrieval of xpaths from within the signed Response/Assertion.

Also adds tests with Timecop to make sure NotBefore and NotOnOrAfter work, because existing tests failed once Time.now got past the short window of the test response.