elibri_onix_dict 0.0.68 → 0.0.71

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: 8c60b4b3830128f74356fc1a66f352080f3ce273e5766ec491cf3032f14fd8f9
4
- data.tar.gz: b202578b13fe6f6512ce9a21339def5102fa03251affb9a8e5c934011d005b70
3
+ metadata.gz: da1f4087d9d6bbaddab84bcca8a143702f8ac46499836cf35c3ee56c4dec19b6
4
+ data.tar.gz: d7eb6ebb0df22600ba32b26abb264d960365f39c9a305bf10736b471187ec7dd
5
5
  SHA512:
6
- metadata.gz: e2f497e2a780d220ca43d0b1f51622fbe83bb8eb7a81f69bd3de4e88efb67a6e429dace847312ea2c661bd42ada373f97101e9f37f8261d7d99a24611cc987f7
7
- data.tar.gz: 5d1fe4e1d5384c2038a3e48b52f48fae888c13ce7ad881b8c610634b2af2a86fa03636021e37286b0d2989f29a01827c9ee578bce370e828212ad597f58f7247
6
+ metadata.gz: 2b80387388f70e013b69f1b2ea39da0694ccbb0c76152fb310baa452b83b88518535b20a608f6677b7edc57d2fb970cc7eee9283698e038730436688cfb715ec
7
+ data.tar.gz: 7550314f8c0ee296bbfbe60559df228f7df8b6ff1a04752c4f484e89641a50c84681d4872cd22670f0f997c3b573f542b63df99845b1d84cf60bfca7721ce692
@@ -0,0 +1,8 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubLicenseExpressionType
4
+ onix_code: '01'
5
+ const_name: HUMAN_READABLE
6
+ name:
7
+ en: human readable
8
+ pl: ogólnodostępny dokument
@@ -0,0 +1,8 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::NameIdentifier
4
+ onix_code: '21'
5
+ const_name: ORCID
6
+ name:
7
+ en: ORCID
8
+ pl: ORCID
@@ -43,3 +43,17 @@
43
43
  en: short collection description
44
44
  pl: krótki opis cyklu (max. 350 znaków)
45
45
 
46
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::OtherTextType
47
+ onix_code: '20'
48
+ const_name: OPEN_ACCESS_STATEMENT
49
+ name:
50
+ en: open access statement
51
+ pl: deklaracja open access
52
+
53
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::OtherTextType
54
+ onix_code: '32'
55
+ const_name: LIST_OF_CONTENTS
56
+ name:
57
+ en: list of contents
58
+ pl: zawartość pudełka
59
+
@@ -189,6 +189,6 @@
189
189
  name:
190
190
  en: e-book open access
191
191
  pl: e-book open access
192
- digital: true
192
+ digital: false
193
193
  carrier: plik
194
194
  mandatory_isbn: true
@@ -20,4 +20,10 @@
20
20
  en: ISBN-13
21
21
  pl: ISBN-13
22
22
 
23
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductIDType
24
+ onix_code: '06'
25
+ const_name: DOI
26
+ name:
27
+ en: DOI
28
+ pl: DOI
23
29
 
@@ -1,5 +1,13 @@
1
1
 
2
2
  ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::SubjectSchemeIdentifier
4
+ onix_code: '20'
5
+ const_name: KEYWORDS
6
+ name:
7
+ en: keywords
8
+ pl: słowa kluczowe
9
+
10
+
3
11
  - !ruby/object:Elibri::ONIX::Dict::Release_3_0::SubjectSchemeIdentifier
4
12
  onix_code: '24'
5
13
  const_name: PROPRIETARY
@@ -24,3 +24,11 @@
24
24
  name:
25
25
  en: Wholesaler
26
26
  pl: hurtownia książek
27
+
28
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::SupplierRole
29
+ onix_code: '11'
30
+ const_name: RETAIL_NON_EXL_DIST
31
+ name:
32
+ en: Non-exclusive distributor to end-customers
33
+ pl: Dystrybutor do klientów końcowych
34
+
@@ -0,0 +1,8 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::UnpricedItemType
4
+ onix_code: '01'
5
+ const_name: FREE_OF_CHARGE
6
+ name:
7
+ en: free of charge
8
+ pl: bezpłatnie
@@ -0,0 +1,16 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::WebsiteRole
4
+ onix_code: '01'
5
+ const_name: PUBLISHER_WEBPAGE
6
+ name:
7
+ en: publisher's webpage
8
+ pl: strona www wydawnictwa
9
+
10
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::WebsiteRole
11
+ onix_code: '29'
12
+ const_name: FULL_CONTENT_LINK
13
+ name:
14
+ en: full content link
15
+ pl: link do pełnej treści książki
16
+
@@ -1,7 +1,7 @@
1
1
  module Elibri
2
2
  module ONIX
3
3
  module Dict
4
- VERSION = "0.0.68"
4
+ VERSION = "0.0.71"
5
5
  Version = VERSION
6
6
  end
7
7
  end
@@ -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 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
9
+ assert_equal 19, Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL.size
10
+ assert_equal 17, 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
@@ -25,6 +25,10 @@ describe Elibri::ONIX::Dict::Release_3_0 do
25
25
  assert !form.digital
26
26
  assert !form.digital?
27
27
 
28
+ form = Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('OPEN_ACCESS')
29
+
30
+ assert !form.digital?
31
+
28
32
  assert_raises NoMethodError do
29
33
  form.physical
30
34
  end
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.68
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Urbanski
@@ -108,6 +108,7 @@ files:
108
108
  - lib/elibri_onix_dict/onix_3_0/serialized/ContributorRole.yml
109
109
  - lib/elibri_onix_dict/onix_3_0/serialized/DateFormat.yml
110
110
  - lib/elibri_onix_dict/onix_3_0/serialized/EditionType.yml
111
+ - lib/elibri_onix_dict/onix_3_0/serialized/EpubLicenseExpressionType.yml
111
112
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubTechnicalProtection.yml
112
113
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageStatus.yml
113
114
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageType.yml
@@ -117,6 +118,7 @@ files:
117
118
  - lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml
118
119
  - lib/elibri_onix_dict/onix_3_0/serialized/LanguageRole.yml
119
120
  - lib/elibri_onix_dict/onix_3_0/serialized/MeasureType.yml
121
+ - lib/elibri_onix_dict/onix_3_0/serialized/NameIdentifier.yml
120
122
  - lib/elibri_onix_dict/onix_3_0/serialized/NotificationType.yml
121
123
  - lib/elibri_onix_dict/onix_3_0/serialized/OtherTextType.yml
122
124
  - lib/elibri_onix_dict/onix_3_0/serialized/PricePositionOnProduct.yml
@@ -147,6 +149,8 @@ files:
147
149
  - lib/elibri_onix_dict/onix_3_0/serialized/TitleElementLevel.yml
148
150
  - lib/elibri_onix_dict/onix_3_0/serialized/TitleType.yml
149
151
  - lib/elibri_onix_dict/onix_3_0/serialized/UnnamedPersons.yml
152
+ - lib/elibri_onix_dict/onix_3_0/serialized/UnpricedItemType.yml
153
+ - lib/elibri_onix_dict/onix_3_0/serialized/WebsiteRole.yml
150
154
  - lib/elibri_onix_dict/releases.rb
151
155
  - lib/elibri_onix_dict/version.rb
152
156
  - test/elibri_onix_dict_release_3_0_test.rb
@@ -172,8 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
176
  - !ruby/object:Gem::Version
173
177
  version: '0'
174
178
  requirements: []
175
- rubyforge_project:
176
- rubygems_version: 2.7.8
179
+ rubygems_version: 3.1.2
177
180
  signing_key:
178
181
  specification_version: 4
179
182
  summary: EDItEUR ONIX format dictionary helpers used in eLibri publication system