elibri_onix_dict 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 339f8d5cf76445f8b076a0a1ac5684fee87e6e60
4
+ data.tar.gz: a5a6ffed8b9d390f6fc269ff89b4069f6c04c2ba
5
+ SHA512:
6
+ metadata.gz: 09e9661e1de786d1a9fe3d2f9417b05edcef1174df4b0cb9fbb192bc67381f1d97acdcf278d5f1defab3c7bf108ee963631603035921520e87d6c053a503b09a
7
+ data.tar.gz: f9406b4def0456f2b54b62402997ec2c40d037a69f308f1079bba57697d9a3b26c5a98f5755927605e5e4be473ba39f95f7c4a7aedd0b7a433cd32655814f92b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- elibri_onix_dict (0.0.20)
4
+ elibri_onix_dict (0.0.23)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -1,6 +1,7 @@
1
1
 
2
2
  require 'elibri_onix_dict/version'
3
3
  require 'elibri_onix_dict/releases'
4
+ require 'yaml'
4
5
 
5
6
  $KCODE = "UTF-8"
6
7
 
@@ -1,4 +1,5 @@
1
1
 
2
+ puts "===============================================111111111111111111111!!!!!!!!!!!!!!!!!!!!!!!"
2
3
 
3
4
  module Elibri
4
5
  module ONIX
@@ -6,3 +6,10 @@
6
6
  name:
7
7
  en: publication date
8
8
  pl: data publikacji
9
+
10
+ - !ruby/object:Elibri::ONIX::Dict::Release_3_0::PublishingDateRole
11
+ onix_code: '27'
12
+ const_name: PREORDER_EMBARGO_DATE
13
+ name:
14
+ en: preorder embargo date
15
+ pl: data, od której mogą być składane zamówienia
@@ -1,5 +1,4 @@
1
1
 
2
-
3
2
  %w{base}.each do |file_name|
4
3
  require File.join(File.dirname(__FILE__), "onix_3_0", file_name)
5
4
  end
@@ -1,7 +1,7 @@
1
1
  module Elibri
2
2
  module ONIX
3
3
  module Dict
4
- VERSION = "0.0.22"
4
+ VERSION = "0.0.23"
5
5
  Version = VERSION
6
6
  end
7
7
  end
@@ -13,6 +13,8 @@ describe Elibri::ONIX::Dict::Release_3_0 do
13
13
  assert_equal '01', Elibri::ONIX::Dict::Release_3_0::EpubUsageType::PREVIEW
14
14
  assert_equal '05', Elibri::ONIX::Dict::Release_3_0::EpubUsageUnit::PERCENTAGE
15
15
 
16
+ assert_equal '27', ONIX::Dict::Release_3_0::PublishingDateRole::PREORDER_EMBARGO_DATE
17
+
16
18
  form = Elibri::ONIX::Dict::Release_3_0::ProductFormCode.find_by_onix_code('BA')
17
19
  assert_equal 'książka', form.name
18
20
  assert_equal 'book', form.name(:en)
metadata CHANGED
@@ -1,94 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix_dict
3
- version: !ruby/object:Gem::Version
4
- hash: 51
5
- prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 22
10
- version: 0.0.22
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.23
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Marcin Urbanski
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2012-04-05 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2012-04-05 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: pry
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
33
20
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: minitest
37
21
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
47
34
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: bundler
51
35
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 23
58
- segments:
59
- - 1
60
- - 0
61
- - 0
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
62
47
  version: 1.0.0
63
48
  type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: jeweler
67
49
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
69
- none: false
70
- requirements:
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: jeweler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
71
59
  - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 11
74
- segments:
75
- - 1
76
- - 6
77
- - 2
60
+ - !ruby/object:Gem::Version
78
61
  version: 1.6.2
79
62
  type: :development
80
- version_requirements: *id004
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 1.6.2
81
69
  description: EDItEUR ONIX format dictionary helpers used in eLibri publication system
82
- email:
70
+ email:
83
71
  - marcin@urbanski.vdl.pl
84
72
  executables: []
85
-
86
73
  extensions: []
87
-
88
- extra_rdoc_files:
74
+ extra_rdoc_files:
89
75
  - LICENSE.txt
90
76
  - README.rdoc
91
- files:
77
+ files:
92
78
  - .gitignore
93
79
  - .travis.yml
94
80
  - Gemfile
@@ -141,41 +127,31 @@ files:
141
127
  - test/elibri_onix_dict_release_3_0_test.rb
142
128
  - test/elibri_onix_dict_test.rb
143
129
  - test/helper.rb
144
- has_rdoc: true
145
130
  homepage: http://github.com/elibri/elibri_onix_dict
146
- licenses:
131
+ licenses:
147
132
  - MIT
133
+ metadata: {}
148
134
  post_install_message:
149
135
  rdoc_options: []
150
-
151
- require_paths:
136
+ require_paths:
152
137
  - lib
153
- required_ruby_version: !ruby/object:Gem::Requirement
154
- none: false
155
- requirements:
156
- - - ">="
157
- - !ruby/object:Gem::Version
158
- hash: 3
159
- segments:
160
- - 0
161
- version: "0"
162
- required_rubygems_version: !ruby/object:Gem::Requirement
163
- none: false
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- hash: 3
168
- segments:
169
- - 0
170
- version: "0"
138
+ required_ruby_version: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ required_rubygems_version: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
171
148
  requirements: []
172
-
173
149
  rubyforge_project:
174
- rubygems_version: 1.5.2
150
+ rubygems_version: 2.2.2
175
151
  signing_key:
176
- specification_version: 3
152
+ specification_version: 4
177
153
  summary: EDItEUR ONIX format dictionary helpers used in eLibri publication system
178
- test_files:
154
+ test_files:
179
155
  - test/elibri_onix_dict_release_3_0_test.rb
180
156
  - test/elibri_onix_dict_test.rb
181
157
  - test/helper.rb