elibri_onix_generator 0.4.11 → 0.4.12

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: 70c6c7e89746b99aeab718ef88928bd4408d53139d3c5998620cd472a0ae7ee0
4
- data.tar.gz: 614d21bb48972e5b87adfbdaa6090cb8a7bb25b07ab47b1de8cb62af4dfe4696
3
+ metadata.gz: c1b04ea234ac545b763d6a2f7dd60869244af3568ae36d7f5c1b153468bfb83c
4
+ data.tar.gz: d7a280a6d7b035b948c92014540c38d3dbf82c6875a6dd430dac91257d1ac210
5
5
  SHA512:
6
- metadata.gz: fdb088e0812fe65cb187962b98ca2882db6f2e5ef5651a733a3fa7e019e5dfd503ebcf51201da23f2cb72cf6ec4f9afa01f638686a9429c66fc2e87e8e4f6622
7
- data.tar.gz: 8087f516dca618db91a939068eb136b31d5e8f3113c724e0aa1e700fc273652f15b3d1f26aab9635ef97ee9010866c9933bfc2c9ec5594ce2681a8feda725558
6
+ metadata.gz: 0c85f66ba02a9a46fb96dd8f9f9587db6eaec757b92e6a887cc67332673f410d86762ff163e20914afc85a63187b288fade757430c5f5732d89e634cf4447d5b
7
+ data.tar.gz: 469ad4b5188721631339dd1e08db020e23eeb7cd5f86f638a3e4f47fb14de47b8d92ddad3914e915203aaf2f38333c904960b75cbc839fd1296db96448ca3f96
@@ -979,7 +979,7 @@ module Elibri
979
979
  tag(:TitleElement) do
980
980
  comment "Używamy tylko #{Elibri::ONIX::Dict::Release_3_0::TitleElementLevel::COLLECTION}", :kind => :onix_series_memberships
981
981
  tag(:TitleElementLevel, Elibri::ONIX::Dict::Release_3_0::TitleElementLevel::COLLECTION)
982
- tag(:PartNumber, series_membership.number_within_series) if series_membership.number_within_series
982
+ tag(:PartNumber, series_membership.number_within_series) if field_exists?(series_membership, :number_within_series)
983
983
  tag(:TitleText, series_membership.series_name)
984
984
  end
985
985
  end
@@ -1,3 +1,3 @@
1
1
  module ElibriOnixGenerator
2
- VERSION = "0.4.11"
2
+ VERSION = "0.4.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.11
4
+ version: 0.4.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Urbański
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-08 00:00:00.000000000 Z
12
+ date: 2019-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: builder