active_encode 0.8.1 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84cdc7c6c51f941c9a65dbe9a7bcb3b53696aec62e1e16dae8ebc05eb2b977f3
|
4
|
+
data.tar.gz: ac5b08b4d2a86904a51c8a936af299faa965917b6b940f8e555722e3d54eddc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eb7f3481595c269728fba537186cbe4faf12da5dfc0ffbd7b4ca95d0aa62d382b4c49609737b438a25586f810381862e1913a0a0a447c23c74eb2ad6c897f2b
|
7
|
+
data.tar.gz: 58f974a9af3e147ff9462d0a18717a20cd249981c148ec2f437f33f9248097c3df4505fd652faef90b83e3b211cbc993930ad94148a4e0f385c7ff8c6a8fb60a
|
@@ -123,6 +123,33 @@ describe ActiveEncode::EngineAdapters::MediaConvertAdapter do
|
|
123
123
|
|
124
124
|
it_behaves_like "an ActiveEncode::EngineAdapter"
|
125
125
|
|
126
|
+
describe "queue" do
|
127
|
+
let(:operations) { mediaconvert.api_requests(exclude_presign: true) }
|
128
|
+
|
129
|
+
it "uses the default queue" do
|
130
|
+
mediaconvert.stub_responses(:create_job, reconstitute_response("media_convert/job_created.json"))
|
131
|
+
ActiveEncode::Base.create(
|
132
|
+
"s3://input-bucket/test_files/source_file.mp4",
|
133
|
+
output_prefix: "active-encode-test/output",
|
134
|
+
outputs: [],
|
135
|
+
use_original_url: true
|
136
|
+
)
|
137
|
+
expect(operations).to include(include(operation_name: :create_job, params: include(queue: 'Default')))
|
138
|
+
end
|
139
|
+
|
140
|
+
it "uses a specific queue" do
|
141
|
+
mediaconvert.stub_responses(:create_job, reconstitute_response("media_convert/job_created.json"))
|
142
|
+
ActiveEncode::Base.engine_adapter.queue = 'test-queue'
|
143
|
+
ActiveEncode::Base.create(
|
144
|
+
"s3://input-bucket/test_files/source_file.mp4",
|
145
|
+
output_prefix: "active-encode-test/output",
|
146
|
+
outputs: [],
|
147
|
+
use_original_url: true
|
148
|
+
)
|
149
|
+
expect(operations).to include(include(operation_name: :create_job, params: include(queue: 'test-queue')))
|
150
|
+
end
|
151
|
+
end
|
152
|
+
|
126
153
|
describe "output" do
|
127
154
|
it "contains all expected outputs" do
|
128
155
|
completed_output.each do |expected_output|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_encode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Klein, Chris Colvard, Phuong Dinh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|