peer_review 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -3
  3. data/config/domains.txt +98 -25
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c146a78534c8df5a4bc020c9740deac51d964e31
4
- data.tar.gz: 361d308c908e9fd9702f25c0aaaa971294078964
3
+ metadata.gz: 302e6e03db87b473e2d39762d83c48794b37823f
4
+ data.tar.gz: 421c8f18bd22d36c886240e825c5ad940c9572e0
5
5
  SHA512:
6
- metadata.gz: e500dfb2f56921961ba58849c617b4d9bdd0238414fc1740de3468e39ba2b1978aa56b4b6b61afcfd30bd9128aa1b8a6792d9e004130dbd415dcae1d3109f386
7
- data.tar.gz: f3ed0d150874ad14fd5da175c48925ab344ede884174cffd2da0b0b740940d139b3197db1a606b632be9cacbf7b825c47709e9a52b7609f9b17bf93e77f89af4
6
+ metadata.gz: a9b34a258737cda01d8a059da381e2a3603818bd68f453d77f2c0ad6732cf96d7e33323237b39c9a88b2b67f9d69e7740ce784e9f94616eaf9d79986ea8c5ee2
7
+ data.tar.gz: 98207c907c7e7d48ee1178f99daa604dcc499f1fa425f000cfb2c6c86c7c2eb69250fa3def2933b850b3a19459c78a26a6c7299199d2c258b17933f134b75aa5
data/README.md CHANGED
@@ -7,7 +7,32 @@ Like [Gman](https://github.com/benbalter/gman), Peer Review extends [Naughty Or
7
7
  ## Usage
8
8
 
9
9
  ```ruby
10
- Labrador.valid? `foo@nih.gov` #=> true
11
- Labrador.valid? `http://sandia.gov` #=> true
12
- Labrador.valid? `github.com` #=> false
10
+ PeerReview.valid? `foo@nih.gov` #=> true
11
+ PeerReview.valid? `http://sandia.gov` #=> true
12
+ PeerReview.valid? `github.com` #=> false
13
13
  ```
14
+
15
+ ## Contributing
16
+
17
+ Peer Review just uses [this simple file of domains](https://github.com/benbalter/peer_review/blob/master/config/domains.txt) to work out whether the email belongs to a research organization. For example - US National Labs:
18
+
19
+ ```
20
+ //US National Labs
21
+ anl.gov
22
+ bnl.gov
23
+ fnal.gov
24
+ inl.gov
25
+ lanl.gov
26
+ lbl.gov
27
+ llnl.gov
28
+ nist.gov
29
+ ornl.gov
30
+ pnnl.gov
31
+ pppl.gov
32
+ sandia.gov
33
+ srnl.doe.gov
34
+ srs.gov
35
+ ameslab.gov
36
+ ```
37
+
38
+ If you want to add new domains to this list then please [open a pull request](https://github.com/benbalter/peer_review/pulls) with the modifications to `domains.txt` and a brief explanation of your additions.
data/config/domains.txt CHANGED
@@ -1,35 +1,63 @@
1
- //US National Labs
2
- anl.gov
3
- bnl.gov
4
- fnal.gov
5
- inl.gov
6
- lanl.gov
7
- lbl.gov
8
- llnl.gov
9
- nist.gov
10
- nrel.gov
11
- ornl.gov
12
- pnnl.gov
13
- sandia.gov
14
-
15
- //US Research Agencies
16
- jpl.nasa.gov
17
- nifa.usda.gov
18
- nih.gov
19
-
20
- // CSIRO (Australia)
1
+ // Australia
2
+ adelaide.edu.au
3
+ anu.edu.au
21
4
  csiro.au
5
+ icrar.org
6
+ monash.edu
7
+ unimelb.edu.au
8
+ uq.edu.au
9
+ usyd.edu.au
10
+ utas.edu.au
11
+
12
+ // Canada
13
+ bccdc.ca
14
+ bccrc.ca
15
+ bcgsc.ca
16
+ sfu.ca
17
+ ubc.ca
22
18
 
23
- // Candada's Perimeter Institute for Theoretical Physics
19
+ // Canada's Perimeter Institute for Theoretical Physics
24
20
  perimeterinstitute.ca
25
21
 
26
22
  // CERN
27
23
  cern.ch
28
24
 
29
- // UK Laboratories
30
- ebi.ac.uk
31
- npl.co.uk
32
- sanger.ac.uk
25
+ // EU agencies
26
+ esa.int
27
+
28
+ // FFRDCs
29
+ cna.org
30
+ jlab.org
31
+ ll.mit.edu
32
+ mitre.org
33
+ naic.edu
34
+ ncar.ucar.edu
35
+ noao.edu
36
+ slac.stanford.edu
37
+
38
+ // German agencies
39
+ dlr.de
40
+
41
+ // New Zealand
42
+ agresearch.co.nz
43
+ esr.cri.nz
44
+ gns.cri.nz
45
+ landcareresearch.co.nz
46
+ niwa.co.nz
47
+ plantandfood.co.nz
48
+ scionresearch.com
49
+
50
+ // Portuguese funding agency
51
+ fct.pt
52
+
53
+ // Spanish agencies and research centers
54
+ cab.inta-csic.es
55
+ ciemat.es
56
+ cnb.csic.es
57
+ csic.es
58
+ icmat.es
59
+ imdea.org
60
+ inta.es
33
61
 
34
62
  // UK funding agencies
35
63
  ahrc.ac.uk
@@ -40,3 +68,48 @@ mrc.ac.uk
40
68
  nerc.ac.uk
41
69
  stfc.ac.uk
42
70
  wellcome.ac.uk
71
+
72
+ // UK Laboratories
73
+ ebi.ac.uk
74
+ npl.co.uk
75
+ sanger.ac.uk
76
+
77
+ // US Research Agencies
78
+ jpl.nasa.gov
79
+ nifa.usda.gov
80
+ nih.gov
81
+ nrel.gov
82
+
83
+ // US Research orgs and national labs
84
+ ameslab.gov
85
+ anl.gov
86
+ bnl.gov
87
+ broadinstitute.org
88
+ es.net
89
+ fnal.gov
90
+ geni.net
91
+ inl.gov
92
+ internet2.net
93
+ jlab.org
94
+ lanl.gov
95
+ lbl.gov
96
+ llnl.gov
97
+ lternet.edu
98
+ mbl.edu
99
+ nersc.gov
100
+ nist.gov
101
+ opencloudconsortium.org
102
+ opensciencegrid.org
103
+ ornl.gov
104
+ pnl.gov
105
+ pnnl.gov
106
+ pppl.gov
107
+ sandia.gov
108
+ si.edu
109
+ slac.stanford.edu
110
+ srnl.doe.gov
111
+ srs.gov
112
+ tgen.org
113
+ ucar.edu
114
+ whoi.edu
115
+ xsede.org
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: peer_review
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Balter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-19 00:00:00.000000000 Z
11
+ date: 2014-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: naughty_or_nice