every_flavor 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/every_flavor.rb +53 -0
  2. metadata +46 -0
@@ -0,0 +1,53 @@
1
+ module EveryFlavor
2
+ class Flavor
3
+
4
+ NAMES = ["Acid", "Apple", "Bagel",
5
+ "Baked Beans", "Baking Soda", "Banana",
6
+ "Beanstalks", "Biscuit","Blackcurrant",
7
+ "Bread", "Brown Sugar","Brussel Sprouts",
8
+ "Butter", "Buttermilk", "Candy Floss",
9
+ "Carrots", "Caterpillar", "Cauliflower",
10
+ "Caviar", "Celery", "Centipede", "Cheese",
11
+ "Cherry", "Cherry Tart", "Chewing Gum",
12
+ "Chicken", "Chocolate", "Chocolate Mousse",
13
+ "Cinnamon", "Coconut", "Cod", "Coffee",
14
+ "Compost", "Cookie Dough", "Copper", "Corn",
15
+ "Cough medicine", "Cucumber", "Curry",
16
+ "Custard", "Diesel", "Dirt", "Earwax",
17
+ "Egg yolk", "Eucalyptus Leaves", "Flowers",
18
+ "Fried Beans", "Frog Legs", "Glue",
19
+ "Grass", "Ham", "Honey", "Honeydew",
20
+ "Horseradish", "Hot Sauce", "Ice Cream",
21
+ "Ink", "Iron", "Kidney Beans", "Lamb",
22
+ "Latex", "Leather", "Lemon", "Lettuce",
23
+ "Lima Beans", "Lime", "Liver", "Lucozade",
24
+ "Mango", "Maracana Nuts", "Marmalade",
25
+ "Marshmallow", "Marzipan", "Mayonnaise",
26
+ "Meatballs", "Menthol", "Milk",
27
+ "Mince", "Mucous", "Mud", "Mustard",
28
+ "Noodles", "Onion", "Orange", "Paint",
29
+ "Paper", "Paprika", "Parsley", "Parsnips",
30
+ "Pasta", "Peanuts", "Pepper", "Peppermint",
31
+ "Pepperoni", "Perogies", "Petrol",
32
+ "Pina Colada", "Plaice", "Potato",
33
+ "Prawns", "Prune", "Raisin",
34
+ "Raspberry", "Rotten Egg", "Rubber",
35
+ "Rum", "Salad Dressing", "Salmon",
36
+ "Salt", "Sand", "Sardines", "Sausage",
37
+ "Shampoo", "Shrimp", "Soap", "Soda Water",
38
+ "Sour Cream", "Spinach", "Squid",
39
+ "Strawberry Jelly", "Strawberry Mousse",
40
+ "Sugar", "Sulphur", "Sushi", "Sweetcorn",
41
+ "Syrup", "Tartar Sauce", "Tea", "Thyme",
42
+ "Toast", "Toe nails", "Toffee",
43
+ "Tomato Ketchup", "Tripe", "Trout",
44
+ "Turnip", "Vanilla", "Varnish",
45
+ "Vinegar", "Vomit", "Walnuts",
46
+ "Wildgrass", "Wood", "Worcestershire Sauce",
47
+ "Yoghurt", "Zucchini", "Avocado", "Bacon"]
48
+
49
+ def self.generate
50
+ return NAMES[Kernel.rand(NAMES.length)]
51
+ end
52
+ end
53
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: every_flavor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - James Dunn
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-12-23 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ! "Have you ever eaten an axiomatic candy bar\n or
15
+ drank an alchemist's potion and wondered\n what it tastes like?"
16
+ email: jamesldunnjr@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/every_flavor.rb
22
+ homepage: http://github.com/protolif/every_flavor
23
+ licenses: []
24
+ post_install_message:
25
+ rdoc_options: []
26
+ require_paths:
27
+ - lib
28
+ required_ruby_version: !ruby/object:Gem::Requirement
29
+ none: false
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ required_rubygems_version: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ requirements: []
41
+ rubyforge_project:
42
+ rubygems_version: 1.8.11
43
+ signing_key:
44
+ specification_version: 3
45
+ summary: Generates random flavors.
46
+ test_files: []