lita-pebbles 0.1.2 → 0.1.3

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: 3e23053fb9a7d98532865a0b4144e3b4f6f8771c
4
- data.tar.gz: 547100cdf395289238418f347cbc45ed73798a00
3
+ metadata.gz: d93d4acd6c7cc489bdbedefff0493e0d989221bf
4
+ data.tar.gz: ad34e52f8521a11146c7d7dbb2e799043f16d2f6
5
5
  SHA512:
6
- metadata.gz: 1ffc75de8ef9352f6335cb0281918233b52fdc8886bf4cbe566fc8cf5b190d4149da9cf870e6754b64b1d4cf8175cda69c4112958cfb5a47120309f7b86d3e97
7
- data.tar.gz: 0177bbfd8d41d6e4f48e7d82da164a07dd90330f5d79b077b61716ba251f5ec3f7d1021252aff81fd38ce71fa37af303c7a4e1917acd975768a5d963f8aef1a2
6
+ metadata.gz: a62f875d9c23a2549b36e58339b0f2aa2b0cc73172ba7e9805d6612a97ae1f68e9a6c52e2f476b4c92bcb5b9c13a2bbcf963bd950a83d653f4c19c0e8a3d3663
7
+ data.tar.gz: f915bf1e16ae896b96423a06401a5fb33ee16158a2d8816c26074f37b2c0f14dde326a41aca86f17a7c984297b9e65b0250ea488ecdd459233351ab835ca339f
@@ -11,6 +11,12 @@ module Lita
11
11
  response.reply_without_mention word.to_suddenly_death
12
12
  end
13
13
 
14
+ route /^ghost\s+(\S.*)+/, :ghost, command: false
15
+ def ghost(response)
16
+ word = response.matches[0][0]
17
+ response.reply_without_mention word
18
+ end
19
+
14
20
  route /^flip\s(.*)$/, :flip, command: false,
15
21
  help: { "flip [message]" => "əɓɐssəɯ" }
16
22
  def flip(response)
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Pebbles
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
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.2
4
+ version: 0.1.3
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-07 00:00:00.000000000 Z
11
+ date: 2014-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita