Skip to content

Use Nokogiri response parser if applicable / available, fall back to pure ruby. #7

@briandunn

Description

@briandunn

Actually I'm cool with Nokogiri as a dep, but in order to fulfill our pledge of pure rubyness...

Given I search
And the server responds with compact decoded xml
And nokogiri is installed
Then the response should be parsed really fast, yielding between rows

Given I search
And the server responds with a different type
Then the response should be parsed slowly and purely.

Given I search
And the server responds with compact decoded xml
And the gem "nokogiri" is not available
Then the response should be parsed slowly and purely.

Is that what you had in mind, josephholsten?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions