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

use VALID_REQUEST_KEYS constant for Excon if defined #405

Merged
merged 2 commits into from Aug 10, 2014

Conversation

davidjairala
Copy link
Contributor

Addresses #403

While digging further into this, I was able to track down the introduction of the constant to release 0.27.0:
excon/excon@a93c591

So I thought it'd be nice to just get rid of that if Excon::VERSION >= '0.27.5' and replace with a constant check. Also added a spec to make sure it's not broken.

Ran specs locally and everything looks green.

@bblimke
Copy link
Owner

bblimke commented Aug 10, 2014

Nice thanks.

The specs use Ruby >1.9 hash syntax. Can you change to => please?

@davidjairala
Copy link
Contributor Author

@bblimke done.

@bblimke
Copy link
Owner

bblimke commented Aug 10, 2014

Cheers! :)

bblimke added a commit that referenced this pull request Aug 10, 2014
use VALID_REQUEST_KEYS constant for Excon if defined
@bblimke bblimke merged commit 5491927 into bblimke:master Aug 10, 2014
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.

None yet

2 participants