camt_parser 2.6.2 → 2.6.3
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 +4 -4
- data/lib/camt_parser/general/transaction.rb +2 -2
- data/lib/camt_parser/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c55b2860c65b9125650ed7d16ab2ec66018aa6a5239ce13d10c5bf1907528326
|
|
4
|
+
data.tar.gz: 4aeee45425ea98ba03adbb6ca10daada5435084b53c69d040b68b92b7d216cfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ead76b9016f9534c66e6535c81061f596dfba84d4ca7346341fbcfe74b3e7787d257d44778dbc3c459ad69b1c0a909207150ea648618ccacbe0db3cbc001620
|
|
7
|
+
data.tar.gz: fbc04891d18356284425039122ecab9d105bb81c91e65b33a1575563f128d833e8b14c94838e31e9b6595163cdddb34e8df71fe5a44ca7ffc97f04e09b37bb42
|
|
@@ -111,7 +111,7 @@ module CamtParser
|
|
|
111
111
|
if @xml_data.xpath('Amt').any?
|
|
112
112
|
@xml_data.xpath('Amt/text()').text
|
|
113
113
|
elsif @xml_data.xpath('AmtDtls').any?
|
|
114
|
-
@xml_data.xpath('AmtDtls//Amt/text()').text
|
|
114
|
+
@xml_data.xpath('AmtDtls//Amt/text()').first.text
|
|
115
115
|
end
|
|
116
116
|
end
|
|
117
117
|
|
|
@@ -119,7 +119,7 @@ module CamtParser
|
|
|
119
119
|
if @xml_data.xpath('Amt').any?
|
|
120
120
|
@xml_data.xpath('Amt/@Ccy').text
|
|
121
121
|
elsif @xml_data.xpath('AmtDtls').any?
|
|
122
|
-
@xml_data.xpath('AmtDtls//Amt/@Ccy').text
|
|
122
|
+
@xml_data.xpath('AmtDtls//Amt/@Ccy').first.text
|
|
123
123
|
end
|
|
124
124
|
end
|
|
125
125
|
end
|
data/lib/camt_parser/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: camt_parser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.6.
|
|
4
|
+
version: 2.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Schoknecht
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|