lita-baby_elephant 0.0.3 → 0.0.4

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: b05e592404b02688957bf43a5f265044f7de30ab
4
- data.tar.gz: cba0815556177e8317daa88cc529195db504cbf3
3
+ metadata.gz: 7cf85d8cb9d3d958fa448307aa5021ceb0696695
4
+ data.tar.gz: f29116eaa7a24328fc3b68289fa5bb3248e16f37
5
5
  SHA512:
6
- metadata.gz: 486cc7f368c0a9331b97455eb8a15313d11facb263bfbcae38ae6c2de152c11eba422023db674a62d73823a16ca1174249879d2ff39be19cc665547b20989a8d
7
- data.tar.gz: 2ddd773345c78b5bafb2c8163bb80185e39b1389cd8f716946a07a7fed22b46e7d6ce452e6257fabaa29970958cc276ac498ffa12d7dcc6310bbf819e318486b
6
+ metadata.gz: 704be39d0f230554e52cbcee693215e400724fb99cb81f9604780969ae9b6060aa512d28735cb7e2209f07155bcb5ab8203cb0833971b2ae83e486ce154006c5
7
+ data.tar.gz: 88168efc62d19d6a748faa9c0580a39d934f64b6450fbcea6ed63da42f71c2fbc7e59543889095754988a342b5e3b79ae848cde629eef20cd42f0e137d2f280d
@@ -1,7 +1,7 @@
1
1
  module Lita
2
2
  module Handlers
3
3
  class BabyElephant < Handler
4
- route /\bb(aby)? e(lephant)?( me)?\b/i, :baby_elephant
4
+ route /\bbaby? ?e(lephant)?s?( me)?\b/i, :baby_elephant
5
5
 
6
6
  def baby_elephant response
7
7
  ele = ReadIt.sub('babyelephants').recent.select(&:image?).sample
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-baby_elephant"
3
- spec.version = "0.0.3"
3
+ spec.version = "0.0.4"
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'}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-baby_elephant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Zaninovich