diff --git a/README.md b/README.md index f577df26b9..47174cb695 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/doc/singular_siegler.md b/doc/singular_siegler.md new file mode 100644 index 0000000000..91027cf855 --- /dev/null +++ b/doc/singular_siegler.md @@ -0,0 +1,5 @@ +# Faker::SingularSiegler + +```ruby +Faker::SingularSiegler.quote #=> "Texas!" +``` diff --git a/lib/faker/singular_siegler.rb b/lib/faker/singular_siegler.rb new file mode 100644 index 0000000000..29557c5387 --- /dev/null +++ b/lib/faker/singular_siegler.rb @@ -0,0 +1,9 @@ +module Faker + class SingularSiegler < Base + class << self + def quotes + fetch('singular_siegler.quotes') + end + end + end +end diff --git a/lib/locales/en/singular_siegler.yml b/lib/locales/en/singular_siegler.yml new file mode 100644 index 0000000000..667cfef4bd --- /dev/null +++ b/lib/locales/en/singular_siegler.yml @@ -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" + ] diff --git a/test/test_faker_singular_siegler.rb b/test/test_faker_singular_siegler.rb new file mode 100644 index 0000000000..87ec16f73b --- /dev/null +++ b/test/test_faker_singular_siegler.rb @@ -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