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

Object#timeout is deprecated #83

Open
trip30 opened this issue Feb 5, 2016 · 1 comment
Open

Object#timeout is deprecated #83

trip30 opened this issue Feb 5, 2016 · 1 comment

Comments

@trip30
Copy link

trip30 commented Feb 5, 2016

Using Ruby 2.3.0, when running tddium the output pumps out tons of 'Object#timeout is deprecated' warnings.

...
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:900:in `read_body_chunked': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:500:in `query': Object#timeout is deprecated, use Timeout.timeout instead.
/Users/gibson/.rvm/gems/ruby-2.3.0@trip30/gems/httpclient-2.7.0.1/lib/httpclient/session.rb:787:in `parse_header': Object#timeout is deprecated, use Timeout.timeout instead.
...

It looks like this is due to the httpclient dependency being set to 2.4.0. Updating to the new httpclient 2.7.1 should clear this up.

@semipermeable
Copy link
Contributor

Thanks for reporting this. We've had issues with dependencies on httpclient in the past, and we're working on a resolution here. Just to confirm - have you tried this with the latest version of the solano gem?

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

No branches or pull requests

2 participants