vidispine 1.5.3 → 1.5.4

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: 7e06f7c248d0a30185075abb17cc5c77a713051d
4
- data.tar.gz: 435188fd53cf0ea96f5cfbb325ff3199d1b421e7
3
+ metadata.gz: 1199ff1db119291a7ec22067525032ff543e978b
4
+ data.tar.gz: a5c1c56806495c9a7f33a1ec716e4ce28923a593
5
5
  SHA512:
6
- metadata.gz: 6f889f18c5e2a7a59bb2a6de00babe0e04801db3f49d4ca3fc8cee0eb7dafe56131844d3792fb54b2eb747df107654c15f6eb630d04d6beb754a1c3f096e4714
7
- data.tar.gz: 54f602dc6e2d51ae693d9104b77a413183242c43f8035db473271938d2d6deb21dd515ba0af94597de7d37213453f5543b516c4dfa5690df54d9918e2ded8764
6
+ metadata.gz: be8bee97d964f66ecc2dbcdce388415316a121bfd8c79276d11a6387c204f49ada861e273fac8aa7364ac194dc374e03a486cec1f20b42592d302d7691b54365
7
+ data.tar.gz: 73a84bd123b3102a7f83cb62d6f87dc2435bec00401dc9fd21e849e976e955a2331fd5176b1a4383437fedbee4904e35c34fe4dba71b49caa3fa13f939238812
@@ -136,7 +136,8 @@ module Vidispine
136
136
  _args = _data[:arguments_out]
137
137
  _args[:name]
138
138
  end
139
- http(:post, '/collection', '', :query => { :name => collection_name })
139
+ path = File.join(api_endpoint_prefix, '/collection')
140
+ http(:post, path, '', :query => { :name => collection_name })
140
141
  end
141
142
 
142
143
  # @see http://apidoc.vidispine.com/4.2/ref/collection.html#delete-a-collection
@@ -51,10 +51,7 @@ module Vidispine
51
51
  @password = args[:password] || DEFAULT_PASSWORD
52
52
 
53
53
  @authorization_header_key = args.fetch(:authorization_header_key, 'Authorization')
54
- @authorization_header_value = args.fetch(:authorization_header_value,
55
- %(Basic #{["#{username}:#{password}"]
56
- .pack('m')
57
- .delete("\r\n")}))
54
+ @authorization_header_value = args.fetch(:authorization_header_value, %(Basic #{["#{username}:#{password}"].pack('m').delete("\r\n")}))
58
55
 
59
56
  content_type = args[:content_type_header] ||= DEFAULT_HEADER_CONTENT_TYPE
60
57
  accepts = args[:accepts_header] ||= args[:accept_header] || DEFAULT_HEADER_ACCEPTS
@@ -1,3 +1,3 @@
1
1
  module Vidispine
2
- VERSION = '1.5.3'
2
+ VERSION = '1.5.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vidispine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Whitson
@@ -56,7 +56,6 @@ files:
56
56
  - bin/vidispine
57
57
  - bin/vidispine-notification-handler
58
58
  - bin/vidispine-utilities-http-server
59
- - dist/vidispine-1.4.0.gem
60
59
  - lib/vidispine.rb
61
60
  - lib/vidispine/api/client.rb
62
61
  - lib/vidispine/api/client/http_client.rb
Binary file