lita-onewheel-wolfram-alpha 0.4.1 → 0.5.0

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
  SHA256:
3
- metadata.gz: ddedf066ed989639187331b05e4c09e2d735238ac2ea1c47d07e26c00478b130
4
- data.tar.gz: 3e9d754aeb0d48a17cde5b4ad8269fde45bd01df47707087d292007074a91a42
3
+ metadata.gz: 1f001580fe468c06df639d03f231fdf9840f8d6f5bcc26cfb493c36126c19716
4
+ data.tar.gz: 7515f925e4506633ba51c4ebdf549314eff26559178dc922ca8460354705dfdb
5
5
  SHA512:
6
- metadata.gz: 9df98af793616a13235b2a49d1f80f8ca6d10454eea4fb0bc415021dab656014a12ef9170c275f90eff222aeef7c8a0a97a5108fe955126ab145ffd8890817e6
7
- data.tar.gz: dcd21e22c1f202bb9352feb01db60061c0d819d9b0df4839ceb734e219f2e00e11d552329dd369af2519dceae70713a365b7581b7dcda3544bd3a37340ea108c
6
+ metadata.gz: 71c67aef057519823300d8ad8ee44d69e1ec452cc72cefba45fceaf84f210fb02d179c95b0914e523aee97c8718f595757f94591e769d386f8055ffeefc5d0fa
7
+ data.tar.gz: bd5a994eb150aaf491c2bb4fd892e036bbeebe657479713ef4b16d8abe08da72baadec2352899b6dae8835b84cfa0a7ced743a8ddbf86503a11cb386d369e4de
@@ -8,12 +8,6 @@ module Lita
8
8
  config :api_uri
9
9
 
10
10
  route(/^alpha\s*(.*)/i, :handle_wolfram_query, command: true)
11
- route(/^quote\s*(.*)/i, :handle_wolfram_quote, command: true)
12
-
13
- def handle_wolfram_quote(response)
14
- response.matches[0][0] = "quote #{response.matches[0][0]}"
15
- handle_wolfram_query(response)
16
- end
17
11
 
18
12
  def handle_wolfram_query(response)
19
13
  unless config.app_id and config.api_uri
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-wolfram-alpha'
3
- spec.version = '0.4.1'
3
+ spec.version = '0.5.0'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = %q{Lita interface to Wolfram Alpha.}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-wolfram-alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-31 00:00:00.000000000 Z
11
+ date: 2020-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita