Skip to content

benbalter/peer_review

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peer Review

Gem Version Build Status

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.

About

Validates whether a given email, url, or domain belongs to a research institution.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published