lita-onewheel-giphy 0.2.0 → 0.2.1
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/onewheel_giphy.rb +3 -3
- data/lita-onewheel-giphy.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f73a73d317b9a19ed4bae037f6f9bed150c4d25e
|
4
|
+
data.tar.gz: 1a75bdc7569247459a1056f042fa8eb7b2431012
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17e3de504175991d616b6e46a775b82b63e55c93dc38bcaa1b43c5267c49e3b98282494d4460e75cea35b14cd1ff103cdeb1ab889e3b88ac49b5da20e2621c0d
|
7
|
+
data.tar.gz: 955c90c9c8eee1d9ce74216915ae1c3cf77ad0b9dcf619dc577e6b6ebddd00b1b33d90173c1afca6a0bb160de233b0e7868ed9513ad2508ccb58863e059ae3a7
|
@@ -8,9 +8,9 @@ module Lita
|
|
8
8
|
config :rating, default: nil
|
9
9
|
config :limit, default: 25
|
10
10
|
|
11
|
-
route /^giphy$/, :random, command: true
|
12
|
-
route /^giphy\s+(.*)$/, :search, command: true
|
13
|
-
route /^giphytrending$/, :trending, command: true
|
11
|
+
route /^giphy$/, :random, command: true, help: {'giphy' => 'Returns a random Giphy image. Powered by Giphy! http://giphy.com'}
|
12
|
+
route /^giphy\s+(.*)$/, :search, command: true, help: {'giphy [keyword]' => 'Returns a random Giphy image with the specified keyword applied.'}
|
13
|
+
route /^giphytrending$/, :trending, command: true, help: {'giphytranding' => 'Returns a trending Giphy image.'}
|
14
14
|
|
15
15
|
def search(response)
|
16
16
|
keywords = response.matches[0][0]
|
data/lita-onewheel-giphy.gemspec
CHANGED