Peer Review
Like Gman, Peer Review extends Naughty Or Nice to validate whether a given email, url, or domain belongs to a research institution.
This Gem is no longer maintained. If you'd like to adopt it, please open an issue.
Usage
PeerReview.valid? `foo@nih.gov` #=> true
PeerReview.valid? `http://sandia.gov` #=> true
PeerReview.valid? `github.com` #=> false
Contributing
Peer Review just uses this simple file of domains to work out whether the email belongs to a research organization. For example - US National Labs:
//US National Labs
anl.gov
bnl.gov
fnal.gov
inl.gov
lanl.gov
lbl.gov
llnl.gov
nist.gov
ornl.gov
pnnl.gov
pppl.gov
sandia.gov
srnl.doe.gov
srs.gov
ameslab.gov
If you want to add new domains to this list then please open a pull request with the modifications to domains.txt
and a brief explanation of your additions.