elibri_onix_dict 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{elibri_onix_dict}
8
- s.version = "0.0.4"
8
+ s.version = "0.0.5"
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"]
12
- s.date = %q{2011-11-14}
12
+ s.date = %q{2011-11-15}
13
13
  s.description = %q{EDItEUR ONIX format dictionary helpers used in eLibri publication system}
14
14
  s.email = %q{marcin@urbanski.vdl.pl}
15
15
  s.extra_rdoc_files = [
@@ -76,3 +76,10 @@
76
76
  name:
77
77
  en: other cartographic
78
78
  pl: inny format kartograficzny
79
+
80
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::ProductFormCode
81
+ onix_code: 'PC'
82
+ const_name: CALENDAR
83
+ name:
84
+ en: calendar
85
+ pl: kalendarz
@@ -5,7 +5,7 @@ module Elibri
5
5
  module Version
6
6
  MAJOR = 0
7
7
  MINOR = 0
8
- PATCH = 4
8
+ PATCH = 5
9
9
 
10
10
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
11
11
  end
@@ -5,9 +5,9 @@ require 'helper'
5
5
  describe Elibri::ONIX::Dict::Release_3_0 do
6
6
 
7
7
  it "should be able to build classes on the fly from .yml files" do
8
- assert_equal 11, Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL.size
9
- assert_equal 9, Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except('BA', 'EA').size
10
- assert_equal 9, Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except(['BA', 'EA']).size
8
+ assert_equal 12, Elibri::ONIX::Dict::Release_3_0::ProductFormCode::ALL.size
9
+ assert_equal 10, Elibri::ONIX::Dict::Release_3_0::ProductFormCode.all_except('BA', 'EA').size
10
+ assert_equal 10, 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
 
13
13
  form = Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA')
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: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marcin Urbanski
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-14 00:00:00 +01:00
18
+ date: 2011-11-15 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency