rosette_api 1.9.0 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9ae506e18bb5737ed9eacb75025c726968acfc0fbad50a6ac155e717317db86
4
- data.tar.gz: f0c142482ff8a4dd2d049302b5bb4106135e8a0d7311d872e804d5e7d660301f
3
+ metadata.gz: '099d4aad3982ea728506df650f76cc052e73cb1f5a961400ee222a099383a673'
4
+ data.tar.gz: '09a4b93c15d4e3529eac7729c4b0f2746bfa1f440fdc354bd94357818623b6c1'
5
5
  SHA512:
6
- metadata.gz: 7bbf898aaa91598430108ca5aa10e3bf3d855dcf8b9e81e0ee05cbdbf89c277e1fd2a98b0e16c21524a27cf3d8fe236a973f8ee0b4870402afc6d1f9c7eda599
7
- data.tar.gz: 37ff307ccacaa35b47ddcb3404869537a0ccb3cfeb2051dbd08b14a7100c6759a41005e3203b084a53381c497ef668719b8597354f6d47121accaad0891f68b7
6
+ metadata.gz: 5004bb4bb96f6e1019b866734bcfbc4d3d02620461fded2f047bc024bb2f1b1eeea7fcc9ea9a90f5e37de061be254207d3baf8abfbb57661982b42bbd3a2bb46
7
+ data.tar.gz: 65453989036aaba78ebcad11bb9c56b8657cba64df94cf3295c6dc502c21d587ef13ab68c0b2111c7543e13e3186157d34c7382ae6f3c0fcdf28db81c37dbe40
@@ -10,7 +10,7 @@ require_relative 'bad_request_format_error'
10
10
  # This class allows you to access all Rosette API endpoints.
11
11
  class RosetteAPI
12
12
  # Version of Ruby binding
13
- BINDING_VERSION = '1.9.0'
13
+ BINDING_VERSION = '1.9.2'
14
14
  # Rosette API language endpoint
15
15
  LANGUAGE_ENDPOINT = '/language'.freeze
16
16
  # Rosette API morphology endpoint
@@ -29,7 +29,7 @@ describe RosetteAPI do
29
29
  'User-Agent' => @user_agent,
30
30
  'X-Rosetteapi-Key' => '0123456789',
31
31
  'X-Rosetteapi-Binding' => 'ruby',
32
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
32
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
33
33
  .to_return(status: 200, body: '{"test": "language"}', headers: {})
34
34
  end
35
35
  it 'test language' do
@@ -63,7 +63,7 @@ describe RosetteAPI do
63
63
  'User-Agent' => @user_agent,
64
64
  'X-Rosetteapi-Key' => '0123456789',
65
65
  'X-Rosetteapi-Binding' => 'ruby',
66
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
66
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
67
67
  .to_return(status: 200, body: '{"test": "morphology/complete"}', headers: {})
68
68
  end
69
69
  it 'test morphology complete' do
@@ -84,7 +84,7 @@ describe RosetteAPI do
84
84
  'User-Agent' => @user_agent,
85
85
  'X-Rosetteapi-Key' => '0123456789',
86
86
  'X-Rosetteapi-Binding' => 'ruby',
87
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
87
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
88
88
  .to_return(status: 200, body: '{"test": "morphology/compound-components"}', headers: {})
89
89
  end
90
90
  it 'test morphology compound components' do
@@ -105,7 +105,7 @@ describe RosetteAPI do
105
105
  'User-Agent' => @user_agent,
106
106
  'X-Rosetteapi-Key' => '0123456789',
107
107
  'X-Rosetteapi-Binding' => 'ruby',
108
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
108
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
109
109
  .to_return(status: 200, body: '{"test": "morphology/han-readings"}', headers: {})
110
110
  end
111
111
  it 'test morphology han readings' do
@@ -126,7 +126,7 @@ describe RosetteAPI do
126
126
  'User-Agent' => @user_agent,
127
127
  'X-Rosetteapi-Key' => '0123456789',
128
128
  'X-Rosetteapi-Binding' => 'ruby',
129
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
129
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
130
130
  .to_return(status: 200, body: '{"test": "morphology/parts-of-speech"}', headers: {})
131
131
  end
132
132
  it 'test morphology parts of speech' do
@@ -147,7 +147,7 @@ describe RosetteAPI do
147
147
  'User-Agent' => @user_agent,
148
148
  'X-Rosetteapi-Key' => '0123456789',
149
149
  'X-Rosetteapi-Binding' => 'ruby',
150
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
150
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
151
151
  .to_return(status: 200, body: '{"test": "morphology/lemmas"}', headers: {})
152
152
  end
153
153
  it 'test morphology lemmas' do
@@ -168,7 +168,7 @@ describe RosetteAPI do
168
168
  'User-Agent' => @user_agent,
169
169
  'X-Rosetteapi-Key' => '0123456789',
170
170
  'X-Rosetteapi-Binding' => 'ruby',
171
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
171
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
172
172
  .to_return(status: 200, body: '{"test": "entities"}', headers: {})
173
173
  end
174
174
  it 'test entities' do
@@ -190,7 +190,7 @@ describe RosetteAPI do
190
190
  'User-Agent' => @user_agent,
191
191
  'X-Rosetteapi-Key' => '0123456789',
192
192
  'X-Rosetteapi-Binding' => 'ruby',
193
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
193
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
194
194
  .to_return(status: 200, body: '{"test": "entities"}', headers: {})
195
195
  end
196
196
  it 'test entities without qids' do
@@ -221,7 +221,7 @@ describe RosetteAPI do
221
221
  'User-Agent' => @user_agent,
222
222
  'X-Rosetteapi-Key' => '0123456789',
223
223
  'X-Rosetteapi-Binding' => 'ruby',
224
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
224
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
225
225
  .to_return(status: 200, body: '{"test": "categories"}', headers: {})
226
226
  end
227
227
  it 'test categories' do
@@ -242,7 +242,7 @@ describe RosetteAPI do
242
242
  'User-Agent' => @user_agent,
243
243
  'X-Rosetteapi-Key' => '0123456789',
244
244
  'X-Rosetteapi-Binding' => 'ruby',
245
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
245
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
246
246
  .to_return(status: 200, body: '{"test": "relationships"}', headers: {})
247
247
  end
248
248
  it 'test relationships' do
@@ -264,7 +264,7 @@ describe RosetteAPI do
264
264
  'User-Agent' => @user_agent,
265
265
  'X-Rosetteapi-Key' => '0123456789',
266
266
  'X-Rosetteapi-Binding' => 'ruby',
267
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
267
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
268
268
  .to_return(status: 200, body: '{"test": "name-translation"}', headers: {})
269
269
  end
270
270
  it 'test name translation' do
@@ -291,7 +291,7 @@ describe RosetteAPI do
291
291
  'User-Agent' => @user_agent,
292
292
  'X-Rosetteapi-Key' => '0123456789',
293
293
  'X-Rosetteapi-Binding' => 'ruby',
294
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
294
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
295
295
  .to_return(status: 200, body: '{"test": "name-similarity"}', headers: {})
296
296
  end
297
297
  it 'test name similarity' do
@@ -329,7 +329,7 @@ describe RosetteAPI do
329
329
  'User-Agent' => @user_agent,
330
330
  'X-Rosetteapi-Key' => '0123456789',
331
331
  'X-Rosetteapi-Binding' => 'ruby',
332
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
332
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
333
333
  .to_return(status: 200, body: '{"test": "name-deduplication"}', headers: {})
334
334
 
335
335
  nothresh_json = { names: names.map(&:load_param) }.to_json
@@ -342,7 +342,7 @@ describe RosetteAPI do
342
342
  'User-Agent' => @user_agent,
343
343
  'X-Rosetteapi-Key' => '0123456789',
344
344
  'X-Rosetteapi-Binding' => 'ruby',
345
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
345
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
346
346
  .to_return(status: 200, body: '{"test": "name-deduplication"}', headers: {})
347
347
  end
348
348
  it 'test name deduplication' do
@@ -393,7 +393,7 @@ describe RosetteAPI do
393
393
  'User-Agent' => @user_agent,
394
394
  'X-Rosetteapi-Key' => '0123456789',
395
395
  'X-Rosetteapi-Binding' => 'ruby',
396
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
396
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
397
397
  .to_return(status: 200, body: '{"test": "transliteration"}', headers: {})
398
398
  end
399
399
  it 'test transliteration' do
@@ -426,7 +426,7 @@ describe RosetteAPI do
426
426
  'User-Agent' => @user_agent,
427
427
  'X-Rosetteapi-Key' => '0123456789',
428
428
  'X-Rosetteapi-Binding' => 'ruby',
429
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
429
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
430
430
  .to_return(status: 200, body: '{"test": "tokens"}', headers: {})
431
431
  end
432
432
  it 'test tokens' do
@@ -447,7 +447,7 @@ describe RosetteAPI do
447
447
  'User-Agent' => @user_agent,
448
448
  'X-Rosetteapi-Key' => '0123456789',
449
449
  'X-Rosetteapi-Binding' => 'ruby',
450
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
450
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
451
451
  .to_return(status: 200, body: '{"test": "topics"}', headers: {})
452
452
  end
453
453
  it 'test topics' do
@@ -468,7 +468,7 @@ describe RosetteAPI do
468
468
  'User-Agent' => @user_agent,
469
469
  'X-Rosetteapi-Key' => '0123456789',
470
470
  'X-Rosetteapi-Binding' => 'ruby',
471
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
471
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
472
472
  .to_return(status: 200, body: '{"test": "sentences"}', headers: {})
473
473
  end
474
474
  it 'test sentences' do
@@ -519,7 +519,7 @@ describe RosetteAPI do
519
519
  'User-Agent' => @user_agent,
520
520
  'X-Rosetteapi-Key' => '0123456789',
521
521
  'X-Rosetteapi-Binding' => 'ruby',
522
- 'X-Rosetteapi-Binding-Version' => '1.9.0',
522
+ 'X-Rosetteapi-Binding-Version' => '1.9.2',
523
523
  'X-RosetteApi-App' => 'ruby-app' })
524
524
  .to_return(status: 200, body: '{"test": "language"}', headers: {})
525
525
  end
@@ -556,7 +556,7 @@ describe RosetteAPI do
556
556
  'User-Agent' => @user_agent,
557
557
  'X-Rosetteapi-Key' => '0123456789',
558
558
  'X-Rosetteapi-Binding' => 'ruby',
559
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
559
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
560
560
  .to_return(status: 200, body: '{"test": "language"}', headers: {})
561
561
  end
562
562
  it 'test text_embedding' do
@@ -577,7 +577,7 @@ describe RosetteAPI do
577
577
  'User-Agent' => @user_agent,
578
578
  'X-Rosetteapi-Key' => '0123456789',
579
579
  'X-Rosetteapi-Binding' => 'ruby',
580
- 'X-Rosetteapi-Binding-Version' => '1.9.0' })
580
+ 'X-Rosetteapi-Binding-Version' => '1.9.2' })
581
581
  .to_return(status: 200, body: '{"test": "language"}', headers: {})
582
582
  end
583
583
  it 'test syntax_dependencies' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rosette_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Basis Technology Corp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-17 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubysl-securerandom
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 2.7.4
66
+ rubygems_version: 2.7.3
67
67
  signing_key:
68
68
  specification_version: 2
69
69
  summary: Rosette API gem that supports multilingual text-analytics.