vidispine 1.6.0 → 1.6.1

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
  SHA1:
3
- metadata.gz: 42f586329307e5534298c0619169e8d2b2a5f78d
4
- data.tar.gz: ecc3b8ba4c3472090ff6c45f48a263e624e95b9b
3
+ metadata.gz: 45f448716addb6abd5adb47888586536457139ee
4
+ data.tar.gz: d10f2fc1f7145eb4b290a44890d980a004c53c33
5
5
  SHA512:
6
- metadata.gz: f6dd1740b880a7730fe6786aa8cc30891b79a0cf641671f8a10f76472dae73c16fda520ba77df3aaf1eb68f9504b588ff76383288bb7800ffc3c4ce3921273ba
7
- data.tar.gz: 4fe948a108b5ce5d23150bb2b2d3d5facaa8403066b4f5712b0b90f924d4231f1e7edc40b24ea8cc082b2f9e4f608a65b6a9e0c410a9a43e3134b821b203e271
6
+ metadata.gz: dbfb4f022fe2bf933077bd6384006203977aad2eba11cfc089b2890f57e0b4eda07dbf24bed7458c08baed2a53de966cfcb95b8ce3cbd0206dcf4012025a4ebb
7
+ data.tar.gz: 65209f2392d17501dc0e66bf6e1e772e15d41baa398773ec2bccaf9d0c0f6717987d49707002f55975939d02fbeb4df011b573f8c21658b1360cf7dace645c46
@@ -691,12 +691,14 @@ module Vidispine
691
691
  unless shape
692
692
  import_args_in = args[:import_args]
693
693
 
694
- import_args = { :item_id => item_id, :file_id => file_id, :tag => original_shape_tag_name }
694
+ import_args = { :item_id => item_id, :file_id => file_id }
695
695
  import_args.merge!(symbolize_keys(import_args_in, false)) if import_args_in.is_a?(Hash)
696
696
 
697
697
  use_placeholder_import = options.fetch(:use_placeholder_import, true)
698
698
  if use_placeholder_import
699
699
  import_args[:item_type] ||= 'container'
700
+ else
701
+ import_args[:tag] ||= original_shape_tag_name
700
702
  end
701
703
 
702
704
  # 6. Add the file as the original shape
@@ -728,7 +730,7 @@ module Vidispine
728
730
  }
729
731
  last_response = job_monitor_response[:last_response]
730
732
  _response[:item_shape_import_job_result] = last_response
731
- raise "Error Importing File. Response: #{last_response.inspect}" unless last_response['status'] == 'FINISHED'
733
+ raise "Error Importing File. Response: #{last_response.inspect}" unless %(FINISHED_WARNING FINISHED).include?(last_response['status'])
732
734
  end
733
735
 
734
736
  if should_transcode
@@ -1,3 +1,3 @@
1
1
  module Vidispine
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
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.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Whitson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-14 00:00:00.000000000 Z
11
+ date: 2018-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler