elibri_onix 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -1
- data/Gemfile.lock +2 -2
- data/elibri_onix.gemspec +6 -6
- data/lib/elibri_onix/onix_3_0/product.rb +30 -5
- data/lib/elibri_onix/version.rb +1 -1
- data/test/elibri_audience_range_test.rb +1 -1
- data/test/elibri_contributors_test.rb +6 -6
- data/test/elibri_edition_test.rb +1 -1
- data/test/elibri_extensions_test.rb +1 -1
- data/test/elibri_extent_test.rb +1 -1
- data/test/elibri_languages_test.rb +1 -1
- data/test/elibri_publisher_info_test.rb +1 -1
- data/test/elibri_publishing_status_test.rb +4 -0
- data/test/elibri_record_identifiers_test.rb +1 -1
- data/test/elibri_sale_restrictions_test.rb +1 -1
- data/test/elibri_series_memberships_test.rb +1 -1
- data/test/elibri_supporting_resources_test.rb +1 -1
- data/test/elibri_texts_test.rb +1 -1
- data/test/elibri_titles_test.rb +1 -1
- metadata +48 -48
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,7 +3,7 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
activesupport (2.3.5)
|
5
5
|
coderay (0.9.8)
|
6
|
-
elibri_onix_dict (0.0.
|
6
|
+
elibri_onix_dict (0.0.5)
|
7
7
|
git (1.2.5)
|
8
8
|
i18n (0.6.0)
|
9
9
|
jeweler (1.6.4)
|
@@ -38,7 +38,7 @@ PLATFORMS
|
|
38
38
|
DEPENDENCIES
|
39
39
|
activesupport (>= 2.3.5)
|
40
40
|
bundler (>= 1.0.0)
|
41
|
-
elibri_onix_dict (= 0.0.
|
41
|
+
elibri_onix_dict (= 0.0.5)
|
42
42
|
i18n
|
43
43
|
jeweler (~> 1.6.2)
|
44
44
|
minitest
|
data/elibri_onix.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{elibri_onix}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.8"
|
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-
|
12
|
+
s.date = %q{2011-11-21}
|
13
13
|
s.description = %q{EDItEUR ONIX format subset implementation used in Elibri publication system}
|
14
14
|
s.email = %q{marcin@urbanski.vdl.pl}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -103,7 +103,7 @@ Gem::Specification.new do |s|
|
|
103
103
|
s.homepage = %q{http://github.com/elibri/elibri_onix}
|
104
104
|
s.licenses = ["MIT"]
|
105
105
|
s.require_paths = ["lib"]
|
106
|
-
s.rubygems_version = %q{1.
|
106
|
+
s.rubygems_version = %q{1.5.2}
|
107
107
|
s.summary = %q{EDItEUR ONIX format subset implementation used in Elibri publication system}
|
108
108
|
|
109
109
|
if s.respond_to? :specification_version then
|
@@ -113,7 +113,7 @@ Gem::Specification.new do |s|
|
|
113
113
|
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
|
114
114
|
s.add_runtime_dependency(%q<roxml>, ["= 3.1.3"])
|
115
115
|
s.add_runtime_dependency(%q<i18n>, [">= 0"])
|
116
|
-
s.add_runtime_dependency(%q<elibri_onix_dict>, ["= 0.0.
|
116
|
+
s.add_runtime_dependency(%q<elibri_onix_dict>, ["= 0.0.5"])
|
117
117
|
s.add_development_dependency(%q<pry>, [">= 0"])
|
118
118
|
s.add_development_dependency(%q<mocha>, [">= 0"])
|
119
119
|
s.add_development_dependency(%q<minitest>, [">= 0"])
|
@@ -124,7 +124,7 @@ Gem::Specification.new do |s|
|
|
124
124
|
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
125
125
|
s.add_dependency(%q<roxml>, ["= 3.1.3"])
|
126
126
|
s.add_dependency(%q<i18n>, [">= 0"])
|
127
|
-
s.add_dependency(%q<elibri_onix_dict>, ["= 0.0.
|
127
|
+
s.add_dependency(%q<elibri_onix_dict>, ["= 0.0.5"])
|
128
128
|
s.add_dependency(%q<pry>, [">= 0"])
|
129
129
|
s.add_dependency(%q<mocha>, [">= 0"])
|
130
130
|
s.add_dependency(%q<minitest>, [">= 0"])
|
@@ -136,7 +136,7 @@ Gem::Specification.new do |s|
|
|
136
136
|
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
137
137
|
s.add_dependency(%q<roxml>, ["= 3.1.3"])
|
138
138
|
s.add_dependency(%q<i18n>, [">= 0"])
|
139
|
-
s.add_dependency(%q<elibri_onix_dict>, ["= 0.0.
|
139
|
+
s.add_dependency(%q<elibri_onix_dict>, ["= 0.0.5"])
|
140
140
|
s.add_dependency(%q<pry>, [">= 0"])
|
141
141
|
s.add_dependency(%q<mocha>, [">= 0"])
|
142
142
|
s.add_dependency(%q<minitest>, [">= 0"])
|
@@ -77,6 +77,24 @@ module Elibri
|
|
77
77
|
contributors.size == 1 && contributors[0].unnamed_persons.present?
|
78
78
|
end
|
79
79
|
|
80
|
+
def authors
|
81
|
+
unnamed_persons? ? ["praca zbiorowa"] : contributors.find_all { |c| c.role_name == "author" }.map(&:person_name)
|
82
|
+
end
|
83
|
+
|
84
|
+
[:ghostwriter, :scenarist, :originator, :illustrator, :photographer, :author_of_preface, :drawer, :cover_designer,
|
85
|
+
:inked_or_colored_by, :editor, :revisor, :translator, :editor_in_chief, :read_by].each do |role|
|
86
|
+
define_method "#{role}s" do
|
87
|
+
contributors.find_all { |c| c.role_name == role.to_s }.map(&:person_name)
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
[:announced, :preorder, :published, :out_of_print].each do |state|
|
92
|
+
define_method "#{state}?" do
|
93
|
+
current_state == state
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
|
80
98
|
def front_cover
|
81
99
|
supporting_resources.find { |resource| resource.content_type_name == "front_cover" }.try(:link)
|
82
100
|
end
|
@@ -84,6 +102,10 @@ module Elibri
|
|
84
102
|
def series_names
|
85
103
|
series.map { |series| series[0] }
|
86
104
|
end
|
105
|
+
|
106
|
+
def premiere
|
107
|
+
Date.new(*parsed_publishing_date) if parsed_publishing_date.size == 3
|
108
|
+
end
|
87
109
|
|
88
110
|
def proprietary_identifiers
|
89
111
|
identifiers.find_all { |i| i.identifier_type == "proprietary" }.inject({}) { |res, ident| res[ident.type_name] = ident.value; res }
|
@@ -152,10 +174,13 @@ module Elibri
|
|
152
174
|
@reviews = text_contents.find_all { |t| t.type_name == "review" }.map { |t| [t.text, t.author] }
|
153
175
|
@excerpts = text_contents.find_all { |t| t.type_name == "excerpt" }.map { |t| t.text }
|
154
176
|
@series = collections.map { |c| [c.title_detail.elements[0].title, c.title_detail.elements[0].part_number] }
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
177
|
+
distinctive_title = find_title(Elibri::ONIX::Dict::Release_3_0::TitleType::DISTINCTIVE_TITLE)
|
178
|
+
if distinctive_title
|
179
|
+
@title = distinctive_title.product_level.try(:title)
|
180
|
+
@subtitle = distinctive_title.product_level.try(:subtitle)
|
181
|
+
@collection_title = distinctive_title.collection_level.try(:title)
|
182
|
+
@collection_part = distinctive_title.collection_level.try(:part_number)
|
183
|
+
end
|
159
184
|
@full_title = find_title(Elibri::ONIX::Dict::Release_3_0::TitleType::DISTINCTIVE_TITLE).try(:full_title)
|
160
185
|
@original_title = find_title(Elibri::ONIX::Dict::Release_3_0::TitleType::ORIGINAL_TITLE).try(:full_title)
|
161
186
|
@trade_title = find_title(Elibri::ONIX::Dict::Release_3_0::TitleType::DISTRIBUTORS_TITLE).try(:full_title)
|
@@ -174,7 +199,7 @@ module Elibri
|
|
174
199
|
elsif publishing_status == "07"
|
175
200
|
@current_state = :out_of_print
|
176
201
|
else
|
177
|
-
raise "cannot determine the state of the product"
|
202
|
+
raise "cannot determine the state of the product #{record_reference}"
|
178
203
|
end
|
179
204
|
end
|
180
205
|
end
|
data/lib/elibri_onix/version.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse audience attributes supported in Elibri" do
|
6
6
|
product = load_fixture("onix_audience_range_example.xml")
|
7
7
|
|
8
8
|
assert_equal 7, product.reading_age_from
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse contributors info" do
|
6
6
|
product = load_fixture("onix_contributors_example.xml")
|
7
7
|
|
8
8
|
assert !product.no_contributor?
|
@@ -13,23 +13,23 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
13
13
|
|
14
14
|
assert_equal "author", cont1.role_name
|
15
15
|
assert_equal "Św. Tomasz z Akwinu", cont1.person_name
|
16
|
+
assert_equal ["Św. Tomasz z Akwinu"], product.authors
|
16
17
|
assert cont1.biographical_note.present?
|
17
18
|
|
18
19
|
assert_equal "translator", cont2.role_name
|
19
20
|
assert_equal "prof. ks. Henryk von Hausswolff OP", cont2.person_name
|
20
|
-
|
21
|
-
|
22
|
-
# #<Elibri::ONIX::Release_3_0::Contributor role_name: "translator", number: 2, role: "B06", person_name: "prof. ks. Henryk von Hausswolff OP", from_language: "lat", titles_before_names: "prof. ks.", names_before_key: "Henryk", prefix_to_key: "von", key_names: "Hausswolff", names_after_key: "OP", biographical_note: nil, unnamed_persons: nil>]
|
23
|
-
#
|
24
|
-
|
21
|
+
assert_equal ["prof. ks. Henryk von Hausswolff OP"], product.translators
|
22
|
+
|
25
23
|
product = load_fixture("onix_no_contributors_example.xml")
|
26
24
|
assert product.no_contributor?
|
27
25
|
assert !product.unnamed_persons?
|
26
|
+
assert_equal [], product.authors
|
28
27
|
|
29
28
|
|
30
29
|
product = load_fixture("onix_collective_work_example.xml")
|
31
30
|
assert !product.no_contributor?
|
32
31
|
assert product.unnamed_persons?
|
32
|
+
assert_equal ["praca zbiorowa"], product.authors
|
33
33
|
|
34
34
|
|
35
35
|
end
|
data/test/elibri_edition_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse edition number" do
|
6
6
|
product = load_fixture("onix_edition_example.xml")
|
7
7
|
assert_equal "wyd. 3, poprawione", product.edition_statement
|
8
8
|
end
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse elibri extensions" do
|
6
6
|
product = load_fixture("onix_elibri_extensions_example.xml")
|
7
7
|
|
8
8
|
assert_equal "miękka", product.cover_type
|
data/test/elibri_extent_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse extent attributes" do
|
6
6
|
product = load_fixture("onix_ebook_extent_example.xml")
|
7
7
|
assert_equal 150, product.number_of_pages
|
8
8
|
assert_equal 12, product.number_of_illustrations
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse languages info" do
|
6
6
|
product = load_fixture("onix_languages_example.xml")
|
7
7
|
assert_equal "polski", product.languages[0].language
|
8
8
|
assert_equal "language_of_text", product.languages[0].role_name
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse publisher name" do
|
6
6
|
product = load_fixture("onix_publisher_info_example.xml")
|
7
7
|
assert_equal "G+J Gruner+Jahr Polska", product.publisher_name
|
8
8
|
assert_equal "National Geographic", product.imprint_name
|
@@ -8,6 +8,7 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
8
8
|
assert_equal "02", product.publishing_status
|
9
9
|
assert_equal :announced, product.current_state
|
10
10
|
assert_equal [2011], product.parsed_publishing_date
|
11
|
+
assert product.premiere.nil? #nieznana jest dokładna data premiery
|
11
12
|
assert !product.sales_restrictions?
|
12
13
|
end
|
13
14
|
|
@@ -17,6 +18,7 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
17
18
|
assert_equal "02", product.publishing_status
|
18
19
|
assert_equal :preorder, product.current_state
|
19
20
|
assert_equal [2011, 2, 10], product.parsed_publishing_date
|
21
|
+
assert_equal Date.new(2011, 2, 10), product.premiere
|
20
22
|
assert !product.sales_restrictions?
|
21
23
|
end
|
22
24
|
|
@@ -26,6 +28,7 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
26
28
|
assert_equal "04", product.publishing_status
|
27
29
|
assert_equal :published, product.current_state
|
28
30
|
assert_equal [2011, 2], product.parsed_publishing_date
|
31
|
+
assert product.premiere.nil?
|
29
32
|
assert !product.sales_restrictions?
|
30
33
|
end
|
31
34
|
|
@@ -35,6 +38,7 @@ describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
|
35
38
|
assert_equal "07", product.publishing_status
|
36
39
|
assert_equal :out_of_print, product.current_state
|
37
40
|
assert_equal [], product.parsed_publishing_date
|
41
|
+
assert product.premiere.nil?
|
38
42
|
assert !product.sales_restrictions?
|
39
43
|
end
|
40
44
|
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse record identifiers" do
|
6
6
|
product = load_fixture("onix_record_identifiers_example.xml")
|
7
7
|
|
8
8
|
assert_equal "fdb8fa072be774d97a97", product.record_reference
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse information about sales restrictions" do
|
6
6
|
product = load_fixture("onix_sale_restrictions_example.xml")
|
7
7
|
assert product.sales_restrictions?
|
8
8
|
assert_equal [2012, 7, 22], product.parsed_publishing_date #data po wygaśnięciu wyłączności empiku
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse series info" do
|
6
6
|
product = load_fixture("onix_series_memberships_example.xml")
|
7
7
|
assert_equal ["Lektury szkolne", "Dla Bystrzaków"], product.series_names
|
8
8
|
|
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse attachment informations" do
|
6
6
|
product = load_fixture("onix_supporting_resources_example.xml")
|
7
7
|
|
8
8
|
assert_equal 2, product.supporting_resources.size
|
data/test/elibri_texts_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse texts" do
|
6
6
|
product = load_fixture("onix_texts_example.xml")
|
7
7
|
|
8
8
|
assert_equal 4, product.text_contents.size
|
data/test/elibri_titles_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
describe Elibri::ONIX::Release_3_0::ONIXMessage do
|
4
4
|
|
5
|
-
it "should be able to parse
|
5
|
+
it "should be able to parse titles" do
|
6
6
|
product = load_fixture("onix_titles_example.xml")
|
7
7
|
|
8
8
|
assert_equal "Nothing to Envy: Ordinary Lives in North Korea", product.original_title
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elibri_onix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 8
|
10
|
+
version: 0.1.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Marcin Urbanski
|
@@ -15,12 +15,12 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-11-
|
18
|
+
date: 2011-11-21 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
22
|
+
name: activesupport
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
24
|
none: false
|
25
25
|
requirements:
|
26
26
|
- - ">="
|
@@ -31,12 +31,12 @@ dependencies:
|
|
31
31
|
- 3
|
32
32
|
- 5
|
33
33
|
version: 2.3.5
|
34
|
-
name: activesupport
|
35
|
-
version_requirements: *id001
|
36
34
|
prerelease: false
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
35
|
type: :runtime
|
39
|
-
requirement:
|
36
|
+
requirement: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: roxml
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - "="
|
@@ -47,12 +47,12 @@ dependencies:
|
|
47
47
|
- 1
|
48
48
|
- 3
|
49
49
|
version: 3.1.3
|
50
|
-
name: roxml
|
51
|
-
version_requirements: *id002
|
52
50
|
prerelease: false
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
51
|
type: :runtime
|
55
|
-
requirement:
|
52
|
+
requirement: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: i18n
|
55
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
56
56
|
none: false
|
57
57
|
requirements:
|
58
58
|
- - ">="
|
@@ -61,28 +61,28 @@ dependencies:
|
|
61
61
|
segments:
|
62
62
|
- 0
|
63
63
|
version: "0"
|
64
|
-
name: i18n
|
65
|
-
version_requirements: *id003
|
66
64
|
prerelease: false
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
65
|
type: :runtime
|
69
|
-
requirement:
|
66
|
+
requirement: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: elibri_onix_dict
|
69
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
70
|
none: false
|
71
71
|
requirements:
|
72
72
|
- - "="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
hash:
|
74
|
+
hash: 21
|
75
75
|
segments:
|
76
76
|
- 0
|
77
77
|
- 0
|
78
|
-
-
|
79
|
-
version: 0.0.
|
80
|
-
name: elibri_onix_dict
|
81
|
-
version_requirements: *id004
|
78
|
+
- 5
|
79
|
+
version: 0.0.5
|
82
80
|
prerelease: false
|
81
|
+
type: :runtime
|
82
|
+
requirement: *id004
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
|
85
|
-
|
84
|
+
name: pry
|
85
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ">="
|
@@ -91,12 +91,12 @@ dependencies:
|
|
91
91
|
segments:
|
92
92
|
- 0
|
93
93
|
version: "0"
|
94
|
-
name: pry
|
95
|
-
version_requirements: *id005
|
96
94
|
prerelease: false
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
95
|
type: :development
|
99
|
-
requirement:
|
96
|
+
requirement: *id005
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: mocha
|
99
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
100
100
|
none: false
|
101
101
|
requirements:
|
102
102
|
- - ">="
|
@@ -105,12 +105,12 @@ dependencies:
|
|
105
105
|
segments:
|
106
106
|
- 0
|
107
107
|
version: "0"
|
108
|
-
name: mocha
|
109
|
-
version_requirements: *id006
|
110
108
|
prerelease: false
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
109
|
type: :development
|
113
|
-
requirement:
|
110
|
+
requirement: *id006
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: minitest
|
113
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
114
114
|
none: false
|
115
115
|
requirements:
|
116
116
|
- - ">="
|
@@ -119,12 +119,12 @@ dependencies:
|
|
119
119
|
segments:
|
120
120
|
- 0
|
121
121
|
version: "0"
|
122
|
-
name: minitest
|
123
|
-
version_requirements: *id007
|
124
122
|
prerelease: false
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
123
|
type: :development
|
127
|
-
requirement:
|
124
|
+
requirement: *id007
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: bundler
|
127
|
+
version_requirements: &id008 !ruby/object:Gem::Requirement
|
128
128
|
none: false
|
129
129
|
requirements:
|
130
130
|
- - ">="
|
@@ -135,12 +135,12 @@ dependencies:
|
|
135
135
|
- 0
|
136
136
|
- 0
|
137
137
|
version: 1.0.0
|
138
|
-
name: bundler
|
139
|
-
version_requirements: *id008
|
140
138
|
prerelease: false
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
139
|
type: :development
|
143
|
-
requirement:
|
140
|
+
requirement: *id008
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: jeweler
|
143
|
+
version_requirements: &id009 !ruby/object:Gem::Requirement
|
144
144
|
none: false
|
145
145
|
requirements:
|
146
146
|
- - ~>
|
@@ -151,12 +151,12 @@ dependencies:
|
|
151
151
|
- 6
|
152
152
|
- 2
|
153
153
|
version: 1.6.2
|
154
|
-
name: jeweler
|
155
|
-
version_requirements: *id009
|
156
154
|
prerelease: false
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
155
|
type: :development
|
159
|
-
requirement:
|
156
|
+
requirement: *id009
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: rcov
|
159
|
+
version_requirements: &id010 !ruby/object:Gem::Requirement
|
160
160
|
none: false
|
161
161
|
requirements:
|
162
162
|
- - ">="
|
@@ -165,9 +165,9 @@ dependencies:
|
|
165
165
|
segments:
|
166
166
|
- 0
|
167
167
|
version: "0"
|
168
|
-
name: rcov
|
169
|
-
version_requirements: *id010
|
170
168
|
prerelease: false
|
169
|
+
type: :development
|
170
|
+
requirement: *id010
|
171
171
|
description: EDItEUR ONIX format subset implementation used in Elibri publication system
|
172
172
|
email: marcin@urbanski.vdl.pl
|
173
173
|
executables: []
|
@@ -290,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
290
290
|
requirements: []
|
291
291
|
|
292
292
|
rubyforge_project:
|
293
|
-
rubygems_version: 1.
|
293
|
+
rubygems_version: 1.5.2
|
294
294
|
signing_key:
|
295
295
|
specification_version: 3
|
296
296
|
summary: EDItEUR ONIX format subset implementation used in Elibri publication system
|