verbalizeit 1.0.2 → 1.1.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/lib/verbalizeit/client.rb +2 -1
- data/lib/verbalizeit/task.rb +4 -0
- data/lib/verbalizeit/version.rb +1 -1
- data/spec/fixtures/cassettes/client/create_task_with_instructions.yml +194 -0
- data/spec/support/created_task.json +2 -1
- data/spec/verbalizeit/client_spec.rb +15 -0
- data/spec/verbalizeit/task_spec.rb +4 -0
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aedf3894f1557f81b3f8dcdd73a3848a34730b5e
|
4
|
+
data.tar.gz: 8c14491028cea408e832d1ad1d5751408cdf192c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1bc58219d910921840030e3548c096b1c95719b3a7dd06c9dc62c558d453d596460a2f3f602e922a62151fcbdd9b7a1dbab821aae56f1a8ca5b6a72d665b100
|
7
|
+
data.tar.gz: 649c6d90b7c92aefa17ef36e3deacab0669974ef4446585f96a5401da8ba72734423cddf3822258e093f2a4f023aa10366870279e5cbd0b9a0269ecb2dd1ead7
|
data/lib/verbalizeit/client.rb
CHANGED
@@ -21,7 +21,8 @@ module Verbalizeit
|
|
21
21
|
start: "#{options[:start]}",
|
22
22
|
rush_order: "#{options[:rush_order]}",
|
23
23
|
postback_url: options[:postback_url],
|
24
|
-
status_url: options[:status_url]
|
24
|
+
status_url: options[:status_url],
|
25
|
+
special_instructions: options[:special_instructions]
|
25
26
|
}
|
26
27
|
|
27
28
|
response = Typhoeus.post(tasks_url, body: body, headers: authorization_header)
|
data/lib/verbalizeit/task.rb
CHANGED
data/lib/verbalizeit/version.rb
CHANGED
@@ -0,0 +1,194 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://stagingapi.verbalizeit.com/v2/languages
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
12
|
+
X-Api-Key:
|
13
|
+
- "<API KEY>"
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Access-Control-Allow-Credentials:
|
20
|
+
- 'true'
|
21
|
+
Access-Control-Allow-Headers:
|
22
|
+
- "*,x-requested-with,Content-Type,If-Modified-Since,If-None-Match,Auth-User-Token"
|
23
|
+
Access-Control-Allow-Methods:
|
24
|
+
- POST, PUT, GET, OPTIONS, DELETE
|
25
|
+
Access-Control-Allow-Origin:
|
26
|
+
- ''
|
27
|
+
Cache-Control:
|
28
|
+
- max-age=0, private, must-revalidate
|
29
|
+
Content-Type:
|
30
|
+
- application/json; charset=utf-8
|
31
|
+
Date:
|
32
|
+
- Tue, 16 Feb 2016 21:30:21 GMT
|
33
|
+
Etag:
|
34
|
+
- W/"14b319fab66144e4b90cc03c7cb6380f"
|
35
|
+
Server:
|
36
|
+
- nginx/1.4.6 (Ubuntu)
|
37
|
+
Set-Cookie:
|
38
|
+
- XSRF-TOKEN=WEYlBqbkd9GTWTpeV38gt6BRltk3H0t02vnWn4OQroQgLzZsRi5Rr6XCDM2EmdV%2F%2FgDpdwRmnd%2FxORAtPImNHw%3D%3D;
|
39
|
+
path=/
|
40
|
+
- _verbalizeit_session=SDJKOVRoMWFOaEtaaC9OYTJxelpVZU5Bc2dFUUFjaVpZajVOV2lpaTBQaUZOWFJkd1hnOThkQnBFZEVnYnlyYmdRQ085Y2R3bnFxaTNkbkNrNWZweHRLek1ZNlQ5amZoZVo5dmx5cDkvalIwQTBQOEQ0b3duWGRwTmxodW5jVXBFK1pJZThhVUcwSzBrU2VNTlJoYW5zQTZuK084eFZncnBxWlRUY0xBZEM2VW1Ja2ZXcDQ1R0JBdllEL3hJZW1XLS11aStoUkVGdzliMTFZRUFjaWhHS29BPT0%3D--07f8e5b37fc94755626f208f582fa6605346cb2d;
|
41
|
+
domain=.verbalizeit.com; path=/
|
42
|
+
X-Content-Type-Options:
|
43
|
+
- nosniff
|
44
|
+
X-Frame-Options:
|
45
|
+
- SAMEORIGIN
|
46
|
+
X-Request-Id:
|
47
|
+
- d3f39d79-f1d8-4523-b0be-6c33a26858d5
|
48
|
+
X-Runtime:
|
49
|
+
- '0.885020'
|
50
|
+
X-Xss-Protection:
|
51
|
+
- 1; mode=block
|
52
|
+
Transfer-Encoding:
|
53
|
+
- chunked
|
54
|
+
Connection:
|
55
|
+
- keep-alive
|
56
|
+
body:
|
57
|
+
encoding: ASCII-8BIT
|
58
|
+
string: !binary |-
|
59
|
+
W3sibmFtZSI6IkVuZ2xpc2ggKFUuUy4pIiwibGFuZ3VhZ2VfcmVnaW9uX2Nv
|
60
|
+
ZGUiOiJlbmctVVMifSx7Im5hbWUiOiJBZnJpa2FhbnMiLCJsYW5ndWFnZV9y
|
61
|
+
ZWdpb25fY29kZSI6ImFmci1aQSJ9LHsibmFtZSI6IkFyYWJpYyIsImxhbmd1
|
62
|
+
YWdlX3JlZ2lvbl9jb2RlIjoiYXJhLUFFIn0seyJuYW1lIjoiQm9zbmlhbiIs
|
63
|
+
Imxhbmd1YWdlX3JlZ2lvbl9jb2RlIjoiYm9zLUJBIn0seyJuYW1lIjoiQnVs
|
64
|
+
Z2FyaWFuIiwibGFuZ3VhZ2VfcmVnaW9uX2NvZGUiOiJidWwtQkcifSx7Im5h
|
65
|
+
bWUiOiJDYXRhbGFuIiwibGFuZ3VhZ2VfcmVnaW9uX2NvZGUiOiJjYXQtRVMi
|
66
|
+
fSx7Im5hbWUiOiJDaGluZXNlIChUcmFkaXRpb25hbCAtIEhvbmcgS29uZyki
|
67
|
+
LCJsY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WUiOiJUYW1pbCIsImxhbmd1YWdlX3JlZ2lv
|
128
|
+
bl9jb2RlIjoidGFtLUlOIn0seyJuYW1lIjoiVGhhaSIsImxhbmd1YWdlX3Jl
|
129
|
+
Z2lvbl9jb2RlIjoidGhhLVRIIn0seyJuYW1lIjoiVHVya2lzaCIsImxhbmd1
|
130
|
+
YWdlX3JlZ2lvbl9jb2RlIjoidHVyLVRSIn0seyJuYW1lIjoiVWtyYWluaWFu
|
131
|
+
IiwibGFuZ3VhZ2VfcmVnaW9uX2NvZGUiOiJ1a3ItVUEifSx7Im5hbWUiOiJW
|
132
|
+
aWV0bmFtZXNlIiwibGFuZ3VhZ2VfcmVnaW9uX2NvZGUiOiJ2aWUtVk4ifV0=
|
133
|
+
http_version:
|
134
|
+
recorded_at: Tue, 16 Feb 2016 21:30:22 GMT
|
135
|
+
- request:
|
136
|
+
method: post
|
137
|
+
uri: https://stagingapi.verbalizeit.com/v2/tasks
|
138
|
+
body:
|
139
|
+
encoding: UTF-8
|
140
|
+
string: file=%23%3CFile%3A0x007f9ae9209758%3E&media_resource_url=http%3A%2F%2Fvimeo.com%2F100265082&operation=video_transcription&postback_url=&rush_order=true&source_language=eng-US&special_instructions=do%20well&start=true&status_url=&target_language=fra-FR
|
141
|
+
headers:
|
142
|
+
User-Agent:
|
143
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
144
|
+
X-Api-Key:
|
145
|
+
- "<API KEY>"
|
146
|
+
response:
|
147
|
+
status:
|
148
|
+
code: 200
|
149
|
+
message: OK
|
150
|
+
headers:
|
151
|
+
Access-Control-Allow-Credentials:
|
152
|
+
- 'true'
|
153
|
+
Access-Control-Allow-Headers:
|
154
|
+
- "*,x-requested-with,Content-Type,If-Modified-Since,If-None-Match,Auth-User-Token"
|
155
|
+
Access-Control-Allow-Methods:
|
156
|
+
- POST, PUT, GET, OPTIONS, DELETE
|
157
|
+
Access-Control-Allow-Origin:
|
158
|
+
- ''
|
159
|
+
Cache-Control:
|
160
|
+
- max-age=0, private, must-revalidate
|
161
|
+
Content-Type:
|
162
|
+
- application/json; charset=utf-8
|
163
|
+
Date:
|
164
|
+
- Tue, 16 Feb 2016 21:30:25 GMT
|
165
|
+
Etag:
|
166
|
+
- W/"4001f7cacc3f392dbf55d04fd716212a"
|
167
|
+
Server:
|
168
|
+
- nginx/1.4.6 (Ubuntu)
|
169
|
+
Set-Cookie:
|
170
|
+
- XSRF-TOKEN=b3hrDGOL9t8YwPCECxQhwD1Uv3cqCsx1n7su0SlxtLixNundCz%2FAmku2JpzofeCW8n0DbKv%2BT2jOzIqvydHalQ%3D%3D;
|
171
|
+
path=/
|
172
|
+
- _verbalizeit_session=cXZkTzV4SjF0OFMwMFBQdkVOQlZBWHgzdVNrQk9JVC9mQ0ljVnZSTi9XYURBZWJqdGRtbzViaTJmRGRmUFFNekgvNjRJajFXc25McW5WTWsrWlozOVZNbkIwQnRSSkR1LzdYTVg2ZVV1Uno1Um8vQXFVTlgwZmpNWW9iUWxyK1BDYytURU9MYnplK09HaWtueUxsQm9WeUFYWVRVaUVLTE5waEhkRnRlK2xDRHFURW51amZWa1V3L3piL3ZGMzF4LS04NkVmMlFrVWl1NlBYdWJwWXJjNjBBPT0%3D--2b426cecca0c7d7803ae0043ddc8ca7cdd6b3be5;
|
173
|
+
domain=.verbalizeit.com; path=/
|
174
|
+
X-Content-Type-Options:
|
175
|
+
- nosniff
|
176
|
+
X-Frame-Options:
|
177
|
+
- SAMEORIGIN
|
178
|
+
X-Request-Id:
|
179
|
+
- 7f6d92b6-9add-4a19-b0c5-0481e7fa4d71
|
180
|
+
X-Runtime:
|
181
|
+
- '3.416227'
|
182
|
+
X-Xss-Protection:
|
183
|
+
- 1; mode=block
|
184
|
+
Transfer-Encoding:
|
185
|
+
- chunked
|
186
|
+
Connection:
|
187
|
+
- keep-alive
|
188
|
+
body:
|
189
|
+
encoding: UTF-8
|
190
|
+
string: '{"id":"T399A79","status":"processing","created_at":"2016-02-16T16:30:24.132-05:00","operation":"video_transcription","source_language":"eng-US","target_language":"fra-FR","price_currency":"usd","price_amount":79.05,"machine_first":false,"source_download_url":"https://stagingapi.verbalizeit.com/v2/tasks/T399A79/source_file","source_filename":"sample.srt","unit_count":242,"unit_type":"second","translation_units":0,"translation_units_complete":0,"special_instructions":"do
|
191
|
+
well","project_name":"None","url":"https://stagingapi.verbalizeit.com/v2/tasks/T399A79","due_at":"2016-02-17T16:30:24.132-05:00","completed_at":null,"postback_url":null,"status_url":null,"rush_order":true,"translator":{},"reviewer":{}}'
|
192
|
+
http_version:
|
193
|
+
recorded_at: Tue, 16 Feb 2016 21:30:25 GMT
|
194
|
+
recorded_with: VCR 2.9.3
|
@@ -28,5 +28,6 @@
|
|
28
28
|
"avatar": "http://assets.verbalizeit.com/revewier.jpg"
|
29
29
|
},
|
30
30
|
"postback_url": "https://api.mycompany.com/finished_task",
|
31
|
-
"status_url": "https://api.mycompany.com/task_changed_status"
|
31
|
+
"status_url": "https://api.mycompany.com/task_changed_status",
|
32
|
+
"special_instructions": "My instructions"
|
32
33
|
}
|
@@ -151,6 +151,21 @@ describe Verbalizeit::Client do
|
|
151
151
|
end
|
152
152
|
end
|
153
153
|
|
154
|
+
it 'creates a task with special instructions' do
|
155
|
+
VCR.use_cassette('client/create_task_with_instructions') do
|
156
|
+
client = Verbalizeit::Client.new(staging_api_key, :staging)
|
157
|
+
|
158
|
+
options = {
|
159
|
+
file: file_srt, media_resource_url: media_resource_url,
|
160
|
+
start: true, rush_order: true, special_instructions: 'do well'
|
161
|
+
}
|
162
|
+
|
163
|
+
task = client.create_task(source_language, target_language, video, options)
|
164
|
+
expect(task.id).to_not eq(nil)
|
165
|
+
expect(task.special_instructions).to eq('do well')
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
154
169
|
end
|
155
170
|
|
156
171
|
describe 'list tasks' do
|
@@ -119,6 +119,10 @@ describe Verbalizeit::Task do
|
|
119
119
|
expect(@task.status_url).to eq('https://api.mycompany.com/task_changed_status')
|
120
120
|
end
|
121
121
|
|
122
|
+
it 'has special instructions' do
|
123
|
+
expect(@task.special_instructions).to eq('My instructions')
|
124
|
+
end
|
125
|
+
|
122
126
|
end
|
123
127
|
|
124
128
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: verbalizeit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathanael Burt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -148,6 +148,7 @@ files:
|
|
148
148
|
- spec/fixtures/cassettes/client/create_postback_task.yml
|
149
149
|
- spec/fixtures/cassettes/client/create_task.yml
|
150
150
|
- spec/fixtures/cassettes/client/create_task_start_task.yml
|
151
|
+
- spec/fixtures/cassettes/client/create_task_with_instructions.yml
|
151
152
|
- spec/fixtures/cassettes/client/get_task.yml
|
152
153
|
- spec/fixtures/cassettes/client/get_task_not_found.yml
|
153
154
|
- spec/fixtures/cassettes/client/language_list.yml
|
@@ -194,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
195
|
version: '0'
|
195
196
|
requirements: []
|
196
197
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.
|
198
|
+
rubygems_version: 2.4.5.1
|
198
199
|
signing_key:
|
199
200
|
specification_version: 4
|
200
201
|
summary: Wrapper for VerbalizeIt's V2 API.
|
@@ -204,6 +205,7 @@ test_files:
|
|
204
205
|
- spec/fixtures/cassettes/client/create_postback_task.yml
|
205
206
|
- spec/fixtures/cassettes/client/create_task.yml
|
206
207
|
- spec/fixtures/cassettes/client/create_task_start_task.yml
|
208
|
+
- spec/fixtures/cassettes/client/create_task_with_instructions.yml
|
207
209
|
- spec/fixtures/cassettes/client/get_task.yml
|
208
210
|
- spec/fixtures/cassettes/client/get_task_not_found.yml
|
209
211
|
- spec/fixtures/cassettes/client/language_list.yml
|