sepa_file_parser 0.2.2 → 0.3.0

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: 15edde5fad18eb796a18e88cf9ea90971ca9f150e8514f325e8624818a96fa9a
4
- data.tar.gz: 725d1010f0a58b488cc0c54df14342074365d375ba80fe37df0e2c5b0179f185
3
+ metadata.gz: e36d19a3088792a5780d1fa99382550e8687915602c534e001a6925ab2ab2c3c
4
+ data.tar.gz: 95569a4dc93f63069c3ec2aea6f63cf6baf0f445055a9093c27779dffb458995
5
5
  SHA512:
6
- metadata.gz: a919ed43e7ab99a9679735df33491b3f319724c3f86d960c36ded230e21a3d5d4c9bb637602a0991c5fe460be36229ac703d06f562335a63ace02ca055c0c866
7
- data.tar.gz: 07cb118e95c4b23244959351ca1c09149af2c04074e4073ab3950bad00fbe0c9bb1a93af8058f3f907e5fa2b6548647e2b98f5dd26398f2de545e5a15c004a4d
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SepaFileParser
4
- VERSION = '0.2.2'.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.2
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-06-13 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.11
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: []