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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dfc49b1d70bb6f2b9845bdf86cbb50ab1c3a17b4cbb833d720ed2d8e5f7c641c
4
- data.tar.gz: 8f36e62235c9ceb753dea48729cf95d33171a1bef06f4895f09d279ff6e217ed
3
+ metadata.gz: a7367d6b1d07cbd4a161bbd6a7ae0760466d4b6b3ace59975e06f026573e5944
4
+ data.tar.gz: 22f863fc8e21306ed1dbf320fa7efa3c20f18f55932cae3795e9c32d60c98f36
5
5
  SHA512:
6
- metadata.gz: 6c3195abd309afe4d00b8d399a62a52e36f6a3c711900f2e3615483944d437153cf583602be6c726af4b03acc2451c1422c8df6748b75ac772e554aa4ed0ec10
7
- data.tar.gz: 250a4a7957ae090d5984816dc91e862a807442f1ee3b48df96d6962e4bb89e23822a7460706120fa7bb688df205b90ce1fe3a50649dbe4698f8591fa6d39c955
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, :contact_name, :email_address]
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
@@ -2,7 +2,7 @@ module Elibri
2
2
  module ONIX
3
3
  z = $VERBOSE
4
4
  $VERBOSE = nil
5
- VERSION = "0.5.14"
5
+ VERSION = "0.5.15"
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.5.14
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-01-07 00:00:00.000000000 Z
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.6
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