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

Pass option :ssl_version to Excon adapter #131

Merged
merged 1 commit into from
Sep 24, 2014
Merged

Conversation

entrity
Copy link
Contributor

@entrity entrity commented Sep 23, 2014

Solves the issue discussed at #130

@entrity
Copy link
Contributor Author

entrity commented Sep 23, 2014

I'm unfamiliar with the matter of correcting old versions of gems, but would it be possible to patch version 2.1 of HTTPI?

I'm working on an application that uses Savon version 2.3.3, which has a dependency of httpi (~> 2.1.0), so I believe my problem would be solved if a version 2.1.1 were released with this change in effect.

@tjarratt
Copy link
Contributor

Awesome, that was a really fast turnaround for a pull request :)

I think it's totally fine to not test this behavior. Generally I think it's a great idea to have specs that cover basically any feature, but since this is just setting some user-provided value in a really simple manner.... it doesn't seem highly valuable to write a spec for this.

You are absolutely correct about how Savon's dependency on HTTPI works. Wanting to backport this to HTTPI v2.1.0 ... makes it a bit more challenging since HTTPI is currently at v2.2.6. I think that Savon was too conservative in pinning versions of gems we control back when Savon v2.3 was released, which is how we got into this mess.

Would it be hard for you to upgrade to the latest stable version of Savon (v2.7.2) ? There shouldn't be any breaking changes between v2.3 and v2.7, just new features.

tjarratt added a commit that referenced this pull request Sep 24, 2014
 Pass option :ssl_version to Excon adapter
@tjarratt tjarratt merged commit e142ac6 into savonrb:master Sep 24, 2014
tjarratt added a commit that referenced this pull request Sep 24, 2014
@entrity
Copy link
Contributor Author

entrity commented Sep 24, 2014

Thanks. I updated both gems, and it looks like smooth sailing.

@sshaw
Copy link
Contributor

sshaw commented Oct 21, 2014

Shouldn't this be outside if ssl.verify_mode == true?

@tjarratt
Copy link
Contributor

@sshaw that seems correct. Would you mind submitting a PR for that?

@sshaw
Copy link
Contributor

sshaw commented Oct 28, 2014

Sure, give me a day or so...

@sshaw
Copy link
Contributor

sshaw commented Nov 8, 2014

Or 10...

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

Successfully merging this pull request may close these issues.

3 participants