lita-onewheel-wolfram-alpha 0.5.0 → 0.5.1
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: 35e53dac5be10e8ec01e436d5e0a3676c7b669ca744fb8264bcabb0ea77d990d
|
4
|
+
data.tar.gz: e20a2fd2e38d15a8fec23dbfcc1227071af1cc63e29c9a52427d85ee0c84fbb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14c82b85788cdc6f3de7b3383b770b3f8caab649356c9d87eac0897b4e0bc4d88ebd4898041bb8c16a524a2bbb22e3f88e951f056b2fd3646a8f13615f84caee
|
7
|
+
data.tar.gz: 490b9f112c97ce4155cc339a4fbfe6ae43678bb28ce46dc8c7bc00e8dc85d35be98a70c5d3a3be4a9f6f6191ff5786e4c4d212c1c91ecaca7202dfcd7d829dd6
|
@@ -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 == '
|
50
|
+
if title == 'Plots' # 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
|
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.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kreps
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|