lita-pebbles 0.1.8 → 0.1.9
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 +7 -1
- data/lib/lita/pebbles/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 427a590e7e7afb23eb75b721b8262fb2ad292b97
|
4
|
+
data.tar.gz: 796af6eb84f969fba6633b85c795f76012d4556c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f58b35f48495bfcf5cb2abd7d4337bac7410bf1042fd46888efee42882898ce8921d4c4adf1f66cf015d31656029cd677cea948cae0e9bb3c05cc535d638b06
|
7
|
+
data.tar.gz: a5d638d09ad4837d257703cbbd5c68a37c5b3844239b499654a77e821406715901e3639effc682d6a20cbded1604cb35a6785476435a1cd96c3e2215172d77c3
|
@@ -47,12 +47,18 @@ module Lita
|
|
47
47
|
response.reply_without_mention "ホクホク"
|
48
48
|
end
|
49
49
|
|
50
|
-
route /\( ?˘ω˘\)\"?/, :suya, command: false
|
50
|
+
route /\( ?˘ω˘\)\"?/, :suya, command: false
|
51
51
|
def suya(response)
|
52
52
|
return if rand(3) == 0
|
53
53
|
response.reply response.matches[0]
|
54
54
|
end
|
55
55
|
|
56
|
+
route /(?:=͟͟͞͞ )?"?\(\\{1,2}\( ⁰⊖⁰\)\/\)"?/, :bird, command: false
|
57
|
+
def bird(response)
|
58
|
+
return if rand(3) == 0
|
59
|
+
response.reply response.matches[0]
|
60
|
+
end
|
61
|
+
|
56
62
|
route /^tori\s+(\S.*)+/, :tori, command: false,
|
57
63
|
help: { "tori [message]" => "( ⁰⊖⁰)/)[ message ]/)" }
|
58
64
|
def tori(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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -158,3 +158,4 @@ signing_key:
|
|
158
158
|
specification_version: 4
|
159
159
|
summary: A Lita handlers for fun :)
|
160
160
|
test_files: []
|
161
|
+
has_rdoc:
|