lita-pebbles 0.1.5 → 0.1.6

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: e8a45c9c18730a81b596e8f2aeb272fa31af03ec
4
- data.tar.gz: 23f1a1d8a3933e7c35c822445e535b9c7c5da0e7
3
+ metadata.gz: f7574b87f1d7376e458263453ef0c3643e7c6515
4
+ data.tar.gz: b32e1521a4ce05ce3d9eef439f3aa3b5f1f79210
5
5
  SHA512:
6
- metadata.gz: 5d29d8a7b898d55446380b324dfdeaff59bd053043e59d9d524f57266cdead29ec94120e5543cb127ebc0ec1af8e77de5d3a068178dfe4afd51ca2e25b1ee758
7
- data.tar.gz: 7cb584f50fcfe73b43270f5fa468b103ac8bcecab2e42209f5aec8dd817cac26719357bfc8e4c6201a000230481127572a641b9ed2afbd4bc2aba181eb923583
6
+ metadata.gz: 1a3b4038f58a5a5a67f16ede27f918809fd206159a38369ca30c416ec2ae7b3932aa09f8ab12ab093a582219f86201b695d8348b438ae0f83a459fa8d8cf80e9
7
+ data.tar.gz: a07b071b73147ff5a5e82f9d295ab66d62fcecfa6b771d44cf32a5723e60e04c365806fefd4bab272bc60673a922e20ec0b7d5fcfde6a227510ebaab37709d91
@@ -52,6 +52,14 @@ module Lita
52
52
  return if rand(2) == 0
53
53
  response.reply response.matches[0]
54
54
  end
55
+
56
+ route /^tori\s+(\S.*)+/, :tori, command: false,
57
+ help: { "tori [message]" => "( ⁰⊖⁰)/)[ message ]/)" }
58
+ def tori(response)
59
+ word = response.matches[0][0]
60
+ response.reply_without_mention "( ⁰⊖⁰)/)[ #{word} ]/)"
61
+ end
62
+
55
63
  end
56
64
  Lita.register_handler(Pebbles)
57
65
  end
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Pebbles
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
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-22 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita