CHANGELOG.md in typhoeus-0.5.0.pre vs CHANGELOG.md in typhoeus-0.5.0.rc

- old
+ new

@@ -18,10 +18,11 @@ libcurl names. See [Easy.new](http://rubydoc.info/github/typhoeus/ethon/Ethon/Easy#initialize-instance_method) for a description. * The following classes were deleted because they do not seemed to be uesed at all. If that turns out to be wrong, they will be restored: `Typhoeus::Filter`, `Typhoeus::Remote`, `Typhoeus::RemoteMethod`, `Typhoeus::RemoteProxyObject` + * `Typhoeus::Easy` and `Typhoeus::Multi` are now `Ethon::Easy` and `Ethon::Multi` * Request shortcuts: `Typhoeus.get("www.google.de")` * Global configuration: ```ruby Typhoeus.configure do |config| @@ -30,9 +31,20 @@ end ``` * No more Response#headers_hash, instead response#header returning the last header and response#redirections returning the responses with headers generated through redirections +* Instead of defining the same callbacks on every request, you can define global callbacks: + +```ruby +Typhoeus.on_complete { p "yay" } +``` + +* The stubbing interface changed slightly. You now have the same syntax as for requests: + +```ruby +Typhoeus.stub(url, options).and_return(response) +``` Enhancements: * Documentation ( [Alex P](https://github.com/ifesdjeen), [\#188](https://github.com/typhoeus/typhoeus/issues/188) )