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: 35e53dac5be10e8ec01e436d5e0a3676c7b669ca744fb8264bcabb0ea77d990d
4
- data.tar.gz: e20a2fd2e38d15a8fec23dbfcc1227071af1cc63e29c9a52427d85ee0c84fbb8
3
+ metadata.gz: 9637dfcf983232a120cdfab50d30382063d3c859cafaddde4c3c7d14dd00c872
4
+ data.tar.gz: ca23d5c031fedfcf3a857b75322fd39f9a973941ad5ace248145348f70b8a76b
5
5
  SHA512:
6
- metadata.gz: 14c82b85788cdc6f3de7b3383b770b3f8caab649356c9d87eac0897b4e0bc4d88ebd4898041bb8c16a524a2bbb22e3f88e951f056b2fd3646a8f13615f84caee
7
- data.tar.gz: 490b9f112c97ce4155cc339a4fbfe6ae43678bb28ce46dc8c7bc00e8dc85d35be98a70c5d3a3be4a9f6f6191ff5786e4c4d212c1c91ecaca7202dfcd7d829dd6
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-wolfram-alpha'
3
- spec.version = '0.5.1'
3
+ spec.version = '0.5.2'
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-wolfram-alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps