From e79d61517f8e3e745f081960e80eb9caaa4cec2b Mon Sep 17 00:00:00 2001 From: Kai-Uwe Humpert Date: Mon, 16 Jul 2012 16:47:34 +0200 Subject: [PATCH] Version 0.0.9 --- Gemfile.lock | 2 +- README.rdoc | 13 ++++++++++++- lib/scalapi/version.rb | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e37a328..46af355 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - scalapi (0.0.8) + scalapi (0.0.9) multi_json rest-client diff --git a/README.rdoc b/README.rdoc index b42719f..b3b38f5 100644 --- a/README.rdoc +++ b/README.rdoc @@ -53,10 +53,21 @@ Library to interact with the Scalarium API. == License -MIT - see MIT-LICENSE +MIT - see [MIT-LICENSE](https://raw.github.com/infopark/scalapi/master/MIT-LICENSE) == ChangeLog +=== 0.0.9 + +- Configurable resource_builder - can specify a (higher) request timeout now: + + Scalapi.configure.tap do |config| + config.resource_builder = lambda {|url, options| + require 'restclient' + ::RestClient::Resource.new(url, options.merge(:timeout => 60)) + } + end + === 0.0.8 - License: Feel free to use scalapi at any time at your own risk. diff --git a/lib/scalapi/version.rb b/lib/scalapi/version.rb index 4f48068..99607f4 100644 --- a/lib/scalapi/version.rb +++ b/lib/scalapi/version.rb @@ -3,5 +3,5 @@ # Copyright (c) Infopark AG # module Scalapi - VERSION = "0.0.8" + VERSION = "0.0.9" end