4 Commits

Author SHA1 Message Date
Mattia
f58f251051 Ruby 2.4.0 and Minitest 6 support (#644)
* Add Ruby 2.4 to Travis matrix

* test against ruby 2.4.0-rc1

* use `Integer` in place of `Fixnum` to be ruby-2.4 compliant
use `assert_nil` in place of `assert_equal nil` to be MiniTest 6 compliant

* use ruby 2.4.0 final release on travis matrix
2017-01-13 11:35:33 +00:00
Leon Miller-Out
a712938071 Fix Ruby 1.9.3 tests on Travis. Drop support for Ruby 1.8.7. (#600)
* Drop support for Ruby 1.9.2, which no-one should be using any more.

* Constraint gem versions for Ruby 1.9.3

* Drop support for Ruby 1.8.7. Many dependencies have dropped support for it.

* Remove conditionals checking for Ruby 1.8.7

* Document Ruby version dependency
2016-08-26 21:45:28 +01:00
Mislav Marohnić
28653690c6 fix copy_stream test for Rubinius and JRuby 2013-02-25 03:02:46 +01:00
Mislav Marohnić
f619a5d334 fix file uploads with Ruby 2.0 net/http
Rewrite Faraday::CompositeReadIO because the one inherited from
multipart-post library doesn't behave well when used with
IO.copy_stream which net/http uses internally in Ruby 2.0.
2013-02-25 03:02:45 +01:00