libis-tools 0.9.64 → 0.9.65

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: ed43cabe402f518a16abeb563549ff84e63e04b7
4
- data.tar.gz: 3d2b5e737669b70474243c791835324b22af5d0d
3
+ metadata.gz: e20556c8d995577522538e74f68c9495cdcb8988
4
+ data.tar.gz: ee609560a8adbb810ed7be297806e610ff0b1468
5
5
  SHA512:
6
- metadata.gz: a829469cb8079a3138766b01f2c5fe6570eaa4dd3f4d0f8385018533f4c380cb649dcf3e7132b134feebea2c608d7bad5ad8cc0892053df9243802fa4f770dd4
7
- data.tar.gz: e9f84413d5ba71a0c3f8de0ea59fc507b7663b0eccb81381b82e2b143880fe02db89823164d710aefbdd99f6028691a48db191b39c90b7f0ccc77471498048e0
6
+ metadata.gz: 1244dcd1307b9eea5792750037686900d7c1a145a69ef8d3e5a30396b6ae0f0f8d4bc2c108f83a3481ce5cda6f6da90edd837de6981287f8b0f0fd0936619c82
7
+ data.tar.gz: bcaca90c28543679c1aee0a27f4b93b7fc7330ace6be042abe5ba45135bac614d42477cce36b4048d5ce7d969031c07fef50e6ed5e0baa22d46701f0e380f5a9
@@ -231,7 +231,7 @@ module Libis
231
231
  include MetsObject
232
232
 
233
233
  # The currently allowed attributes on this class. The attributes will typically be used in {DnxSection}s.
234
- attr_accessor :label, :note, :location, :target_location, :mimetype, :puid, :size, :entity_type,
234
+ attr_accessor :label, :note, :location, :target_location, :original, :mimetype, :puid, :size, :entity_type,
235
235
  :creation_date, :modification_date, :composition_level, :group_id,
236
236
  :checksum_MD5, :checksum_SHA1, :checksum_SHA256,:checksum_SHA384,:checksum_SHA512,
237
237
  :fixity_type, :fixity_value,
@@ -289,7 +289,7 @@ module Libis
289
289
  compositionLevel: composition_level,
290
290
  # fileLocationType: 'FILE',
291
291
  fileLocation: location,
292
- fileOriginalName: CGI.escape(target_name).gsub('+', '%20'),
292
+ fileOriginalName: CGI.escape(original || target_name).gsub('+', '%20'),
293
293
  fileOriginalPath: target_path,
294
294
  # fileOriginalID: URI.encode(location),
295
295
  # fileExtension: ::File.extname(orig_name),
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.64'
3
+ VERSION = '0.9.65'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.64
4
+ version: 0.9.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-06 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler