zetabot 2.0.4 → 2.0.5

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: 36b57e6ff16c98c38ea3c9030b4117ae756f014c801c5ae3bda4337f0fde5357
4
- data.tar.gz: 2e9de7aae7a9dbf84910a4802b2994443efb8927fff89f5ab203da59e801f996
3
+ metadata.gz: 1838ba19f62fcc77c319ca6633d0ae76b05fb1efd71c7f5d03af10797ca6f49a
4
+ data.tar.gz: d311f218e5db54133981d4c1b3232ddc080b08bd95bcdc302910d666fcb7287f
5
5
  SHA512:
6
- metadata.gz: ee301d2f5ad8919a5f1433cc1ccd246fc77d13032f8fa75e1435fe832536dcd0cae1f511baccbaab8748905f32679a6031dbda5ee9b7c559ee057d07e31eb4fc
7
- data.tar.gz: a037bd7354fa2984dec90982077e17875b3cd35c4415e794a13d20483d4c5bbe8df993bba23f91d0b881351562852036fdae1b6805bd2a5de99f235b05cc49ca
6
+ metadata.gz: 42b61604dc22e33f7b0b436009fcf97d6fe554e02b53738330ff9a312fb3a233877e10eb44f6b8828550c35dfa626494889dfeb98976b3f1e3f6d17372918ce7
7
+ data.tar.gz: 2cc08d48c751a1b06dc743684859d5c88452e79f5aab050316300441ef66ed2183df353dab5d4101fbe492708ff143c89a294b93d525951a0188fda05b1d0545
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zetabot (2.0.3)
4
+ zetabot (2.0.4)
5
5
  actionview
6
6
  chronic
7
7
  chronic_duration
@@ -19,7 +19,7 @@ module Plugins
19
19
  def calculate(m, query)
20
20
  # Rescue incase something goes wrong
21
21
  begin
22
- debug 'Query: ' + Cgi.escape(query)
22
+ debug 'Query: ' + CGI.escape(query)
23
23
  url = "http://api.wolframalpha.com/v2/query?input=#{CGI.escape(query)}&appid=#{Config.secrets[:wolfram]}&primary=true&format=plaintext"
24
24
  request = open(url).read
25
25
  data = Crack::XML.parse(request)
@@ -1,3 +1,3 @@
1
1
  module Zeta
2
- VERSION = '2.0.4'
2
+ VERSION = '2.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zetabot
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liothen