elibri_onix_generator 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -655,13 +655,14 @@ module Elibri
|
|
|
655
655
|
end
|
|
656
656
|
|
|
657
657
|
# Kategorie wg. wydawnictwa
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
658
|
+
product.publisher_product_categories.each do |product_category|
|
|
659
|
+
tag(:Subject) do
|
|
660
|
+
tag(:SubjectSchemeIdentifier, Elibri::ONIX::Dict::Release_3_0::SubjectSchemeIdentifier::PROPRIETARY)
|
|
661
|
+
tag(:SubjectSchemeName, product.publisher_name)
|
|
662
|
+
tag(:SubjectCode, product_category.id)
|
|
663
|
+
tag(:SubjectHeadingText, product_category.name)
|
|
664
|
+
end
|
|
665
|
+
end
|
|
665
666
|
end
|
|
666
667
|
|
|
667
668
|
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: elibri_onix_generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.11
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- "Marcin Urba\xC5\x84ski"
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2013-
|
|
14
|
+
date: 2013-07-05 00:00:00 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: builder
|