Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #112 and #117 in a backwards compatible manner #122

Merged
merged 4 commits into from
Apr 1, 2014

Conversation

borgand
Copy link
Contributor

@borgand borgand commented Apr 1, 2014

Added a class AttributeValue that is a subclass of String so that for all current usage, the last attribute value is still returned as string.

But when needed, AttributeValue#values will return an array of all values. This fixes both #112 and #117

As current implementation returns last value as seen from XML, this patch returns attributes in reverse order when compared to XML to retain compatibility with specs for other libraries.

@sebastienluquet
Copy link
Contributor

@borgand Did you get any notification about some comment I made on you commit about an issue with some corner case on multiple-attribute-values ?

@borgand
Copy link
Contributor Author

borgand commented Jun 6, 2014

@sebastienluquet I do not believe I did. Where can I find it?

@sebastienluquet
Copy link
Contributor

@borgand here on lib/onelogin/ruby-saml/response.rb : 3e7a9a9

It was a comment on the pull request (may be not the best way to comment code...)

@borgand
Copy link
Contributor Author

borgand commented Jun 6, 2014

I have created a separate pull-request #135 to handle @sebastienluquet's comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants