ruboty-talk 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/ruboty/handlers/talk.rb +3 -1
- data/lib/ruboty/talk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ffac9a397a607b71e67b0590e58f1434936974c
|
4
|
+
data.tar.gz: 151f63756e06d7f0330c2a9a4bda582595e8767c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b98689d1c9e375e3d37ecd89d5c7a6b8075fca4bb7a3c2db7dbe79ce499311ec6c71e327f5d0ea9822b3f99872fed22352b79750d15332142a5e9c5a954f6d4
|
7
|
+
data.tar.gz: 227da1ca5f82452cb4023194c08c415742ae8b0ed1c56719450a4d011fc7676e49c9b223eafae0335af7145284629b90379b27d8e8fd2c1ba8d0ccc3b5c6fc09
|
data/CHANGELOG.md
CHANGED
data/lib/ruboty/handlers/talk.rb
CHANGED
@@ -15,7 +15,9 @@ module Ruboty
|
|
15
15
|
)
|
16
16
|
|
17
17
|
def talk(message)
|
18
|
-
|
18
|
+
response = client.create_dialogue(message[:body], context: @context)
|
19
|
+
@context = response.body["context"]
|
20
|
+
message.reply(response.body["utt"])
|
19
21
|
end
|
20
22
|
|
21
23
|
private
|
data/lib/ruboty/talk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-talk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docomoru
|