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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87bf989426f15b16c3d57062f3739d84da6a7655
4
- data.tar.gz: a9bd4f871b05bf5920f3ba62acee82caf6f2d103
3
+ metadata.gz: f73a73d317b9a19ed4bae037f6f9bed150c4d25e
4
+ data.tar.gz: 1a75bdc7569247459a1056f042fa8eb7b2431012
5
5
  SHA512:
6
- metadata.gz: 6c9f59dd5391fd1dc88afe7731a69f86ca479be4830985cb3b16ee400f678cc24981102671f75d331e12d44cd69305c043f52b3ecbda002d21938f874ce24805
7
- data.tar.gz: d9daed5ab853d4a9c3118946c6917f838c272ac6907b4187c05b9be99ed8b383f6e6183a7c38116d7e3bd8e5c1b1edff00da9c0621d297dec7ec44eae25c84c8
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]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-giphy'
3
- spec.version = '0.2.0'
3
+ spec.version = '0.2.1'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'Lita chat interface to giphy api for MOAR GIFS'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-giphy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps