lita-baby_elephant 0.0.2 → 0.0.3
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/baby_elephant.rb +1 -2
- data/lita-baby_elephant.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: b05e592404b02688957bf43a5f265044f7de30ab
|
4
|
+
data.tar.gz: cba0815556177e8317daa88cc529195db504cbf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 486cc7f368c0a9331b97455eb8a15313d11facb263bfbcae38ae6c2de152c11eba422023db674a62d73823a16ca1174249879d2ff39be19cc665547b20989a8d
|
7
|
+
data.tar.gz: 2ddd773345c78b5bafb2c8163bb80185e39b1389cd8f716946a07a7fed22b46e7d6ce452e6257fabaa29970958cc276ac498ffa12d7dcc6310bbf819e318486b
|
@@ -1,8 +1,7 @@
|
|
1
1
|
module Lita
|
2
2
|
module Handlers
|
3
3
|
class BabyElephant < Handler
|
4
|
-
route /\
|
5
|
-
route /\bb(aby)? e(lephant)?( me)?\b/i, :baby_elephant, command: true
|
4
|
+
route /\bb(aby)? e(lephant)?( me)?\b/i, :baby_elephant
|
6
5
|
|
7
6
|
def baby_elephant response
|
8
7
|
ele = ReadIt.sub('babyelephants').recent.select(&:image?).sample
|
data/lita-baby_elephant.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "lita-baby_elephant"
|
3
|
-
spec.version = "0.0.
|
3
|
+
spec.version = "0.0.3"
|
4
4
|
spec.authors = ["Adam Zaninovich"]
|
5
5
|
spec.email = ["adam.zaninovich@activenetwork.com"]
|
6
6
|
spec.description = %q{Get a baby elephant gif from /r/babyelephants'}
|