elibri_onix 0.1.22 → 0.1.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -80,7 +80,7 @@ role, format, date, parsed
80
80
 
81
81
  == RelatedProduct
82
82
  === Attributes
83
- relation_code, isbn13, proprietary_identifiers
83
+ relation_code, isbn13, proprietary_identifiers, record_reference
84
84
  === Relations
85
85
  identifiers
86
86
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- elibri_onix (0.1.22)
4
+ elibri_onix (0.1.23)
5
5
  activesupport (>= 2.3.5)
6
6
  elibri_onix_dict (>= 0.0.5)
7
7
  i18n
@@ -31,7 +31,7 @@ module Elibri
31
31
 
32
32
 
33
33
  def record_reference
34
- identifiers.find {|identifier| identifier.type == 01 && identifier.name == elibri}.try(:value)
34
+ identifiers.find {|identifier| identifier.type.to_s == '01' && identifier.type_name == 'elibri' }.try(:value)
35
35
  end
36
36
 
37
37
 
@@ -1,6 +1,6 @@
1
1
  module Elibri
2
2
  module ONIX
3
- VERSION = "0.1.22"
3
+ VERSION = "0.1.23"
4
4
  Version = VERSION
5
5
  end
6
6
  end
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: 55
4
+ hash: 53
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 22
10
- version: 0.1.22
9
+ - 23
10
+ version: 0.1.23
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marcin Urbanski