Skip to content

Commit 62d8a97

Browse files
committed
Version 1.9.0
1 parent d4a6fb1 commit 62d8a97

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

lib/rosette_api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# This class allows you to access all Rosette API endpoints.
1111
class RosetteAPI
1212
# Version of Ruby binding
13-
BINDING_VERSION = '1.8.0'
13+
BINDING_VERSION = '1.9.0'
1414
# Rosette API language endpoint
1515
LANGUAGE_ENDPOINT = '/language'.freeze
1616
# Rosette API morphology endpoint

rosette_api.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
88
s.required_ruby_version = '>= 2.0.0'
99

1010
s.name = 'rosette_api'
11-
s.version = '1.8.0'
11+
s.version = '1.9.0'
1212
s.license = 'MIT'
1313

1414
s.summary = 'Rosette API gem that supports multilingual text-analytics.'
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
1919
s.authors = ['Basis Technology Corp']
2020
s.email = %q{[email protected]}
2121
s.homepage = %q{https://developer.rosette.com/}
22-
s.date = %q{2017-10-24}
22+
s.date = %q{2018-01-17}
2323

2424
all_files = `git ls-files -z`.split("\x0")
2525
s.files = all_files.grep(%r{^(bin|lib)/|^.rubocop.yml$})

tests/tests_spec.rb

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'User-Agent' => @user_agent,
3030
'X-Rosetteapi-Key' => '0123456789',
3131
'X-Rosetteapi-Binding' => 'ruby',
32-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
32+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
3333
.to_return(status: 200, body: '{"test": "language"}', headers: {})
3434
end
3535
it 'test language' do
@@ -63,7 +63,7 @@
6363
'User-Agent' => @user_agent,
6464
'X-Rosetteapi-Key' => '0123456789',
6565
'X-Rosetteapi-Binding' => 'ruby',
66-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
66+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
6767
.to_return(status: 200, body: '{"test": "morphology/complete"}', headers: {})
6868
end
6969
it 'test morphology complete' do
@@ -84,7 +84,7 @@
8484
'User-Agent' => @user_agent,
8585
'X-Rosetteapi-Key' => '0123456789',
8686
'X-Rosetteapi-Binding' => 'ruby',
87-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
87+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
8888
.to_return(status: 200, body: '{"test": "morphology/compound-components"}', headers: {})
8989
end
9090
it 'test morphology compound components' do
@@ -105,7 +105,7 @@
105105
'User-Agent' => @user_agent,
106106
'X-Rosetteapi-Key' => '0123456789',
107107
'X-Rosetteapi-Binding' => 'ruby',
108-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
108+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
109109
.to_return(status: 200, body: '{"test": "morphology/han-readings"}', headers: {})
110110
end
111111
it 'test morphology han readings' do
@@ -126,7 +126,7 @@
126126
'User-Agent' => @user_agent,
127127
'X-Rosetteapi-Key' => '0123456789',
128128
'X-Rosetteapi-Binding' => 'ruby',
129-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
129+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
130130
.to_return(status: 200, body: '{"test": "morphology/parts-of-speech"}', headers: {})
131131
end
132132
it 'test morphology parts of speech' do
@@ -147,7 +147,7 @@
147147
'User-Agent' => @user_agent,
148148
'X-Rosetteapi-Key' => '0123456789',
149149
'X-Rosetteapi-Binding' => 'ruby',
150-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
150+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
151151
.to_return(status: 200, body: '{"test": "morphology/lemmas"}', headers: {})
152152
end
153153
it 'test morphology lemmas' do
@@ -168,7 +168,7 @@
168168
'User-Agent' => @user_agent,
169169
'X-Rosetteapi-Key' => '0123456789',
170170
'X-Rosetteapi-Binding' => 'ruby',
171-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
171+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
172172
.to_return(status: 200, body: '{"test": "entities"}', headers: {})
173173
end
174174
it 'test entities' do
@@ -190,7 +190,7 @@
190190
'User-Agent' => @user_agent,
191191
'X-Rosetteapi-Key' => '0123456789',
192192
'X-Rosetteapi-Binding' => 'ruby',
193-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
193+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
194194
.to_return(status: 200, body: '{"test": "entities"}', headers: {})
195195
end
196196
it 'test entities without qids' do
@@ -221,7 +221,7 @@
221221
'User-Agent' => @user_agent,
222222
'X-Rosetteapi-Key' => '0123456789',
223223
'X-Rosetteapi-Binding' => 'ruby',
224-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
224+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
225225
.to_return(status: 200, body: '{"test": "categories"}', headers: {})
226226
end
227227
it 'test categories' do
@@ -242,7 +242,7 @@
242242
'User-Agent' => @user_agent,
243243
'X-Rosetteapi-Key' => '0123456789',
244244
'X-Rosetteapi-Binding' => 'ruby',
245-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
245+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
246246
.to_return(status: 200, body: '{"test": "relationships"}', headers: {})
247247
end
248248
it 'test relationships' do
@@ -264,7 +264,7 @@
264264
'User-Agent' => @user_agent,
265265
'X-Rosetteapi-Key' => '0123456789',
266266
'X-Rosetteapi-Binding' => 'ruby',
267-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
267+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
268268
.to_return(status: 200, body: '{"test": "name-translation"}', headers: {})
269269
end
270270
it 'test name translation' do
@@ -291,7 +291,7 @@
291291
'User-Agent' => @user_agent,
292292
'X-Rosetteapi-Key' => '0123456789',
293293
'X-Rosetteapi-Binding' => 'ruby',
294-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
294+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
295295
.to_return(status: 200, body: '{"test": "name-similarity"}', headers: {})
296296
end
297297
it 'test name similarity' do
@@ -329,7 +329,7 @@
329329
'User-Agent' => @user_agent,
330330
'X-Rosetteapi-Key' => '0123456789',
331331
'X-Rosetteapi-Binding' => 'ruby',
332-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
332+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
333333
.to_return(status: 200, body: '{"test": "name-deduplication"}', headers: {})
334334

335335
nothresh_json = { names: names.map(&:load_param) }.to_json
@@ -342,7 +342,7 @@
342342
'User-Agent' => @user_agent,
343343
'X-Rosetteapi-Key' => '0123456789',
344344
'X-Rosetteapi-Binding' => 'ruby',
345-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
345+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
346346
.to_return(status: 200, body: '{"test": "name-deduplication"}', headers: {})
347347
end
348348
it 'test name deduplication' do
@@ -393,7 +393,7 @@
393393
'User-Agent' => @user_agent,
394394
'X-Rosetteapi-Key' => '0123456789',
395395
'X-Rosetteapi-Binding' => 'ruby',
396-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
396+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
397397
.to_return(status: 200, body: '{"test": "transliteration"}', headers: {})
398398
end
399399
it 'test transliteration' do
@@ -426,7 +426,7 @@
426426
'User-Agent' => @user_agent,
427427
'X-Rosetteapi-Key' => '0123456789',
428428
'X-Rosetteapi-Binding' => 'ruby',
429-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
429+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
430430
.to_return(status: 200, body: '{"test": "tokens"}', headers: {})
431431
end
432432
it 'test tokens' do
@@ -447,7 +447,7 @@
447447
'User-Agent' => @user_agent,
448448
'X-Rosetteapi-Key' => '0123456789',
449449
'X-Rosetteapi-Binding' => 'ruby',
450-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
450+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
451451
.to_return(status: 200, body: '{"test": "topics"}', headers: {})
452452
end
453453
it 'test topics' do
@@ -468,7 +468,7 @@
468468
'User-Agent' => @user_agent,
469469
'X-Rosetteapi-Key' => '0123456789',
470470
'X-Rosetteapi-Binding' => 'ruby',
471-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
471+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
472472
.to_return(status: 200, body: '{"test": "sentences"}', headers: {})
473473
end
474474
it 'test sentences' do
@@ -519,7 +519,7 @@
519519
'User-Agent' => @user_agent,
520520
'X-Rosetteapi-Key' => '0123456789',
521521
'X-Rosetteapi-Binding' => 'ruby',
522-
'X-Rosetteapi-Binding-Version' => '1.8.0',
522+
'X-Rosetteapi-Binding-Version' => '1.9.0',
523523
'X-RosetteApi-App' => 'ruby-app' })
524524
.to_return(status: 200, body: '{"test": "language"}', headers: {})
525525
end
@@ -556,7 +556,7 @@
556556
'User-Agent' => @user_agent,
557557
'X-Rosetteapi-Key' => '0123456789',
558558
'X-Rosetteapi-Binding' => 'ruby',
559-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
559+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
560560
.to_return(status: 200, body: '{"test": "language"}', headers: {})
561561
end
562562
it 'test text_embedding' do
@@ -577,7 +577,7 @@
577577
'User-Agent' => @user_agent,
578578
'X-Rosetteapi-Key' => '0123456789',
579579
'X-Rosetteapi-Binding' => 'ruby',
580-
'X-Rosetteapi-Binding-Version' => '1.8.0' })
580+
'X-Rosetteapi-Binding-Version' => '1.9.0' })
581581
.to_return(status: 200, body: '{"test": "language"}', headers: {})
582582
end
583583
it 'test syntax_dependencies' do

0 commit comments

Comments
 (0)