indico 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/indico.rb +2 -1
- data/lib/indico/version.rb +1 -1
- data/spec/indico_spec.rb +4 -0
- metadata +2 -2
data/lib/indico.rb
CHANGED
data/lib/indico/version.rb
CHANGED
data/spec/indico_spec.rb
CHANGED
@@ -25,6 +25,10 @@ describe Indico do
|
|
25
25
|
expected_keys.each do |key|
|
26
26
|
expect(Set.new(response.keys)).to include(key)
|
27
27
|
end
|
28
|
+
|
29
|
+
response = Indico.personas('I love my friends!', {top_n: 5})
|
30
|
+
|
31
|
+
expect(response.length).to eql(5)
|
28
32
|
end
|
29
33
|
|
30
34
|
it 'should tag text with correct emotion tags' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: indico
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2017-06-13 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: inifile
|