adjective_animal 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adjective_animal.rb +2 -2
- data/lib/adjective_animal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08b2b4e8845dd5e977cebe0045bd466f6028e90e
|
4
|
+
data.tar.gz: 1cd84e7f155b1ea511806287ad59cf09d8021a89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a8e843d295698b22300ce70acd83b6e1c3450497e3b837db5854bf280ecb4ada90de53942a232238890f4faf5095f259e0e53e69e51696fe4be38066b3cb3cd
|
7
|
+
data.tar.gz: 7eff56520896963546379cc5cf285538b830424d16dec481adc2fe60b873787c20d9b9c38f479a2c9ca8b09163bec8682431a48e21e1b36a3cce9bed258b7491
|
data/lib/adjective_animal.rb
CHANGED
@@ -28,7 +28,7 @@ module AdjectiveAnimal
|
|
28
28
|
options.length == 1 ? self.starts_with = options.downcase.to_s : self.starts_with = nil
|
29
29
|
end
|
30
30
|
if options.is_a?(Hash)
|
31
|
-
sym_opts = symbolize_hash(options)
|
31
|
+
sym_opts = symbolize_hash(options)
|
32
32
|
if sym_opts.has_key?(:starts_with)
|
33
33
|
sym_opts[:starts_with].length == 1 ? self.starts_with = sym_opts[:starts_with].downcase.to_sym : self.starts_with = nil
|
34
34
|
end
|
@@ -96,7 +96,7 @@ module AdjectiveAnimal
|
|
96
96
|
|
97
97
|
# i stole these all from the internet, thanks internet
|
98
98
|
def self.animal
|
99
|
-
['alligator', 'crocodile', 'alpaca', 'ant', 'antelope', 'ape', 'armadillo', 'ass', '
|
99
|
+
['alligator', 'crocodile', 'alpaca', 'ant', 'antelope', 'ape', 'armadillo', 'ass', 'donkey', 'burro', 'baboon', 'badger', 'bat', 'bear', 'beaver', 'bee', 'beetle', 'buffalo', 'butterfly', 'camel', 'carabao', 'caribou', 'cat', 'cattle', 'cheetah', 'chimpanzee', 'chinchilla', 'cicada', 'clam', 'cockroach', 'cod', 'coyote', 'crab', 'cricket', 'crow', ' raven', 'deer', 'dinosaur', 'dog', 'dolphin', 'porpoise', 'duck', 'eel', 'elephant', 'elk', 'ferret', 'fish', 'fly', 'fox', 'frog', 'toad', 'gerbil', 'giraffe', 'gnat', 'gnu', 'wildebeest', 'goat', 'goldfish', 'gorilla', 'grasshopper', 'guinea pig', 'hamster', 'hare', 'hedgehog', 'herring', 'hippopotamus', 'hornet', 'horse', 'hound', 'hyena', 'impala', 'insect', 'jackal', 'jellyfish', 'kangaroo', 'wallaby', 'leopard', 'lion', 'lizard', 'llama', 'locust', 'louse', 'mallard', 'mammoth', 'manatee', 'marten', 'mink', 'minnow', 'mole', 'monkey', 'moose', 'mosquito', 'mouse', 'rat', 'mule', 'muskrat', 'narwhal', 'numbat', 'otter', 'ox', 'oyster', 'panda', 'pig', 'quail', 'quetzal', 'hog', 'swine', 'platypus', 'porcupine', 'pug', 'rabbit', 'raccoon', 'reindeer', 'rhinoceros', 'salmon', 'umbrellabird', 'uromastix', 'urial', 'sardine', 'scorpion', 'seal', 'serval', 'shark', 'sheep', 'skunk', 'snail', 'snake', 'spider', 'squirrel', 'termite', 'tiger', 'trout', 'turtle', 'tortoise', 'walrus', 'wasp', 'weasel', 'whale', 'wolf', 'wombat', 'woodchuck', 'worm', 'yak', 'yorkie', 'zebra', 'zebu', 'viper', 'vulture', 'xerus', 'xenops', 'xantos']
|
100
100
|
end
|
101
101
|
|
102
102
|
def self.adjective
|