elibri_onix_dict 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "elibri_onix_dict"
8
- s.version = "0.0.11"
8
+ s.version = "0.0.12"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marcin Urbanski"]
@@ -38,6 +38,7 @@ Gem::Specification.new do |s|
38
38
  "lib/elibri_onix_dict/onix_3_0/serialized/EpubTechnicalProtection.yml",
39
39
  "lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageStatus.yml",
40
40
  "lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageType.yml",
41
+ "lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageUnit.yml",
41
42
  "lib/elibri_onix_dict/onix_3_0/serialized/ExtentType.yml",
42
43
  "lib/elibri_onix_dict/onix_3_0/serialized/ExtentUnit.yml",
43
44
  "lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml",
@@ -0,0 +1,8 @@
1
+
2
+ ---
3
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::EpubUsageUnit
4
+ onix_code: '09'
5
+ const_name: DAYS
6
+ name:
7
+ en: days
8
+ pl: dni
@@ -5,7 +5,7 @@ module Elibri
5
5
  module Version
6
6
  MAJOR = 0
7
7
  MINOR = 0
8
- PATCH = 11
8
+ PATCH = 12
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
11
11
  end
@@ -12,6 +12,7 @@ describe Elibri::ONIX::Dict::Release_3_0 do
12
12
  assert_equal 'BA', Elibri::ONIX::Dict::Release_3_0::ProductFormCode::BOOK
13
13
  assert_equal '02', Elibri::ONIX::Dict::Release_3_0::EpubUsageStatus::LIMITED
14
14
  assert_equal '07', Elibri::ONIX::Dict::Release_3_0::EpubUsageType::TIME_LIMITED
15
+ assert_equal '09', Elibri::ONIX::Dict::Release_3_0::EpubUsageUnit::DAYS
15
16
 
16
17
  form = Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA')
17
18
  assert_equal 'książka', form.name
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_dict
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 11
10
- version: 0.0.11
9
+ - 12
10
+ version: 0.0.12
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marcin Urbanski
@@ -122,6 +122,7 @@ files:
122
122
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubTechnicalProtection.yml
123
123
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageStatus.yml
124
124
  - lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageType.yml
125
+ - lib/elibri_onix_dict/onix_3_0/serialized/EpubUsageUnit.yml
125
126
  - lib/elibri_onix_dict/onix_3_0/serialized/ExtentType.yml
126
127
  - lib/elibri_onix_dict/onix_3_0/serialized/ExtentUnit.yml
127
128
  - lib/elibri_onix_dict/onix_3_0/serialized/LanguageCode.yml