api-ai-ruby 1.3.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +8 -2
- data/api-ai-ruby.gemspec +1 -1
- data/lib/api-ai-ruby/constants.rb +1 -1
- data/lib/api-ai-ruby/request/request_query.rb +1 -1
- data/spec/api-ai-ruby/text_request_spec.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23133323a1d44a623c85d017620cae32a44e9ff2
|
4
|
+
data.tar.gz: 50614d55d052aef546b5aabcb94c51e95b01ad3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b605200b1e15ae56ee73fe4052f47eeba29704da9f96945547f1782608fdb5fe93a3af9076e20d68bd491a56958e297c04ce0c4eb3de1ea85fe28e50aa378d9
|
7
|
+
data.tar.gz: 211cd510f08369b79d85bbf8bf0bb6c56e5a39310b2678844b931c36e874c84e51a1ca29eb41c0d1ad3d5a69f5484ea65898ef34b2f7b524c5f5da8e68792853
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -175,11 +175,17 @@ Please see the [httprb wiki on timeouts](https://github.com/httprb/http/wiki/Tim
|
|
175
175
|
|
176
176
|
#Changelog
|
177
177
|
|
178
|
+
##2.0.0
|
179
|
+
###Breaking:
|
180
|
+
- http gem dependency updated to 2.0, it does no longer raise `Errno::ETIMEDOUT`. Thanks to @tak1n
|
181
|
+
|
178
182
|
##1.3.0
|
179
|
-
|
183
|
+
|
184
|
+
###Non-breaking:
|
180
185
|
- contexts endpoint support (https://docs.api.ai/docs/contexts)
|
181
186
|
- better RDoc
|
182
|
-
|
187
|
+
|
188
|
+
###Breaking:
|
183
189
|
- ApiAiRuby::Client::user_entities_request renamed to ApiAiRuby::Client::create_user_entities_request
|
184
190
|
- ApiAiRuby::Entity::addEntry renamed to ApiAiRuby::Entity::add_entry
|
185
191
|
|
data/api-ai-ruby.gemspec
CHANGED
@@ -29,7 +29,7 @@ module ApiAiRuby
|
|
29
29
|
options_key = (@request_method === :get) ? :params : :json
|
30
30
|
end
|
31
31
|
|
32
|
-
request = HTTP.
|
32
|
+
request = HTTP.headers(@headers)
|
33
33
|
request = request.timeout(*@timeout_options) if @timeout_options
|
34
34
|
response = request.public_send(@request_method, @uri.to_s, options_key => @options) if @options
|
35
35
|
response = request.public_send(@request_method, @uri.to_s) if @options == nil
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: api-ai-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- api.ai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.7'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: http
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0
|
47
|
+
version: '2.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0
|
54
|
+
version: '2.0'
|
55
55
|
description: Plugin makes it easy to integrate your Ruby application with https://api.ai
|
56
56
|
natural language processing service.
|
57
57
|
email:
|
@@ -60,7 +60,7 @@ executables: []
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- .gitignore
|
63
|
+
- ".gitignore"
|
64
64
|
- Gemfile
|
65
65
|
- LICENSE
|
66
66
|
- README.md
|
@@ -99,17 +99,17 @@ require_paths:
|
|
99
99
|
- lib
|
100
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - ~>
|
102
|
+
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '2.0'
|
105
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - ">="
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.5.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: ruby SDK for https://api.ai
|