meme_generator 1.7 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +5 -0
- data/lib/meme.rb +7 -4
- metadata +3 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/lib/meme.rb
CHANGED
@@ -16,7 +16,7 @@ class Meme
|
|
16
16
|
##
|
17
17
|
# Every meme generator needs a version
|
18
18
|
|
19
|
-
VERSION = '1.7'
|
19
|
+
VERSION = '1.7.1'
|
20
20
|
|
21
21
|
##
|
22
22
|
# For statistics!
|
@@ -35,8 +35,11 @@ class Meme
|
|
35
35
|
#
|
36
36
|
# These can accept up to two lines of text
|
37
37
|
|
38
|
-
def self.advice_dog name, id, template_name
|
39
|
-
|
38
|
+
def self.advice_dog name, id, template_name, first_line = nil
|
39
|
+
template = [id, 'AdviceDogSpinoff', template_name, first_line]
|
40
|
+
template.compact
|
41
|
+
|
42
|
+
GENERATORS[name] = template
|
40
43
|
end
|
41
44
|
|
42
45
|
##
|
@@ -67,7 +70,7 @@ class Meme
|
|
67
70
|
advice_dog 'J_DUCREUX', 1356, 'Joseph-Ducreux'
|
68
71
|
advice_dog 'KEANU', 47718, 'Keanu-reeves'
|
69
72
|
advice_dog 'MINECRAFT', 122309, 'Minecraft'
|
70
|
-
advice_dog 'O-RLY-OWL', 117041, 'O-RLY-OWL','ORLY???'
|
73
|
+
advice_dog 'O-RLY-OWL', 117041, 'O-RLY-OWL', 'ORLY???'
|
71
74
|
advice_dog 'OBAMA', 1332, 'Obama-'
|
72
75
|
advice_dog 'PHILOSORAPTOR', 984, 'Philosoraptor'
|
73
76
|
advice_dog 'P_OAK', 24321, 'Professor-Oak'
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|