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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e36d19a3088792a5780d1fa99382550e8687915602c534e001a6925ab2ab2c3c
|
4
|
+
data.tar.gz: 95569a4dc93f63069c3ec2aea6f63cf6baf0f445055a9093c27779dffb458995
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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:
|
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.
|
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: []
|