|
18 | 18 | 'User-Agent' => 'Ruby', |
19 | 19 | 'X-Rosetteapi-Key' => '0123456789', |
20 | 20 | 'X-Rosetteapi-Binding' => 'ruby', |
21 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 21 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
22 | 22 | to_return(status: 200, body: {'test': 'language'}.to_json, headers: {}) |
23 | 23 | end |
24 | 24 | it 'test language' do |
|
55 | 55 | 'User-Agent' => 'Ruby', |
56 | 56 | 'X-Rosetteapi-Key' => '0123456789', |
57 | 57 | 'X-Rosetteapi-Binding' => 'ruby', |
58 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 58 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
59 | 59 | to_return(status: 200, body: {'test': 'morphology/complete'}.to_json, headers: {}) |
60 | 60 | end |
61 | 61 | it 'test morphology complete' do |
|
77 | 77 | 'User-Agent' => 'Ruby', |
78 | 78 | 'X-Rosetteapi-Key' => '0123456789', |
79 | 79 | 'X-Rosetteapi-Binding' => 'ruby', |
80 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 80 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
81 | 81 | to_return(status: 200, body: {'test': 'morphology/compound-components'}.to_json, headers: {}) |
82 | 82 | end |
83 | 83 | it 'test morphology compound components' do |
|
99 | 99 | 'User-Agent' => 'Ruby', |
100 | 100 | 'X-Rosetteapi-Key' => '0123456789', |
101 | 101 | 'X-Rosetteapi-Binding' => 'ruby', |
102 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 102 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
103 | 103 | to_return(status: 200, body: {'test': 'morphology/han-readings'}.to_json, headers: {}) |
104 | 104 | end |
105 | 105 | it 'test morphology han readings' do |
|
121 | 121 | 'User-Agent' => 'Ruby', |
122 | 122 | 'X-Rosetteapi-Key' => '0123456789', |
123 | 123 | 'X-Rosetteapi-Binding' => 'ruby', |
124 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 124 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
125 | 125 | to_return(status: 200, body: {'test': 'morphology/parts-of-speech'}.to_json, headers: {}) |
126 | 126 | end |
127 | 127 | it 'test morphology parts of speech' do |
|
143 | 143 | 'User-Agent' => 'Ruby', |
144 | 144 | 'X-Rosetteapi-Key' => '0123456789', |
145 | 145 | 'X-Rosetteapi-Binding' => 'ruby', |
146 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 146 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
147 | 147 | to_return(status: 200, body: {'test': 'morphology/lemmas'}.to_json, headers: {}) |
148 | 148 | end |
149 | 149 | it 'test morphology lemmas' do |
|
165 | 165 | 'User-Agent' => 'Ruby', |
166 | 166 | 'X-Rosetteapi-Key' => '0123456789', |
167 | 167 | 'X-Rosetteapi-Binding' => 'ruby', |
168 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 168 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
169 | 169 | to_return(status: 200, body: {'test': 'entities'}.to_json, headers: {}) |
170 | 170 | end |
171 | 171 | it 'test entities' do |
|
188 | 188 | 'User-Agent' => 'Ruby', |
189 | 189 | 'X-Rosetteapi-Key' => '0123456789', |
190 | 190 | 'X-Rosetteapi-Binding' => 'ruby', |
191 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 191 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
192 | 192 | to_return(status: 200, body: {'test': 'entities'}.to_json, headers: {}) |
193 | 193 | end |
194 | 194 | it 'test entities without qids' do |
|
220 | 220 | 'User-Agent' => 'Ruby', |
221 | 221 | 'X-Rosetteapi-Key' => '0123456789', |
222 | 222 | 'X-Rosetteapi-Binding' => 'ruby', |
223 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 223 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
224 | 224 | to_return(status: 200, body: {'test': 'categories'}.to_json, headers: {}) |
225 | 225 | end |
226 | 226 | it 'test categories' do |
|
242 | 242 | 'User-Agent' => 'Ruby', |
243 | 243 | 'X-Rosetteapi-Key' => '0123456789', |
244 | 244 | 'X-Rosetteapi-Binding' => 'ruby', |
245 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 245 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
246 | 246 | to_return(status: 200, body: {'test': 'relationships'}.to_json, headers: {}) |
247 | 247 | end |
248 | 248 | it 'test relationships' do |
|
264 | 264 | 'User-Agent' => 'Ruby', |
265 | 265 | 'X-Rosetteapi-Key' => '0123456789', |
266 | 266 | 'X-Rosetteapi-Binding' => 'ruby', |
267 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 267 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
268 | 268 | to_return(status: 200, body: {'test': 'name-translation'}.to_json, headers: {}) |
269 | 269 | end |
270 | 270 | it 'test name translation' do |
|
291 | 291 | 'User-Agent' => 'Ruby', |
292 | 292 | 'X-Rosetteapi-Key' => '0123456789', |
293 | 293 | 'X-Rosetteapi-Binding' => 'ruby', |
294 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 294 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
295 | 295 | to_return(status: 200, body: {'test': 'name-similarity'}.to_json, headers: {}) |
296 | 296 | end |
297 | 297 | it 'test name similarity' do |
|
327 | 327 | 'User-Agent' => 'Ruby', |
328 | 328 | 'X-Rosetteapi-Key' => '0123456789', |
329 | 329 | 'X-Rosetteapi-Binding' => 'ruby', |
330 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 330 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
331 | 331 | to_return(status: 200, body: {'test': 'tokens'}.to_json, headers: {}) |
332 | 332 | end |
333 | 333 | it 'test tokens' do |
|
349 | 349 | 'User-Agent' => 'Ruby', |
350 | 350 | 'X-Rosetteapi-Key' => '0123456789', |
351 | 351 | 'X-Rosetteapi-Binding' => 'ruby', |
352 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1'}). |
| 352 | + 'X-Rosetteapi-Binding-Version' => '1.2.0'}). |
353 | 353 | to_return(status: 200, body: {'test': 'sentences'}.to_json, headers: {}) |
354 | 354 | end |
355 | 355 | it 'test sentences' do |
|
404 | 404 | 'User-Agent' => 'Ruby', |
405 | 405 | 'X-Rosetteapi-Key' => '0123456789', |
406 | 406 | 'X-Rosetteapi-Binding' => 'ruby', |
407 | | - 'X-Rosetteapi-Binding-Version' => '1.1.1', |
| 407 | + 'X-Rosetteapi-Binding-Version' => '1.2.0', |
408 | 408 | 'X-RosetteApi-App' => 'ruby-app'}). |
409 | 409 | to_return(status: 200, body: {'test': 'language'}.to_json, headers: {}) |
410 | 410 | end |
|
0 commit comments