Skip to content
This repository was archived by the owner on Nov 5, 2026. It is now read-only.

Releases

v1.2.0

Choose a tag to compare

@Manfred Manfred released this 05 Nov 12:27
  • Removes support/cacert.pem and no longer sets their own CA file for the HTTP request.
  • Reversed tls_verify: and verify_ssl: options to be true by default instead of false.

If you're actually using Nap in production code, you probably should stop at this point. Read the code and copy the 12 lines of net/http you need into your own code.

To keep most of the current behavior you can change the options to disable tls_verify, comme ça:

response = REST.get(
  'https://example.com',
  {},
  { tls_verify: false }
)

Full Changelog: v1.1.1...v1.2.0

Modernize codebase and more sensible TLS defaults

Choose a tag to compare

@Manfred Manfred released this 30 Oct 11:16
cc8019c
  • Removes support/cacert.pem and no longer sets their own CA file for the HTTP request.
  • Reversed tls_verify: and verify_ssl: options to be true by default instead of false.

If you're actually using Nap in production code, you probably should stop at this point. Read the code and copy the 12 lines of net/http you need into your own code.

To keep most of the current behavior you can change the options to disable tls_verify, comme ça:

response = REST.get(
  'https://example.com',
  {},
  { tls_verify: false }
)

Update CA bundle

Choose a tag to compare

@Manfred Manfred released this 30 Oct 09:33
1d32a79
  • Updates support/cacert.pem.

Finally free

Choose a tag to compare

@Manfred Manfred released this 29 Jan 22:21
  • A REST::Request now forwards the entity body for all HTTP verbs.

SMTM

Choose a tag to compare

@Manfred Manfred released this 27 Aug 11:41
  • Removed a custom exception in favor of the exception groups introduced in 0.8.0
  • Updated CA certs
  • Moving to 1.0.0 to signal that it's definitely ready for production

Exception groups

Choose a tag to compare

@Manfred Manfred released this 31 May 12:02
  • Added various exception constants which allow you to rescue a group of exceptions at once.

See the README for a quick introduction to these exceptions.

v0.7.0

Choose a tag to compare

@Manfred Manfred released this 05 Apr 09:29
  • Added support for advanced configuration of the Net::HTTP object through a block.
  • Verified support for Ruby 2.1.
  • Stop throwing exceptions when trying to request a URI without a path (e.g. http://example.com).

Patch support

Choose a tag to compare

@Manfred Manfred released this 01 Dec 12:06
  • Added support for PATCH requests (thanks to Eloy Duran)