ibm-watson-ruby 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env.example +3 -2
- data/ibm-watson-ruby.gemspec +2 -1
- data/lib/ibm_watson.rb +1 -0
- data/lib/ibm_watson/base_service.rb +48 -19
- data/lib/ibm_watson/conversation/service.rb +27 -45
- data/lib/ibm_watson/nlu/service.rb +28 -31
- data/lib/ibm_watson/timeout_config.rb +9 -0
- data/lib/ibm_watson/version.rb +1 -1
- data/spec/ibm_watson/conversation/service_spec.rb +2 -2
- data/spec/spec_helper.rb +3 -0
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_create_workspace_.yml +1317 -637
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_delete_workspace_.yml +22 -18
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_list_workspaces_.yml +19 -20
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_message_.yml +30 -42
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_update_workspace_.yml +1335 -599
- data/spec/vcr_cassettes/ibm_watson/conversation/service/ibm_watson_conversation_service_workspace_.yml +1066 -318
- metadata +21 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ibm-watson-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bram Whillock
|
@@ -9,22 +9,36 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-05-
|
12
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: faraday
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '0.9'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '0.9'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: faraday-encoding
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: active_attr
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -206,6 +220,7 @@ files:
|
|
206
220
|
- lib/ibm_watson/nlu.rb
|
207
221
|
- lib/ibm_watson/nlu/analyze_result.rb
|
208
222
|
- lib/ibm_watson/nlu/service.rb
|
223
|
+
- lib/ibm_watson/timeout_config.rb
|
209
224
|
- lib/ibm_watson/version.rb
|
210
225
|
- lib/ibm_watson_ruby.rb
|
211
226
|
- spec/assets/poc_workspace.json
|
@@ -239,7 +254,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
254
|
version: '0'
|
240
255
|
requirements: []
|
241
256
|
rubyforge_project:
|
242
|
-
rubygems_version: 2.
|
257
|
+
rubygems_version: 2.5.1
|
243
258
|
signing_key:
|
244
259
|
specification_version: 4
|
245
260
|
summary: IBM Watson services in ruby
|