rubyul 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Rubyul
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubyul`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'rubyul'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install rubyul
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/yorkulibraries/rubyul.
36
+
37
+ ## License
38
+
39
+ GPLv3 or later.
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "rubyul"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,515 @@
1
+ {
2
+ "poolesplus.odyssi.com$" : "19th Century Masterfile",
3
+ "aom.org$" : "Academy of Management",
4
+ "accessengineeringlibrary.com$" : "AccessEngineering",
5
+ "www.accessible.com$" : "Accessible Archives",
6
+ "humanitiesebook.org" : "ACLS Humanities E-Book",
7
+ "asa.scitation.org" : "Acoustical Society of America",
8
+ "akademiai.com$" : "Akadémiai Kiadó",
9
+ "acm.org$" : "Assoc Computing Machinery",
10
+ "acs.org$" : "Amer Chem Soc",
11
+ "acponline.org$" : "Amer Coll Physicians",
12
+ "ams.org$" : "Amer Math Soc",
13
+ "amdigital.co.uk$" : "Adam Matthew",
14
+ "alexanderstreet.com$" : "Alexander Street",
15
+ "alexanderstreet2.com$" : "Alexander Street",
16
+ "aspresolver.com$" : "Alexander Street",
17
+ "academicvideostore.com$" : "Alexander Street",
18
+ "allenpress.com$" : "Allen Press",
19
+ "aappublications.org$" : "Amer Acad Pediatrics",
20
+ "aacrjournals.org$" : "Amer Assoc Cancer Research",
21
+ "www.clinchem.org$" : "Amer Assoc Clinical Chem",
22
+ "aacnjournals.org$" : "Amer Assoc Critical Care Nurses",
23
+ "aafp.org$" : "Amer Assoc Family Physicians",
24
+ "www.jimmunol.org$" : "Amer Assoc Immunologists",
25
+ "aaiddjournals.org$" : "Amer Assoc Int Dev Disabilities",
26
+ "jacn.org$" : "Amer College Nutrition",
27
+ "diabetesjournals.org$" : "Amer Diabetes Assoc Journals",
28
+ "aeaweb.org$" : "Amer Econ Assoc",
29
+ "\\.agu.org$" : "Amer Geophysical Union",
30
+ "ahajournals.org$" : "Amer Heart Assoc Journals",
31
+ "aiaa.org$" : "Amer Inst Aeronatics",
32
+ "aimsciences.org$" : "Amer Inst Mathematical Sciences",
33
+ "aip.org$" : "Amer Inst Physics",
34
+ "physicstoday.org$" : "Amer Inst Physics",
35
+ "\\.aapt.org$" : "Amer Inst Physics",
36
+ "asadl.org$" : "Amer Inst Physics",
37
+ "aip.scitation.org$" : "Amer Inst Physics",
38
+ "amjbot.org$" : "Amer J Botany",
39
+ "ajnr.org$" : "Amer J Neuroradiology",
40
+ "\\.ajronline.org$" : "Amer J Roentgenology",
41
+ "ametsoc.org$" : "Amer Meteorological Soc",
42
+ "\\.anb.org$" : "Amer Nat Biography",
43
+ "nursingworld.org$" : "Amer Nurses Assoc",
44
+ "aota.org$" : "Amer Occupational Therapy Assoc",
45
+ "\\.aps.org$" : "Amer Physical Soc",
46
+ "physiology.org$" : "Amer Physiological Soc",
47
+ "the-aps.org$" : "Amer Physiological Soc",
48
+ "apsnet.org$" : "Amer Phytopathological Soc",
49
+ "aphapublications.org$" : "Amer Public Health Assoc",
50
+ "ascelibrary.org$" : "Amer Soc Civil Engineering",
51
+ "jco.ascopubs.org$" : "Amer Soc Clinical Oncology",
52
+ "ashspublications.org$" : "Amer Soc Horticultural Sci",
53
+ "\\.asm.org$" : "Amer Soc Microbiology",
54
+ "asnjournals.org$" : "Amer Soc Nephrology",
55
+ "nutrition.org$" : "Amer Soc Nutrition",
56
+ "\\.ajcn.org$" : "Amer Soc Nutrition",
57
+ "aspetjournals.org$" : "Amer Soc Pharmacology and Exper Therapeutics",
58
+ "www.plantcell.org$" : "Amer Soc Plant Biol",
59
+ "www.ajtmh.org$" : "Amer Soc Tropical Med and Hygiene",
60
+ "\\.asha.org$" : "Amer Speech-Language-Hearing Assoc",
61
+ "atsjournals.org$" : "Amer Thoracic Js",
62
+ "www.amsciepub.com$" : "Ammons Scientific",
63
+ "anatomy.tv$" : "Anatomy..tv",
64
+ "www.annfammed.org$" : "Annals Family Med",
65
+ "www.annals.org$" : "Annals Internal Med",
66
+ "annee-philologique.com" : "Année philologique",
67
+ "www.anthrosource.net" : "AnthroSource",
68
+ "anthrosource.*.wiley.com" : "AnthroSource",
69
+ "atla(online)?.com$" : "Amer Theological Lib Assn",
70
+ "^annals.org$" : "Annals Internal Med",
71
+ "annualreviews.org$" : "Annual Reviews",
72
+ "psycnet.apa.org" : "APA: PsycNet",
73
+ "(content|my|doi).apa.org" : "APA: PsycNet",
74
+ "psyctherapy.apa.org" : "APA: PsycTherapy",
75
+ "(static.www).apa.org" : "APA",
76
+ "artstor.org" : "Artstor",
77
+ "ascojournals.org" : "ASCO Journals",
78
+ "\\.arl.org$" : "Assoc Research Libraries",
79
+ "atypon-link.com$" : "Atypon",
80
+ "responsa.co.il" : "Bar Ilan Responsa Project",
81
+ "begellhouse.com" : "Begell House",
82
+ "bepress.com$" : "bepress",
83
+ "berghahnjournals.com" : "Berghahn Journals",
84
+ "journals.berghahnbooks.com" : "Berghahn Journals",
85
+ "biochemj.org$" : "Biochemical J",
86
+ "bioone.org$" : "BioOne",
87
+ "www.biolbull.org$" : "Biological Bulletin",
88
+ "bna.birds.cornell.edu" : "Birds of North America",
89
+ "sociologyencyclopedia.com" : "Blackwell Encyc of Soc",
90
+ "bloodjournal.org" : "Blood J",
91
+ "\\.bna.com$" : "Bloomberg BNA",
92
+ "bmj.com$" : "British Medical J",
93
+ "boneandjoint.org.uk" : "Bone & Joint",
94
+ "books24x7.com$" : "Books 24x7",
95
+ "booksinprint.com$" : "Books in Print",
96
+ "brepolis.net$" : "Brepolis",
97
+ "brill.(com|nl)$" : "Brill",
98
+ "brillonline.(com|nl)$" : "Brill Online",
99
+ "nijhoffonline.nl$" : "Brill Online",
100
+ "bsc.chadwyck.com" : "BSC (Chadwyck)",
101
+ "bvdep.com" : "Bureau van Dijk",
102
+ "businessmonitor.com$" : "Business Monitor",
103
+ "bmiresearch.com$" : "Business Monitor",
104
+ ".*.cairn.info" : "Cairn..info",
105
+ "cardonline.ca" : "CARDOnline",
106
+ "ebooks.cambridge.org" : "Cambridge Books Online",
107
+ "histories.cambridge.org" : "Cambridge Histories Online",
108
+ "journals.cambridge.org" : "Cambridge Journals",
109
+ "celarc.ca" : "desLibris",
110
+ "jnls.cup.org" : "Cambridge Journals",
111
+ "www.cambridge.org" : "Cambridge UP",
112
+ "canadalawbook.ca" : "Canada Law Book",
113
+ "cacap-acpea.org" : "Cdn Acad Child & Adolescent Psych",
114
+ "casw-acts.ca" : "Cdn Assoc Social Workers",
115
+ "cbraonline.com" : "Cdn Book Review Annual",
116
+ "ccl-lcj.ca" : "Cdn Children's Literature",
117
+ "cdn-hr-reporter.ca$" : "Cdn Human Rights Reporter",
118
+ "cif-ifc.org$" : "Cdn Inst Forestry",
119
+ "cjc-online.ca" : "Cdn J Communication",
120
+ "cjcmh.com" : "Cdn J Community Mental Health",
121
+ "cmaj.ca$" : "Cdn Med Assoc J",
122
+ "cpa-apc.org$" : "Cdn Psychiatric Assn",
123
+ "eco.canadiana.ca" : "Eco (Canadiana)",
124
+ "canadiana.ca$" : "Canadiana",
125
+ "canadiana.org$" : "Canadiana",
126
+ "canlii.org" : "CanLII",
127
+ "cchonline.ca" : "CCH",
128
+ "www.cell.com$" : "Cell Press",
129
+ "www.ceeol.com" : "Central & Eastern Euro Online Lib",
130
+ "afi.chadwyck.com" : "Chadwyck: AFI",
131
+ "c19index.chadwyck.com" : "Chadwyck: C19 Index",
132
+ "collections.chadwyck.com" : "Chadwyck: Chadwyck-Healey Lit Coll",
133
+ "eebo.chadwyck.com" : "Chadwyck: EEBO",
134
+ "fiaf.chadwyck.com" : "Chadwyck: FIAF",
135
+ "film.chadwyck.com" : "Chadwyck: Film Index",
136
+ "fii.chadwyck.com" : "Chadwyck: Film Index Intl",
137
+ "gerritsen.chadwyck.com" : "Chadwyck: Gerritsen",
138
+ "parlipapers.chadwyck.com" : "Chadwyck: HCPP",
139
+ "iibp.chadwyck.com" : "Chadwyck: Intl Index Black Per",
140
+ "iipaft.chadwyck.com" : "Chadwyck: IIPAFT",
141
+ "chadwyck.com$" : "Chadwyck: bucket",
142
+ "chass.utoronto.ca" : "CHASS Data Centre",
143
+ "chemnetbase.com" : "ChemNetBase",
144
+ "chemspider.com" : "ChemSpider",
145
+ "chemport.cas.org" : "Chem Abstracts: Chemport",
146
+ "scifinder.cas.org" : "Chem Abstracts: SciFinder",
147
+ "\\.cas.org" : "Chem Abstracts",
148
+ "chicagomanualofstyle.org" : "Chicago Manual of Style",
149
+ "cnki.com.cn" : "China National Knowledge Infrastructure",
150
+ "nii.ac.jp" : "CiNii",
151
+ "circ.greyhouse.ca" : "CIRC (Greyhouse)",
152
+ "citeseerx.ist.psu.edu" : "CiteSeerX",
153
+ "projectne.thomsonreuters.com" : "Clarivate Analytics",
154
+ "clinicalkey.com$" : "ClinicalKey",
155
+ "cshlp.org$" : "Cold Spring Harbor Lab Pr",
156
+ "genesdev.org$" : "Cold Spring Harbor Lab Pr",
157
+ "ciaonet.org$" : "Columbia International Affairs Online",
158
+ "cseweb.org.uk$" : "Conf Socialist Economics",
159
+ "bcin.ca$" : "Conservation Bibliography",
160
+ "\\.biologists.org$" : "Company of Biologists",
161
+ "cqpress.com$" : "CQ Press",
162
+ "cqpress.gvpi.net$" : "CQ Press",
163
+ "crcnetbase.com$" : "CRCnetBASE",
164
+ "hbcponline.com" : "CRC Handbook of Chemistry and Physics",
165
+ "criterionpic.com$" : "Criterion Pictures",
166
+ "\\.csa.ca$" : "CSA Group",
167
+ "statindex.org$" : "Current Index to Statistics",
168
+ "curio.ca$" : "Curio..ca",
169
+ "datamonitor.com" : "Data Monitor",
170
+ "dbpia.co.kr$" : "DBpia (Korean)",
171
+ "degruyter.com$" : "De Gruyter",
172
+ "doiserbia.nb.rs$" : "doiSerbia",
173
+ "dukejournals.org$" : "Duke Journals",
174
+ "eblib.com$" : "Ebook Library",
175
+ "ebrary.com$" : "Ebrary",
176
+ "ebscohost.com$" : "EbscoHost",
177
+ "epnet.com$" : "EbscoHost",
178
+ "hwwilsonweb.com$" : "EbscoHost",
179
+ "ecologyandsociety.org" : "Ecology and Society",
180
+ "\\.epw.in$" : "Economic & Political Weekly",
181
+ "store.eiu.com" : "Economist Intelligence Unit",
182
+ "www.euppublishing.com$" : "Edinburgh University Press",
183
+ "educause.edu$" : "Educause",
184
+ "\\.ecsdl.org$" : "Electrochemical Society",
185
+ "e-enlightenment.com$" : "Electronic Enlightenment",
186
+ "elsevier.com$" : "Elsevier",
187
+ "elsevierhealth.com$" : "Elsevier Health",
188
+ "embassynews.ca$" : "Embassy News",
189
+ "emeraldinsight.com$" : "Emerald Insight",
190
+ "emerald-library.com$" : "Emerald Insight",
191
+ "\\.eb.com$" : "Encyc Britannica",
192
+ ".*.britannica.com" : "Encyc Britannica",
193
+ "endojournals.org" : "Endocrine Soc",
194
+ "endocrine.org" : "Endocrine Soc",
195
+ "englishhistoricaldocuments.com" : "English Historical Documents",
196
+ "eric.ed.gov" : "ERIC",
197
+ ".*.erudit.org" : "Érudit",
198
+ ".*.eureka.cc" : "Eureka..cc",
199
+ "euromonitor.com$" : "Euromonitor",
200
+ "europaworld.com$" : "Europa World Plus",
201
+ "www.eje-online.org$" : "European J Endocrinology",
202
+ "erj.ersjournals.com$" : "European Respiratory Soc",
203
+ ".*.engineeringvillage.com" : "Engineering Village",
204
+ "factiva.com$" : "Factiva",
205
+ "familiesinsociety.org$" : "Families in Society",
206
+ "www.fasebj.org$" : "Fdn Amer Soc Experimental Biol",
207
+ "\\.fas.org$" : "Fdn Amer Scientists",
208
+ "\\.fass.org$" : "Fdn Animal Science Societies",
209
+ "fitne.net$" : "Fitne",
210
+ "digital.films.com" : "Films on Demand",
211
+ "fod\\.infobase\\.com" : "Films on Demand",
212
+ "foreignpolicy.com" : "Foreign Policy",
213
+ "\\.gale.com$" : "Gale",
214
+ "\\.galegroup.com$" : "Gale",
215
+ "\\.rdsinc.com$" : "Gale",
216
+ "geoscienceworld.org$" : "GeoScienceWorld",
217
+ "\\.getty.edu$" : "Getty",
218
+ "globalfinancialdata.com$" : "Global Financial Data",
219
+ "genetics.org$" : "Genetics",
220
+ "gsapubs.org$" : "Geological Soc Amer",
221
+ "grantconnect.ca$" : "Grant Connect",
222
+ "guilfordjournals.com" : "Guilford Periodicals",
223
+ "hepg.org" : "Harvard Ed Pub Group",
224
+ "hepgjournals.org" : "Harvard Ed Pub Group",
225
+ "heinonline.org$" : "HeinOnline",
226
+ "heinonlinebackup.com" : "HeinOnline",
227
+ "hilltimes.com" : "Hill Times",
228
+ "hsus.cambridge.org" : "Historical Statistics of US",
229
+ "hoovers.com$" : "Hoovers",
230
+ "hrcak.srce.hr$" : "Hrčak",
231
+ "www.hugeog.com$" : "Human Geography",
232
+ "ibfd.org$" : "IBFD",
233
+ "humankinetics.com$" : "Human Kinetics",
234
+ "ibisworld.com$" : "IbisWorld",
235
+ "ibisworld.com.cn$" : "IbisWorld",
236
+ "icevirtuallibrary.com$" : "ICE Virtual Library",
237
+ "inderscienceonline.com" : "Inderscience",
238
+ "ieee.org$" : "IEEE",
239
+ "informit.com.au$" : "Informit",
240
+ "digital-library.theiet.org$" : "Inst Engineering Tech Digital Library",
241
+ "ihsglobalinsight.com$" : "IHS Global Insight",
242
+ "\\.globalinsight.com$" : "IHS Global Insight",
243
+ "worldmarketsanalysis.com$" : "IHS Global Insight",
244
+ "fpinfomart.ca$" : "Infomart",
245
+ "elibrary.*imf.org" : "IMF eLibrary",
246
+ "iclr.co.uk" : "Inc Council Law Reporting",
247
+ "jcr.incites.thomsonreuters.com" : "InCites Journal Citation Reports",
248
+ "indexcopernicus.com" : "Index Copernicus",
249
+ "ijpsonline.com" : "Indian J Pharmaceutical Sci",
250
+ "www.indiastat.com$" : "Indiastat",
251
+ "informs.org$" : "Informs",
252
+ "ingentaconnect.com$" : "IngentaConnect",
253
+ "ingenta.com$" : "IngentaConnect",
254
+ "ingentaselect.com$" : "IngentaConnect",
255
+ "www.catchword.com$" : "IngentaConnect",
256
+ "intelliconnect.ca$" : "IntelliConnect",
257
+ "investigacion-psicopedagogica.org" : "Investigación Psicopedagógica",
258
+ "iospress.(com|nl)$" : "IOS Press",
259
+ "itergateway.org$" : "Iter",
260
+ "nlx.com$" : "InteLex",
261
+ "ipasource.com$" : "IPA (Intl Phonetic Alphabet) Source",
262
+ "\\.iop.org$" : "Inst of Physics",
263
+ "communicationencyclopedia.com$" : "Intl Encyc Communication",
264
+ "ijmhs.com$" : "Intl J Mental Health Systems",
265
+ "iucr.org$" : "Intl Union Crystallography",
266
+ "lordisco.com$" : "Jazz Discography",
267
+ "jaapl.org$" : "J Amer Acad Psych & Law",
268
+ "jbc.org$" : "J Bio Chem",
269
+ "jhrsonline.org$" : "J Human Reproductive Sciences",
270
+ "www.jlr.org$" : "J Lipid Research",
271
+ "jmir.org$" : "J Medical Internet Research",
272
+ "jneurosci.org" : "J Neurosci",
273
+ "jwildlifedis.org" : "J Wildlife Diseases",
274
+ "\\.?jamanetwork.com" : "JAMA Network",
275
+ "\\.ama-assn.org$" : "JAMA Network",
276
+ "jst.go.jp$" : "Japanese Science & Technology Agency",
277
+ "jbe-platform.com$" : "John Benjamins",
278
+ "litguide.press.jhu.edu$" : "Johns Hopkins Guide to Lit Theory and Crit",
279
+ "jstor.org$" : "JSTOR",
280
+ "caliber.ucpress.net" : "JSTOR",
281
+ "justcite.com$" : "JustCite",
282
+ "justis.com$" : "Justis",
283
+ "kanopystreaming.com$" : "Kanopy",
284
+ "karger.com$" : "Karger",
285
+ "keesings.com$" : "Keesing's World News Archive",
286
+ "mergentkbr.com$" : "Key Business Ratios",
287
+ "kluwerarbitration.com$" : "Kluwer Arbitration",
288
+ "kluwerlawonline.com$" : "Kluwer Law Online",
289
+ ".*knotia.ca" : "Knotia",
290
+ "knovel.com$" : "Knovel",
291
+ "krpia.co.kr$" : "KRpia (Korean)",
292
+ "llmcdigital.org$" : "Law Lib Microform Consortium",
293
+ "www.lawyersweekly-digital.com$" : "Lawyers Weekly",
294
+ "www.editlib.org$" : "LearnTechLib",
295
+ "lexisnexis.com$" : "LexisNexis",
296
+ "lexis-nexis.com$" : "LexisNexis",
297
+ "advance.lexis.com" : "Lexis Advance Quicklaw",
298
+ "lexissecuritiesmosaic.com" : "Lexis Securities Mosaic",
299
+ "liebertpub.com$" : "Liebert",
300
+ "liverpooluniversitypress.co.uk" : "Liverpool U Press",
301
+ "llmc.com$" : "LLMC Digital",
302
+ ".*.longwoods.com" : "Longwoods",
303
+ "manupatra.*in$" : "Manupatra",
304
+ ".*.marketline.com" : "MarketLine",
305
+ "mcintyre.ca$" : "McIntyre Media",
306
+ "mcnabbconnolly.ca" : "McNabb Connolly",
307
+ ".*mdpi.org" : "MDPI (org)",
308
+ "medscimonit.com$" : "Med Sci Monitor",
309
+ "mergentonline.com" : "Mergent",
310
+ "mergent.com" : "Mergent",
311
+ "mergentarchives.com" : "Mergent",
312
+ "mergenthorizon.com" : "Mergent",
313
+ "mergentintellect.com" : "Mergent Intellect",
314
+ "metapress.com" : "Metapress",
315
+ "mgg-online.com" : "MGG Online",
316
+ "sgmjournals.org$" : "Micobiology Soc",
317
+ "cognet.mit.edu" : "MIT Cognet",
318
+ "mitpressjournals.org" : "MIT Press Journals",
319
+ "www.mlajournals.org$" : "Modern Language Assoc",
320
+ "mcponline.org$" : "Molecular & Cellular Proteomics",
321
+ "www.molbiolcell.org$" : "Molecular Biol of the Cell",
322
+ "www.morganclaypool.com$" : "Morgan and Claypool",
323
+ "muse.jhu.edu$" : "Muse",
324
+ "\\.nap.edu$" : "Natl Academies Pr",
325
+ "\\.nber.org$" : "Natl Bur Eco Research",
326
+ "\\.ncte.org$" : "Natl Coun Teachers English",
327
+ "\\.nature.com$" : "Nature",
328
+ "naxosmusiclibrary.com$" : "Naxos Music",
329
+ "naxos.com$" : "Naxos Music",
330
+ "netlibrary.com$" : "NetLibrary",
331
+ ".*ncbi.nlm.nih.gov" : "Nat Center Biotech Info",
332
+ ".*nejm.org" : "New England J Med",
333
+ "newleftreview.org" : "New Left Review",
334
+ "dictionaryofeconomics.com$" : "New Palgrave Dictionary of Economics",
335
+ "nybooks.com" : "New York Review of Books",
336
+ "\\.newsbank.com" : "Newsbank",
337
+ "\\.nfb.ca" : "NFB",
338
+ "\\.onf.ca" : "NFB",
339
+ "nrcresearchpress.com$" : "NRC Research Press",
340
+ "obriensforms.com$" : "O'Brien's Encyc of Forms",
341
+ "www.oecd-?ilibrary.org" : "OECD iLibrary",
342
+ "sourceoecd.org$" : "OECD iLibrary",
343
+ "oecdobserver.org$" : "OECD iLibrary",
344
+ "\\.oed.com$" : "OED",
345
+ "^oed.com$" : "OED",
346
+ "ohiolink.edu$" : "OhioLINK",
347
+ "theoncologist.alphamedpress.org$" : "Oncologist",
348
+ "ontheboards.tv$" : "OntheBoards..tv",
349
+ "oeb.griffith.ox.ac.uk" : "Online Egyptological Bib",
350
+ "openedition.org$" : "OpenEdition",
351
+ "opticsinfobase.org" : "Optical Society",
352
+ "\\.osa.org" : "Optical Society",
353
+ "osapublishing.org" : "Optical Society",
354
+ "osa-opn.org" : "Optics and Photonics",
355
+ "academic.oup.com" : "Oxford Academic",
356
+ "oxfordartonline.com" : "Oxford Art Online",
357
+ "oxfordbibliographies.com" : "Oxford Bibliographies",
358
+ "oxfordlanguagedictionaries.com" : "Oxford Dictionaries",
359
+ "oxforddictionaries.com" : "Oxford Dictionaries",
360
+ "oxforddnb.com" : "Oxford DNB",
361
+ "oxfordhandbooks.com" : "Oxford Handbooks",
362
+ "www.oxfordislamicstudies.com$" : "Oxford Islamic Studies Online",
363
+ "ouplaw.com$" : "Oxford Law",
364
+ "oxfordmusiconline.com" : "Oxford Music Online",
365
+ "www.mpepil.com$" : "Oxford Public International Law",
366
+ "oxfordreference.com" : "Oxford Reference",
367
+ "oxford-climateweather2.com" : "Oxford Reference",
368
+ "encpopmusic4.com" : "Oxford Reference",
369
+ "oxfordscholarship.com" : "Oxford Scholarship",
370
+ "oxfordscholarlyeditions.com$" : "Oxford Scholarly Editions Online",
371
+ "oxfordwesternmusic.com" : "Oxford Western Music",
372
+ "oxfordjournals.org$" : "OUP Journals",
373
+ "\\.ovid.com$" : "Ovid",
374
+ "silverplatter.com$" : "Ovid",
375
+ "palgrave-journals.com$" : "Palgrave Macmillan Journals",
376
+ "paperofrecord.hypernet.ca" : "Paper of Record",
377
+ "paratext.com$" : "Paratext",
378
+ "peeters-leuven.be$" : "Peeters Online Journals",
379
+ "cambridgesoft.com$" : "PerkinElmer",
380
+ "persee.fr$" : "Persée",
381
+ "phcogrev.com$" : "Pharmacognosy Rev",
382
+ "pdcnet.org$" : "Philosophy Doc Ctr",
383
+ "philpapers.org$" : "PhilPapers",
384
+ "envplan.com$" : "Pion Journals",
385
+ "pkulaw.cn$" : "Pkulaw..cn",
386
+ "plantphysiol.org$" : "Plant Physiology",
387
+ "plunkettresearchonline.com$" : "Plunkett",
388
+ "pnas.org$" : "Proc Nat Acad Sci",
389
+ "preqin.com$" : "Preqin",
390
+ "annals.math.princeton.edu" : "Princeton: Annals of Mathematics",
391
+ "privco.com$" : "PrivCo",
392
+ "projecteuclid.org$" : "Project Euclid",
393
+ "proquest.com$" : "ProQuest",
394
+ "proquest.umi.com" : "ProQuest",
395
+ "gradworks.umi.com" : "ProQuest",
396
+ "lion.chadwyck.com" : "ProQuest",
397
+ "pao.chadwyck.com" : "ProQuest",
398
+ "\\.csa.com" : "ProQuest",
399
+ "pagesofthepast.ca" : "ProQuest",
400
+ "myilibrary.com" : "ProQuest: My iLibrary",
401
+ "safaribooksonline.com" : "ProQuest: Safari Books Online",
402
+ "\\.psychiatrist.com" : "Psychiatrist..com",
403
+ "psychiatryonline.(com|org)$" : "PsychiatryOnline",
404
+ "pep-web.org$" : "Psychoanalytic Electronic Pub",
405
+ ".*pubmedcentral.com" : "PubMed Central",
406
+ ".*pubmedcentral.nih.gov" : "PubMed Central",
407
+ "rep.routledge.com" : "Routledge Encyc of Phil",
408
+ "\\.rsc.org" : "Royal Soc Chem",
409
+ "\\.reaxys.com" : "Reaxys",
410
+ "\\.redalyc.org" : "Redalyc",
411
+ "redalyc.uaemex.mx" : "Redalyc",
412
+ "libris.ca$" : "Reference Press",
413
+ "repec.org$" : "RePEc",
414
+ "repere.*sdm.qc.ca" : "Repere",
415
+ "reproduction-online.org" : "Reproduction",
416
+ "revues.org$" : "Revues..org",
417
+ "rocksbackpages.com" : "Rock's Back Pages",
418
+ "rupress.org" : "Rockefeller U Pr",
419
+ "royalsocietypublishing.org" : "Royal Society",
420
+ "rcpsych.org" : "Royal College Psychiatrists",
421
+ "sagepub.com$" : "Sage",
422
+ "sage-ereference.com$" : "Sage",
423
+ "www.perceptionweb.com$" : "Sage",
424
+ "rsmjournals.com$" : "Sage",
425
+ "scconline.com$" : "SCC Online",
426
+ "geo.*scholarsportal.info" : "Scholars GeoPortal",
427
+ "ebooks.*scholarsportal.info" : "Scholars Portal Books",
428
+ "books.*scholarsportal.info" : "Scholars Portal Books",
429
+ "ebookisis.*.scholarsportal.info" : "Scholars Portal Books",
430
+ "journals.*scholarsportal.info" : "Scholars Portal Journals",
431
+ "odesi.*scholarsportal.info" : "Scholars Portal <odesi>",
432
+ ".*odesi.ca" : "Scholars Portal <odesi>",
433
+ ".*scielo.br" : "SciELO",
434
+ ".*scielo.sa.cr" : "SciELO",
435
+ ".*scielo.cl" : "SciELO",
436
+ ".*scielo.org.*" : "SciELO",
437
+ ".*scielo.edu" : "SciELO",
438
+ "scielo.isciii.es" : "SciELO",
439
+ "www.scielo.*.pt" : "SciELO",
440
+ "scielo.unam.mx" : "SciELO",
441
+ "www.scielosp.org" : "SciELO Health",
442
+ "sciencemag.org$" : "Science (AAAS)",
443
+ "scialert.net" : "Science Alert",
444
+ "sciencedirect.com$" : "ScienceDirect",
445
+ "\\.scival.com" : "SciVal",
446
+ "\\.scopus.com" : "Scopus",
447
+ "socialistregister.com" : "Socialist Register",
448
+ "sfaajournals.net" : "Soc Applied Anthropology",
449
+ "endocrinology-journals.org$" : "Soc Endocrinology",
450
+ "siam.org$" : "Soc Industrial Applied Math",
451
+ "www.socresonline.org.uk" : "Sociological Research Online",
452
+ "simplymap.c(a|om)$" : "Simply Map",
453
+ "\\.snl.com$" : "SNL Financial",
454
+ "seg.org$" : "Soc Exploration Geophysicists",
455
+ "www.biolreprod.org$" : "Soc Study Reproduction",
456
+ "spiedigitallibrary.org$" : "SPIE Digital Lib",
457
+ "springer.com$" : "Springer",
458
+ "springerlink.com$" : "Springer",
459
+ "palgraveconnect.com$" : "Springer",
460
+ "adisonline.com$" : "Springer",
461
+ "springerprotocols.com$" : "Springer Protocols",
462
+ "standardandpoors.com$" : "Standard & Poor's",
463
+ "sustainalytics.com$" : "Sustainalytics",
464
+ "wwwords.co.uk$" : "Symposium Books",
465
+ "www.tandfebooks.com" : "T & F eBooks",
466
+ "tandfonline.com$" : "T & F Online",
467
+ "informahealthcare.com$" : "T & F Online",
468
+ "informaworld.com$" : "T & F Online",
469
+ "landesbioscience.com$" : "T & F Online",
470
+ "leaonline.com$" : "T & F Online",
471
+ "maneyonline.com$" : "T & F Online",
472
+ "taxanalysts.com$" : "Tax Analysts",
473
+ "tcrecord.org$" : "Teachers College Record",
474
+ "telospress.com$" : "Telos",
475
+ "(www|stephanus).tlg.uci.edu$" : "Thesauraus Linguae Graecae",
476
+ "thieme-connect.(com|de)$" : "Thieme",
477
+ "thomsonib.com$" : "Thomson Research",
478
+ "trb.org$" : "Transportation Research Board",
479
+ "utopia.cs.man.ac.uk" : "U Manchester: Utopia",
480
+ "artfl.*uchicago.edu" : "U Chicago: ARTFL",
481
+ "press.uchicago.edu$" : "U Chicago Pr",
482
+ "journals.uchicago.edu$" : "U Chicago Pr",
483
+ "bmc.lib.umich.edu" : "U Mich: Bib Asian Studies",
484
+ "hapi.ucla.edu" : "UCLA: Hispanic American Periodicals Ind",
485
+ "uclajournals.org" : "UCLA: Asian American Studies Center",
486
+ "www.utpjournals.pres" : "U Toronto Press",
487
+ "uwpress.org$" : "U Wisconsin Press",
488
+ "ulrichsweb.serialssolutions.com" : "Ulrich's",
489
+ "ulrichsweb.com" : "Ulrich's",
490
+ "universalis-edu.com" : "Universalis",
491
+ "universitypressscholarship.com" : "University Press Scholarship",
492
+ "universitypublishingonline.org" : "University Pub Online",
493
+ "www.pmb.ca" : "Vividata",
494
+ "kmrsoftware.net" : "Vividata",
495
+ "vividata.ca" : "Vividata",
496
+ "vlex.com" : "vLex",
497
+ "wanfangdata.com$" : "Wanfang Data",
498
+ "wanfangdata.com.cn$" : "Wanfang Data",
499
+ "www.psychosomaticmedicine.org$" : "Wolters Kluwer",
500
+ "anesthesia-analgesia.org$" : "Wolters Kluwer",
501
+ "\\.lww.com$" : "Wolters Kluwer",
502
+ "\\.cch.com" : "Wolters Kluwer",
503
+ "warc.com$" : "World Advertising Research Ctr",
504
+ "webofknowledge.com$" : "Web of Knowledge",
505
+ "westlaw.com$" : "Westlaw",
506
+ "wiley.com$" : "Wiley",
507
+ "blackwell-?synergy.com$" : "Wiley",
508
+ "blackwellreference.com$" : "Wiley",
509
+ "\\.els.net$" : "Wiley",
510
+ "esajournals.org$" : "Wiley",
511
+ "www.jphysiol.org$" : "Wiley",
512
+ "www.literatureencyclopedia.com$" : "Wiley-Blackwell Encyc Literature",
513
+ "wrds.*wharton.upenn.edu$" : "Wharton Research Data Serv",
514
+ "worldscientific.com" : "World Scientific"
515
+ }
@@ -0,0 +1,3 @@
1
+ module Rubyul
2
+ VERSION = "0.5.1"
3
+ end
data/lib/rubyul.rb ADDED
@@ -0,0 +1,23 @@
1
+ require "rubyul/version"
2
+
3
+ require 'date'
4
+ require 'json'
5
+
6
+ module Rubyul
7
+
8
+ def self.academic_year(date)
9
+ (Date.parse(date) << 8).year
10
+ end
11
+
12
+ PLATFORM_REGEXES = JSON.parse(File.read(File.dirname(__FILE__) + "/platform_regexes.json"))
13
+
14
+ def self.hostname_to_platform(hostname)
15
+ PLATFORM_REGEXES.each do |regexp, platform_name|
16
+ if Regexp.new(regexp) =~ hostname
17
+ return platform_name
18
+ end
19
+ end
20
+ return nil
21
+ end
22
+
23
+ end
data/rubyul.gemspec ADDED
@@ -0,0 +1,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "rubyul/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rubyul"
8
+ spec.version = Rubyul::VERSION
9
+ spec.authors = ["William Denton"]
10
+ spec.email = ["wtd@pobox.com"]
11
+
12
+ spec.summary = %q{Small R helper functions for York University Libraries.}
13
+ spec.homepage = "https://github.com/yorkulibraries/rubyul"
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
16
+ f.match(%r{^(test|spec|features)/})
17
+ end
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.15"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "minitest", "~> 5.0"
25
+
26
+ spec.license = "GPL-3.0+"
27
+ end