Upgrading rest-client 0.9 to 1
Unknown0.9.2 → 1.8.0
Fetching 36 releases from GitHub…0 / 36
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Requires Ruby >= 1.9.2 from 1.7.0.rc1 (none stated before).
Adds http-cookie < 2.0, >= 1.0.2, mime-types < 3.0, >= 1.16, netrc ~> 0.7.
API changes
Generated by DepDelta from published Ruby source. Not mixed with prose notes.
- removed:
static set RestClient.log(_) - added:
const RestClient.STATUSES - added:
const RestClient.VERSION - added:
static method RestClient.options(_, _ = …) - added:
static method RestClient.patch(_, _, _ = …) - added:
static method RestClient.version()
- removed:
class NotModified < ExceptionWithResponse - removed:
class RequestTimeout < Exception - removed:
class ResourceNotFound < ExceptionWithResponse - removed:
class Response < String - removed:
class Unauthorized < ExceptionWithResponse - removed:
const NotModified.ErrorMessage - removed:
const Redirect.ErrorMessage - removed:
const RequestTimeout.ErrorMessage - removed:
const ResourceNotFound.ErrorMessage - removed:
const ServerBrokeConnection.ErrorMessage - removed:
const Unauthorized.ErrorMessage - removed:
constructor ExceptionWithResponse(_ = …) - removed:
constructor Response(_, _) - removed:
method ExceptionWithResponse.http_code() - removed:
method Request.display_log(_) - removed:
method Request.execute_inner() - removed:
method Request.request_log() - removed:
method Request.response_log(_) - removed:
method Response.code() - removed:
method Response.cookies() - removed:
method Response.headers() - removed:
property ExceptionWithResponse.response: accessor - removed:
property Response.net_http_res: reader - removed:
static method Response.beautify_headers(_) - changed:
method Exception.message(_ = …) → method Exception.message() - changed:
method Request.decode(_, _) → static method Request.decode(_, _) - added:
class MaxRedirectsReached < Exception - added:
class RawResponse - added:
class SSLCertificateNotVerified < Exception - added:
const Exceptions.EXCEPTIONS_MAP - added:
const Request.DefaultCiphers - added:
const Request.SSLOptionList - added:
constructor Exception(_ = …, _ = …) - added:
constructor RawResponse(_, _, _, _) - added:
constructor SSLCertificateNotVerified(_) - added:
constructor ServerBrokeConnection(_ = …) - added:
method AbstractResponse.code() - added:
method AbstractResponse.cookie_jar() - added:
method AbstractResponse.cookies() - added:
method AbstractResponse.description() - added:
method AbstractResponse.follow_redirection(_ = …, _ = …) - added:
method AbstractResponse.headers() - added:
method AbstractResponse.raw_headers() - added:
method AbstractResponse.response_set_vars(_, _, _) - added:
method AbstractResponse.return!(_ = …, _ = …) - added:
method AbstractResponse.to_i() - added:
method Exception.http_body() - added:
method Exception.http_code() - added:
method Exception.inspect() - added:
method Exception.to_s() - added:
method MaxRedirectsReached.message() - added:
method Payload.generate(_) - added:
method Payload.has_file?(_) - added:
method Payload.has_file_array?(_) - added:
method RawResponse.size() - added:
method RawResponse.to_s() - added:
method Redirect.message() - added:
method Request.fetch_body(_) - added:
method Request.log_request() - added:
method Request.log_response(_) - added:
method Request.net_http_do_request(_, _, _ = …) - added:
method Request.print_verify_callback_warnings() - added:
method Request.process_url_params(_, _) - added:
method Request.stringify_headers(_) - added:
method Request.valid_cookie_key?(_) - added:
method Request.valid_cookie_value?(_) - added:
method Request.verify_ssl() - added:
method Resource.head(_ = …) - added:
method Resource.patch(_, _ = …) - added:
method Response.body() - added:
module AbstractResponse - added:
module Exceptions - added:
module Payload - added:
module Platform - added:
module Response - added:
module ResponseForException - added:
module Windows - added:
property AbstractResponse.args: reader - added:
property AbstractResponse.net_http_res: reader - added:
property AbstractResponse.request: reader - added:
property Exception.message: writer - added:
property Exception.response: accessor - added:
property RawResponse.file: reader - added:
property RawResponse.request: reader - added:
property Request.args: reader - added:
property Request.max_redirects: reader - added:
property Request.processed_headers: reader - added:
property Request.raw_response: reader - added:
property Request.ssl_opts: reader - added:
property Resource.block: reader - added:
static method AbstractResponse.beautify_headers(_) - added:
static method Platform.jruby?() - added:
static method Platform.mac_mri?() - added:
static method Platform.windows?() - added:
static method Request.default_ssl_cert_store() - added:
static method Response.create(_, _, _, _)
- added:
class Base - added:
class Multipart < Base - added:
class Streamed < Base - added:
class UrlEncoded < Base - added:
const Multipart.EOL - added:
const UrlEncoded.Parser - added:
constructor Base(_) - added:
method Base.build_stream(_) - added:
method Base.close() - added:
method Base.flatten_params(_, _ = …) - added:
method Base.flatten_params_array(_, _) - added:
method Base.headers() - added:
method Base.inspect() - added:
method Base.length() - added:
method Base.read(_ = …) - added:
method Base.short_inspect() - added:
method Base.size() - added:
method Base.to_s(_ = …) - added:
method Multipart.boundary() - added:
method Multipart.build_stream(_) - added:
method Multipart.close() - added:
method Multipart.create_file_field(_, _, _) - added:
method Multipart.create_regular_field(_, _, _) - added:
method Multipart.handle_key(_) - added:
method Multipart.headers() - added:
method Multipart.mime_for(_) - added:
method Streamed.build_stream(_ = …) - added:
method Streamed.length() - added:
method Streamed.size() - added:
method UrlEncoded.build_stream(_ = …) - added:
method UrlEncoded.handle_key(_) - added:
method UrlEncoded.headers()
- added:
class Escape < Regexp.new("[^#{URI::PATTERN::UNRESERVED}]")
- added:
class WeakDefaultCiphers < Set.new(["ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW",])
- added:
class RootCerts - added:
constructor RootCerts(_) - added:
method RootCerts.each() - added:
static method RootCerts.instance() - added:
static method RootCerts.load_certs()
- added:
class CERT_CONTEXT < FFI::Struct