elibri_onix 0.4.3 → 0.4.4

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: 15690739e64d09b968d11eb825e6eabd86eec6aa59d8e9ea0d696df38df13e9f
4
- data.tar.gz: 875ad6557dc60fb4b191deff0b6639f37d93856abba48cc34d87353862061f61
3
+ metadata.gz: d69912737892405619e73b9ddeac017b128bac8b1919a437c3105b5287b3e49e
4
+ data.tar.gz: f3f5d46f1409ca1f0383b0aa177a729ee8019b9a1baf7bd1067cf2b5d0458cf7
5
5
  SHA512:
6
- metadata.gz: 21921add96e1398f23f7edfdd761f7c934e74e223895e069603b0a78326453813db55af712605646a2d0071709a270cd9a629d4203743519e3a806ddba1d9676
7
- data.tar.gz: 2168d41472819bedc0a9db95ddd2ff537082817a62dfb9d202c3263c8a5df0bde7619668fb647575f659bdacb48e4e3b7d925c458ca10b893aebc8376eed964e
6
+ metadata.gz: 01119d48727fbbaee300efe03479dd8a9fd30998916d9d3c0ad042ca7438c99ffbfc9e6eee3772d90b584c3ed32411b8eda35e9ba8853b6ea0ef1e194ad11e8a
7
+ data.tar.gz: 6280ee4543ed1c16b8b9a716bb3db38a75c6457d78b96e505affcb175e89140d0f0a9212cf0ac975b4f87b14f579518a42faea3a81703c7d1902e2467b9d5c39
@@ -295,7 +295,9 @@ module Elibri
295
295
  def descriptive_details_setup(data)
296
296
  @product_composition = data.at_xpath('xmlns:ProductComposition').try(:text)
297
297
  @product_form = data.at_xpath('xmlns:ProductForm').try(:text)
298
- @product_form_name = Elibri::ONIX::Dict::Release_3_0::ProductFormCode::find_by_onix_code(@product_form).name(:en).downcase
298
+ if Elibri::ONIX::Dict::Release_3_0::ProductFormCode::find_by_onix_code(@product_form)
299
+ @product_form_name = Elibri::ONIX::Dict::Release_3_0::ProductFormCode::find_by_onix_code(@product_form).name(:en).downcase
300
+ end
299
301
  @measures = data.xpath('xmlns:Measure').map { |measure_data| Measure.new(measure_data) }
300
302
  @title_details = data.xpath('xmlns:TitleDetail').map { |title_data| TitleDetail.new(title_data) }
301
303
  @collections = data.xpath('xmlns:Collection').map { |collection_data| Collection.new(collection_data) }
@@ -2,7 +2,7 @@ module Elibri
2
2
  module ONIX
3
3
  z = $VERBOSE
4
4
  $VERBOSE = nil
5
- VERSION = "0.4.3"
5
+ VERSION = "0.4.4"
6
6
  Version = VERSION
7
7
  $VERBOSE = z
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elibri_onix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcin Urbanski
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-09 00:00:00.000000000 Z
12
+ date: 2019-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -113,14 +113,14 @@ dependencies:
113
113
  name: bundler
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - "~>"
116
+ - - ">"
117
117
  - !ruby/object:Gem::Version
118
118
  version: '1.7'
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - "~>"
123
+ - - ">"
124
124
  - !ruby/object:Gem::Version
125
125
  version: '1.7'
126
126
  - !ruby/object:Gem::Dependency
@@ -280,7 +280,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  - !ruby/object:Gem::Version
281
281
  version: '0'
282
282
  requirements: []
283
- rubygems_version: 3.0.3
283
+ rubyforge_project:
284
+ rubygems_version: 2.7.9
284
285
  signing_key:
285
286
  specification_version: 4
286
287
  summary: EDItEUR ONIX format subset implementation used in Elibri publication system