Module: Seedy::Generators

Defined in:
lib/seedy/generators/guid.rb,
lib/seedy/generators/name.rb,
lib/seedy/generators/user.rb,
lib/seedy/generators/money.rb,
lib/seedy/generators/phone.rb,
lib/seedy/generators/title.rb,
lib/seedy/generators/status.rb,
lib/seedy/generators/address.rb,
lib/seedy/generators/company.rb,
lib/seedy/generators/subject.rb,
lib/seedy/generators/website.rb,
lib/seedy/generators/customer.rb,
lib/seedy/generators/duration.rb,
lib/seedy/generators/industry.rb,
lib/seedy/generators/password.rb,
lib/seedy/generators/priority.rb,
lib/seedy/generators/date_time.rb,
lib/seedy/generators/direction.rb,
lib/seedy/generators/ownership.rb,
lib/seedy/generators/department.rb,
lib/seedy/generators/description.rb,
lib/seedy/generators/email_address.rb

Constant Summary collapse

TITLES =
["Exerciser Horse",
"Website Coordinator",
"Medical Orthodontist",
"Employment Manager",
"Manager Chemical Plant",
"Machine Shop Supervisor",
"Investigator",
"Plant Engineer",
"Burglar Alarm Installer",
"Warehouse Materials Handler",
"Inspector Electromechanical",
"Hospital Legal Services Head",
"Animal Hospital Clerk",
"Air Conditioning Servicer Commercial",
"Operator Photocomposition",
"Real Estate Firm Manager",
"Clerk Insurance Claims",
"Folder Inspector",
"Machinery Erector",
"Nondestructive Tester",
"Data Architect",
"Handler Materials",
"Laser Beam Trim Operator",
"Manager Operations",
"Office Helper",
"Laboratory Supervisor",
"School Library Media Specialist",
"Scheduler Production",
"Engineer Test",
"Head Of Respiratory Therapy",
"Top Manufacturing Officer",
"Controller Division",
"Repairer Bicycle",
"Bond Sales Trader",
"Network/Data Communications Manager",
"Street Light Repairer",
"Economist Corporate",
"Sales Route Driver",
"Buyer Grocery",
"Food Services Manager Mid-Size Location",
"Billing Clerk",
"Computer Programmer Lead",
"Fiction Writer",
"MIS Vice President",
"Dermatologist",
"Long-Range Planning Analyst",
"Optometric Assistant",
"Food Services Supervisor",
"Attendant Linen Room",
"Audiovisual Librarian",
"Engineer Electromedical Service",
"Assistant Manager Banking Branch Minor Branch",
"Computer Peripheral Equipment Operator",
"Cable Wirer",
"Chief Executive Officer",
"News Assistant",
"Machine Shop Machinist",
"Administrative Engineering Supervisor",
"Director Research & Development",
"Deliverer",
"Materials Engineer Generic",
"Truck Driver Van",
"Grounds Maintenance Foreman",
"Director Long-Range Planning",
"Medical Paramedic",
"Booking Agent",
"Organizational Psychologist",
"Submarine Worker",
"Patent Attorney",
"IT Systems Project Manager",
"Statistician",
"Electrical Engineering Technician",
"Chef Pastry",
"Electrocardiograph Technologist",
"Medical Occupational Therapy Assistant",
"Benefits Manager",
"Retail Sales Home Furnishings",
"Sheet Metal Mechanic",
"Mechanic Research",
"Counter Attendant",
"Precision Assembler Electronics",
"Environmental Research Manager",
"Supervisor Office",
"Personnel Supervisor",
"Medical Outpatient Director",
"Banking Loan Collector Commercial",
"Computer Services Manager",
"Administrative Assistant, CEO",
"Medical Ophthalmic Technician",
"Metallurgical Engineer",
"Aide Home Care",
"Rough Grinder",
"Helper General",
"Manager Technical Publications",
"Admissions Director",
"Tester Laboratory Oil",
"Supervisor Fleet",
"Organ Transplant Coordinator",
"Medical Nurse Home Care",
"Surveyor Marine",
"Electronics Worker",
"Service Order Clerk",
"Medical Polysomnographic Technician",
"Second Press Operator",
"Physician Assistant",
"Telemarketing Representative",
"IT Operator Peripheral Equipment",
"Production Superintendent",
"Operator Boiler",
"Laboratory Technician",
"Health Information Services Director",
"Operator Ion Implant Machine",
"Chef",
"Medical Laboratory Manager",
"Funeral-Home Attendant",
"Nibbler Operator",
"Engineer Materials Generic",
"Repairer Pump",
"Technician Research",
"Clerk Correspondence",
"Surveyor Marine Cargo",
"Planner Production",
"Landscape Supervisor",
"Manager Bus Transportation",
"Automotive Service Station Attendant",
"Corporate Director Outside Member",
"Orthodontic Technician",
"Supervisor Traffic",
"University Laboratory Supervisor",
"Oncology Nurse",
"Supervisor Sheet Metal",
"Maintenance Helper",
"Physician Medical Director",
"Medical Physical Therapy Assistant",
"Personnel Supervisor Employee Relations",
"Shuttle Driver",
"Inspector Gas",
"School Crossing Guard",
"Operator Nuclear Waste Process",
"Web Author",
"Manager Design Engineering",
"Technologist Science",
"Manager Marketing Media",
"Purifying Plant Operator",
"Supervisor Facilities & Building",
"Banking Investment Analyst",
"Appraiser Residential",
"Scientific Glassblower",
"Medical Tumor Registrar",
"Medical Nursing Supervisor",
"Banking Branch Manager Minor Branch",
"Muffler Installer",
"Supervisor Research & Development Technical",
"Medical Rheumatologist",
"Voice Pathologist",
"Automobile Estimator",
"Dump Truck Driver",
"Operator Casting Machine",
"Clerk Health Unit",
"Supervisor Motor Vehicle",
"IT Operator Data Entry",
"Manager Loss Prevention Retail",
"Trade Relations Director",
"Underwater Worker",
"Polishing Machine Operator",
"Hotel Sales Representative",
"Security Services Security Guard",
"Analyst Quality Assurance",
"Sales Area Manager",
"Clerk Materials Scheduling",
"Manager Project Revenue",
"Technician Mechanical Design",
"Technician Personnel",
"Analyst Personnel",
"Multiple Spindle Drilling Machine Operator",
"Fabricator Assembler",
"Technician Medical Records",
"Medical School Nurse",
"Materials Coordinator",
"Transplant Coordinator",
"Dog Groomer",
"Lens Fabricating Machine Tender",
"Systems Analysis Supervisor",
"Systems Analyst Lead",
"Set Decorator",
"Engineering Design Manager",
"Representative Hospital Insurance",
"Medical Nurse Operating Room",
"Hoisting Engineer Pile Driving",
"Banking Teller Vault",
"Cardiologist Invasive",
"Manager Travel",
"Manager Bond Department",
"Lens Prescription Clerk",
"Operator Screw Machine",
"Newspaper Delivery Driver",
"Director Housekeeping",
"Supervisor Hardware Engineering",
"Financial Aid Counselor",
"Aide Dietary",
"Repairer Carpenter",
"Hearing Test Technician",
"Chemical Plant Maintenance Worker",
"Ceramic Engineer",
"Technician Logistics Engineering",
"Photoengraver",
"Medical Practice Administrator",
"Nurse Home Care",
"Mask Designer",
"Board Member Outside",
"Occupational Therapy Head",
"Inside Sales Representative",
"Housekeeping Attendant",
"Aide Occupational Therapy",
"Operator Rotogravure Press",
"Electrical Engineer",
"Line Erector",
"Accounts Payable & Receivable Manager",
"Teacher Physical Education",
"Benefits Supervisor",
"Museums Teacher",
"Supervisor Circulation",
"Scheduler Vehicle Maintenance",
"Publications Editor",
"Engineer Electrolysis",
"Pneumatic Tube Repairer",
"Medical Head Of Home Health",
"Inspector Final",
"Food Sales Clerk",
"Technician Stress Test",
"Mechanic Heavy Equipment",
"Lab Technician Chemical",
"Data Recovery Planner",
"Investigator Alarm",
"Bacteriologist",
"Administrative Engineering Manager",
"Security Guard Security Service",
"Personal Protection Officer",
"Hospital Plastic Assembler",
"Budget Director",
"Jet Copilot",
"Head Of Housekeeping",
"Training Instructor Technical",
"Catheterization Cardiac Technologist",
"Painter Rough Spray",
"Manager Online Sales",
"Medical Outpatient Admitting Clerk",
"Medical Services Chiropractor",
"Semiconductor Processor",
"Volunteer Services Director",
"Medical Nurse Oncology",
"Supervisor Tax Compliance",
"Color Stripper",
"Dry-Wall Finisher",
"Mechanic Transmission",
"Wire-Draw Operator",
"Top Environmental Officer",
"Traffic Director",
"Tractor Operator",
"Engineer Environmental",
"Analyst Rate",
"Vice President Investor Relations",
"Medical Nursing Instructor",
"Truck Driver Tow Truck",
"Data Acquisition Technician",
"Utility Regulatory Administrator",
"Punch Press Operator",
"IT Systems Administrator",
"Clerk Benefits",
"Assistant Auditor",
"Clerk Hotel",
"Counselor Substance Abuse",
"Supervisor Long-Range Planning",
"Word Processing Supervisor",
"Safety Engineer Product",
"Medical Surgeon Plastic",
"Service Station Manager Automobile",
"Director Employee Training",
"Public Interviewer",
"Neonatologist",
"Valuer",
"Dragline Operator",
"Insurance Agent Special Group",
"Grader Meat",
"Electronics Drafter",
"Sales Supervisor",
"Concrete Mixing Truck Driver",
"Drafter Landscape",
"Associate Professor",
"Calibration Technician",
"Furniture Repairer",
"Director Labor Relations",
"Head Of Manufacturing",
"Admissions Evaluator",
"Cost Accounting Supervisor",
"Sales Training Representative",
"Medical Psychiatric Aide",
"Supervisor Mailroom",
"Librarian Head",
"Supervisor Accounts Receivable",
"Long-Term Care Head",
"Quality Assurance Supervisor IT",
"Information Systems Director",
"Developer Film",
"Technical Writers Supervisor",
"Investor Relations Manager",
"Geriatric Nurse",
"Medical Nursing Aide",
"Attendant Amusement Park",
"Supervisor Credit",
"Private Duty Nurse",
"Development Engineer",
"Medical Cardiac Catheterization Technologist",
"Aircraft Mechanic Jet",
"Medical Oncologist",
"Hand Packager",
"Street Light Servicer",
"Counter Attendant Cafeteria",
"Operations Head Banking",
"Savings Teller",
"Laboratory Tester",
"Electronic Data Interchange Manager",
"Loan Manager Mortgage",
"Traffic Manager",
"Agent Booking",
"Clerk Accounting",
"Personal Lines Underwriter",
"Sports Trainer",
"Laborer Chemical Processing",
"Opaquer",
"Engineer Biomedical",
"Molder Rubber",
"Purchasing Manager",
"Emergency Medical Technician",
"Manager Tax",
"Respiratory Therapy Technician",
"Finisher Dry-Wall",
"Chemical Plant Supervisor",
"Automotive Mechanic",
"Technologist Food",
"Research Analyst Insurance",
"Loan Collector Consumer",
"Technical Services Representative",
"Teacher Home Therapy",
"Maternal-Fetal Medicine Specialist",
"Medical Admitting Supervisor",
"Director Pharmacy",
"Construction Engineering Director",
"Well Driller",
"Packaging Supervisor",
"Head Engineer Biomedical",
"Molder Tire",
"Top Tax Corporate Officer",
"Teacher Elementary School",
"Translator Deaf",
"Physical Therapy Technician",
"Construction Engineer",
"Paperhanger",
"Electric Meter Repair Helper",
"Operator Lathe",
"Medical Practice Manager",
"Head Of Trust",
"Quality Control Tester",
"Trade Relations Manager",
"Crime Laboratory Analyst",
"Technical Training Instructor",
"Intensive Care Unit Nurse",
"Supervisor Computer Software Design",
"News Librarian",
"Coin Machine Service Repairer",
"Customer Sales Clerk",
"Assembler Fabricator",
"Engineer Photogrammetric",
"Graphic Specialist/Photosetter",
"Sales Telemarketing Supervisor",
"Manager Area Sales",
"Supervisor Warehouse",
"Engineering Manager",
"Cashiering Director",
"Banking Customer Service Representative",
"Examiner Title",
"Top IT Officer",
"Shipfitter",
"Accountant Public",
"Elementary School Teacher",
"Woodworking Machine Operator",
"Teacher Visually Impaired",
"Computer Equipment Repairer",
"Personnel Analyst",
"Biomedical Engineering Technician",
"Druggist",
"Dietary Technician",
"Medical Services Supervisor",
"Actor",
"Head Of Medical Records",
"Assistant Administrative",
"Clockmaker",
"Surveyor Assistant",
"Computer Desktop Publisher",
"Derrick Operator",
"Endodontist",
"Television & Radio Repairer",
"Chef Head Hotel & Restaurant",
"Clerk Purchasing",
"Top Marketing & Sales Officer",
"Laboratory Aide",
"Librarian Law",
"Credit Information Clerk",
"Medical Transcriptionist",
"Market Research Analyst",
"Chief Merchandising Officer",
"Banking Head Of Operations",
"Registered Nurse Call Center",
"Construction Engineering Manager",
"Truck Driver Light",
"Timber Sizer Operator",
"Surveyor Helper",
"EEO Director",
"Sales Representative Advertising",
"Top Lobbyist",
"Supervisor Environmental",
"Building Supervisor",
"IT Supervisor Applications & Programming",
"Family Practice Physician",
"Manager Warehouse",
"Nurse Aide",
"Chief Lobbyist",
"Environmental Scientist",
"Hotel Laundry Worker",
"Telephone Operator Supervisor",
"Vice President Quality Control",
"Prosthetist/Orthotist",
"Technician Optical Lens",
"Engineer Hoisting",
"Safe Repairer",
"Loan Interviewer",
"Operator Machine",
"Chemical Engineering Technician",
"Underwriter Life",
"Surveyor Geophysical",
"Clerk Credit",
"Teller Savings",
"Retail Manager Loss Prevention",
"Manager Bookkeeping",
"Medical Home Care Aide Supervisor",
"Art Director",
"Banking Installment Loan Clerk",
"Machine Shop Layout",
"Medical Nurse Psychiatric",
"Estimating Supervisor",
"Heating/Air Conditioning Servicer",
"Photo Processing Technician",
"Database Design Analyst",
"Clerk Rental Facility",
"Materials Management Director",
"Library Helper",
"Compensation Supervisor",
"Medical EMG Technician",
"Marine Engine Mechanic",
"Trust Officer",
"Medical Quality Assurance Coordinator",
"Human Resources Director",
"Cloth Finisher Supervisor",
"Vice President Planning & Development",
"Optical Prescription Clerk",
"Vice President Government Affairs",
"Supervisor Department",
"Banking Skip Tracer",
"Employment Recruiter Professional",
"Drafter Geological",
"Manager Factory",
"Waste Management Manager",
"Operator Hoist & Winch",
"Advertising Agent",
"Nurse Manager Clinic",
"Medical Technology Teaching Supervisor",
"Operations Research Manager"]
INDUSTRIES =
[
"Agriculture", 
"Forestry",
"Fishing and Hunting",
"Mining",
"Utilities",
"Construction",
"Manufacturing",
"Wholesale Trade",
"Retail Trade",
"Transportation", 
"Warehousing",
"Information",
"Finance",
"Insurance",
"Real Estate",
"Scientific",
"Technical Services",
"Corporate Management",
"Administrative",
"Support",
"Waste Management",
"Remediation Services",
"Education Services",
"Health Care",
"Social Assistance",
"Arts", 
"Entertainment", 
"Recreation",
"Accommodation",
"Food Services",
"Other",
"Public Administration"]
PRIORITIES =
["Low", "Medium", "High", "Urgent"]
DIRECTIONS =
["Inbound", "Outbound", "Queue"]
OWNERSHIPS =
["Public", "Private", "Partnership", "Unknown"]
DEPARTMENTS =
[
"Landscape Grounds Shop",
"Cap and Gown Club",
"Other Affiliates",
"Chemical Engineering",
"Board of Trustees",
"Forbes College",
"Undergraduate Class of 2007",
"Investment Income",
"Systems and Technical Support",
"Special Facilities  EQuad",
"Accelerator",
"Princeton Materials Institute",
"Agency Accounts",
"Undergraduate Class of 2008",
"McCarter Theatre",
"Undergraduate Class of 2009",
"FY 2007 Operating Major Maintenance",
"Center for Teaching and Learning",
"Cloister Inn",
"Wesley Foundation",
"Princeton Neuroscience Institute",
"Biochemical Sciences",
"Building Services  Forrestal Campus",
"BricaBrac Yearbook and Nassau Herald",
"B'Nai B'Rith Hillel Foundation",
"Alumni Colleges",
"Cell and Developmental Biology",
"Master's Leave Program",
"Human Resources",
"Tiger Net",
"Lutheran Chaplaincy",
"Center for Jewish Life",
"Graduate Student Loans Committed",
"Sustainability",
"History",
"Gifts and Grants",
"Gift Planning",
"Elm Club",
"University League Nursery School",
"Center for the Study of Religion",
"Office of the Dean of the Graduate School",
"Nassau East",
"Mechanical and Aerospace Engineering MAE",
"Transportation and Parking Services",
"Council on Regional Studies",
"Office of Public Affairs",
"Career Services",
"Army Officer Education Program",
"Other",
"Office of the Vice President and Secretary",
"Pace Center",
"Library",
"Development Project Services",
"Princeton Forrestal Center Funds Advanced",
"Peter B Lewis Center for the Arts",
"Princeton University Federal Credit Union",
"Development Events",
"Alumni Records",
"Development Administration",
"Facilities  NonShop Expenses",
"Princeton Broadcasting Service",
"Invested Collateral Funds",
"Mechanical and Aerospace Engineering",
"History of Science",
"Aquinas Institute",
"Plumbing Shop",
"Undergraduate Student Government",
"1998 Major Maintenance",
"Sponsored Research Accounting",
"Outside computer user",
"Daily Princetonian",
"Princeton University Investment Company",
"Richardson Auditorium",
"Vice President and Senior Adviser",
"OIT Information Systems",
"University Press Club",
"Frist Campus Center Shadow",
"Princeton in Beijing",
"Freshman Seminar Program",
"Deferred Charges and Revolving Funds",
"Princeton University Press",
"Religious Life",
"International Economics",
"Miscellaneous Accounts Receivable",
"Unappropriated  Estimated Income",
"Program in Law and Public Affairs",
"English",
"Civil and Environmental Engineering CEE",
"General Reserve",
"2003 Major Maintenance",
"Office of Design and Construction",
"Papers of Thomas Jefferson",
"Tigertones",
"University NOW Day Nursery",
"1999 Major Maintenance",
"Wilson College",
"The Office of Information Technology \n",
"Dining Services Income",
"East Asian Studies",
"Princeton Environmental Institute",
"Undergraduate Class withheld",
"Conference and Event Services",
"Federal Parent Loan",
"Accounts Receivable  Undergraduate Students",
"Princeton Prospect Foundation",
"Colonial Club",
"Petty Cash Fund",
"Distributed Management Systems",
"1997 Major Maintenance",
"Psychology",
"Laboratory Animal Resources",
"FY 2005 Operating Major Maintenance",
"Nassau Weekly",
"Graduate Student Loans In Process",
"US Geological Survey",
"Tiger Inn",
"Development Communications",
"Stevenson Hall",
"Lock Shop",
"PrincetoninAsia Program",
"Program in Judaic Studies",
"Unallocated Academic Departments",
"Office of the Dean of Undergraduate Students",
"Rockefeller Public Service Awards",
"Credit Union",
"WalkerGordon South",
"Office of the Registrar",
"Applied and Computational Mathematics",
"Retirees",
"Student Volunteers Council",
"Associate Treasurer for Operations",
"Office of the Provost",
"Astrophysical Sciences",
"American WhigCliosophic Society",
"Special Facilities  Frick/Hoyt",
"FY 1999 Operating Major Maintenance",
"Campaign Expense",
"Information Services",
"Alumni and Donor Records",
"Forrestal Campus  100 Acres",
"Gift Receivables",
"Tower Club",
"Bank Transfers",
"Electrical Engineering",
"Princeton Footnotes",
"Post Doctoral Fellowships",
"Disability Services",
"Special Facilities  Jadwin/Fine",
"Due From US Government",
"Phipps",
"Faculty Allowances",
"Special Facilities  Firestone Library",
"Life Income Funds",
"Baptist Chaplaincy",
"University Machine Shops",
"Capital Income",
"Unallocated Office of Information Technology",
"Computer Science",
"Office of Safety and Administration",
"Rockefeller College",
"Quadrangle Club",
"Campaign Relations",
"University Reserve",
"Invested Operating Funds",
"Roofing and Tin Shop",
"Investments  Life Income",
"Student Agencies",
"Graduate Student Apartments Income",
"Program in Theater",
"Continuing EducationSpecial Programs",
"Public Lectures",
"Real Estate Development",
"Industrial Relations",
"Development Relations",
"Tigerlilies",
"Graduate School Fellowships",
"Center for African American Studies",
"Unallocated Plant",
"Romance Languages and Literatures",
"Athletics Income",
"Music",
"Triangle Club",
"Maintenance  Faculty and Staff Housing",
"FY 2006 Operating Major Maintenance",
"Paint Shop",
"Information Strategy",
"Life Safety and Security Systems",
"Undergraduate Class of 2010",
"Office of the Vice President for Development",
"Greenhouse Grounds Shop",
"Chapel  Director of Music",
"Office of the Dean of the College",
"French and Italian",
"Writing Program",
"Undergraduate Class of 2011",
"Council on Environmental Studies",
"Gifts In Kind",
"TigerCard Office",
"Loan Control",
"Center of International Studies",
"Molecular Biology",
"OffSite Research Plasma Physics Laboratory",
"Central Campus Grounds Shop",
"Undergraduate Class of 2013",
"Office of Research and Project Administration",
"Project Managers",
"Office of Development Priorities",
"Tigernet Office of Information Technology",
"Undergraduate Class of 2014",
"Office of the President",
"Carpenter Shop",
"Statistics",
"Leadership Gifts",
"Counseling Center",
"Building Services",
"Politics",
"Investments  Secondary Pool",
"Accounts Payable",
"Partnership 2000",
"Renewal and Replacement Reserve",
"Westminster Foundation",
"Special Facilities  Forrestal Maintenance",
"Not Applicable",
"Religion",
"Development Information Systems",
"NonAffiliates",
"Unallocated University Services",
"Prize Fellowship",
"Real Estate",
"Pew Science Program",
"Business Operations Plasma Physics Laboratory",
"Continuing Education",
"Printing University Services",
"Simulated Games",
"Due From Brokers",
"Office of the Executive Vice President",
"Dial Elm and Cannon Clubs",
"Office of Technology Licensing",
"Davis International Center",
"Community House",
"Creative Writing",
"Salary Pool  General Funds",
"Mail Services",
"Office of the Dean of the Faculty",
"Unallocated General Administration",
"Garage  Main Campus",
"Geosciences",
"Center for Study of Human Values",
"2005 Major Maintenance",
"Parent Authorization",
"Anthropology",
"Office of Audit and Compliance",
"Restricted Funds",
"Due To Brokers",
"Fire Protection Shop",
"Environmental Health and Safety",
"Alumni Council",
"Philosophy",
"Mellon Education Grant",
"Investments  Funds Separately Invested FSI",
"Foundation for Student Communication",
"Unapplied Loan Payments",
"Security Deposits and Deferred Revenue",
"Program in Linguistics",
"Women's Studies",
"Principal  Primary Pool",
"Science in Human Affairs",
"Long Term Debt Payable",
"University Archives",
"Public Safety",
"Undergraduate Financial Aid",
"Short Term Strategy",
"International Center",
"A service of OIT Network Systems \n",
"Admission",
"PPL Employee Benefits",
"Office of the Controller",
"Survey Research Center",
"Visual Arts",
"Classics",
"Theater Program",
"Restaurant Associates",
"FY 2002 Operating Major Maintenance",
"Educational Programs",
"Outside Matching Fellowships",
"FY 2004 Operating Major Maintenance",
"Bendheim Center for Finance",
"Alumni Records and Mailing",
"Business Today Magazine",
"Purchasing",
"Federal Work Study",
"Student Health Plan",
"Special Student",
"Printing Services",
"Nassoons",
"Slavic Languages and Literatures",
"Outside department",
"Maintenance  Forrestal Campus",
"Collateral and Loaned Stocks",
"OIT Partnership 2000",
"Planning and Operations",
"Graduate Student Union",
"Student Notes In Process",
"Pride Alliance",
"Utility Plant",
"Educational Technologies Center",
"CIT Budget and Finance",
"Dept Transfer",
"Summer Fellowships",
"FY 1998 Operating Major Maintenance",
"University General Expenses",
"Whitman College",
"Principal  Student Loan Funds",
"Departmental Savings",
"Research Department Plasma Physics Laboratory",
"Princeton Center for Theoretical Science",
"Residential Colleges",
"Stewardship",
"Allowance For Contingency",
"Undergraduate Class of 2006"]

Instance Method Summary collapse

Instance Method Details

#address_streetObject



3
4
5
# File 'lib/seedy/generators/address.rb', line 3

def address_street
  Faker::Address.street_address
end

#cityObject



6
7
8
# File 'lib/seedy/generators/address.rb', line 6

def city
  Faker::Address.city
end

#companyObject



3
4
5
# File 'lib/seedy/generators/company.rb', line 3

def company
  Faker::Company.name
end

#countryObject



15
16
17
# File 'lib/seedy/generators/address.rb', line 15

def country
  "USA"
end

#customer_typeObject



3
4
5
# File 'lib/seedy/generators/customer.rb', line 3

def customer_type
  "Customer"
end

#date_timeObject



3
4
5
# File 'lib/seedy/generators/date_time.rb', line 3

def date_time
  (Time.now - rand(60 * 60 * 24 * 365 * 5)).strftime("%Y-%m-%d %H:%M:%S")
end

#departmentObject



325
326
327
# File 'lib/seedy/generators/department.rb', line 325

def department
  DEPARTMENTS[rand(DEPARTMENTS.length - 1)]
end

#descriptionObject



3
4
5
# File 'lib/seedy/generators/description.rb', line 3

def description
  Faker::Lorem.paragraph
end

#directionObject



4
5
6
# File 'lib/seedy/generators/direction.rb', line 4

def direction
  DIRECTIONS[rand(DIRECTIONS.length - 1)]
end

#durationObject



3
4
5
# File 'lib/seedy/generators/duration.rb', line 3

def duration
  rand(60)
end

#employeesObject



6
7
8
# File 'lib/seedy/generators/company.rb', line 6

def employees
  rand(10 ** 5).to_s
end

#first_nameObject



6
7
8
# File 'lib/seedy/generators/name.rb', line 6

def first_name
  Faker::Name.first_name
end

#guidObject



3
4
5
# File 'lib/seedy/generators/guid.rb', line 3

def guid
  Guid.new
end

#industryObject



36
37
38
# File 'lib/seedy/generators/industry.rb', line 36

def industry
  INDUSTRIES[rand(INDUSTRIES.length - 1)]
end

#last_nameObject



9
10
11
# File 'lib/seedy/generators/name.rb', line 9

def last_name
  Faker::Name.last_name
end

#monetary_sumObject



3
4
5
# File 'lib/seedy/generators/money.rb', line 3

def monetary_sum
  rand( 10 ** 7 ).to_s
end

#nameObject



3
4
5
# File 'lib/seedy/generators/name.rb', line 3

def name
  Faker::Name.name
end

#ownershipObject



4
5
6
# File 'lib/seedy/generators/ownership.rb', line 4

def ownership
  OWNERSHIPS[rand(OWNERSHIPS.length - 1)]
end

#passwordObject



3
4
5
6
7
8
# File 'lib/seedy/generators/password.rb', line 3

def password
  chars = ("a".."z").to_a + ("A".."Z").to_a + ("0".."9").to_a
  newpass = ""
  1.upto(8) { |i| newpass << chars[rand(chars.size-1)] }
  return newpass
end

#phoneObject



3
4
5
# File 'lib/seedy/generators/phone.rb', line 3

def phone
  Faker::PhoneNumber.phone_number
end

#priorityObject



4
5
6
# File 'lib/seedy/generators/priority.rb', line 4

def priority
  PRIORITIES[rand(PRIORITIES.length - 1)]
end

#stateObject



9
10
11
# File 'lib/seedy/generators/address.rb', line 9

def state
  Faker::Address.us_state_abbr 
end

#statusObject



3
4
5
# File 'lib/seedy/generators/status.rb', line 3

def status
  "Active"
end

#subjectObject



3
4
5
# File 'lib/seedy/generators/subject.rb', line 3

def subject
  Faker::Lorem.sentence
end

#titleObject



480
481
482
# File 'lib/seedy/generators/title.rb', line 480

def title
  TITLES[rand(TITLES.length - 1)]
end

#user_hashObject



3
4
5
# File 'lib/seedy/generators/user.rb', line 3

def user_hash
  OpenSSL::Digest::MD5.new(password)
end

#websiteObject



3
4
5
# File 'lib/seedy/generators/website.rb', line 3

def website
  Faker::Internet.domain_name
end

#zipObject



12
13
14
# File 'lib/seedy/generators/address.rb', line 12

def zip
  Faker::Address.zip_code
end