Skip to content

Commit

Permalink
Quote never worked anyway.
Browse files Browse the repository at this point in the history
  • Loading branch information
onewheelskyward committed Jan 2, 2020
1 parent c619133 commit 6b713d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions lib/lita/handlers/onewheel_wolfram_alpha.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@ class OnewheelWolframAlpha < Handler
config :api_uri

route(/^alpha\s*(.*)/i, :handle_wolfram_query, command: true)
route(/^quote\s*(.*)/i, :handle_wolfram_quote, command: true)

def handle_wolfram_quote(response)
response.matches[0][0] = "quote #{response.matches[0][0]}"
handle_wolfram_query(response)
end

def handle_wolfram_query(response)
unless config.app_id and config.api_uri
Expand Down
2 changes: 1 addition & 1 deletion lita-onewheel-wolfram-alpha.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'lita-onewheel-wolfram-alpha'
spec.version = '0.4.1'
spec.version = '0.5.0'
spec.authors = ['Andrew Kreps']
spec.email = ['andrew.kreps@gmail.com']
spec.description = %q{Lita interface to Wolfram Alpha.}
Expand Down

0 comments on commit 6b713d5

Please sign in to comment.