kitty 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/kitty +157 -0
  2. data/kitty.gemspec +18 -0
  3. data/pkg/kitty-0.0.1.gem +0 -0
  4. metadata +64 -0
data/bin/kitty ADDED
@@ -0,0 +1,157 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ class Kitty
4
+ def night_kitty
5
+ night_kitty = <<-'HERE KITTY KITTY'
6
+ * ,MMM8&&&. *
7
+ MMMM88&&&&& .
8
+ MMMM88&&&&&&&
9
+ * MMM88&&&&&&&&
10
+ MMM88&&&&&&&&
11
+ 'MMM88&&&&&&'
12
+ 'MMM8&&&' *
13
+ |\___/|
14
+ ) ( . '
15
+ =\ /=
16
+ )===( *
17
+ / \
18
+ | |
19
+ / \
20
+ \ /
21
+ _/\_/\_/\__ _/_/\_/\_/\_/\_/\_/\_/\_/\_/\_
22
+ | | | |( ( | | | | | | | | | |
23
+ | | | | ) ) | | | | | | | | | |
24
+ | | | |(_( | | | | | | | | | |
25
+ | | | | | | | | | | | | | | |
26
+ | | | | | | | | | | | | | | |
27
+ HERE KITTY KITTY
28
+ end
29
+
30
+ def pounce_kitty
31
+ pounce_kitty = <<-'HERE KITTY KITTY'
32
+ ____
33
+ (. \
34
+ \ |
35
+ \ |___(\--/)
36
+ __/ ( . . )
37
+ "'._. '-.O.'
38
+ '-. \ "|\
39
+ '.,,/'.,,
40
+ HERE KITTY KITTY
41
+ end
42
+
43
+ def face_kitty
44
+ face_kitty = <<-'HERE KITTY KITTY'
45
+ _.---.._ _.---...__
46
+ .-' /\ \ .' /\ /
47
+ `. ( ) \ / ( ) /
48
+ `. \/ .'\ /`. \/ .'
49
+ ``---'' ) ( ``---''
50
+ .';.--.;`.
51
+ .' /_...._\ `.
52
+ .' `.a a.' `.
53
+ ( \/ )
54
+ `.___..-'`-..___.'
55
+ \ /
56
+ `-.____.-'
57
+ HERE KITTY KITTY
58
+ end
59
+
60
+ def sleep_kitty
61
+ sleep_kitty = <<-'HERE KITTY KITTY'
62
+ __..--''``\--....___ _..,_
63
+ _.-' .-/"; ` ``<._ ``-+'~=.
64
+ _.-' _..--.'_ \ `(^) )
65
+ ((..-' (< _ ;_..__ ; `'
66
+ `-._,_)' ``--...____..-'
67
+ HERE KITTY KITTY
68
+ end
69
+
70
+ def chub_kitty
71
+ chub_kitty = <<-'HERE KITTY KITTY'
72
+ . .
73
+ :"-. .-";
74
+ |:`.`.__..__.'.';|
75
+ || :-" "-; ||
76
+ :; :;
77
+ / .==. .==. \
78
+ : _.--._ ;
79
+ ; .--.' `--' `.--. :
80
+ : __;` ':__ ;
81
+ ; ' '-._:;_.-' ' :
82
+ '. `--' .'
83
+ ."-._ _.-".
84
+ .' ""------"" `.
85
+ /`- -'\
86
+ /`- -'\
87
+ :`- .' `. -';
88
+ ; / \ :
89
+ : : ; ;
90
+ ; ; : :
91
+ ':_:.' '.;_;'
92
+ :_ _;
93
+ ; "-._ -" :`-. _.._
94
+ :_ () _; "--::__. `.
95
+ \"- -"/`._ :
96
+ .-"-. -"-. ""--..____.'
97
+ / .__ __. \
98
+ : / , / "" \ . \ ;
99
+ "-:___..--" "--..___;-"
100
+ HERE KITTY KITTY
101
+ end
102
+
103
+ def curious_kitty
104
+ curious_kitty = <<-'HERE KITTY KITTY'
105
+ _
106
+ \`*-.
107
+ ) _`-.
108
+ . : `. .
109
+ : _ ' \
110
+ ; *` _. `*-._
111
+ `-.-' `-.
112
+ ; ` `.
113
+ :. . \
114
+ . \ . : .-' .
115
+ ' `+.; ; ' :
116
+ : ' | ; ;-.
117
+ ; ' : :`-: _.`* ;
118
+ .*' / .*' ; .*`- +' `*'
119
+ `*-* `*-* `*-*'
120
+ HERE KITTY KITTY
121
+ end
122
+
123
+ def proud_kitty
124
+ proud_kitty = <<-'HERE KITTY KITTY'
125
+ ;\
126
+ _' \_
127
+ ,' ' '`.
128
+ ;,) \
129
+ / :
130
+ (_ :
131
+ `--. \
132
+ / `.
133
+ ; `.
134
+ / `.
135
+ : `.
136
+ : \
137
+ \\ \
138
+ :: :
139
+ || | |
140
+ || |`._ ;
141
+ _;; ; __`._, (________
142
+ ((__/(_____(______,'______(___)
143
+ HERE KITTY KITTY
144
+ end
145
+
146
+ def all_kittys
147
+ [night_kitty, pounce_kitty, face_kitty, sleep_kitty, chub_kitty, curious_kitty, proud_kitty]
148
+ end
149
+
150
+ def random_kitty
151
+ print all_kittys[rand(all_kittys.length)]
152
+ end
153
+ end
154
+
155
+ kitty = Kitty.new
156
+ kitty.random_kitty
157
+
data/kitty.gemspec ADDED
@@ -0,0 +1,18 @@
1
+ require 'rubygems'
2
+
3
+ SPEC = Gem::Specification.new do |s|
4
+ s.name = "kitty"
5
+ s.version = "0.0.1"
6
+ s.author = "Bryan Woods"
7
+ s.email = "bryanwoods4e@gmail.com"
8
+ s.platform = Gem::Platform::RUBY
9
+ s.description = "Kittens!"
10
+ s.summary = "Having a bad day? Install and run `kitty` to print some kittens."
11
+ s.rubyforge_project = "kitty"
12
+ s.homepage = "http://github.com/bryanwoods/kitty"
13
+ s.files = Dir.glob("**/*")
14
+ s.executables << "kitty"
15
+ s.require_path = "bin"
16
+ s.has_rdoc = false
17
+ end
18
+
Binary file
metadata ADDED
@@ -0,0 +1,64 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: kitty
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Bryan Woods
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-06-21 00:00:00 -04:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: Kittens!
22
+ email: bryanwoods4e@gmail.com
23
+ executables:
24
+ - kitty
25
+ extensions: []
26
+
27
+ extra_rdoc_files: []
28
+
29
+ files:
30
+ - bin/kitty
31
+ - kitty.gemspec
32
+ - pkg/kitty-0.0.1.gem
33
+ has_rdoc: true
34
+ homepage: http://github.com/bryanwoods/kitty
35
+ licenses: []
36
+
37
+ post_install_message:
38
+ rdoc_options: []
39
+
40
+ require_paths:
41
+ - bin
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ segments:
47
+ - 0
48
+ version: "0"
49
+ required_rubygems_version: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ segments:
54
+ - 0
55
+ version: "0"
56
+ requirements: []
57
+
58
+ rubyforge_project: kitty
59
+ rubygems_version: 1.3.6
60
+ signing_key:
61
+ specification_version: 3
62
+ summary: Having a bad day? Install and run `kitty` to print some kittens.
63
+ test_files: []
64
+