clarence 0.1987.0 → 1987.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/clarence.rb +1 -1
- data/lib/clarence/handle.rb +18 -0
- data/lib/clarence/version.rb +1 -1
- metadata +7 -8
data/lib/clarence.rb
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
require 'clarence/bitches'
|
|
2
|
+
|
|
3
|
+
class Clarence
|
|
4
|
+
def self.handle(quote)
|
|
5
|
+
case quote
|
|
6
|
+
when "H-hey, now wait a second"
|
|
7
|
+
sleep 1
|
|
8
|
+
when "Now wait a minute... you're taking this kind of personally, aren't you?"
|
|
9
|
+
sleep 60
|
|
10
|
+
when "I'll bet that really pisses you off."
|
|
11
|
+
handle("I'll bet that really pisses you off.")
|
|
12
|
+
when "Bye-bye baby.", "Sayonara, Robocop!"
|
|
13
|
+
Bitches.leave
|
|
14
|
+
when "Okay, fun's over."
|
|
15
|
+
Bitches.leave!
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/lib/clarence/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clarence
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15879
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
|
-
- 0
|
|
8
7
|
- 1987
|
|
9
8
|
- 0
|
|
10
|
-
|
|
9
|
+
- 0
|
|
10
|
+
version: 1987.0.0
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Dylan Egan
|
|
@@ -15,8 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-04-10 00:00:00 Z
|
|
20
19
|
dependencies: []
|
|
21
20
|
|
|
22
21
|
description: Come on now, man, you're making me nervous. Come on, you can't do this! Don't mess around! Hey! Hey! Hey, man, now don't get cute!
|
|
@@ -37,10 +36,10 @@ files:
|
|
|
37
36
|
- clarence.jpg
|
|
38
37
|
- lib/clarence.rb
|
|
39
38
|
- lib/clarence/bitches.rb
|
|
39
|
+
- lib/clarence/handle.rb
|
|
40
40
|
- lib/clarence/version.rb
|
|
41
41
|
- test/clarence_polite_test.rb
|
|
42
42
|
- test/clarence_test.rb
|
|
43
|
-
has_rdoc: true
|
|
44
43
|
homepage: https://github.com/dylanegan/clarence
|
|
45
44
|
licenses: []
|
|
46
45
|
|
|
@@ -70,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
70
69
|
requirements: []
|
|
71
70
|
|
|
72
71
|
rubyforge_project: clarence
|
|
73
|
-
rubygems_version: 1.
|
|
72
|
+
rubygems_version: 1.7.1
|
|
74
73
|
signing_key:
|
|
75
74
|
specification_version: 3
|
|
76
75
|
summary: Get some Clarence J. Boddicker in your Ruby.
|