lita-pebbles 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/pebbles.rb +6 -0
- data/lib/lita/pebbles/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d93d4acd6c7cc489bdbedefff0493e0d989221bf
|
4
|
+
data.tar.gz: ad34e52f8521a11146c7d7dbb2e799043f16d2f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a62f875d9c23a2549b36e58339b0f2aa2b0cc73172ba7e9805d6612a97ae1f68e9a6c52e2f476b4c92bcb5b9c13a2bbcf963bd950a83d653f4c19c0e8a3d3663
|
7
|
+
data.tar.gz: f915bf1e16ae896b96423a06401a5fb33ee16158a2d8816c26074f37b2c0f14dde326a41aca86f17a7c984297b9e65b0250ea488ecdd459233351ab835ca339f
|
@@ -11,6 +11,12 @@ module Lita
|
|
11
11
|
response.reply_without_mention word.to_suddenly_death
|
12
12
|
end
|
13
13
|
|
14
|
+
route /^ghost\s+(\S.*)+/, :ghost, command: false
|
15
|
+
def ghost(response)
|
16
|
+
word = response.matches[0][0]
|
17
|
+
response.reply_without_mention word
|
18
|
+
end
|
19
|
+
|
14
20
|
route /^flip\s(.*)$/, :flip, command: false,
|
15
21
|
help: { "flip [message]" => "əɓɐssəɯ" }
|
16
22
|
def flip(response)
|
data/lib/lita/pebbles/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-pebbles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|