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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfb982a51111d107e3556e974ae13c6785f57fc3
4
- data.tar.gz: 9f2704b0359750d4be83c1ee426c5ac5f912ecd7
3
+ metadata.gz: 77bd0e89b8db5eb50ed66bca08323a6cd9781268
4
+ data.tar.gz: 0b66c310c9370a5a09c8408c5f398079f2cf98d3
5
5
  SHA512:
6
- metadata.gz: a1ecf9fd301c96620532433966b6f88d24f3b442be563f9006bc5570b714d96b0035a5d7ad84551bf01c80557bcd54396c88116606f07c22907df3562765f3e1
7
- data.tar.gz: 63af44158eadedc92367164e86a6b0065f80f1c4416c9b18615de6602f60cff7184531d95cc0da3a9d5ed32ddfb217823033ec3484160df1bacddd0661a0cd33
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 = get_id(::Libis::Tools::MetsFile::Representation)
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 = get_id(::Libis::Tools::MetsFile::Div)
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 = get_id(::Libis::Tools::MetsFile::File)
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 = get_id(::Libis::Tools::MetsFile::Map)
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
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.27'
3
+ VERSION = '0.9.28'
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.27
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-25 00:00:00.000000000 Z
11
+ date: 2016-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler