vidispine 1.6.1 → 1.6.2
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/vidispine/api/utilities.rb +4 -2
- data/lib/vidispine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a27f0cbb0db7f853e993d573f5436c25ed9a436b
|
|
4
|
+
data.tar.gz: 18eee5d0382a6ae93cc700b837186119e008a7f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26d3f331b4ef900002419e9a5c6e2ec2389dfa337e47322eafd859057a90ccee340ea4ab6efb9fb3b2476c09ff1800d679c93d0dabec3ed81b6f9328923ed6bb
|
|
7
|
+
data.tar.gz: 244e284425cee04712f1a870cd944d0414a7660e5e9f918510dc98d822d2b80d66092350fd6efe54831e3947c36137a38b86aa0c89439c882adb8f928af33155
|
|
@@ -666,7 +666,9 @@ module Vidispine
|
|
|
666
666
|
item_metadata_set(:item_id => item_id, :metadata_document => metadata_document)
|
|
667
667
|
end
|
|
668
668
|
|
|
669
|
-
|
|
669
|
+
|
|
670
|
+
should_add_to_collection = options.fetch(:add_item_to_collection, [ :collections, :collection, :collection_name, :collection_id, :file_path_collection_name_position ].any? { |v| args.keys.include?(v) })
|
|
671
|
+
if should_add_to_collection
|
|
670
672
|
logger.debug { 'Determining Collection to Add the Item to.' }
|
|
671
673
|
collections = determine_collection(args, options)
|
|
672
674
|
if collections.is_a?(Array)
|
|
@@ -720,7 +722,7 @@ module Vidispine
|
|
|
720
722
|
|
|
721
723
|
|
|
722
724
|
# 7. Generate the Transcode of the item
|
|
723
|
-
transcode_tag = args.fetch(:transcode_tag,
|
|
725
|
+
transcode_tag = args.fetch(:transcode_tag, false)
|
|
724
726
|
should_transcode = transcode_tag and !transcode_tag.empty? and transcode_tag.to_s.downcase != 'false'
|
|
725
727
|
|
|
726
728
|
should_wait_for_import_job_completion = should_transcode || options.fetch(:wait_for_import_job, true)
|
data/lib/vidispine/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vidispine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Whitson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|