lita-giphy 1.0.0 → 1.0.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: 560b4c0ee6ee239e1d15c4a601af895767cb1ba4
4
- data.tar.gz: c2dfeebc218b2c83fe44b118b3bd6f7a4332c2d4
3
+ metadata.gz: ca91f13646615c843504240c79c10449700ef453
4
+ data.tar.gz: 10515c2901da5f8e59c5b7c712df2d4b4b1a0bd2
5
5
  SHA512:
6
- metadata.gz: 9df174eb71d11cc395cc201578750b5d094b24bb907a72b00186fab0884858352cc37ad10db698eb2cf4192b825d4e2ad764619a3a8e4d714fe1598ee12f19d0
7
- data.tar.gz: cd0eccfb31408873acb8b44c7292e9c83e8f9235c7867cbf46bbcb9e9e9f190b3791c2e8d4719de502ee72a195f01d79eb8fbb9801c567fab1495b1d20fc2186
6
+ metadata.gz: 372fe2b01a12837fcfefc14f8d2f012bbb61833f0f9fab0492ec29ac5f92182414ff453f456435fffa6ba01a9f09f9b8b668852ba8a11a7b88703ed7187d5b51
7
+ data.tar.gz: b6710ad411e3c3dae908591c6be4da3e832b6880f3e4e46a4947c24d2e711a5a321f3e938d22fbb2611bc6dbee312cf0e71b5ed937b2e17bc98c5c575b541717
@@ -4,7 +4,7 @@ module Lita
4
4
  class Giphy < Handler
5
5
  URL = "http://api.giphy.com/v1/gifs/search"
6
6
 
7
- route(/(?:giphy)(?:\s+me)?\s+(.+)/i, :giphy, command: true, help: {
7
+ route(/(?:giphy|gif|animate)(?:\s+me)?\s+(.+)/i, :giphy, command: true, help: {
8
8
  "giphy QUERY" => "Grabs a gif tagged with QUERY."
9
9
  })
10
10
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-giphy"
3
- spec.version = "1.0.0"
3
+ spec.version = "1.0.1"
4
4
  spec.authors = ["Jordan Killpack"]
5
5
  spec.email = ["jordan.killpack@gatech.edu"]
6
6
  spec.description = %q{Giphy gif search handler for Lita}
@@ -2,6 +2,8 @@ require 'spec_helper'
2
2
 
3
3
  describe Lita::Handlers::Giphy, lita_handler: true do
4
4
  it { routes_command("giphy swanson dance").to :giphy }
5
+ it { routes_command("gif swanson dance").to :giphy }
6
+ it { routes_command("animate swanson dance").to :giphy }
5
7
 
6
8
  it "sets the Giphy API key to nil by default" do
7
9
  expect(Lita.config.handlers.giphy.api_key).to be_nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-giphy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Killpack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-24 00:00:00.000000000 Z
11
+ date: 2013-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita