elibri_onix_dict 0.0.75 → 0.0.78
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_dict/onix_3_0/base.rb +18 -6
- data/lib/elibri_onix_dict/onix_3_0/serialized/EpubTechnicalProtection.yml +1 -15
- data/lib/elibri_onix_dict/onix_3_0/serialized/ExtentUnit.yml +8 -1
- data/lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml +60 -55
- data/lib/elibri_onix_dict/onix_3_0/serialized/PriceTypeCode.yml +0 -7
- data/lib/elibri_onix_dict/onix_3_0/serialized/ProductRelationType.yml +1 -8
- data/lib/elibri_onix_dict/onix_3_0/serialized/SupplierRole.yml +1 -19
- data/lib/elibri_onix_dict/onix_3_0/serialized/WebsiteRole.yml +9 -0
- data/lib/elibri_onix_dict/version.rb +1 -1
- metadata +2 -6
- data/lib/elibri_onix_dict/onix_3_0/serialized/ContentSourceType.yml +0 -29
- data/lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageStatus.yml +0 -23
- data/lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageType.yml +0 -8
- data/lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageUnit.yml +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8696315a350a2cc53d74e9f0656db5165bfeb1a5e692a9ababff74caeadb563f
|
4
|
+
data.tar.gz: 2b797c34277ad2aef755fa877c9978ef93c4898f0bb51d5adcac846e81bab7b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8dc05e97d8acff2891c824e903d1712421072c333fd02ffdd66108f5444460b00647fcbc2b3377915c7019613f6ccb4700c2dd6fe147d7eaef88c896e8ce439
|
7
|
+
data.tar.gz: 40a4af433d342030369ff2ec0bd00b3b480876908d3ffc2cec10e88aadfe25193ed3241595d050b8c49eb89072994b10793dc9804c3f2d5507bbe9039af6fff0
|
@@ -7,26 +7,38 @@ module Elibri
|
|
7
7
|
# Klasa podstawowa dla wszystkich słowników ONIX`a
|
8
8
|
class Base
|
9
9
|
|
10
|
-
attr_reader :onix_code, :name, :const_name
|
10
|
+
attr_reader :onix_code, :name, :const_name, :onix_doc
|
11
11
|
|
12
12
|
# ruby-1.9.2-head > dict_item.name(:en)
|
13
|
-
# => "author"
|
13
|
+
# => "author"
|
14
14
|
def name(locale = :pl)
|
15
15
|
@name[locale.to_s]
|
16
16
|
end
|
17
17
|
|
18
|
+
def onix_doc
|
19
|
+
if @onix_doc.nil?
|
20
|
+
true
|
21
|
+
else
|
22
|
+
@onix_doc
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def onix_doc?
|
27
|
+
onix_doc
|
28
|
+
end
|
29
|
+
|
18
30
|
def method_missing(method_name, *args)
|
19
|
-
if args.empty?
|
31
|
+
if args.empty?
|
20
32
|
if method_name.to_s =~ /\?$/
|
21
33
|
mn = method_name.to_s.gsub("?", "")
|
22
34
|
if instance_variable_defined?("@#{mn}")
|
23
35
|
value = instance_variable_get("@#{mn}")
|
24
36
|
if value.is_a?(TrueClass) || value.is_a?(FalseClass)
|
25
37
|
return value
|
26
|
-
end
|
38
|
+
end
|
27
39
|
end
|
28
40
|
elsif instance_variable_defined?("@#{method_name}")
|
29
|
-
return instance_variable_get("@#{method_name}")
|
41
|
+
return instance_variable_get("@#{method_name}")
|
30
42
|
end
|
31
43
|
end
|
32
44
|
super
|
@@ -52,7 +64,7 @@ module Elibri
|
|
52
64
|
self.all.reject {|dict_item| onix_codes.include?(dict_item.onix_code) }
|
53
65
|
end
|
54
66
|
|
55
|
-
|
67
|
+
|
56
68
|
end
|
57
69
|
|
58
70
|
|
@@ -1,19 +1,5 @@
|
|
1
1
|
|
2
|
-
---
|
3
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubTechnicalProtection
|
4
|
-
onix_code: '00'
|
5
|
-
const_name: NONE
|
6
|
-
name:
|
7
|
-
en: none
|
8
|
-
pl: brak
|
9
|
-
|
10
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubTechnicalProtection
|
11
|
-
onix_code: '01'
|
12
|
-
const_name: DRM
|
13
|
-
name:
|
14
|
-
en: DRM
|
15
|
-
pl: DRM
|
16
|
-
|
2
|
+
---
|
17
3
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubTechnicalProtection
|
18
4
|
onix_code: '02'
|
19
5
|
const_name: WATERMARK
|
@@ -1,44 +1,51 @@
|
|
1
1
|
|
2
|
-
---
|
2
|
+
---
|
3
3
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
4
4
|
onix_code: '03'
|
5
5
|
const_name: PAGES
|
6
|
+
onix_doc: true
|
6
7
|
name:
|
7
8
|
en: pages
|
8
9
|
pl: strony
|
9
10
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
10
11
|
onix_code: '05'
|
11
12
|
const_name: MINUTES
|
13
|
+
onix_doc: true
|
12
14
|
name:
|
13
15
|
en: minutes
|
14
16
|
pl: minuty
|
15
17
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
16
18
|
onix_code: '19'
|
17
19
|
const_name: MEGABYTES
|
20
|
+
onix_doc: true
|
18
21
|
name:
|
19
22
|
en: megabytes
|
20
23
|
pl: megabajty
|
21
24
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
22
25
|
onix_code: '04'
|
23
26
|
const_name: HOURS
|
27
|
+
onix_doc: false
|
24
28
|
name:
|
25
29
|
en: hours
|
26
30
|
pl: godziny
|
27
31
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
28
32
|
onix_code: '16'
|
29
33
|
const_name: HHHMMSS
|
34
|
+
onix_doc: false
|
30
35
|
name:
|
31
36
|
en: Hours minutes seconds
|
32
37
|
pl: Godziny minuty sekundy
|
33
38
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
34
39
|
onix_code: '15'
|
35
40
|
const_name: HHHMM
|
41
|
+
onix_doc: false
|
36
42
|
name:
|
37
43
|
en: Hours minutes
|
38
44
|
pl: Godziny minuty
|
39
45
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ExtentUnit
|
40
46
|
onix_code: '14'
|
41
47
|
const_name: HHH
|
48
|
+
onix_doc: false
|
42
49
|
name:
|
43
50
|
en: hours
|
44
51
|
pl: godziny
|
@@ -1,69 +1,69 @@
|
|
1
1
|
|
2
|
-
---
|
2
|
+
---
|
3
3
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
4
4
|
onix_code: afr
|
5
5
|
name:
|
6
|
-
en: afrikaans
|
7
|
-
pl: afrikaans
|
6
|
+
en: afrikaans
|
7
|
+
pl: afrikaans
|
8
8
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
9
9
|
onix_code: ara
|
10
10
|
name:
|
11
|
-
en: arabic
|
11
|
+
en: arabic
|
12
12
|
pl: arabski
|
13
13
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
14
14
|
onix_code: arm
|
15
15
|
name:
|
16
|
-
en: Armenian
|
16
|
+
en: Armenian
|
17
17
|
pl: armeński
|
18
18
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
19
19
|
onix_code: aze
|
20
20
|
name:
|
21
|
-
en: Azerbaijani
|
22
|
-
pl: azerbejdżański
|
21
|
+
en: Azerbaijani
|
22
|
+
pl: azerbejdżański
|
23
23
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
24
24
|
onix_code: bel
|
25
25
|
name:
|
26
|
-
en: Belarusian
|
26
|
+
en: Belarusian
|
27
27
|
pl: białoruski
|
28
28
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
29
29
|
onix_code: ben
|
30
30
|
name:
|
31
|
-
en: Bengali
|
31
|
+
en: Bengali
|
32
32
|
pl: bengalski
|
33
33
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
34
34
|
onix_code: bos
|
35
35
|
name:
|
36
|
-
en: Bosnian
|
36
|
+
en: Bosnian
|
37
37
|
pl: bośniacki
|
38
38
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
39
39
|
onix_code: bul
|
40
40
|
name:
|
41
|
-
en: Bulgarian
|
41
|
+
en: Bulgarian
|
42
42
|
pl: bułgarski
|
43
43
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
44
44
|
onix_code: che
|
45
45
|
name:
|
46
|
-
en: Chechen
|
46
|
+
en: Chechen
|
47
47
|
pl: czeczeński
|
48
48
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
49
49
|
onix_code: chi
|
50
50
|
name:
|
51
|
-
en: Chinese
|
51
|
+
en: Chinese
|
52
52
|
pl: chiński
|
53
53
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
54
54
|
onix_code: csb
|
55
55
|
name:
|
56
|
-
en: Kashubian
|
56
|
+
en: Kashubian
|
57
57
|
pl: kaszubski
|
58
58
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
59
59
|
onix_code: cze
|
60
60
|
name:
|
61
|
-
en: Czech
|
61
|
+
en: Czech
|
62
62
|
pl: czeski
|
63
63
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
64
64
|
onix_code: dan
|
65
65
|
name:
|
66
|
-
en: Danish
|
66
|
+
en: Danish
|
67
67
|
pl: duński
|
68
68
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
69
69
|
onix_code: dut
|
@@ -73,92 +73,92 @@
|
|
73
73
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
74
74
|
onix_code: egy
|
75
75
|
name:
|
76
|
-
en: Egyptian
|
76
|
+
en: Egyptian
|
77
77
|
pl: egipski
|
78
78
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
79
79
|
onix_code: eng
|
80
80
|
name:
|
81
|
-
en: English
|
81
|
+
en: English
|
82
82
|
pl: angielski
|
83
83
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
84
84
|
onix_code: epo
|
85
85
|
name:
|
86
|
-
en: Esperanto
|
87
|
-
pl: Esperanto
|
86
|
+
en: Esperanto
|
87
|
+
pl: Esperanto
|
88
88
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
89
89
|
onix_code: fin
|
90
90
|
name:
|
91
|
-
en: Finnish
|
91
|
+
en: Finnish
|
92
92
|
pl: fiński
|
93
93
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
94
94
|
onix_code: fre
|
95
95
|
name:
|
96
|
-
en: French
|
96
|
+
en: French
|
97
97
|
pl: francuski
|
98
98
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
99
99
|
onix_code: ger
|
100
100
|
name:
|
101
|
-
en: German
|
101
|
+
en: German
|
102
102
|
pl: niemiecki
|
103
103
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
104
104
|
onix_code: gle
|
105
105
|
name:
|
106
|
-
en: Irish
|
106
|
+
en: Irish
|
107
107
|
pl: irlandzki
|
108
108
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
109
109
|
onix_code: heb
|
110
110
|
name:
|
111
|
-
en: Hebrew
|
111
|
+
en: Hebrew
|
112
112
|
pl: hebrajski
|
113
113
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
114
114
|
onix_code: hin
|
115
115
|
name:
|
116
|
-
en: Hindi
|
117
|
-
pl: hindi
|
116
|
+
en: Hindi
|
117
|
+
pl: hindi
|
118
118
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
119
119
|
onix_code: hrv
|
120
120
|
name:
|
121
|
-
en: Croatian
|
121
|
+
en: Croatian
|
122
122
|
pl: chorwacki
|
123
123
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
124
124
|
onix_code: hun
|
125
125
|
name:
|
126
|
-
en: Hungarian
|
126
|
+
en: Hungarian
|
127
127
|
pl: węgierski
|
128
128
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
129
129
|
onix_code: ira
|
130
130
|
name:
|
131
|
-
en: Iranian languages
|
131
|
+
en: Iranian languages
|
132
132
|
pl: irański
|
133
133
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
134
134
|
onix_code: ita
|
135
135
|
name:
|
136
|
-
en: Italian
|
136
|
+
en: Italian
|
137
137
|
pl: włoski
|
138
138
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
139
139
|
onix_code: jpn
|
140
140
|
name:
|
141
|
-
en: Japanese
|
141
|
+
en: Japanese
|
142
142
|
pl: japoński
|
143
143
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
144
144
|
onix_code: lat
|
145
145
|
name:
|
146
|
-
en: Latin
|
146
|
+
en: Latin
|
147
147
|
pl: łaciński
|
148
148
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
149
149
|
onix_code: lav
|
150
150
|
name:
|
151
|
-
en: Latvian
|
151
|
+
en: Latvian
|
152
152
|
pl: łotewski
|
153
153
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
154
154
|
onix_code: lit
|
155
155
|
name:
|
156
|
-
en: Lithuanian
|
156
|
+
en: Lithuanian
|
157
157
|
pl: litewski
|
158
158
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
159
159
|
onix_code: ltz
|
160
160
|
name:
|
161
|
-
en: Luxembourgish; Letzeburgesch
|
161
|
+
en: Luxembourgish; Letzeburgesch
|
162
162
|
pl: luksemburski
|
163
163
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
164
164
|
onix_code: mol
|
@@ -168,38 +168,38 @@
|
|
168
168
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
169
169
|
onix_code: mon
|
170
170
|
name:
|
171
|
-
en: Mongolian
|
171
|
+
en: Mongolian
|
172
172
|
pl: mongolski
|
173
173
|
|
174
174
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
175
175
|
onix_code: nap
|
176
176
|
name:
|
177
|
-
en: Neapolitan
|
177
|
+
en: Neapolitan
|
178
178
|
pl: neapolitański
|
179
179
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
180
180
|
onix_code: nep
|
181
181
|
name:
|
182
|
-
en: Nepali
|
182
|
+
en: Nepali
|
183
183
|
pl: nepalski
|
184
184
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
185
185
|
onix_code: nor
|
186
186
|
name:
|
187
|
-
en: Norwegian
|
187
|
+
en: Norwegian
|
188
188
|
pl: norweski
|
189
189
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
190
190
|
onix_code: per
|
191
191
|
name:
|
192
|
-
en: Persian
|
192
|
+
en: Persian
|
193
193
|
pl: perski
|
194
194
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
195
195
|
onix_code: pol
|
196
196
|
name:
|
197
|
-
en: Polish
|
197
|
+
en: Polish
|
198
198
|
pl: polski
|
199
199
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
200
200
|
onix_code: por
|
201
201
|
name:
|
202
|
-
en: Portuguese
|
202
|
+
en: Portuguese
|
203
203
|
pl: portugalski
|
204
204
|
|
205
205
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
@@ -211,57 +211,57 @@
|
|
211
211
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
212
212
|
onix_code: rum
|
213
213
|
name:
|
214
|
-
en: Romanian
|
214
|
+
en: Romanian
|
215
215
|
pl: rumuński
|
216
216
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
217
217
|
onix_code: rus
|
218
218
|
name:
|
219
|
-
en: Russian
|
219
|
+
en: Russian
|
220
220
|
pl: rosyjski
|
221
221
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
222
222
|
onix_code: slo
|
223
223
|
name:
|
224
|
-
en: Slovak
|
225
|
-
pl: słowacki
|
224
|
+
en: Slovak
|
225
|
+
pl: słowacki
|
226
226
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
227
227
|
onix_code: slv
|
228
228
|
name:
|
229
|
-
en: Slovenian
|
229
|
+
en: Slovenian
|
230
230
|
pl: słoweński
|
231
231
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
232
232
|
onix_code: spa
|
233
233
|
name:
|
234
|
-
en: Spanish
|
234
|
+
en: Spanish
|
235
235
|
pl: hiszpański
|
236
236
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
237
237
|
onix_code: srp
|
238
238
|
name:
|
239
|
-
en: Serbian
|
239
|
+
en: Serbian
|
240
240
|
pl: serbski
|
241
241
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
242
242
|
onix_code: swe
|
243
243
|
name:
|
244
|
-
en: Swedish
|
244
|
+
en: Swedish
|
245
245
|
pl: szwedzki
|
246
246
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
247
247
|
onix_code: syr
|
248
248
|
name:
|
249
|
-
en: Syriac
|
249
|
+
en: Syriac
|
250
250
|
pl: syryjski
|
251
251
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
252
252
|
onix_code: tur
|
253
253
|
name:
|
254
|
-
en: Turkish
|
254
|
+
en: Turkish
|
255
255
|
pl: turecki
|
256
256
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
257
257
|
onix_code: ukr
|
258
258
|
name:
|
259
|
-
en: Ukrainian
|
259
|
+
en: Ukrainian
|
260
260
|
pl: ukraiński
|
261
261
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
262
262
|
onix_code: vie
|
263
263
|
name:
|
264
|
-
en: Vietnamese
|
264
|
+
en: Vietnamese
|
265
265
|
pl: wietnamski
|
266
266
|
|
267
267
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
@@ -330,3 +330,8 @@
|
|
330
330
|
en: Armenian
|
331
331
|
pl: armeński
|
332
332
|
|
333
|
+
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::LanguageCode
|
334
|
+
onix_code: san
|
335
|
+
name:
|
336
|
+
en: Sanskrit
|
337
|
+
pl: sanskryt
|
@@ -1,13 +1,6 @@
|
|
1
1
|
#lista 51
|
2
2
|
|
3
|
-
---
|
4
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductRelationType
|
5
|
-
onix_code: '23'
|
6
|
-
const_name: SIMILAR_PRODUCTS
|
7
|
-
name:
|
8
|
-
en: products are similar
|
9
|
-
pl: produkty są podobne (mogą zainteresować klienta)
|
10
|
-
|
3
|
+
---
|
11
4
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductRelationType
|
12
5
|
onix_code: '24'
|
13
6
|
const_name: FACSIMILES
|
@@ -1,29 +1,11 @@
|
|
1
1
|
|
2
|
-
---
|
2
|
+
---
|
3
3
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
|
4
4
|
onix_code: '01'
|
5
5
|
const_name: PUB_TO_RET
|
6
6
|
name:
|
7
7
|
en: publisher to retailers
|
8
8
|
pl: sprzedaż wydawnictwa do detalu
|
9
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
|
10
|
-
onix_code: '02'
|
11
|
-
const_name: PUB_EXL_DIST
|
12
|
-
name:
|
13
|
-
en: "publisher's exclusive distributor to retailers"
|
14
|
-
pl: wyłączny dystrybutor wydawnictwa
|
15
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
|
16
|
-
onix_code: '03'
|
17
|
-
const_name: PUB_NON_EXL_DIST
|
18
|
-
name:
|
19
|
-
en: "publisher's non-exclusive distributor to retailers"
|
20
|
-
pl: dystrybutor wydawnictwa bez prawa wyłączności
|
21
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
|
22
|
-
onix_code: '04'
|
23
|
-
const_name: WHOLESALER
|
24
|
-
name:
|
25
|
-
en: Wholesaler
|
26
|
-
pl: hurtownia książek
|
27
9
|
|
28
10
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
|
29
11
|
onix_code: '11'
|
@@ -7,6 +7,15 @@
|
|
7
7
|
en: publisher's webpage
|
8
8
|
pl: strona www wydawnictwa
|
9
9
|
|
10
|
+
---
|
11
|
+
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::WebsiteRole
|
12
|
+
onix_code: '02'
|
13
|
+
const_name: PUBLISHER_WEBPAGE_FOR_SPECIFIED_WORK
|
14
|
+
name:
|
15
|
+
en: publisher’s website for a specified work
|
16
|
+
pl: strona www wydawnictwa dotycząca określonej publikacji
|
17
|
+
|
18
|
+
|
10
19
|
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::WebsiteRole
|
11
20
|
onix_code: '29'
|
12
21
|
const_name: FULL_CONTENT_LINK
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elibri_onix_dict
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.78
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Urbanski
|
@@ -104,15 +104,11 @@ files:
|
|
104
104
|
- lib/elibri_onix_dict/onix_3_0/serialized/CollectionType.yml
|
105
105
|
- lib/elibri_onix_dict/onix_3_0/serialized/ContentAudience.yml
|
106
106
|
- lib/elibri_onix_dict/onix_3_0/serialized/ContentDateRole.yml
|
107
|
-
- lib/elibri_onix_dict/onix_3_0/serialized/ContentSourceType.yml
|
108
107
|
- lib/elibri_onix_dict/onix_3_0/serialized/ContributorRole.yml
|
109
108
|
- lib/elibri_onix_dict/onix_3_0/serialized/DateFormat.yml
|
110
109
|
- lib/elibri_onix_dict/onix_3_0/serialized/EditionType.yml
|
111
110
|
- lib/elibri_onix_dict/onix_3_0/serialized/EpubLicenseExpressionType.yml
|
112
111
|
- lib/elibri_onix_dict/onix_3_0/serialized/EpubTechnicalProtection.yml
|
113
|
-
- lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageStatus.yml
|
114
|
-
- lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageType.yml
|
115
|
-
- lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageUnit.yml
|
116
112
|
- lib/elibri_onix_dict/onix_3_0/serialized/ExtentType.yml
|
117
113
|
- lib/elibri_onix_dict/onix_3_0/serialized/ExtentUnit.yml
|
118
114
|
- lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml
|
@@ -178,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
174
|
- !ruby/object:Gem::Version
|
179
175
|
version: '0'
|
180
176
|
requirements: []
|
181
|
-
rubygems_version: 3.0.
|
177
|
+
rubygems_version: 3.0.1
|
182
178
|
signing_key:
|
183
179
|
specification_version: 4
|
184
180
|
summary: EDItEUR ONIX format dictionary helpers used in eLibri publication system
|
@@ -1,29 +0,0 @@
|
|
1
|
-
|
2
|
-
---
|
3
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContentSourceType
|
4
|
-
onix_code: '01'
|
5
|
-
const_name: PRINTED_MEDIA
|
6
|
-
name:
|
7
|
-
en: printed media
|
8
|
-
pl: media drukowane
|
9
|
-
|
10
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContentSourceType
|
11
|
-
onix_code: '02'
|
12
|
-
const_name: WEBSITE
|
13
|
-
name:
|
14
|
-
en: website
|
15
|
-
pl: strona internetowa
|
16
|
-
|
17
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContentSourceType
|
18
|
-
onix_code: '03'
|
19
|
-
const_name: RADIO
|
20
|
-
name:
|
21
|
-
en: radio
|
22
|
-
pl: radio
|
23
|
-
|
24
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::ContentSourceType
|
25
|
-
onix_code: '04'
|
26
|
-
const_name: TV
|
27
|
-
name:
|
28
|
-
en: TV
|
29
|
-
pl: telewizja
|
@@ -1,23 +0,0 @@
|
|
1
|
-
#lista 146
|
2
|
-
---
|
3
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageStatus
|
4
|
-
onix_code: '01'
|
5
|
-
const_name: UNLIMITED
|
6
|
-
name:
|
7
|
-
en: unlimited
|
8
|
-
pl: bez ograniczeń
|
9
|
-
|
10
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageStatus
|
11
|
-
onix_code: '02'
|
12
|
-
const_name: LIMITED
|
13
|
-
name:
|
14
|
-
en: limited
|
15
|
-
pl: obowiązuje ograniczenie
|
16
|
-
|
17
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageStatus
|
18
|
-
onix_code: '03'
|
19
|
-
const_name: PROHIBITED
|
20
|
-
name:
|
21
|
-
en: prohibited
|
22
|
-
pl: zabronione
|
23
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
#lista 147
|
2
|
-
---
|
3
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageUnit
|
4
|
-
onix_code: '02'
|
5
|
-
const_name: CHARACTERS
|
6
|
-
name:
|
7
|
-
en: characters
|
8
|
-
pl: znaków
|
9
|
-
|
10
|
-
- !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageUnit
|
11
|
-
onix_code: '05'
|
12
|
-
const_name: PERCENTAGE
|
13
|
-
name:
|
14
|
-
en: percentage
|
15
|
-
pl: procent
|