cognition 1.1.1 → 1.1.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
  SHA1:
3
- metadata.gz: dc0b784e7c10d335be1234746f995ebf0af67183
4
- data.tar.gz: 222a36c7a4590b928ee8147cb6706ec1455b568a
3
+ metadata.gz: 725267c50296c1eb04a02dbf57853615994bb3df
4
+ data.tar.gz: c2d0b930c3b9d765fb6b24668dca6532e5bee47d
5
5
  SHA512:
6
- metadata.gz: 025024c0509ff2df62ff4b55e6c4bd3b97689e29a7a50ae4ba89c3e636d97ebcbc66a9d62a827a171bbf576effbf8a0851f98e8df38f389577c1a04c8e7862ef
7
- data.tar.gz: cac575778cc5a5a2b3c9cba8c61c851392a2608dbf40d355453fb3dd94af47a3edf2ea42a1f00b8cf010c5b1129273ece328ea033c7bb33b1940fa330ac46aff
6
+ metadata.gz: 5bd260dae045bc99d699ce27e4d2d1771145d2f324e591430c476c411cf64598b7f90c2d23c49413cb9fe6ac76ef867c654d5a44d10f181e7e2099ebde7f7c64
7
+ data.tar.gz: 4fac61769718e033bca3efa13793474dcf8b42ae871bbe0f88c85f48b58477f9d7cf8df2a4277c9cf71c7611182210130cd615e9e2a0201f6b58fb3204228206
@@ -10,7 +10,7 @@ module Cognition
10
10
  end
11
11
 
12
12
  def reply(text)
13
- self.class.post(@uri, @options.merge({ content: text }))
13
+ self.class.post(@uri, @options.merge(body: { content: text }))
14
14
  rescue Timeout::Error => e
15
15
  "Request to #{@uri} timed out."
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Cognition
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cognition
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Anderson