elibri_onix 0.5.5 → 0.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elibri_onix/onix_3_0/product.rb +2 -1
- data/lib/elibri_onix/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3135609847f6851438db96e89fc9240856364f11a42727bc526f766289ac920d
|
4
|
+
data.tar.gz: 150e6197949d9bd3e3f3c0cf2f777aedc96568518dfa6bba318d6416263abccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf79b0871c694178ee6b64ceeae8e4117da9bbfa1829200143a709698c052fbfbc238397e5d8ba9553424b273704c441830e841ecd5f7e9375d111bfcd0b6342
|
7
|
+
data.tar.gz: 9d29b0ae58a1f91b701e406e9bf0e5af4973bde3bd4d167e29b9b467bb10867f2b978b71fcdfa8857227e3cc2c7d040d1edef320bac156bfeb32235922f925cc
|
@@ -358,7 +358,8 @@ module Elibri
|
|
358
358
|
if Elibri::ONIX::Dict::Release_3_0::ProductFormCode::find_by_onix_code(simplified_product_form).try!(:digital?)
|
359
359
|
@digital_formats = []
|
360
360
|
data.css("ProductFormDetail").each do |format|
|
361
|
-
|
361
|
+
format_name = Elibri::ONIX::Dict::Release_3_0::ProductFormDetail::find_by_onix_code(format.text).try(:name)
|
362
|
+
@digital_formats << format_name.upcase.gsub("MOBIPOCKET", "MOBI") if format_name
|
362
363
|
end
|
363
364
|
end
|
364
365
|
|
data/lib/elibri_onix/version.rb
CHANGED