Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SingularSiegler quotes #1129

Merged
merged 5 commits into from
May 21, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Contents
- [Faker::Seinfeld](doc/seinfeld.md)
- [Faker::SiliconValley](doc/silicon_valley.md)
- [Faker::Simpsons](doc/simpsons.md)
- [Faker::SingularSiegler](doc/singular_siegler.md)
- [Faker::SlackEmoji](doc/slack_emoji.md)
- [Faker::Space](doc/space.md)
- [Faker::StarTrek](doc/star_trek.md)
Expand Down
5 changes: 5 additions & 0 deletions doc/singular_siegler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Faker::SingularSiegler

```ruby
Faker::SingularSiegler.quote #=> "Texas!"
```
9 changes: 9 additions & 0 deletions lib/faker/singular_siegler.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module Faker
class SingularSiegler < Base
class << self
def quotes
fetch('singular_siegler.quotes')
end
end
end
end
37 changes: 37 additions & 0 deletions lib/locales/en/singular_siegler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
en:
faker:
singular_siegler:
quotes: [
"Texas!",
"Come on now",
"Turd gone wrong",
"I want my 5$ back",
"I tell you what",
"My buddy Harlen",
"Goin' hog huntin'",
"C'mon Naomi",
"Might be DQ time",
"That goddamn Datamate",
"That damn gimble",
"That Barbala couldn't fly his way out of a wet paper bag",
"So I was walking Oscar",
"How 'bout them Cowboys",
"Always the last one to the party",
"Standby",
"No one tells me shit",
"My boss gonna fire me",
"That damn Bill Stull",
"Like a red-headed stepchild",
"Y'all never listen to me",
"It's around here somewhere",
"Reminds me of my old girlfriend Olga Goodntight",
"Let me tell ya",
"I got that scurvy",
"Got depression, Smith and Wessen",
"I'm washing my hands of it",
"Yup",
"Contact the tower",
"That damn diabetes",
"That's messed up",
"I want my damn cart back"
]
13 changes: 13 additions & 0 deletions test/test_faker_singular_siegler.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
require File.expand_path(File.dirname(__FILE__) + '/test_helper.rb')

class TestFakerSingularSiegler < Test::Unit::TestCase

def setup
@tester = Faker::SingularSiegler
end

def test_quote
assert @tester.quotes.match(/\w/)
end

end