lita-onewheel-wolfram-alpha 0.5.1 → 0.5.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9637dfcf983232a120cdfab50d30382063d3c859cafaddde4c3c7d14dd00c872
|
4
|
+
data.tar.gz: ca23d5c031fedfcf3a857b75322fd39f9a973941ad5ace248145348f70b8a76b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06d5ea94e5916e7acef8f1024924b3fc99f20a4dcd72db15cbd8bc2daab90a4dc5fda206dfa2d46ac4f0599ea4046aea9866303ade83db7a55714d655a311017
|
7
|
+
data.tar.gz: 1b96c57b39d2312b3233975ad0ef63dc573c9a0c86552a57e3840d0d7a7cd560b8d9178603cba47f2d3674de4b8c2a3e4dfd9f7ee3fd1d4f323b4cbb78059e03
|
@@ -47,7 +47,7 @@ module Lita
|
|
47
47
|
Lita.logger.debug "lita-onewheel-wolfram-alpha: Pod title: #{pods[1].attribute('title').to_s}"
|
48
48
|
|
49
49
|
title = pods[1].attribute('title').to_s
|
50
|
-
if title == 'Plots' # Plot is a graph, grab the image.
|
50
|
+
if title == 'Plots' or title == 'Plot' # Plot is a graph, grab the image.
|
51
51
|
pods[1].xpath('//img')[1].attribute('src').to_s
|
52
52
|
else # Plaintext seems to work well for, say, Definition.
|
53
53
|
rid_thee_of_extras pods[1].xpath('//plaintext')[1].child.to_s
|