elibri_onix 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elibri_onix/onix_3_0/sender.rb +7 -15
- data/lib/elibri_onix/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7367d6b1d07cbd4a161bbd6a7ae0760466d4b6b3ace59975e06f026573e5944
|
4
|
+
data.tar.gz: 22f863fc8e21306ed1dbf320fa7efa3c20f18f55932cae3795e9c32d60c98f36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907a89cfdf1d7431eeafc4b98fb27f8eacf7145cd2c396351f53eddac38e3aa253fae78a097a7a3d2103581b864b25fd43437abe0e3d21c101ea492cf1c2017c
|
7
|
+
data.tar.gz: fc336cb061e06884535668ef61869a5c4f7b06eb327c8bddf2f49af9a54b603cf1cdd41b67330197193f92e4029a7996892000f92a70b16d7570ee7292c2b0c2
|
@@ -2,43 +2,35 @@
|
|
2
2
|
module Elibri
|
3
3
|
module ONIX
|
4
4
|
module Release_3_0
|
5
|
-
|
5
|
+
|
6
6
|
#Sender of the message
|
7
7
|
class Sender
|
8
8
|
include Inspector
|
9
|
-
|
9
|
+
|
10
10
|
#name of company, which sent the message
|
11
11
|
attr_accessor :sender_name
|
12
12
|
|
13
|
-
#contact person
|
14
|
-
attr_accessor :contact_name
|
15
|
-
|
16
|
-
#contact email
|
17
|
-
attr_accessor :email_address
|
18
|
-
|
19
13
|
#xml representation of sender
|
20
14
|
attr_accessor :to_xml
|
21
|
-
|
15
|
+
|
22
16
|
#:nodoc:
|
23
17
|
ATTRIBUTES = [
|
24
18
|
:sender_name, :contact_name, :email_address
|
25
19
|
]
|
26
|
-
|
20
|
+
|
27
21
|
#:nodoc:
|
28
22
|
RELATIONS = []
|
29
23
|
|
30
24
|
#:nodoc:
|
31
25
|
def inspect_include_fields
|
32
|
-
[:sender_name
|
26
|
+
[:sender_name]
|
33
27
|
end
|
34
|
-
|
28
|
+
|
35
29
|
def initialize(data)
|
36
30
|
@to_xml = data.to_s
|
37
31
|
@sender_name = data.at_css('SenderName').text
|
38
|
-
@contact_name = data.at_css('ContactName').text
|
39
|
-
@email_address = data.at_css('EmailAddress').text
|
40
32
|
end
|
41
|
-
|
33
|
+
|
42
34
|
end
|
43
35
|
|
44
36
|
end
|
data/lib/elibri_onix/version.rb
CHANGED
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.5.
|
4
|
+
version: 0.5.15
|
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: 2021-
|
12
|
+
date: 2021-05-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -288,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
288
288
|
- !ruby/object:Gem::Version
|
289
289
|
version: '0'
|
290
290
|
requirements: []
|
291
|
-
rubygems_version: 3.0.
|
291
|
+
rubygems_version: 3.0.1
|
292
292
|
signing_key:
|
293
293
|
specification_version: 4
|
294
294
|
summary: EDItEUR ONIX format subset implementation used in Elibri publication system
|