Commit Graph

268 Commits

Author SHA1 Message Date
Ben Lewis f0587c8cda
Merge pull request #72 from twitter/blewis/upgrade-to-v-11
Update CHANGELOG
2018-09-14 11:06:36 -06:00
Ben Lewis 06c7bd6541 Update CHANGELOG 2018-09-14 10:59:33 -06:00
Ben Lewis 2b75c63e32
Merge pull request #71 from strava/thrift-version-11
Thrift version update, tests pass
2018-09-14 10:57:48 -06:00
Connor Murray 0931bfe596 Thrift version update, tests pass 2018-09-11 14:44:52 -07:00
Ben Lewis c652173e69
Merge pull request #69 from dschofie/master
Add api link in README
2017-12-18 11:20:42 -07:00
dschofie 0ef0f205a7 change link 2017-12-18 10:18:14 -08:00
dschofie 816cc4e363 Add api link 2017-12-12 21:19:48 -08:00
Ben Lewis 34d17e396a Update README
Update to correct Ruby version in readme.
2017-10-19 12:31:46 -06:00
Ben Lewis c26c5f3cc2 Merge pull request #68 from fluxusfrequency/blewis/update-to-thrift-0-10-0
Update thrift dependency to 0.10.0
2017-10-19 12:27:27 -06:00
Ben Lewis 91eb854308 Drop Ruby 1.9.3 support entirely 2017-10-19 12:16:24 -06:00
Ben Lewis 9607656423 Pin the rack version 2017-10-19 12:14:24 -06:00
Ben Lewis 2d49a4b50e Remove patch version from Ruby 2.1.7 2017-10-19 12:12:06 -06:00
Ben Lewis f8b0c37e2c Change travis Ruby versions 2017-10-19 12:08:54 -06:00
Ben Lewis 7deea170c0 Update changelog message 2017-10-19 12:05:50 -06:00
Ben Lewis 818ec75498 Compare bytes and require http server to fix tests 2017-10-19 12:04:33 -06:00
Ben Lewis af15bb536e Update changelog 2017-10-16 11:43:08 -06:00
Ben Lewis dbb68f96ee Update thrift dependency to 0.10.0 2017-10-16 11:40:22 -06:00
Ryan Greenberg 5c10d59881 Update CHANGELOG for v0.9.3. 2014-08-27 10:28:42 -07:00
Jeff Smick b8ac8c6522 Merge pull request #61 from mikesea/remove-mongrel
Use Thrift::ThinHTTPServer in tests
2014-05-07 09:40:17 -07:00
Mike Chlipala f2ae646e9e Increase sleep time slightly to fix Travis CI tests 2014-05-06 19:33:48 -07:00
Mike Chlipala 5f735bf81b Use Thrift::ThinHTTPServer in tests
Thrift::MongrelHTTPServer is deprecated, so removing that dependency
as well.
2014-05-06 14:05:15 -07:00
Chris Aniszczyk 72a946128a Merge pull request #59 from twitter/add_license_to_gemspec
Specify license in gemspec
2014-03-23 16:19:36 -05:00
Ryan Greenberg cf1c3d8c20 Specify license in gemspec 2014-03-23 10:00:24 -07:00
Ryan Greenberg 0e09fa280a Merge pull request #57 from twitter/provide_wrapped_exceptions
Extract wrapped exception class creation
2014-03-20 09:04:13 -07:00
Ryan Greenberg fe5295124e Merge pull request #58 from twitter/fix_travis_ci_build
Fix Travis CI build
2014-03-20 08:49:24 -07:00
Ryan Greenberg 3ed983ac79 Add undeclared dependencies for thrift
thrift requires rack and thin in its Thrift::ThinHTTPServer but does
not declare them in the gemspec.
2014-03-20 08:41:04 -07:00
Ryan Greenberg 3ec894d476 Extract wrapped exception class creation
The wrapped exception classes are not created until ThriftClient.new
is called with the correct client class. This makes it difficult to
write code like `rescue MyThrift::Client::TransportException` because
the exception class may not exist yet.

Callers may now use ThriftClient.create_wrapped_exception_classes to
ensure the desired classes have been created.
2014-03-19 17:46:06 -07:00
Ryan Greenberg 88d40817d4 Change to https rubygems source
Using ":rubygems" results in the message:

  "The source :rubygems is deprecated because HTTP requests are
  insecure. Please change your source to 'https://rubygems.org' if
  possible, or 'http://rubygems.org' if not."
2014-03-19 17:21:45 -07:00
Jeff Smick d8ad5961ab only show connection string on NoServersAvailable 2013-04-11 08:59:06 -07:00
Jeff Smick a7eeb15a58 update changelog 2013-02-26 11:30:24 -08:00
Jeff Smick d571b5dc13 apply global timeout to connection management 2013-02-26 11:24:55 -08:00
Jeff Smick bf63cd230c Merge pull request #50 from twitter/thrift-0.9.0
Upgrade to thrift 0.9.0 (closes #49)
2013-01-10 19:21:44 -08:00
Jeff Smick 8793ef1637 add more ruby versions to travis.ci 2013-01-10 19:19:22 -08:00
Jeff Smick 8f2248625b Upgrade to thrift 0.9.0 (closes #49) 2013-01-10 19:04:17 -08:00
Chris Aniszczyk 168d26e060 Merge pull request #47 from caniszczyk/master
Update README with Travis CI information
2012-11-26 13:37:53 -08:00
Chris Aniszczyk 5a094eb06d Update README with Travis CI information
Signed-off-by: Chris Aniszczyk <zx@twitter.com>
2012-11-26 13:31:09 -08:00
Jeff Smick 5053c79475 add travis ci support 2012-11-26 13:15:52 -08:00
Brandon Mitchell c26cee8085 Merge pull request #45 from twitter/remove_echoe
remove Echoe dependency
2012-11-26 12:36:02 -08:00
Jeff Smick ed05b900da remove Echoe dependency 2012-11-26 11:50:28 -08:00
Jeff Smick bde838865c update CHANGELOG 2012-11-26 09:25:06 -08:00
Brandon Mitchell 6700fba12f Merge pull request #44 from twitter/reduce_object_churn
respect connect_timeout on reconnect
2012-11-15 13:26:46 -08:00
Jeff Smick c0155507d1 respect connect_timeout on reconnect
Thrift::Socket reuses the timeout value for both connection and
request timeouts.
2012-11-15 13:13:04 -08:00
Brandon Mitchell a1bf8c217b Merge pull request #43 from twitter/reduce_object_churn
Reduce object churn and ensure socket alignment
2012-11-15 13:08:26 -08:00
Jeff Smick 51a9adab97 ensure socket alignment
If a request is interrupted before data can be read off the socket
a misalignment can occur whereby subsequent requests will get responses
from previous requests.
2012-11-15 10:00:39 -08:00
Jeff Smick 68a8bfc072 reduce object churn
Cache the connection and client in the server object. If a client
is cleanly disconnected we don't need to tear it all down. This will
mean any negotiations made at the protocol level will hold when the
client reconnected. However the post_connect callback at the
application layer will still be called.
2012-11-15 09:48:39 -08:00
Brandon Mitchell 4863efcc77 Docs. 2012-09-11 10:13:01 -07:00
Brandon Mitchell bb1eb43866 CHANGELOG for v0.8.2 2012-09-11 10:08:17 -07:00
Brandon Mitchell 28b62e5c6c Spelling. 2012-09-10 15:30:09 -07:00
Brandon Mitchell 817a1755ee Merge branch 'connection_cache'
* connection_cache:
  (optionally) Cache connections to amortize connect() costs.
2012-09-10 15:25:46 -07:00
Brandon Mitchell 92f3aedb74 (optionally) Cache connections to amortize connect() costs. 2012-09-10 15:25:25 -07:00