simpleweb / simple-constraints

Rails routing constraints
MIT License
1 stars 0 forks source link

IP Address (and IP range) constraint #5

Open paulspringett opened 10 years ago

paulspringett commented 10 years ago

Abstracted from https://github.com/simpleweb/saas-runner/pull/19

Allows routes to be constrained by IP address or IP range.

paulspringett commented 10 years ago

@createdbypete can you check this please?

paulspringett commented 10 years ago

FYI specs are all passing locally

paulspringett commented 10 years ago

@createdbypete the gem is a collection of reusable routing constraints for use in our Rails apps. This pull-request adds an IP address based constraint.

createdbypete commented 10 years ago

:+1: nice job :squirrel: