samvera_hls 0.3.5 → 0.3.6

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: 9ef1faf19fb521c9b6427ea636574aab2910086c51dc28158d774e974dd0acb0
4
- data.tar.gz: c00aa40532640d252fec58beaed379545a596e6781183c11b776cc4bc2079a6a
3
+ metadata.gz: 76ff202d13f1ea8f43e9427fb4d79338dcd100aaab550b41db49d45469c0c20c
4
+ data.tar.gz: bdd9d0ae5ddec5a236292fdbedda7ef2aa3ec3ee1c1c9416014a67a5a0315e94
5
5
  SHA512:
6
- metadata.gz: e0a5f62c1b9c4ee3f9696089c03a520b30ca154766e65a4df1a89735979c4b560a6fa011b217e65ca131651db5d9aa6e6c99d2dbdfbebf6031db4dbc38e44f3e
7
- data.tar.gz: 7119ac53e2236881684c9dfffada1ada22f13a580dcd90c54093d3d3f8993036da3b56544a460609b129a0732b96fa4fe186d69170a8b5d52ee436af02514366
6
+ metadata.gz: c1819a2e75d129f228de42b40090550d14c1980ead29ee6e583e79b1b637c9fb8ae943e2802bb009bed7f423b5653f346cd456c62f56fe2e12c37f1d84ed2a97
7
+ data.tar.gz: 8bf0d2cf61e3aa0648e669c6ea5032ea67817fd0babb87c5d07cbabec324d11f06bc80ac74146ec398d9b29d113d19e411f488291b9ccca864339f6ac7cb8e3f
@@ -26,19 +26,19 @@ module SamveraHls
26
26
  end
27
27
 
28
28
  def media_display_partial(file_set)
29
- 'file_sets/media_display/' +
29
+ base = 'file_sets/media_display'
30
30
  if file_set.image?
31
- 'image'
31
+ File.join('hyrax',base,'image')
32
32
  elsif file_set.video?
33
- 'video_hls'
33
+ File.join(base,'video_hls')
34
34
  elsif file_set.audio?
35
- 'audio_hls'
35
+ File.join(base,'audio_hls')
36
36
  elsif file_set.pdf?
37
- 'pdf'
37
+ File.join('hyrax',base,'pdf')
38
38
  elsif file_set.office_document?
39
- 'office_document'
39
+ File.join('hyrax',base,'office_document')
40
40
  else
41
- 'default'
41
+ File.join('hyrax',base,'default')
42
42
  end
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module SamveraHls
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samvera_hls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ned Henry, UCSC Library Digital Initiatives