university_major_subjects 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 475170cc9d32d781c83dbdc79d9b9a327c428644
4
+ data.tar.gz: 411326742c480df670658c188a3b9c5481d7fdb9
5
+ SHA512:
6
+ metadata.gz: 90d0bee8a3b9e05f4130c097592d2e05c63b2f978236edfe3601b5a9cc6cd971e584f769177cd7d4f73b4a0725d5e258d70d8467fe7802c7a6355af315a4e2c0
7
+ data.tar.gz: 1c63929e3b0fc3e8efd8dfb11ba985b3328ddfc1b181a8629773cf536ec7d98b7e45ee9c04f2298793ea3448c2278733464c8d08e109981054c7e6a568be5b5d
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.2
4
+ before_install: gem install bundler -v 1.10.3
@@ -0,0 +1,13 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
4
+
5
+ We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
6
+
7
+ Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
8
+
9
+ Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
10
+
11
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
12
+
13
+ This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in university_major_subjects.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 rewin0087
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,44 @@
1
+ # UniversityMajorSubjects
2
+
3
+ List of University subject majors and major categories
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'university_major_subjects'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install university_major_subjects
20
+
21
+ ## Usage
22
+
23
+ UniversityMajorSubjects::RAW - for raw data
24
+
25
+ UniversityMajorSubjects::MAJOR_CATEGORIES
26
+
27
+ UniversityMajorSubjects::MAJORS
28
+
29
+ UniversityMajorSubjects.find_by_category('Arts') - this will return all majors with a major category of Arts
30
+
31
+ UniversityMajorSubjects.find_category_by_major('FINE ARTS') - this will return the major category of FINE ARTS
32
+
33
+ ## Contributing
34
+
35
+ 1. Fork it
36
+ 2. Create your feature branch (git checkout -b my-new-feature)
37
+ 3. Commit your changes (git commit -am 'Add some feature')
38
+ 4. Push to the branch (git push origin my-new-feature)
39
+ 5. Create new Pull Request
40
+
41
+ ## License
42
+
43
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
44
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "university_major_subjects"
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
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,20 @@
1
+ require "university_major_subjects/version"
2
+ require 'yaml'
3
+
4
+ module UniversityMajorSubjects
5
+ RAW = YAML.load_file(File.join(File.dirname(__FILE__), 'university_major_subjects', 'data', 'majors.yml'))
6
+
7
+ MAJOR_CATEGORIES = RAW.map{|i| i[:major_category]}.flatten
8
+
9
+ MAJORS = RAW.map{|i| i[:majors]}.flatten
10
+
11
+ def self.find_by_category(category)
12
+ major_category = RAW.find{|i| i[:major_category].include?(category)}
13
+ major_category[:majors] unless major_category.nil?
14
+ end
15
+
16
+ def self.find_category_by_major(major)
17
+ major = MAJORS.find{|m| m[:major].include?(major)}
18
+ major[:major_category] unless major.nil?
19
+ end
20
+ end
@@ -0,0 +1,383 @@
1
+ ---
2
+ - :major_category: Agriculture & Natural Resources
3
+ :majors:
4
+ - :major: AGRICULTURAL ECONOMICS
5
+ :major_category: Agriculture & Natural Resources
6
+ - :major: AGRICULTURE PRODUCTION AND MANAGEMENT
7
+ :major_category: Agriculture & Natural Resources
8
+ - :major: ANIMAL SCIENCES
9
+ :major_category: Agriculture & Natural Resources
10
+ - :major: FOOD SCIENCE
11
+ :major_category: Agriculture & Natural Resources
12
+ - :major: FORESTRY
13
+ :major_category: Agriculture & Natural Resources
14
+ - :major: GENERAL AGRICULTURE
15
+ :major_category: Agriculture & Natural Resources
16
+ - :major: MISCELLANEOUS AGRICULTURE
17
+ :major_category: Agriculture & Natural Resources
18
+ - :major: NATURAL RESOURCES MANAGEMENT
19
+ :major_category: Agriculture & Natural Resources
20
+ - :major: PLANT SCIENCE AND AGRONOMY
21
+ :major_category: Agriculture & Natural Resources
22
+ - :major: SOIL SCIENCE
23
+ :major_category: Agriculture & Natural Resources
24
+ - :major_category: Arts
25
+ :majors:
26
+ - :major: COMMERCIAL ART AND GRAPHIC DESIGN
27
+ :major_category: Arts
28
+ - :major: DRAMA AND THEATER ARTS
29
+ :major_category: Arts
30
+ - :major: FILM VIDEO AND PHOTOGRAPHIC ARTS
31
+ :major_category: Arts
32
+ - :major: FINE ARTS
33
+ :major_category: Arts
34
+ - :major: MISCELLANEOUS FINE ARTS
35
+ :major_category: Arts
36
+ - :major: MUSIC
37
+ :major_category: Arts
38
+ - :major: STUDIO ARTS
39
+ :major_category: Arts
40
+ - :major: VISUAL AND PERFORMING ARTS
41
+ :major_category: Arts
42
+ - :major_category: Biology & Life Science
43
+ :majors:
44
+ - :major: BIOCHEMICAL SCIENCES
45
+ :major_category: Biology & Life Science
46
+ - :major: BIOLOGY
47
+ :major_category: Biology & Life Science
48
+ - :major: BOTANY
49
+ :major_category: Biology & Life Science
50
+ - :major: COGNITIVE SCIENCE AND BIOPSYCHOLOGY
51
+ :major_category: Biology & Life Science
52
+ - :major: ECOLOGY
53
+ :major_category: Biology & Life Science
54
+ - :major: ENVIRONMENTAL SCIENCE
55
+ :major_category: Biology & Life Science
56
+ - :major: GENETICS
57
+ :major_category: Biology & Life Science
58
+ - :major: MICROBIOLOGY
59
+ :major_category: Biology & Life Science
60
+ - :major: MISCELLANEOUS BIOLOGY
61
+ :major_category: Biology & Life Science
62
+ - :major: MOLECULAR BIOLOGY
63
+ :major_category: Biology & Life Science
64
+ - :major: NEUROSCIENCE
65
+ :major_category: Biology & Life Science
66
+ - :major: PHARMACOLOGY
67
+ :major_category: Biology & Life Science
68
+ - :major: PHYSIOLOGY
69
+ :major_category: Biology & Life Science
70
+ - :major: ZOOLOGY
71
+ :major_category: Biology & Life Science
72
+ - :major_category: Business
73
+ :majors:
74
+ - :major: ACCOUNTING
75
+ :major_category: Business
76
+ - :major: ACTUARIAL SCIENCE
77
+ :major_category: Business
78
+ - :major: BUSINESS ECONOMICS
79
+ :major_category: Business
80
+ - :major: BUSINESS MANAGEMENT AND ADMINISTRATION
81
+ :major_category: Business
82
+ - :major: FINANCE
83
+ :major_category: Business
84
+ - :major: GENERAL BUSINESS
85
+ :major_category: Business
86
+ - :major: HOSPITALITY MANAGEMENT
87
+ :major_category: Business
88
+ - :major: HUMAN RESOURCES AND PERSONNEL MANAGEMENT
89
+ :major_category: Business
90
+ - :major: INTERNATIONAL BUSINESS
91
+ :major_category: Business
92
+ - :major: MANAGEMENT INFORMATION SYSTEMS AND STATISTICS
93
+ :major_category: Business
94
+ - :major: MARKETING AND MARKETING RESEARCH
95
+ :major_category: Business
96
+ - :major: MISCELLANEOUS BUSINESS & MEDICAL ADMINISTRATION
97
+ :major_category: Business
98
+ - :major: OPERATIONS LOGISTICS AND E-COMMERCE
99
+ :major_category: Business
100
+ - :major_category: Communications & Journalism
101
+ :majors:
102
+ - :major: ADVERTISING AND PUBLIC RELATIONS
103
+ :major_category: Communications & Journalism
104
+ - :major: COMMUNICATIONS
105
+ :major_category: Communications & Journalism
106
+ - :major: JOURNALISM
107
+ :major_category: Communications & Journalism
108
+ - :major: MASS MEDIA
109
+ :major_category: Communications & Journalism
110
+ - :major_category: Computers & Mathematics
111
+ :majors:
112
+ - :major: APPLIED MATHEMATICS
113
+ :major_category: Computers & Mathematics
114
+ - :major: COMMUNICATION TECHNOLOGIES
115
+ :major_category: Computers & Mathematics
116
+ - :major: COMPUTER ADMINISTRATION MANAGEMENT AND SECURITY
117
+ :major_category: Computers & Mathematics
118
+ - :major: COMPUTER AND INFORMATION SYSTEMS
119
+ :major_category: Computers & Mathematics
120
+ - :major: COMPUTER NETWORKING AND TELECOMMUNICATIONS
121
+ :major_category: Computers & Mathematics
122
+ - :major: COMPUTER PROGRAMMING AND DATA PROCESSING
123
+ :major_category: Computers & Mathematics
124
+ - :major: COMPUTER SCIENCE
125
+ :major_category: Computers & Mathematics
126
+ - :major: INFORMATION SCIENCES
127
+ :major_category: Computers & Mathematics
128
+ - :major: MATHEMATICS
129
+ :major_category: Computers & Mathematics
130
+ - :major: MATHEMATICS AND COMPUTER SCIENCE
131
+ :major_category: Computers & Mathematics
132
+ - :major: STATISTICS AND DECISION SCIENCE
133
+ :major_category: Computers & Mathematics
134
+ - :major_category: Education
135
+ :majors:
136
+ - :major: ART AND MUSIC EDUCATION
137
+ :major_category: Education
138
+ - :major: EARLY CHILDHOOD EDUCATION
139
+ :major_category: Education
140
+ - :major: EDUCATIONAL ADMINISTRATION AND SUPERVISION
141
+ :major_category: Education
142
+ - :major: ELEMENTARY EDUCATION
143
+ :major_category: Education
144
+ - :major: GENERAL EDUCATION
145
+ :major_category: Education
146
+ - :major: LANGUAGE AND DRAMA EDUCATION
147
+ :major_category: Education
148
+ - :major: LIBRARY SCIENCE
149
+ :major_category: Education
150
+ - :major: MATHEMATICS TEACHER EDUCATION
151
+ :major_category: Education
152
+ - :major: MISCELLANEOUS EDUCATION
153
+ :major_category: Education
154
+ - :major: PHYSICAL AND HEALTH EDUCATION TEACHING
155
+ :major_category: Education
156
+ - :major: SCHOOL STUDENT COUNSELING
157
+ :major_category: Education
158
+ - :major: SCIENCE AND COMPUTER TEACHER EDUCATION
159
+ :major_category: Education
160
+ - :major: SECONDARY TEACHER EDUCATION
161
+ :major_category: Education
162
+ - :major: SOCIAL SCIENCE OR HISTORY TEACHER EDUCATION
163
+ :major_category: Education
164
+ - :major: SPECIAL NEEDS EDUCATION
165
+ :major_category: Education
166
+ - :major: 'TEACHER EDUCATION: MULTIPLE LEVELS'
167
+ :major_category: Education
168
+ - :major_category: Engineering
169
+ :majors:
170
+ - :major: AEROSPACE ENGINEERING
171
+ :major_category: Engineering
172
+ - :major: ARCHITECTURAL ENGINEERING
173
+ :major_category: Engineering
174
+ - :major: ARCHITECTURE
175
+ :major_category: Engineering
176
+ - :major: BIOLOGICAL ENGINEERING
177
+ :major_category: Engineering
178
+ - :major: BIOMEDICAL ENGINEERING
179
+ :major_category: Engineering
180
+ - :major: CHEMICAL ENGINEERING
181
+ :major_category: Engineering
182
+ - :major: CIVIL ENGINEERING
183
+ :major_category: Engineering
184
+ - :major: COMPUTER ENGINEERING
185
+ :major_category: Engineering
186
+ - :major: ELECTRICAL ENGINEERING
187
+ :major_category: Engineering
188
+ - :major: ELECTRICAL ENGINEERING TECHNOLOGY
189
+ :major_category: Engineering
190
+ - :major: ENGINEERING AND INDUSTRIAL MANAGEMENT
191
+ :major_category: Engineering
192
+ - :major: ENGINEERING MECHANICS PHYSICS AND SCIENCE
193
+ :major_category: Engineering
194
+ - :major: ENGINEERING TECHNOLOGIES
195
+ :major_category: Engineering
196
+ - :major: ENVIRONMENTAL ENGINEERING
197
+ :major_category: Engineering
198
+ - :major: GENERAL ENGINEERING
199
+ :major_category: Engineering
200
+ - :major: GEOLOGICAL AND GEOPHYSICAL ENGINEERING
201
+ :major_category: Engineering
202
+ - :major: INDUSTRIAL AND MANUFACTURING ENGINEERING
203
+ :major_category: Engineering
204
+ - :major: INDUSTRIAL PRODUCTION TECHNOLOGIES
205
+ :major_category: Engineering
206
+ - :major: MATERIALS ENGINEERING AND MATERIALS SCIENCE
207
+ :major_category: Engineering
208
+ - :major: MATERIALS SCIENCE
209
+ :major_category: Engineering
210
+ - :major: MECHANICAL ENGINEERING
211
+ :major_category: Engineering
212
+ - :major: MECHANICAL ENGINEERING RELATED TECHNOLOGIES
213
+ :major_category: Engineering
214
+ - :major: METALLURGICAL ENGINEERING
215
+ :major_category: Engineering
216
+ - :major: MINING AND MINERAL ENGINEERING
217
+ :major_category: Engineering
218
+ - :major: MISCELLANEOUS ENGINEERING
219
+ :major_category: Engineering
220
+ - :major: MISCELLANEOUS ENGINEERING TECHNOLOGIES
221
+ :major_category: Engineering
222
+ - :major: NAVAL ARCHITECTURE AND MARINE ENGINEERING
223
+ :major_category: Engineering
224
+ - :major: NUCLEAR ENGINEERING
225
+ :major_category: Engineering
226
+ - :major: PETROLEUM ENGINEERING
227
+ :major_category: Engineering
228
+ - :major_category: Health
229
+ :majors:
230
+ - :major: COMMUNICATION DISORDERS SCIENCES AND SERVICES
231
+ :major_category: Health
232
+ - :major: COMMUNITY AND PUBLIC HEALTH
233
+ :major_category: Health
234
+ - :major: GENERAL MEDICAL AND HEALTH SERVICES
235
+ :major_category: Health
236
+ - :major: HEALTH AND MEDICAL ADMINISTRATIVE SERVICES
237
+ :major_category: Health
238
+ - :major: HEALTH AND MEDICAL PREPARATORY PROGRAMS
239
+ :major_category: Health
240
+ - :major: MEDICAL ASSISTING SERVICES
241
+ :major_category: Health
242
+ - :major: MEDICAL TECHNOLOGIES TECHNICIANS
243
+ :major_category: Health
244
+ - :major: MISCELLANEOUS HEALTH MEDICAL PROFESSIONS
245
+ :major_category: Health
246
+ - :major: NURSING
247
+ :major_category: Health
248
+ - :major: NUTRITION SCIENCES
249
+ :major_category: Health
250
+ - :major: PHARMACY PHARMACEUTICAL SCIENCES AND ADMINISTRATION
251
+ :major_category: Health
252
+ - :major: TREATMENT THERAPY PROFESSIONS
253
+ :major_category: Health
254
+ - :major_category: Humanities & Liberal Arts
255
+ :majors:
256
+ - :major: ANTHROPOLOGY AND ARCHEOLOGY
257
+ :major_category: Humanities & Liberal Arts
258
+ - :major: AREA ETHNIC AND CIVILIZATION STUDIES
259
+ :major_category: Humanities & Liberal Arts
260
+ - :major: ART HISTORY AND CRITICISM
261
+ :major_category: Humanities & Liberal Arts
262
+ - :major: COMPOSITION AND RHETORIC
263
+ :major_category: Humanities & Liberal Arts
264
+ - :major: ENGLISH LANGUAGE AND LITERATURE
265
+ :major_category: Humanities & Liberal Arts
266
+ - :major: FRENCH GERMAN LATIN AND OTHER COMMON FOREIGN LANGUAGE STUDIES
267
+ :major_category: Humanities & Liberal Arts
268
+ - :major: HISTORY
269
+ :major_category: Humanities & Liberal Arts
270
+ - :major: HUMANITIES
271
+ :major_category: Humanities & Liberal Arts
272
+ - :major: INTERCULTURAL AND INTERNATIONAL STUDIES
273
+ :major_category: Humanities & Liberal Arts
274
+ - :major: LIBERAL ARTS
275
+ :major_category: Humanities & Liberal Arts
276
+ - :major: LINGUISTICS AND COMPARATIVE LANGUAGE AND LITERATURE
277
+ :major_category: Humanities & Liberal Arts
278
+ - :major: OTHER FOREIGN LANGUAGES
279
+ :major_category: Humanities & Liberal Arts
280
+ - :major: PHILOSOPHY AND RELIGIOUS STUDIES
281
+ :major_category: Humanities & Liberal Arts
282
+ - :major: THEOLOGY AND RELIGIOUS VOCATIONS
283
+ :major_category: Humanities & Liberal Arts
284
+ - :major: UNITED STATES HISTORY
285
+ :major_category: Humanities & Liberal Arts
286
+ - :major_category: Industrial Arts & Consumer Services
287
+ :majors:
288
+ - :major: CONSTRUCTION SERVICES
289
+ :major_category: Industrial Arts & Consumer Services
290
+ - :major: COSMETOLOGY SERVICES AND CULINARY ARTS
291
+ :major_category: Industrial Arts & Consumer Services
292
+ - :major: ELECTRICAL, MECHANICAL, AND PRECISION TECHNOLOGIES AND PRODUCTION
293
+ :major_category: Industrial Arts & Consumer Services
294
+ - :major: FAMILY AND CONSUMER SCIENCES
295
+ :major_category: Industrial Arts & Consumer Services
296
+ - :major: MILITARY TECHNOLOGIES
297
+ :major_category: Industrial Arts & Consumer Services
298
+ - :major: PHYSICAL FITNESS PARKS RECREATION AND LEISURE
299
+ :major_category: Industrial Arts & Consumer Services
300
+ - :major: TRANSPORTATION SCIENCES AND TECHNOLOGIES
301
+ :major_category: Industrial Arts & Consumer Services
302
+ - :major_category: Interdisciplinary
303
+ :majors:
304
+ - :major: MULTI/INTERDISCIPLINARY STUDIES
305
+ :major_category: Interdisciplinary
306
+ - :major_category: Law & Public Policy
307
+ :majors:
308
+ - :major: COURT REPORTING
309
+ :major_category: Law & Public Policy
310
+ - :major: CRIMINAL JUSTICE AND FIRE PROTECTION
311
+ :major_category: Law & Public Policy
312
+ - :major: PRE-LAW AND LEGAL STUDIES
313
+ :major_category: Law & Public Policy
314
+ - :major: PUBLIC ADMINISTRATION
315
+ :major_category: Law & Public Policy
316
+ - :major: PUBLIC POLICY
317
+ :major_category: Law & Public Policy
318
+ - :major_category: NA
319
+ :majors:
320
+ - :major: N/A (less than bachelor's degree)
321
+ :major_category: NA
322
+ - :major_category: Physical Sciences
323
+ :majors:
324
+ - :major: ASTRONOMY AND ASTROPHYSICS
325
+ :major_category: Physical Sciences
326
+ - :major: ATMOSPHERIC SCIENCES AND METEOROLOGY
327
+ :major_category: Physical Sciences
328
+ - :major: CHEMISTRY
329
+ :major_category: Physical Sciences
330
+ - :major: GEOLOGY AND EARTH SCIENCE
331
+ :major_category: Physical Sciences
332
+ - :major: GEOSCIENCES
333
+ :major_category: Physical Sciences
334
+ - :major: MULTI-DISCIPLINARY OR GENERAL SCIENCE
335
+ :major_category: Physical Sciences
336
+ - :major: NUCLEAR, INDUSTRIAL RADIOLOGY, AND BIOLOGICAL TECHNOLOGIES
337
+ :major_category: Physical Sciences
338
+ - :major: OCEANOGRAPHY
339
+ :major_category: Physical Sciences
340
+ - :major: PHYSICAL SCIENCES
341
+ :major_category: Physical Sciences
342
+ - :major: PHYSICS
343
+ :major_category: Physical Sciences
344
+ - :major_category: Psychology & Social Work
345
+ :majors:
346
+ - :major: CLINICAL PSYCHOLOGY
347
+ :major_category: Psychology & Social Work
348
+ - :major: COUNSELING PSYCHOLOGY
349
+ :major_category: Psychology & Social Work
350
+ - :major: EDUCATIONAL PSYCHOLOGY
351
+ :major_category: Psychology & Social Work
352
+ - :major: HUMAN SERVICES AND COMMUNITY ORGANIZATION
353
+ :major_category: Psychology & Social Work
354
+ - :major: INDUSTRIAL AND ORGANIZATIONAL PSYCHOLOGY
355
+ :major_category: Psychology & Social Work
356
+ - :major: MISCELLANEOUS PSYCHOLOGY
357
+ :major_category: Psychology & Social Work
358
+ - :major: PSYCHOLOGY
359
+ :major_category: Psychology & Social Work
360
+ - :major: SOCIAL PSYCHOLOGY
361
+ :major_category: Psychology & Social Work
362
+ - :major: SOCIAL WORK
363
+ :major_category: Psychology & Social Work
364
+ - :major_category: Social Science
365
+ :majors:
366
+ - :major: CRIMINOLOGY
367
+ :major_category: Social Science
368
+ - :major: ECONOMICS
369
+ :major_category: Social Science
370
+ - :major: GENERAL SOCIAL SCIENCES
371
+ :major_category: Social Science
372
+ - :major: GEOGRAPHY
373
+ :major_category: Social Science
374
+ - :major: INTERDISCIPLINARY SOCIAL SCIENCES
375
+ :major_category: Social Science
376
+ - :major: INTERNATIONAL RELATIONS
377
+ :major_category: Social Science
378
+ - :major: MISCELLANEOUS SOCIAL SCIENCES
379
+ :major_category: Social Science
380
+ - :major: POLITICAL SCIENCE AND GOVERNMENT
381
+ :major_category: Social Science
382
+ - :major: SOCIOLOGY
383
+ :major_category: Social Science
@@ -0,0 +1,3 @@
1
+ module UniversityMajorSubjects
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,25 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'university_major_subjects/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "university_major_subjects"
8
+ spec.version = UniversityMajorSubjects::VERSION
9
+ spec.authors = ["rewin0087"]
10
+ spec.email = ["erwin_rulezzz87@yahoo.com"]
11
+
12
+ spec.summary = %q{List of University subject majors and major categories.}
13
+ spec.description = %q{List of University subject majors and major categories.}
14
+ spec.homepage = "https://github.com/"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
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.10"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec"
25
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: university_major_subjects
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - rewin0087
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-10-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: List of University subject majors and major categories.
56
+ email:
57
+ - erwin_rulezzz87@yahoo.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".rspec"
64
+ - ".travis.yml"
65
+ - CODE_OF_CONDUCT.md
66
+ - Gemfile
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - bin/console
71
+ - bin/setup
72
+ - lib/university_major_subjects.rb
73
+ - lib/university_major_subjects/data/majors.yml
74
+ - lib/university_major_subjects/version.rb
75
+ - university_major_subjects.gemspec
76
+ homepage: https://github.com/
77
+ licenses:
78
+ - MIT
79
+ metadata: {}
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubyforge_project:
96
+ rubygems_version: 2.4.8
97
+ signing_key:
98
+ specification_version: 4
99
+ summary: List of University subject majors and major categories.
100
+ test_files: []