elibri_onix_dict 0.0.64 → 0.0.65
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a6d4a79169e82275f8dd3b79924294f640a5df0b1e562a989c970ef5a024757
|
4
|
+
data.tar.gz: f01a57660030e45a4652aa3b48c0e9983ae213a8ab302015bb4ff2c612be0bee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d4022d0239c976e975c7a5bb7ade71e434637257f7e80a776ba7a9c9a02b7b0aad64f969a234a50c95b2c0bb76f7655fc82d1e3d05317dc5225fa8212700c33
|
7
|
+
data.tar.gz: 032cb9c2fc1beca5b3484c2640d37765e7076237c13acd64c365b767bbb6942ead73882a5bff8b36be4162639c8833acb9223cd2745cebcc8947b99b4231a9a4
|
@@ -133,6 +133,36 @@
|
|
133
133
|
carrier: druk
|
134
134
|
mandatory_isbn: false
|
135
135
|
|
136
|
+
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductFormCode
|
137
|
+
onix_code: 'ZB'
|
138
|
+
const_name: FIGURE
|
139
|
+
name:
|
140
|
+
en: doll or figure
|
141
|
+
pl: figurka
|
142
|
+
digital: false
|
143
|
+
carrier: druk
|
144
|
+
mandatory_isbn: false
|
145
|
+
|
146
|
+
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductFormCode
|
147
|
+
onix_code: 'ZC'
|
148
|
+
const_name: PLUSH_TOY
|
149
|
+
name:
|
150
|
+
en: plush toy
|
151
|
+
pl: zabawka - pluszak
|
152
|
+
digital: false
|
153
|
+
carrier: druk
|
154
|
+
mandatory_isbn: false
|
155
|
+
|
156
|
+
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductFormCode
|
157
|
+
onix_code: 'ZD'
|
158
|
+
const_name: TOY
|
159
|
+
name:
|
160
|
+
en: toy
|
161
|
+
pl: zabawka (również edukacyjna)
|
162
|
+
digital: false
|
163
|
+
carrier: druk
|
164
|
+
mandatory_isbn: false
|
165
|
+
|
136
166
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductFormCode
|
137
167
|
onix_code: 'PODH'
|
138
168
|
const_name: POD_HARDCOVER
|
@@ -6,8 +6,8 @@ require 'helper'
|
|
6
6
|
describe Elibri::ONIX::Dict::Release_3_0 do
|
7
7
|
|
8
8
|
it "should be able to build classes on the fly from .yml files" do
|
9
|
-
assert_equal
|
10
|
-
assert_equal
|
9
|
+
assert_equal 18, Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL.size
|
10
|
+
assert_equal 16, Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except('BA', 'EA').size
|
11
11
|
assert_equal 'BA', Elibri::ONIX::Dict::Release_3_0::ProductFormCode::BOOK
|
12
12
|
assert_equal '02', Elibri::ONIX::Dict::Release_3_0::EpubUsageStatus::LIMITED
|
13
13
|
assert_equal '01', Elibri::ONIX::Dict::Release_3_0::EpubUsageType::PREVIEW
|