lita-pebbles 0.1.7 → 0.1.8
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/kansai.rb +3 -3
- data/lib/lita/handlers/pebbles.rb +2 -2
- 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: 82726cc7fe703c5db20738af916c2733c6d77a33
|
4
|
+
data.tar.gz: 0d8390b490c6bf267645a520e6a479604d298131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a150bf82c7134f582d3b23b47ac4805314018c763fd69e92917d170aa15da88ac2f493c3f8fab9076553824b9b8ea6cdc1ea8d4b031877f3ae176ad311372493
|
7
|
+
data.tar.gz: a0b0687949c97bb3aebbdcc79f56c3922fd46978de6a9ed71b9e907564a78509ac8cbef434543c949a303dbb0ca8a35d2f5f4339999dc8fbdfc1cf3c1d73a3dd
|
data/lib/lita/handlers/kansai.rb
CHANGED
@@ -6,19 +6,19 @@ module Lita
|
|
6
6
|
route /(.+)やな(?:?|\?)*?$/, :seyana, command: false
|
7
7
|
|
8
8
|
def seyaroka(response)
|
9
|
-
return if rand(
|
9
|
+
return if rand(5) == 0
|
10
10
|
message = ['せやで', 'せやな', 'せやせや', 'ちゃうんちゃう?', 'ちゃうで'].sample
|
11
11
|
response.reply message
|
12
12
|
end
|
13
13
|
|
14
14
|
def seyade(response)
|
15
|
-
return if rand(
|
15
|
+
return if rand(5) == 0
|
16
16
|
message = ['せやろか', 'せやな', 'せやせや'].sample
|
17
17
|
response.reply message
|
18
18
|
end
|
19
19
|
|
20
20
|
def seyana(response)
|
21
|
-
return if rand(
|
21
|
+
return if rand(5) == 0
|
22
22
|
message = ['せやろか', 'せやな', 'せやせや'].sample
|
23
23
|
response.reply message
|
24
24
|
end
|
@@ -25,7 +25,7 @@ module Lita
|
|
25
25
|
|
26
26
|
route /[^a-zA-Z0-9]((w|w)+)$/, :lol, command: false
|
27
27
|
def lol(response)
|
28
|
-
return if rand(
|
28
|
+
return if rand(3) == 0
|
29
29
|
response.reply response.matches[0][0]
|
30
30
|
end
|
31
31
|
|
@@ -49,7 +49,7 @@ module Lita
|
|
49
49
|
|
50
50
|
route /\( ?˘ω˘\)\"?/, :suya, command: false # " this comment is workaround for sublime text syntax highlighting
|
51
51
|
def suya(response)
|
52
|
-
return if rand(
|
52
|
+
return if rand(3) == 0
|
53
53
|
response.reply response.matches[0]
|
54
54
|
end
|
55
55
|
|
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.8
|
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-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|