elibri_onix 0.3.0 → 0.4.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b90e51ac6e2a3a1b2a091d68440962cfdb1a9a57
|
4
|
+
data.tar.gz: 946e311eee00c536b311bf632e315770c15803f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5b50b3e65d3cb714d8a3aa6ff171a8e061d5ca680490ebce62de16180c247356da5eb7e52b6a9ad95b0b59bd1acaa7c42be57b074476be35952cfcd830d3b5a
|
7
|
+
data.tar.gz: 09c902f6ea80389d660600cc03a5bbd4a12040f6eb297adbb804b8e0fd8cffbbfe58fcb9d0b8a394bba883ecda909d39b15cee2f65ec008203bb0ad658ff5123
|
data/FIELDS.rdoc
CHANGED
@@ -58,7 +58,7 @@ type, minimum_order_quantity, amount, currency_code, printed_on_product, positio
|
|
58
58
|
|
59
59
|
== Product
|
60
60
|
=== Attributes
|
61
|
-
elibri_dialect, height, width, thickness, weight, ean, isbn13, number_of_pages, duration, file_size, publisher_name, publisher_id, imprint_name, current_state, reading_age_from, reading_age_to, table_of_contents, description, reviews, excerpts, series, title, subtitle, collection_title, collection_part, full_title, original_title, trade_title, parsed_publishing_date, record_reference, deletion_text, cover_type, cover_price, vat, pkwiu, pdw_exclusiveness, product_composition, product_form, imprint, publisher, product_form, no_contributor, edition_statement, number_of_illustrations, publishing_status, publishing_date, premiere, front_cover, series_names, elibri_product_category1_id, elibri_product_category2_id, preview_exists, short_description
|
61
|
+
elibri_dialect, height, width, thickness, weight, ean, isbn13, number_of_pages, duration, file_size, publisher_name, publisher_id, imprint_name, current_state, reading_age_from, reading_age_to, table_of_contents, description, reviews, excerpts, series, title, subtitle, collection_title, collection_part, full_title, original_title, trade_title, parsed_publishing_date, record_reference, deletion_text, cover_type, cover_price, vat, pkwiu, pdw_exclusiveness, product_composition, product_form, imprint, publisher, product_form, no_contributor, edition_statement, number_of_illustrations, publishing_status, publishing_date, premiere, front_cover, series_names, elibri_product_category1_id, elibri_product_category2_id, preview_exists, short_description, additional_info
|
62
62
|
=== Relations
|
63
63
|
contributors, related_products, languages, measures, supply_details, measures, title_details, collections, extents, subjects, audience_ranges, text_contents, supporting_resources, sales_restrictions, authors, ghostwriters, scenarists, originators, illustrators, photographers, author_of_prefaces, drawers, cover_designers, inked_or_colored_bys, editors, revisors, translators, editor_in_chiefs, read_bys
|
64
64
|
|
@@ -152,6 +152,9 @@ module Elibri
|
|
152
152
|
#PDWExclusiveness
|
153
153
|
attr_reader :pdw_exclusiveness
|
154
154
|
|
155
|
+
#AdditionalInfo
|
156
|
+
attr_reader :additional_info
|
157
|
+
|
155
158
|
#kod ONIX typu produktu, np. 'BA' - lista dostępna pod adresem
|
156
159
|
#https://github.com/elibri/elibri_onix_dict/blob/master/lib/elibri_onix_dict/onix_3_0/serialized/ProductFormCode.yml
|
157
160
|
attr_reader :product_form
|
@@ -249,6 +252,7 @@ module Elibri
|
|
249
252
|
@pkwiu = data.at_xpath('elibri:PKWiU').try(:text)
|
250
253
|
@hyphenated_isbn = data.at_xpath('elibri:HyphenatedISBN').try(:text)
|
251
254
|
@pdw_exclusiveness = data.at_xpath('elibri:PDWExclusiveness').try(:text)
|
255
|
+
@additional_info = data.at_xpath('elibri:AdditionalInfo').try(:text)
|
252
256
|
|
253
257
|
@preview_exists = (data.at_xpath('elibri:preview_exists').try(:text) == "true")
|
254
258
|
@identifiers = data.xpath('xmlns:ProductIdentifier').map { |ident_data| ProductIdentifier.new(ident_data) }
|
data/lib/elibri_onix/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elibri_onix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Urbanski
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -167,7 +167,6 @@ files:
|
|
167
167
|
- ".travis.yml"
|
168
168
|
- FIELDS.rdoc
|
169
169
|
- Gemfile
|
170
|
-
- Gemfile.lock
|
171
170
|
- LICENSE.txt
|
172
171
|
- README.rdoc
|
173
172
|
- Rakefile
|