Skip to content

Commit

Permalink
Making translate the primary.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Jul 5, 2017
1 parent 57a4570 commit e27890d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/lita/handlers/onewheel_giphy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ class OnewheelGiphy < Handler
command: true,
help: {'giphy' => 'Returns a random Giphy image. Powered by Giphy! http://giphy.com'}
route /^giphy\s+(.+)$/,
:search,
:translate,
# :search,
command: true,
help: {'giphy [keyword]' => 'Returns a random Giphy image with the specified keyword applied.'}
route /^giphytrending$/,
Expand Down
4 changes: 2 additions & 2 deletions lita-onewheel-giphy.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-giphy'
spec.version = '0.3.2'
spec.version = '0.4.0'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = 'Lita chat interface to giphy api for MOAR GIFS'
Expand All @@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_runtime_dependency 'lita', '~> 4.7'
spec.add_runtime_dependency 'lita', '~> 4'
spec.add_runtime_dependency 'rest-client', '~> 1.6'

spec.add_development_dependency 'bundler', '~> 1.3'
Expand Down

0 comments on commit e27890d

Please sign in to comment.