kitty 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.md +2 -2
  2. data/bin/kitty +96 -17
  3. data/kitty.gemspec +1 -1
  4. data/pkg/kitty-0.0.3.gem +0 -0
  5. metadata +4 -3
data/README.md CHANGED
@@ -5,8 +5,8 @@ Installation:
5
5
  Then run `kitty` to brighten up your day!
6
6
 
7
7
 
8
- Now with more options!:
9
- =======================
8
+ Now with options!:
9
+ ==================
10
10
  kitty -c 5 # Prints 5 kitties
11
11
  kitty -c 100 # Unbelievably prints 100 kitties!
12
12
 
data/bin/kitty CHANGED
@@ -67,6 +67,66 @@ class Kitty
67
67
  HERE KITTY KITTY
68
68
  end
69
69
 
70
+ def serious_kitty
71
+ <<-'HERE KITTY KITTY'
72
+ ;,_ ,
73
+ _uP~"b d"u,
74
+ dP' "b ,d" "o
75
+ d" , `b d"' "b
76
+ l] [ " `l, d" lb
77
+ Ol ? " "b`"=uoqo,_ "l
78
+ ,dBb "b "b, `"~~TObup,_
79
+ ,d" (db.`" "" "tbc,_ `~"Yuu,_
80
+ .d" l`T' '= ~ `""Yu,
81
+ ,dO` gP, `u, b,_ "b7
82
+ d?' ,d" l, `"b,_ `~b "1
83
+ ,8i' dl `l ,ggQOV",dbgq,._" `l lb
84
+ .df' (O, " ,ggQY"~ , @@@@@d"bd~ `b "1
85
+ .df' `" -=@QgpOY"" (b @@@@P db `Lp"b,
86
+ .d( _ "ko "=d_,Q` ,_ " "b,
87
+ Ql . `"qo,._ "tQo,_`""bo ;tb, `"b,
88
+ qQ |L ~"QQQgggc,_.,dObc,opooO `"~~";. __,7,
89
+ qp t\io,_ `~"TOOggQV"""" _,dg,_ =PIQHib.
90
+ `qp `Q["tQQQo,_ ,pl{QOP"' 7AFR`
91
+ ` `tb '""tQQQg,_ p" "b ` .;-.`Vl'
92
+ "Yb `"tQOOo,__ _,edb ` .__ /`/'| |b;=;.__
93
+ `"tQQQOOOOP""`"\QV;qQObob"`-._`\_~~-._
94
+ """" ._ / | |oP"\_ ~\ ~\_~\
95
+ `~"\ic,qggddOOP"| | ~\ `\~-._
96
+ ,qP`"""|" | `\ `; `\ `\
97
+ _ _,p" | | `\`; | |
98
+ unknown "boo,._dP" `\_ `\ `\| `\ ;
99
+ `"7tY~' `\ `\ `|_ |
100
+ `~\ |
101
+ HERE KITTY KITTY
102
+ end
103
+
104
+ def full_double_kitty
105
+ <<-'HERE KITTY KITTY'
106
+ * ,MMM8&&&. *
107
+ MMMM88&&&&& .
108
+ MMMM88&&&&&&&
109
+ * MMM88&&&&&&&&
110
+ MMM88&&&&&&&&
111
+ 'MMM88&&&&&&'
112
+ 'MMM8&&&' *
113
+ |\___/| /\___/\
114
+ ) ( ) ~( . '
115
+ =\ /= =\~ /=
116
+ )===( ) ~ (
117
+ / \ / \
118
+ | | ) ~ (
119
+ / \ / ~ \
120
+ \ / \~ ~/
121
+ jgs_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_
122
+ | | | |( ( | | | )) | | | | | |
123
+ | | | | ) ) | | |//| | | | | | |
124
+ | | | |(_( | | (( | | | | | | |
125
+ | | | | | | | |\)| | | | | | |
126
+ | | | | | | | | | | | | | | |
127
+ HERE KITTY KITTY
128
+ end
129
+
70
130
  def chub_kitty
71
131
  chub_kitty = <<-'HERE KITTY KITTY'
72
132
  . .
@@ -100,6 +160,38 @@ class Kitty
100
160
  HERE KITTY KITTY
101
161
  end
102
162
 
163
+ def tiny_kitty
164
+ <<-'HERE KITTY KITTY'
165
+
166
+ ) _. mmeeoowwrr!
167
+ (___)''
168
+ / ,_,/
169
+ /'"\ )\
170
+
171
+ itz
172
+ HERE KITTY KITTY
173
+ end
174
+
175
+ def hungry_kitty
176
+ <<-'HERE KITTY KITTY'
177
+ _.---.
178
+ |\---/| / ) ca|
179
+ ------------; |-/ /|foo|---
180
+ ) (' / `---'
181
+ ===========( ,'==========
182
+ || _ | |
183
+ || o/ ) | | o
184
+ || ( ( / ;
185
+ || \ `._/ /
186
+ || `._ /|
187
+ || |\ _/||
188
+ __||_____.' ) |__||____________
189
+ ________\ | |_________________
190
+ \ \ `-.
191
+ `-`---' hjw
192
+ HERE KITTY KITTY
193
+ end
194
+
103
195
  def curious_kitty
104
196
  curious_kitty = <<-'HERE KITTY KITTY'
105
197
  _
@@ -252,24 +344,11 @@ class Kitty
252
344
  end
253
345
 
254
346
  def all_kitties
255
- [ night_kitty,
256
- pounce_kitty,
257
- face_kitty,
258
- sleep_kitty,
259
- chub_kitty,
260
- curious_kitty,
261
- proud_kitty,
262
- stretch_kitty,
263
- tail_kitty,
264
- scared_kitty,
265
- dumb_kitty,
266
- crazy_kitty,
267
- dominant_kitty
268
- ]
347
+ methods.select { |m| m =~ /_kitty$/ }
269
348
  end
270
349
 
271
- def random_kitty
272
- print all_kitties[rand(all_kitties.length)]
350
+ def random
351
+ print send(all_kitties[rand(all_kitties.length)])
273
352
  end
274
353
  end
275
354
 
@@ -290,6 +369,6 @@ end.parse!
290
369
 
291
370
  kitty = Kitty.new
292
371
  options[:count].times do
293
- kitty.random_kitty
372
+ kitty.random
294
373
  end
295
374
 
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  SPEC = Gem::Specification.new do |s|
4
4
  s.name = "kitty"
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
  s.author = "Bryan Woods"
7
7
  s.email = "bryanwoods4e@gmail.com"
8
8
  s.platform = Gem::Platform::RUBY
Binary file
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 3
9
- version: 0.0.3
8
+ - 4
9
+ version: 0.0.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bryan Woods
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-14 00:00:00 -04:00
17
+ date: 2010-08-12 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20
 
@@ -31,6 +31,7 @@ files:
31
31
  - kitty.gemspec
32
32
  - pkg/kitty-0.0.1.gem
33
33
  - pkg/kitty-0.0.2.gem
34
+ - pkg/kitty-0.0.3.gem
34
35
  - README.md
35
36
  has_rdoc: true
36
37
  homepage: http://github.com/bryanwoods/kitty