RubyGems Navigation menu

safe_uri 0.1.0

SafeURI is an alternative implementation that allows you to open an URI with safer approach - with SafeURI.#open, you can always force to use URI.parse(url).open, or File.open(filename) depending on the provided argument. The pipe character '|' is NOT accepted as it does not delegate to Kernel.#open (falls back to File.#open), unlike URI.#open that falls back to Kernel.#open when un-openable arguments are given.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.0 - April 06, 2019 (8 KB)

Runtime Dependencies (1):

Development Dependencies (3):

bundler ~> 2.0
rake ~> 10.0
rspec ~> 3.0

Owners:

Authors:

  • Koji Onishi

SHA 256 checksum:

3421016f50a2283187ac58a99c9bf06e8d88801ab0f74b66f4c8f3f91637f450

Total downloads 3,558

For this version 3,558

License:

MIT

Required Ruby Version: >= 2.3.0

Links: