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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0801b13ac55568d57ea5a3ef862b7f8906a6b368
4
- data.tar.gz: f1c14a12f2b1edb4f96e2dd6f91361c9724dae19
3
+ metadata.gz: 82726cc7fe703c5db20738af916c2733c6d77a33
4
+ data.tar.gz: 0d8390b490c6bf267645a520e6a479604d298131
5
5
  SHA512:
6
- metadata.gz: 8cd4ad33abc3becf4af8a6ccf369b0d72ff926e3bc283cbc5e4b1415948714dd20ce7d6c2ae3ec97d5f8374fb567cb3fdbff835917260c2e64fdea32736a590c
7
- data.tar.gz: 4b5795c0fb333a519ff9437cfcf51971213ebd58e30f1425c20eeaabd126464605e86f447a0b47321f012b9b378a644c4bc33b837828f3998207aa7e42a38b0d
6
+ metadata.gz: a150bf82c7134f582d3b23b47ac4805314018c763fd69e92917d170aa15da88ac2f493c3f8fab9076553824b9b8ea6cdc1ea8d4b031877f3ae176ad311372493
7
+ data.tar.gz: a0b0687949c97bb3aebbdcc79f56c3922fd46978de6a9ed71b9e907564a78509ac8cbef434543c949a303dbb0ca8a35d2f5f4339999dc8fbdfc1cf3c1d73a3dd
@@ -6,19 +6,19 @@ module Lita
6
6
  route /(.+)やな(?:?|\?)*?$/, :seyana, command: false
7
7
 
8
8
  def seyaroka(response)
9
- return if rand(2) == 0
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(2) == 0
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(2) == 0
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(2) == 0
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(2) == 0
52
+ return if rand(3) == 0
53
53
  response.reply response.matches[0]
54
54
  end
55
55
 
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Pebbles
3
- VERSION = "0.1.7"
3
+ VERSION = "0.1.8"
4
4
  end
5
5
  end
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.7
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-06-17 00:00:00.000000000 Z
11
+ date: 2014-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita