faker 1.8.6 → 1.8.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e42cc2e5c4e5a5a84b5e2bcd1e0282c971c3db66
4
- data.tar.gz: c66d60a766503aca14f2765e77e938762c2dbc56
3
+ metadata.gz: 944952e87f63a6622a831db987f0948701896e5b
4
+ data.tar.gz: 536fd89b04f1771df3689efed63dfe78f103eb17
5
5
  SHA512:
6
- metadata.gz: 92749073eddc2e2b9ef51ccf0ce15b45eb097dc90558712c5172453a2db8e51cbba07109dece18f74f6767f43dabe12adf9cbd7114d7b6020736e0d3b1c6834c
7
- data.tar.gz: 475470c5bc58adbfe22ff8ae1736c957106e50bfd77f59d17f6e06141eee46673cb351a35259129a70d9cef8162041a5dd0bdc5f58c3c038659e79883b74ca8d
6
+ metadata.gz: 0b5d48c448435729c111c1d5c915f84e71a9722989c5900313a8f8e12335e1faf0361b9188a0567b0efec20ef5439329c3a523de688b5032723c1ec40d0db869
7
+ data.tar.gz: 132d9a6e91c418304b13e179dc13d1c75b9fe76719d22e3cff97ca20e3a9c9c0df523e147083cc4d1bc56ac7f5f325551c285405d043f1310a96b58f9aa07885
@@ -1,5 +1,19 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.8.7](https://github.com/stympy/faker/tree/v1.8.7) (2017-12-22)
4
+ [Full Changelog](https://github.com/stympy/faker/compare/v1.8.6...v1.8.7)
5
+
6
+ **Additions**
7
+
8
+ - Faker::Company.type
9
+ - Faker::Job.education_level and Faker::Job.employment_type
10
+ - More characters and quotes for Seinfeld
11
+
12
+ **Fixes**
13
+
14
+ - Revert a change in 1.8.5 that caused Star Wars methods to return a
15
+ single string rather than an array (#1093)
16
+
3
17
  ## [v1.8.6](https://github.com/stympy/faker/tree/v1.8.6) (2017-12-21)
4
18
  [Full Changelog](https://github.com/stympy/faker/compare/v1.8.5...v1.8.6)
5
19
 
@@ -9,11 +9,13 @@ module Faker
9
9
  end
10
10
 
11
11
  def between_except(from, to, excepted)
12
- begin
13
- date = between(from, to)
14
- end while date == excepted
12
+ raise ArgumentError, "From date, to date and excepted date must not be the same" if from == to && to == excepted
13
+ excepted = get_date_object(excepted)
15
14
 
16
- date
15
+ loop do
16
+ date = between(from, to)
17
+ break date.to_date if date != excepted
18
+ end
17
19
  end
18
20
 
19
21
  def forward(days = 365)
@@ -42,23 +42,23 @@ module Faker
42
42
  end
43
43
 
44
44
  def call_numbers
45
- fetch('star_wars.call_numbers')
45
+ fetch_all('star_wars.call_numbers')
46
46
  end
47
47
 
48
48
  def call_squadrons
49
- fetch('star_wars.call_squadrons')
49
+ fetch_all('star_wars.call_squadrons')
50
50
  end
51
51
 
52
52
  def characters
53
- fetch('star_wars.characters')
53
+ fetch_all('star_wars.characters')
54
54
  end
55
55
 
56
56
  def droids
57
- fetch('star_wars.droids')
57
+ fetch_all('star_wars.droids')
58
58
  end
59
59
 
60
60
  def planets
61
- fetch('star_wars.planets')
61
+ fetch_all('star_wars.planets')
62
62
  end
63
63
 
64
64
  def quote(character = nil)
@@ -83,15 +83,15 @@ module Faker
83
83
  end
84
84
 
85
85
  def species
86
- fetch('star_wars.species')
86
+ fetch_all('star_wars.species')
87
87
  end
88
88
 
89
89
  def vehicles
90
- fetch('star_wars.vehicles')
90
+ fetch_all('star_wars.vehicles')
91
91
  end
92
92
 
93
93
  def wookiee_words
94
- fetch('star_wars.wookiee_words')
94
+ fetch_all('star_wars.wookiee_words')
95
95
  end
96
96
 
97
97
  alias_method :wookie_sentence, :wookiee_sentence
@@ -1,3 +1,3 @@
1
1
  module Faker #:nodoc:
2
- VERSION = "1.8.6"
2
+ VERSION = "1.8.7"
3
3
  end
@@ -18,3 +18,4 @@ en:
18
18
  - "#{Name.last_name}, #{Name.last_name} and #{Name.last_name}"
19
19
  industry: ["Defense & Space", "Computer Hardware", "Computer Software", "Computer Networking", "Internet", "Semiconductors", "Telecommunications", "Law Practice", "Legal Services", "Management Consulting", "Biotechnology", "Medical Practice", "Hospital & Health Care", "Pharmaceuticals", "Veterinary", "Medical Devices", "Cosmetics", "Apparel & Fashion", "Sporting Goods", "Tobacco", "Supermarkets", "Food Production", "Consumer Electronics", "Consumer Goods", "Furniture", "Retail", "Entertainment", "Gambling & Casinos", "Leisure, Travel & Tourism", "Hospitality", "Restaurants", "Sports", "Food & Beverages", "Motion Pictures and Film", "Broadcast Media", "Museums and Institutions", "Fine Art", "Performing Arts", "Recreational Facilities and Services", "Banking", "Insurance", "Financial Services", "Real Estate", "Investment Banking", "Investment Management", "Accounting", "Construction", "Building Materials", "Architecture & Planning", "Civil Engineering", "Aviation & Aerospace", "Automotive", "Chemicals", "Machinery", "Mining & Metals", "Oil & Energy", "Shipbuilding", "Utilities", "Textiles", "Paper & Forest Products", "Railroad Manufacture", "Farming", "Ranching", "Dairy", "Fishery", "Primary / Secondary Education", "Higher Education", "Education Management", "Research", "Military", "Legislative Office", "Judiciary", "International Affairs", "Government Administration", "Executive Office", "Law Enforcement", "Public Safety", "Public Policy", "Marketing and Advertising", "Newspapers", "Publishing", "Printing", "Information Services", "Libraries", "Environmental Services", "Package / Freight Delivery", "Individual & Family Services", "Religious Institutions", "Civic & Social Organization", "Consumer Services", "Transportationg / Trucking / Railroad", "Warehousing", "Airlines / Aviation", "Maritime", "Information Technology and Services", "Market Research", "Public Relations and Communications", "Design", "Nonprofit Organization Management", "Fund-Raising", "Program Development", "Writing and Editing", "Staffing and Recruiting", "Professional Training & Coaching", "Venture Capital & Private Equity", "Political Organization", "Translation and Localization", "Computer Games", "Events Services", "Arts and Crafts", "Electrical / Electronic Manufacturing", "Online Media", "Nanotechnology", "Music", "Logistics and Supply Chain", "Plastics", "Computer & Network Security", "Wireless", "Alternative Dispute Resolution", "Security and Investigations", "Facilities Services", "Outsourcing / Offshoring", "Health, Wellness and Fitness", "Alternative Medicine", "Media Production", "Animation", "Commercial Real Estate", "Capital Markets", "Think Tanks", "Philanthropy", "E-Learning", "Wholesale", "Import and Export", "Mechanical or Industrial Engineering", "Photography", "Human Resources", "Business Supplies and Equipment", "Mental Health Care", "Graphic Design", "International Trade and Development", "Wine and Spirits", "Luxury Goods & Jewelry", "Renewables & Environment", "Glass, Ceramics & Concrete", "Packaging and Containers", "Industrial Automation", "Government Relations"]
20
20
  profession: ["teacher", "actor", "musician", "philosopher", "writer", "doctor", "accountant", "agriculturist", "architect", "economist", "engineer", "interpreter", "attorney at law", "advocate", "librarian", "statistician", "human resources", "firefighter", "judge", "police officer", "astronomer", "biologist", "chemist", "physicist", "programmer", "web developer", "designer"]
21
+ type: ["Public Company", "Educational Institution", "Self-Employed", "Government Agency", "Nonprofit", "Sole Proprietorship", "Privately Held", "Partnership"]
@@ -5,6 +5,8 @@ en:
5
5
  seniority: [Lead, Senior, Product, National, Regional, District, Central, Global, Customer, Investor, Dynamic, International, Legacy, Forward, Internal, Chief]
6
6
  position: [Supervisor, Associate, Executive, Liaison, Officer, Manager, Engineer, Specialist, Director, Coordinator, Administrator, Architect, Analyst, Designer, Planner, Orchestrator, Technician, Developer, Producer, Consultant, Assistant, Facilitator, Agent, Representative, Strategist]
7
7
  key_skills: [Teamwork, Communication, Problem solving, Leadership, Organisation, Work under pressure, Confidence, Self-motivated, Networking skills, Proactive, Fast learner, Technical savvy]
8
+ employment_type: [Full-time, Part-time, Temporary, Contract, Internship, Commission]
9
+ education_level: [Associates, Bachelor, Master, Doctorate]
8
10
  title:
9
11
  - "#{seniority} #{field} #{position}"
10
12
  - "#{seniority} #{field} #{position}"
@@ -1,5 +1,5 @@
1
1
  en:
2
2
  faker:
3
3
  seinfeld:
4
- character: ["George Costanza", "Kramer", "Elaine Benes", "Newman", "Jerry Seinfeld", "Frank Costanza", "Morty Seinfeld", "Estelle Costanza", "Susan Ross", "Helen Seinfeld", "J Peterman", "Uncle Leo", "David Puddy", "Justin Pitt", "Kenny Bania", "Crazy Joe Davola", "Jackie Chiles", "Jack Klompus", "Ruthie Cohen", "Tim Whatley", "Sue Ellen", "Bob Sacamano"]
5
- quote: ["I'm not a lesbian. I hate men, but I'm not a lesbian", "You're gonna over-dry your laundry", "This isn't a good time", "That’s the true spirit of Christmas; people being helped by people other than me", "You’re becoming one of the glitterati", "Father, I’ve never done this before, so I’m not sure about what I’m supposed to do", "She’s one of those low-talkers. You can’t hear a word she’s saying!", "Why do they make the condom packets so hard to open?", "This woman hates me so much, I’m starting to like her"]
4
+ character: ["George Costanza", "Kramer", "Elaine Benes", "Newman", "Jerry Seinfeld", "Frank Costanza", "Morty Seinfeld", "Estelle Costanza", "Susan Ross", "Helen Seinfeld", "J Peterman", "Uncle Leo", "David Puddy", "Justin Pitt", "Kenny Bania", "Crazy Joe Davola", "Jackie Chiles", "Jack Klompus", "Ruthie Cohen", "Tim Whatley", "Sue Ellen", "Bob Sacamano", "Babs Kramer", "Babu Bhatt", "George Steinbrenner", "Mickey Abbott", "Mr. Lippman", "Mr. Wilhelm", "Russell Dalrymple"]
5
+ quote: ["I'm not a lesbian. I hate men, but I'm not a lesbian.", "You're gonna over-dry your laundry.", "This isn't a good time.", "That’s the true spirit of Christmas; people being helped by people other than me.", "You’re becoming one of the glitterati.", "Father, I’ve never done this before, so I’m not sure about what I’m supposed to do.", "She’s one of those low-talkers. You can’t hear a word she’s saying!", "Why do they make the condom packets so hard to open?", "This woman hates me so much, I’m starting to like her.", "I've driven women to lesbianism before, but never a mental institution.", "You know I always wanted to pretend I was an architect", "Borrowing money from a friend is like having sex. It just completely changes the relationship.", "When you look annoyed all the time, people think that you're busy.", "I spend so much time trying to get their clothes off, I never thought of taking mine off.", "If you can't say something bad about a relationship, you shouldn't say anything at all.", "I need the secure packaging of Jockeys. My boys needs a house!", "The sea was angry that day, my friends, like an old man trying to send back soup in a deli...", "Elaine, breaking up is like knocking over a Coke machine. You can’t do it in one push; you gotta rock it back and forth a few times and then it goes over.", "Looking at cleavage is like looking at the sun. You don't stare at it. It's too risky. Ya get a sense of it and then you look away.", "You have the chicken, the hen, and the rooster. The chicken goes with the hen... So who is having sex with the rooster?", "I lie every second of the day. My whole life is a sham.", "Just remember, when you control the mail, you control... information.", "I don't think I've ever been to an appointment in my life where I wanted the other guy to show up.", "You, my friend, have crossed the line between man and bum.", "You should've seen her face. It was the exact same look my father gave me when I told him I wanted to be a ventriloquist.", "Did you know that the original title for War and Peace was War, What Is It Good For?", "Sex, that’s meaningless, I can understand that, but dinner; that’s heavy. That’s like an hour.", "Jerry, just remember, it's not a lie if you believe it.", "These pretzels are makin' me thirsty.", "It became very clear to me sitting out there today that every decision I've made in my entire life has been wrong. My life is the complete opposite of everything I want it to be. Every instinct I have, in every aspect of life, be it something to wear, something to eat - it's all been wrong.", "I had a dream last night that a hamburger was eating me.", "I have been performing feats of strength all morning.", "Hi, my name is George, I'm unemployed and I live with my parents.", "I don't trust the guy. I think he regifted, then he degifted, and now he's using an upstairs invite as a springboard to a Super bowl sex romp.", "Yes, I hope my parents die long before I do.", "See, this is what the holidays are all about. Three buddies sitting around chewing gum.", "Dolores!", "I'll be back. We'll make out.", "I'm sorry to bother you, but I'm a US postal worker and my mail truck was just ambushed by a band of backwoods mail-hating survivalists.", "You very bad man, Jerry. Very bad man.", "No soup for you!", "Serenity now!", "I'm out there Jerry, and I'm loving every minute of it!", "I'm out of the contest!", "You're killing independent George!", "Not that there's anything wrong with that.", "Yadda, yadda, yadda.", "They're real, and they're spectacular.", "She has man hands.", "And you want to be my latex salesman.", "He's a close talker.", "It's a Festivus for the rest of us.", "I want to be the one person who doesn't die with dignity.", "You, my friend, have crossed the line between man and bum.", "You were necking during Schindler's List?"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.6
4
+ version: 1.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benjamin Curtis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-21 00:00:00.000000000 Z
11
+ date: 2017-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n