sepa_file_parser 0.2.1 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8d90059f9f6a6aa166f2f164a0e2412ff8ae5378b8d614f8fc764095094d9e
4
- data.tar.gz: 1ae6aeacac6e2a086cd8abeefca57ba83992d155e6b76a84d18a3327b05a9b58
3
+ metadata.gz: e36d19a3088792a5780d1fa99382550e8687915602c534e001a6925ab2ab2c3c
4
+ data.tar.gz: 95569a4dc93f63069c3ec2aea6f63cf6baf0f445055a9093c27779dffb458995
5
5
  SHA512:
6
- metadata.gz: 1f0b6558fcbe154187bfbd0dbfcb9a5a567302ff85e9b2a6325e3f69c1e8f14898a9c69ca70d3d958a6be1c3c1e701de9745ada957a8a103f47861c6b4a7c3e7
7
- data.tar.gz: e6c2565015a26d735eec95310f897bf7a28b5341d97e700ba2a11d11975408a1906881f21798bafcc5c321b44b392167c559b15996aa5d4f4be40b93113d24a6
6
+ metadata.gz: 5249e791af1fab390dda946f936e48d0ccda37e3d74500f34810e44886f0be7c6fbd325f6e84007a46850298f53018c20dca47f6d453d9eb9dbf473fbd98a432
7
+ data.tar.gz: cac1cc8a474b15bd90552be5d4eac86899ad02ad9323bd87d50a4590c6f3225400abda71c4f5d7f11ae3b94bb22c8cf06f7793e99aa303defd38e18a1c36c17d
@@ -53,6 +53,11 @@ module SepaFileParser
53
53
  @bank_reference ||= xml_data.xpath('AcctSvcrRef/text()').text
54
54
  end
55
55
 
56
+ # @return [String]
57
+ def reference # May be missing
58
+ @reference ||= xml_data.xpath('NtryRef/text()').text
59
+ end
60
+
56
61
  # @return [Array<SepaFileParser::Transaction>]
57
62
  def transactions
58
63
  @transactions ||= parse_transactions
@@ -18,6 +18,7 @@ SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:camt.054.001.04', :
18
18
 
19
19
  ## PAIN001
20
20
  SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.001.001.03', :pain001)
21
+ SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.001.001.09', :pain001)
21
22
 
22
23
  ## PAIN002
23
24
  SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.002.001.03', :pain002)
@@ -25,3 +26,4 @@ SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.002.001.10', :
25
26
 
26
27
  ## PAIN008
27
28
  SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.008.003.02', :pain008)
29
+ SepaFileParser::Xml.register('urn:iso:std:iso:20022:tech:xsd:pain.008.001.08', :pain008)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SepaFileParser
4
- VERSION = '0.2.1'.freeze
4
+ VERSION = '0.3.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sepa_file_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-28 00:00:00.000000000 Z
10
+ date: 2025-01-10 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -140,7 +139,6 @@ homepage: https://github.com/viafintech/sepa_file_parser
140
139
  licenses:
141
140
  - MIT
142
141
  metadata: {}
143
- post_install_message:
144
142
  rdoc_options: []
145
143
  require_paths:
146
144
  - lib
@@ -155,8 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
153
  - !ruby/object:Gem::Version
156
154
  version: '0'
157
155
  requirements: []
158
- rubygems_version: 3.5.6
159
- signing_key:
156
+ rubygems_version: 3.6.2
160
157
  specification_version: 4
161
158
  summary: Gem for parsing camt, pain, ... files into a speaking object.
162
159
  test_files: []