libis-tools 0.9.27 → 0.9.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libis/tools/mets_file.rb +4 -4
- data/lib/libis/tools/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: 77bd0e89b8db5eb50ed66bca08323a6cd9781268
|
4
|
+
data.tar.gz: 0b66c310c9370a5a09c8408c5f398079f2cf98d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1419234f87d4dbbab84ffe115779f724866bfad5c285f153d06700585d67dba17bfbe6f790af65aa5689e9636282c58a579340e132a422d47a63b8faa9fa0d76
|
7
|
+
data.tar.gz: fa10b37b2124b56ee33f19637c27e9ae02974b0be29473ed85ebeaf5f0225808c2ee0c01cebe2bace31a85957eaef7293a12b3ef067327d0588ae81e6515b224
|
@@ -254,7 +254,7 @@ module Libis
|
|
254
254
|
# @return [Libis::Tools::MetsFile::Representation]
|
255
255
|
def representation(hash = {})
|
256
256
|
rep = ::Libis::Tools::MetsFile::Representation.new
|
257
|
-
rep.set_id
|
257
|
+
rep.set_id get_id(::Libis::Tools::MetsFile::Representation)
|
258
258
|
rep.set_from_hash hash
|
259
259
|
@representations[rep.id] = rep
|
260
260
|
end
|
@@ -264,7 +264,7 @@ module Libis
|
|
264
264
|
# @return [Libis::Tools::MetsFile::Div]
|
265
265
|
def div(hash = {})
|
266
266
|
div = Libis::Tools::MetsFile::Div.new
|
267
|
-
div.set_id
|
267
|
+
div.set_id get_id(::Libis::Tools::MetsFile::Div)
|
268
268
|
div.set_from_hash hash
|
269
269
|
@divs[div.id] = div
|
270
270
|
end
|
@@ -274,7 +274,7 @@ module Libis
|
|
274
274
|
# @return [Libis::Tools::MetsFile::File]
|
275
275
|
def file(hash = {})
|
276
276
|
file = Libis::Tools::MetsFile::File.new
|
277
|
-
file.set_id
|
277
|
+
file.set_id get_id(::Libis::Tools::MetsFile::File)
|
278
278
|
file.set_from_hash hash
|
279
279
|
@files[file.id] = file
|
280
280
|
end
|
@@ -286,7 +286,7 @@ module Libis
|
|
286
286
|
# @return [Libis::Tools::MetsFile::Map]
|
287
287
|
def map(rep, div, logical = false)
|
288
288
|
map = Libis::Tools::MetsFile::Map.new
|
289
|
-
map.set_id
|
289
|
+
map.set_id get_id(::Libis::Tools::MetsFile::Map)
|
290
290
|
map.representation = rep
|
291
291
|
map.div = div
|
292
292
|
map.is_logical = logical
|
data/lib/libis/tools/version.rb
CHANGED
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.
|
4
|
+
version: 0.9.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Dekeyser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|