lita-poop 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 34d563a53bce90ad30284fe9a21a0e7eaa74b618
4
+ data.tar.gz: 3e82a2bb9496d05688428d67f847d0403b947a3f
5
+ SHA512:
6
+ metadata.gz: 3a46a9dcc0cc0404d2d45fea6dee9f240cbbe00cd0fe6125ba7320fb5ed4852e2912a8f68d18e10ec0898ada997a060a6ab59eb5dda8728db4c16ba033dcbcf2
7
+ data.tar.gz: cf4a56738f2927f213fe334113dcd8bcc284ddb1f61bf599afe737c5221e9c98cf27a038a67903c04275346667f39856600b3ee17ee495da5b6e9581f187c1de
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
@@ -0,0 +1 @@
1
+ 2.0.0
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ script: bundle exec rspec
5
+ before_install:
6
+ - gem update --system
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2013 Mitch Dempsey
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # lita-poop
2
+
3
+ [![Build Status](https://travis-ci.org/webdestroya/lita-poop.png)](https://travis-ci.org/webdestroya/lita-poop)
4
+ [![Code Climate](https://codeclimate.com/github/webdestroya/lita-poop.png)](https://codeclimate.com/github/webdestroya/lita-poop)
5
+ [![Coverage Status](https://coveralls.io/repos/webdestroya/lita-poop/badge.png)](https://coveralls.io/r/webdestroya/lita-poop)
6
+
7
+ **lita-poop** is a handler for [Lita](https://github.com/jimmycuadra/lita) that provides a random euphemism for going #2.
8
+
9
+ ## Installation
10
+
11
+ Add lita-poop to your Lita instance's Gemfile:
12
+
13
+ ``` ruby
14
+ gem "lita-poop"
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ Lita: poop
20
+
21
+ ## License
22
+
23
+ [MIT](http://opensource.org/licenses/MIT)
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1 @@
1
+ require "lita/handlers/poop"
@@ -0,0 +1,314 @@
1
+ require "lita"
2
+
3
+ module Lita
4
+ module Handlers
5
+ class Poop < Handler
6
+
7
+ RESPONSES = [
8
+ "Anal puking",
9
+ "Analyzing a log dump",
10
+ "Answering the call of the wild",
11
+ "Auditing your ASSets",
12
+ "Backing the trailer in",
13
+ "Baking a hot icicle",
14
+ "Baking a loaf",
15
+ "Baking a potato",
16
+ "Baking a russet",
17
+ "Baking some brownies",
18
+ "Barbarians at the gate",
19
+ "Becoming one with the animal kingdom",
20
+ "Being anal-nonretentive",
21
+ "Big brown man knocking on the back door",
22
+ "Birthing a turd",
23
+ "Blowing mud",
24
+ "Blowing a butt plug",
25
+ "Blowing the butt trumpet",
26
+ "Boarding the bus to Strong Anus City",
27
+ "Bombing the bowl",
28
+ "Bombing Hiroshima",
29
+ "Bombing the Oval Office",
30
+ "Bombing the Tidy Bowl Man",
31
+ "Building a bench",
32
+ "Building a dookie castle",
33
+ "Building a Gomer Pyle (gawwwwleeee, Sarge!)",
34
+ "Building a home for a dung beetle",
35
+ "Bunghole train has left the station",
36
+ "Burying an elf",
37
+ "Carpet bombing",
38
+ "Catching up on some reading",
39
+ "Chalking the bowl",
40
+ "Choking a brownie",
41
+ "Choking a darkie",
42
+ "Chopping a log",
43
+ "Christening a boat",
44
+ "Cleaning the tuba",
45
+ "Coiling a steamer",
46
+ "Committing yourself to the dumpatorium",
47
+ "Communing with nature",
48
+ "Conducting a movement",
49
+ "Consulting your ASStrological chart",
50
+ "Contaminating the dog dish",
51
+ "Cooking a brown carrot",
52
+ "Cooking a brown kielbasa",
53
+ "Cooking a butt burrito",
54
+ "Cooking some chocolate",
55
+ "Cooking some fudge",
56
+ "Cooking some sausage",
57
+ "Cooking up a pot of anal stew",
58
+ "Coronating Gluteus Maximus III",
59
+ "Crap",
60
+ "Crimping off a length",
61
+ "Creating an ex-wife/ex-husband",
62
+ "Crunching one",
63
+ "Curling some pipe",
64
+ "Cutting some rope",
65
+ "Dancing with Duece Bigalog",
66
+ "Debulking",
67
+ "Defecate",
68
+ "Delivering a wild pitch",
69
+ "Dirty birth",
70
+ "Dirty deeds, done dirt cheap",
71
+ "Disembowel",
72
+ "Disemfibering",
73
+ "Disposing of some hazardous waste",
74
+ "Doing the loose poops dance",
75
+ "Doing the Royal Squat",
76
+ "Doing your paperwork",
77
+ "Doo-doo",
78
+ "Dookin it out",
79
+ "Downloading some brownware",
80
+ "Drawing mud",
81
+ "Drilling for mud bunnies",
82
+ "Dropping a bomb",
83
+ "Dropping a brown trout",
84
+ "Dropping a chocolate cobra",
85
+ "Dropping a deuce",
86
+ "Dropping a dookie",
87
+ "Dropping a load",
88
+ "Dropping a log",
89
+ "Dropping a scone",
90
+ "Dropping a spike",
91
+ "Dropping a stool",
92
+ "Dropping anchor",
93
+ "Dropping loggy log",
94
+ "Dropping the chalupa",
95
+ "Dropping the kids off at the pool/lake",
96
+ "Dropping trou",
97
+ "Dropping wolf bait",
98
+ "Dropping your ordinance",
99
+ "Drowning the kittens",
100
+ "Dump",
101
+ "Dumping a load",
102
+ "Dumping an organic depth charge",
103
+ "Dumping a stump",
104
+ "Emptying your anus",
105
+ "Enjoying a meatball sandwich",
106
+ "Evacuate",
107
+ "Exploring the watery cave",
108
+ "Exporting a cigar to Cuba",
109
+ "Feeding the fish",
110
+ "Feeding the pets",
111
+ "Feeding the refugees",
112
+ "Feeding your toilet",
113
+ "Fighting the rat",
114
+ "Filling the peanut butter jar",
115
+ "Firing the cannon",
116
+ "Flexing your cheeks",
117
+ "Flagging down the anus vendor",
118
+ "Floating a boat",
119
+ "Floating a trout",
120
+ "Floating one for the Gipper",
121
+ "Flossing",
122
+ "Flushing feces",
123
+ "Forcing the duck to quack",
124
+ "Foraging for dungleberries",
125
+ "Full moon over troubled waters",
126
+ "Getting down and dirty",
127
+ "Getting into deep doo-doo",
128
+ "Giving a dirty birth",
129
+ "Giving a Monkey a burial at sea",
130
+ "Giving birth to a Monkey",
131
+ "Giving the hemmies some breathing room",
132
+ "Giving the neighbors some food for thought",
133
+ "Goin' fecen",
134
+ "Going caca",
135
+ "Going into labor",
136
+ "Greeting Mr. Hankey (South Park kicks ass!)",
137
+ "Grinding the beef",
138
+ "Growing a tail",
139
+ "Hanging a grogan",
140
+ "Hatching a new boss",
141
+ "Having a shit",
142
+ "Heaving a Havana",
143
+ "Helping the groundhog find his shadow",
144
+ "Hitting a double",
145
+ "Hitting pay dirt",
146
+ "Honking out a dirt snake",
147
+ "Hound doggin'",
148
+ "Hurling a turd",
149
+ "Igniting a rectal rocket",
150
+ "Inspecting the facilities",
151
+ "Introducing the toilet to the bald man with the cigar",
152
+ "Jettisoning the alien",
153
+ "Killing the bathroom",
154
+ "Killing the shitter",
155
+ "Launching a butt shuttle",
156
+ "Launching a corn canoe",
157
+ "Launching a scud",
158
+ "Launching a torpedo",
159
+ "Laying a brick",
160
+ "Laying a log",
161
+ "Laying some brown carpet",
162
+ "Laying some cable",
163
+ "Laying some pipe",
164
+ "Let my people go",
165
+ "Letting off a corn rocket",
166
+ "Letting the dog out",
167
+ "Loading the crapper",
168
+ "Log jam",
169
+ "Logging out",
170
+ "Losing some weight the quick way",
171
+ "Making a Baby Ruth",
172
+ "Making a core dump",
173
+ "Making a delivery",
174
+ "Making a deposit at the porcelain bank",
175
+ "Making a doo-doo",
176
+ "Making a grunt sculpture",
177
+ "Making a log entry",
178
+ "Making a Minnesota hand warmer",
179
+ "Making modern art",
180
+ "Making mud",
181
+ "Making room for lunch",
182
+ "Making some butt gravy",
183
+ "Making some fertilizer",
184
+ "Making some haggis",
185
+ "Making some trouser chili",
186
+ "Manufacturing a three-coil steamer",
187
+ "Meditating",
188
+ "Measuring the depths of the water below",
189
+ "Microwaving a dachsund",
190
+ "Mooning the Tidy Bowl Man",
191
+ "Morning smile",
192
+ "Negotiating the release of the chocolate hostages",
193
+ "Offloading some freight",
194
+ "Packing your underwear",
195
+ "Painting with the brown stuff",
196
+ "Painting the bowl",
197
+ "Parking your breakfast",
198
+ "Parking some bark",
199
+ "Passing a load of coal down the chute",
200
+ "Passing the baton",
201
+ "Paving the Hershey highway",
202
+ "Paying the plumber",
203
+ "Peeling the wallpaper",
204
+ "Pinching a chimp",
205
+ "Pinching a crusty roll",
206
+ "Pinching a loaf",
207
+ "Planting a steaming bouquet of brown roses",
208
+ "Pinching the head off a Pikey",
209
+ "Pissing rusty water out of your ass",
210
+ "Planting some corn",
211
+ "Playing at the toilet bowl",
212
+ "Playing a small percussion instrument",
213
+ "Playing craps",
214
+ "Playing with Winnie the Poo",
215
+ "Plop",
216
+ "Poking the turtle's head out",
217
+ "Polluting the pond",
218
+ "Pooping",
219
+ "Popping some corn",
220
+ "Praying to Buddha",
221
+ "Punching a grumpy",
222
+ "Punishing the porcelain",
223
+ "Putting fruit in the bowl",
224
+ "Quaking the porcelain",
225
+ "Quickening the cleansing",
226
+ "Recycling corn/fiber",
227
+ "Releasing the demons",
228
+ "Releasing the hounds",
229
+ "Releasing your payload",
230
+ "Removing a butt tampon",
231
+ "Reversing a Ho-Ho",
232
+ "Riding the ceramic carthorse",
233
+ "Riding the hoop",
234
+ "Ringing the church bells (Dung! Dung!)",
235
+ "Rocking your rectum",
236
+ "Ripping a duece",
237
+ "Rolling a nut log",
238
+ "Sandblasting the toilet",
239
+ "Sawing off a log",
240
+ "Scaring up a tater",
241
+ "Seeking revenge for the Brown Bomber",
242
+ "Sending a message to the White House",
243
+ "Sending Fidel a love letter",
244
+ "Shaking your booty",
245
+ "Shit",
246
+ "Shooting the Hershey squirts",
247
+ "Singing with Michael Bolton",
248
+ "Sinking the Bismark",
249
+ "Sinking a link",
250
+ "Sitting on the bowl",
251
+ "Sitting on the can",
252
+ "Sitting on the throne",
253
+ "Slapping the pod",
254
+ "Snapping a log",
255
+ "Snapping a yambo",
256
+ "Solid fart",
257
+ "Sphincter snot",
258
+ "Sphincter spew",
259
+ "Sphincter spurt",
260
+ "Spray and wipe",
261
+ "Squat and clench",
262
+ "Squeezing a coily",
263
+ "Squeezing a loaf",
264
+ "Squeezing off a few rounds",
265
+ "Squeezing one out",
266
+ "Squeezing out those last few calories",
267
+ "Squeezing the butt mustard",
268
+ "Squeezing the cheese",
269
+ "Squirting dirt",
270
+ "Staining the porcelain",
271
+ "Stocking the pond with brown trout",
272
+ "Stretching the sphincter muscle",
273
+ "Studying at the library",
274
+ "Tainting the cloth",
275
+ "Taking a doogie",
276
+ "Taking a dump",
277
+ "Taking a Donald dump",
278
+ "Taking a growler",
279
+ "Taking a load off your mind",
280
+ "Taking an SS Capolongo",
281
+ "Taking a shit",
282
+ "Taking a steamer",
283
+ "Taking the Browns to the Super Bowl",
284
+ "Taking the kids to the waterslide",
285
+ "Testing the plumbing",
286
+ "Torqueing a moon-fish",
287
+ "Touching cloth",
288
+ "Training a Monkey to jump through the hoop",
289
+ "Turning the wienermobile into a submarine",
290
+ "Unleashing the holy leviathan",
291
+ "Updating the Captain's log",
292
+ "Vacating the premises",
293
+ "Visiting the toilet for a poo-poo",
294
+ "Voiding your bowels",
295
+ "Watching a dolphin splash",
296
+ "Weasel nosing",
297
+ "Wrestling a brown corn-belly snake",
298
+ "Xeroxing a copy of the bad stuff",
299
+ "Yanking the worm out of the hole",
300
+ "Yodeling in the canyon",
301
+ "Zapping the porcelain"
302
+ ]
303
+
304
+ route %r{poop}i, :poop, command: true, help: { "poop" => "Responds with a random pooping euphemism." }
305
+
306
+ def poop(response)
307
+ response.reply "brb - #{RESPONSES.shuffle.first}"
308
+ end
309
+
310
+ end
311
+
312
+ Lita.register_handler(Poop)
313
+ end
314
+ end
@@ -0,0 +1,23 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = "lita-poop"
3
+ spec.version = "1.0.0"
4
+ spec.authors = ["Mitch Dempsey"]
5
+ spec.email = ["mitch@mitchdempsey.com"]
6
+ spec.description = %q{A Lita handler pooping euphemisms.}
7
+ spec.summary = %q{A Lita handler pooping euphemisms.}
8
+ spec.homepage = "https://github.com/webdestroya/lita-poop"
9
+ spec.license = "MIT"
10
+
11
+ spec.files = `git ls-files`.split($/)
12
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
13
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
14
+ spec.require_paths = ["lib"]
15
+
16
+ spec.add_runtime_dependency "lita", "~> 2.0"
17
+
18
+ spec.add_development_dependency "bundler", "~> 1.3"
19
+ spec.add_development_dependency "rake"
20
+ spec.add_development_dependency "rspec", "~> 2.14"
21
+ spec.add_development_dependency "simplecov"
22
+ spec.add_development_dependency "coveralls"
23
+ end
@@ -0,0 +1,6 @@
1
+ require "spec_helper"
2
+
3
+ describe Lita::Handlers::Poop, lita_handler: true do
4
+ it { routes_command("poop").to(:poop) }
5
+
6
+ end
@@ -0,0 +1,10 @@
1
+ require "simplecov"
2
+ require "coveralls"
3
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
4
+ SimpleCov::Formatter::HTMLFormatter,
5
+ Coveralls::SimpleCov::Formatter
6
+ ]
7
+ SimpleCov.start { add_filter "/spec/" }
8
+
9
+ require "lita-poop"
10
+ require "lita/rspec"
metadata ADDED
@@ -0,0 +1,142 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: lita-poop
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Mitch Dempsey
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-08-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: lita
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.14'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '2.14'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: coveralls
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: A Lita handler pooping euphemisms.
98
+ email:
99
+ - mitch@mitchdempsey.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - .gitignore
105
+ - .ruby-version
106
+ - .travis.yml
107
+ - Gemfile
108
+ - LICENSE
109
+ - README.md
110
+ - Rakefile
111
+ - lib/lita-poop.rb
112
+ - lib/lita/handlers/poop.rb
113
+ - lita-poop.gemspec
114
+ - spec/lita/handlers/poop_spec.rb
115
+ - spec/spec_helper.rb
116
+ homepage: https://github.com/webdestroya/lita-poop
117
+ licenses:
118
+ - MIT
119
+ metadata: {}
120
+ post_install_message:
121
+ rdoc_options: []
122
+ require_paths:
123
+ - lib
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - '>='
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubyforge_project:
136
+ rubygems_version: 2.0.7
137
+ signing_key:
138
+ specification_version: 4
139
+ summary: A Lita handler pooping euphemisms.
140
+ test_files:
141
+ - spec/lita/handlers/poop_spec.rb
142
+ - spec/spec_helper.rb