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: 1f001580fe468c06df639d03f231fdf9840f8d6f5bcc26cfb493c36126c19716
4
- data.tar.gz: 7515f925e4506633ba51c4ebdf549314eff26559178dc922ca8460354705dfdb
3
+ metadata.gz: 35e53dac5be10e8ec01e436d5e0a3676c7b669ca744fb8264bcabb0ea77d990d
4
+ data.tar.gz: e20a2fd2e38d15a8fec23dbfcc1227071af1cc63e29c9a52427d85ee0c84fbb8
5
5
  SHA512:
6
- metadata.gz: 71c67aef057519823300d8ad8ee44d69e1ec452cc72cefba45fceaf84f210fb02d179c95b0914e523aee97c8718f595757f94591e769d386f8055ffeefc5d0fa
7
- data.tar.gz: bd5a994eb150aaf491c2bb4fd892e036bbeebe657479713ef4b16d8abe08da72baadec2352899b6dae8835b84cfa0a7ced743a8ddbf86503a11cb386d369e4de
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 == 'Plot' # Plot is a graph, grab the image.
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-wolfram-alpha'
3
- spec.version = '0.5.0'
3
+ spec.version = '0.5.1'
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.5.0
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-01-02 00:00:00.000000000 Z
11
+ date: 2020-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita