lita-pebbles 0.1.6 → 0.1.7
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: 0801b13ac55568d57ea5a3ef862b7f8906a6b368
|
4
|
+
data.tar.gz: f1c14a12f2b1edb4f96e2dd6f91361c9724dae19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd4ad33abc3becf4af8a6ccf369b0d72ff926e3bc283cbc5e4b1415948714dd20ce7d6c2ae3ec97d5f8374fb567cb3fdbff835917260c2e64fdea32736a590c
|
7
|
+
data.tar.gz: 4b5795c0fb333a519ff9437cfcf51971213ebd58e30f1425c20eeaabd126464605e86f447a0b47321f012b9b378a644c4bc33b837828f3998207aa7e42a38b0d
|
@@ -60,6 +60,12 @@ module Lita
|
|
60
60
|
response.reply_without_mention "( ⁰⊖⁰)/)[ #{word} ]/)"
|
61
61
|
end
|
62
62
|
|
63
|
+
route /(やぁ|やあ|ヤア|ヤァ)(!|!)?/, :yah_yah, command: true
|
64
|
+
def yah_yah(response)
|
65
|
+
yah = response.matches[0]
|
66
|
+
response.reply "#{yah[0]}#{yah[1]}" * (response.matches.length + 1)
|
67
|
+
end
|
68
|
+
|
63
69
|
end
|
64
70
|
Lita.register_handler(Pebbles)
|
65
71
|
end
|
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.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|