Skip to content

Commit

Permalink
limit random_{object,adjective} to be more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
salzig committed Feb 8, 2015
1 parent ebb8a12 commit 43c1149
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions lib/lolcommits/plugins/lol_protonet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,14 @@ def message
end

def random_object
objects = %w{screws bolts exceptions errors cookies}

objects = %w{changes lines}
objects.sample
end

def random_adjective
adjectives = ["awesome", "great", "interesting", "cool", "EPIC", "gut", "good", "pansy",
"powerful", "boring", "quirky", "untested", "german", "iranian", "neutral", "crazy", "well tested",
"jimmy style", "nasty", "bibliographical (we received complaints about the original wording)",
"bombdiggidy", "narly", "spiffy", "smashing", "xing style",
"leo apotheker style", "black", "white", "yellow", "shaggy", "tasty", "mind bending", "JAY-Z",
"Kanye (the best ever)", "* Toby Keith was here *", "splendid", "stupendulous",
"(freedom fries!)", "[vote RON PAUL]", "- these are not my glasses -", "typical pansy",
"- ze goggles zey do nothing! -", "almost working", "legen- wait for it -", "-dairy!",
" - Tavonius would be proud of this - ", "Meg FAILMAN!", "- very brofessional of you -",
"heartbleeding", "juciy", "supercalifragilisticexpialidocious", "failing", "loving"
adjectives = ["awesome", "great", "interesting", "cool", "EPIC", "gut", "good", "brofessional",
"powerful", "crazy", "well tested", "smashing", "tasty", "mind bending", "loving",
"splendid", "legen- wait for it -dairy!", "supercalifragilisticexpialidocious"
]
adjectives.sample
end
Expand Down

0 comments on commit 43c1149

Please sign in to comment.