require 'rest-client' require 'cleversafe/connection' require 'cleversafe/http_client' require 'cleversafe/vault' require 'cleversafe/object' require 'cleversafe/errors' # Monkeypatch RestClient to prevent it from closing IO objects after they're # uploaded, which it really shouldn't do. class RestClient::Payload::Streamed def close end end