transloadit 2.0.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +23 -0
- data/.standard.yml +0 -0
- data/CHANGELOG.md +70 -55
- data/Gemfile +1 -1
- data/README.md +162 -86
- data/Rakefile +12 -17
- data/examples/README.md +94 -55
- data/examples/basic/audio-concat-transcoder.rb +29 -19
- data/examples/basic/audio-transcoder.rb +32 -22
- data/examples/basic/image-transcoder.rb +22 -17
- data/examples/basic/main.rb +31 -37
- data/examples/basic/media-transcoder.rb +2 -7
- data/lib/transloadit/api_model.rb +13 -13
- data/lib/transloadit/assembly.rb +27 -24
- data/lib/transloadit/exception.rb +2 -4
- data/lib/transloadit/request.rb +58 -52
- data/lib/transloadit/response/assembly.rb +14 -13
- data/lib/transloadit/response.rb +10 -10
- data/lib/transloadit/step.rb +13 -13
- data/lib/transloadit/template.rb +5 -5
- data/lib/transloadit/version.rb +1 -1
- data/lib/transloadit.rb +24 -24
- data/test/fixtures/cassettes/cancel_assembly.yml +3 -3
- data/test/fixtures/cassettes/create_template.yml +1 -1
- data/test/fixtures/cassettes/delete_template.yml +1 -1
- data/test/fixtures/cassettes/fetch_assemblies.yml +1 -1
- data/test/fixtures/cassettes/fetch_assembly_aborted.yml +3 -3
- data/test/fixtures/cassettes/fetch_assembly_errors.yml +3 -3
- data/test/fixtures/cassettes/fetch_assembly_executing.yml +3 -3
- data/test/fixtures/cassettes/fetch_assembly_notifications.yml +1 -1
- data/test/fixtures/cassettes/fetch_assembly_ok.yml +6 -6
- data/test/fixtures/cassettes/fetch_assembly_uploading.yml +3 -3
- data/test/fixtures/cassettes/fetch_billing.yml +1 -1
- data/test/fixtures/cassettes/fetch_root.yml +3 -3
- data/test/fixtures/cassettes/fetch_template.yml +1 -1
- data/test/fixtures/cassettes/fetch_templates.yml +1 -1
- data/test/fixtures/cassettes/post_assembly.yml +2 -2
- data/test/fixtures/cassettes/rate_limit_fail.yml +3 -3
- data/test/fixtures/cassettes/rate_limit_succeed.yml +4 -4
- data/test/fixtures/cassettes/replay_assembly.yml +2 -2
- data/test/fixtures/cassettes/replay_assembly_notification.yml +1 -1
- data/test/fixtures/cassettes/submit_assembly.yml +3 -3
- data/test/fixtures/cassettes/update_template.yml +1 -1
- data/test/test_helper.rb +10 -10
- data/test/unit/test_transloadit.rb +66 -66
- data/test/unit/transloadit/test_api.rb +35 -33
- data/test/unit/transloadit/test_assembly.rb +148 -112
- data/test/unit/transloadit/test_request.rb +41 -42
- data/test/unit/transloadit/test_response.rb +76 -76
- data/test/unit/transloadit/test_step.rb +52 -52
- data/test/unit/transloadit/test_template.rb +49 -54
- data/transloadit.gemspec +25 -26
- metadata +25 -41
- data/.travis.yml +0 -13
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transloadit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Touset
|
8
8
|
- Robin Mehner
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rest-client
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: standard
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: vcr
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,8 +174,9 @@ executables: []
|
|
160
174
|
extensions: []
|
161
175
|
extra_rdoc_files: []
|
162
176
|
files:
|
177
|
+
- ".github/workflows/ci.yml"
|
163
178
|
- ".gitignore"
|
164
|
-
- ".
|
179
|
+
- ".standard.yml"
|
165
180
|
- CHANGELOG.md
|
166
181
|
- Gemfile
|
167
182
|
- LICENSE
|
@@ -213,11 +228,11 @@ files:
|
|
213
228
|
- test/unit/transloadit/test_step.rb
|
214
229
|
- test/unit/transloadit/test_template.rb
|
215
230
|
- transloadit.gemspec
|
216
|
-
homepage:
|
231
|
+
homepage: https://github.com/transloadit/ruby-sdk/
|
217
232
|
licenses:
|
218
233
|
- MIT
|
219
234
|
metadata: {}
|
220
|
-
post_install_message:
|
235
|
+
post_install_message:
|
221
236
|
rdoc_options: []
|
222
237
|
require_paths:
|
223
238
|
- lib
|
@@ -225,46 +240,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
225
240
|
requirements:
|
226
241
|
- - ">="
|
227
242
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
243
|
+
version: 3.0.0
|
229
244
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
230
245
|
requirements:
|
231
246
|
- - ">="
|
232
247
|
- !ruby/object:Gem::Version
|
233
248
|
version: 2.2.0
|
234
249
|
requirements: []
|
235
|
-
|
236
|
-
|
237
|
-
signing_key:
|
250
|
+
rubygems_version: 3.5.3
|
251
|
+
signing_key:
|
238
252
|
specification_version: 4
|
239
253
|
summary: Official Ruby gem for Transloadit
|
240
|
-
test_files:
|
241
|
-
- test/fixtures/cassettes/cancel_assembly.yml
|
242
|
-
- test/fixtures/cassettes/create_template.yml
|
243
|
-
- test/fixtures/cassettes/delete_template.yml
|
244
|
-
- test/fixtures/cassettes/fetch_assemblies.yml
|
245
|
-
- test/fixtures/cassettes/fetch_assembly_aborted.yml
|
246
|
-
- test/fixtures/cassettes/fetch_assembly_errors.yml
|
247
|
-
- test/fixtures/cassettes/fetch_assembly_executing.yml
|
248
|
-
- test/fixtures/cassettes/fetch_assembly_notifications.yml
|
249
|
-
- test/fixtures/cassettes/fetch_assembly_ok.yml
|
250
|
-
- test/fixtures/cassettes/fetch_assembly_uploading.yml
|
251
|
-
- test/fixtures/cassettes/fetch_billing.yml
|
252
|
-
- test/fixtures/cassettes/fetch_root.yml
|
253
|
-
- test/fixtures/cassettes/fetch_template.yml
|
254
|
-
- test/fixtures/cassettes/fetch_templates.yml
|
255
|
-
- test/fixtures/cassettes/post_assembly.yml
|
256
|
-
- test/fixtures/cassettes/rate_limit_fail.yml
|
257
|
-
- test/fixtures/cassettes/rate_limit_succeed.yml
|
258
|
-
- test/fixtures/cassettes/replay_assembly.yml
|
259
|
-
- test/fixtures/cassettes/replay_assembly_notification.yml
|
260
|
-
- test/fixtures/cassettes/submit_assembly.yml
|
261
|
-
- test/fixtures/cassettes/update_template.yml
|
262
|
-
- test/test_helper.rb
|
263
|
-
- test/unit/test_transloadit.rb
|
264
|
-
- test/unit/transloadit/test_api.rb
|
265
|
-
- test/unit/transloadit/test_assembly.rb
|
266
|
-
- test/unit/transloadit/test_request.rb
|
267
|
-
- test/unit/transloadit/test_response.rb
|
268
|
-
- test/unit/transloadit/test_step.rb
|
269
|
-
- test/unit/transloadit/test_template.rb
|
270
|
-
has_rdoc:
|
254
|
+
test_files: []
|