riboseinc / uri_format_validator

Validate URL for Rails
MIT License
3 stars 2 forks source link

Introduce :host validation option #92

Closed skalee closed 6 years ago

skalee commented 6 years ago

Allow limiting acceptable URIs to those with their hosts matching specified constraints.

codecov[bot] commented 6 years ago

Codecov Report

Merging #92 into master will decrease coverage by 1.04%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   99.52%   98.47%   -1.05%     
==========================================
  Files          10       10              
  Lines         210      263      +53     
==========================================
+ Hits          209      259      +50     
- Misses          1        4       +3
Impacted Files Coverage Δ
spec/uri_validator_spec.rb 100% <100%> (ø) :arrow_up:
...b/uri_format_validator/validators/uri_validator.rb 95.45% <100%> (-4.55%) :arrow_down:
lib/uri_format_validator/reacher.rb 87.5% <0%> (-5.84%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3dadc9e...6cffc12. Read the comment docs.