lita-wolframalpha 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fae3e88da8a086e629e0c641063d3fe813691cd1
4
- data.tar.gz: 953bd6f038b5ea667e849728c1557c2f683bb1b9
3
+ metadata.gz: 776908748d6b2a94373bab5c3f999ea74b644a76
4
+ data.tar.gz: 50f4396b38683d79b3696956859e9d907dda95fa
5
5
  SHA512:
6
- metadata.gz: ddbe295c92654296d8f481cd04ef0a988c8e9606ab615efc8ecc7aeb1737f9dec75f9f0dd9bca765d7cc39d47ac855c25cf0c9836eae85569b695d470e96bbdf
7
- data.tar.gz: 848ea462d2cc9713a6b315facf3ee5e44f291a8186ad8992849441f0d0c55b6df390d95a94011a0fbda91d35f947e23484f0200d2f320e8e5ab8fb6c5ce42fa4
6
+ metadata.gz: 946973922ffbef14db4ac25f6b34addd7c8e3420cfa5722d74479a758d78fffab628256f78a97c44a53c994870247f36444af4eb5af50fa3cb69577179162dde
7
+ data.tar.gz: 814c1ee580aa195adc914f8852ac8b381da01bd422834a33f808450e2cc73bc34ebe8843c1c945efc12a5959bfd359abadd073b2c5be226b13aa88089af64faf
@@ -9,7 +9,10 @@ module Lita
9
9
  # An WolframAlpha API key
10
10
  config :appid
11
11
 
12
- route(/^w(?:olfram)?a(?:lpha)?\s+(.+)/, :wolframalpha, help: { "(wa|wolframalpha) the query to run" => "Query the WolframAlpha® computational knowledge engine™" })
12
+ route(/^w(?:olfram)?a(?:lpha)?\s+(.+)/, :wolframalpha,
13
+ command: true,
14
+ help: { "(wa|wolframalpha) the query to run" => "Query the WolframAlpha® computational knowledge engine™" }
15
+ )
13
16
 
14
17
  def wolframalpha(response)
15
18
  question = response.match_data.captures.join
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-wolframalpha"
3
- spec.version = "1.0.0"
3
+ spec.version = "2.0.0"
4
4
  spec.authors = ["Simon Lundström"]
5
5
  spec.email = ["simmel@soy.se"]
6
6
  spec.description = "Query WolframAlpha®s computational knowledge engine™"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-wolframalpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Lundström
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-16 00:00:00.000000000 Z
11
+ date: 2015-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita