camt_parser 2.6.1 → 2.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/camt_parser/general/transaction.rb +2 -6
- data/lib/camt_parser/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e06c31265697b9b0191a27ce8cba8f56b0f4dc562af05b2ac6c9a33ff9e506a
|
4
|
+
data.tar.gz: 51f242d9bbe71e06e4c308c55c26adcbadd21b5f71591c01317f5ab0ef8b0eef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cce05782491717c966d96b4a1f2fb2c66b1130ca0d0f91988c6239bec307d34d5518027586337bd50e3fda695dc66912e5a0e71627455caba40b112b1ee22eb9
|
7
|
+
data.tar.gz: d2fea5a32f51027be48dcbfea73a8b4f15b849ce97fd7d5ed0880ec9ed437de61b4d8bc3c9b5f6e8dfecd94d9f28ca1757ed5f51930cc90f4f32504f51e88380
|
@@ -111,9 +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
|
115
|
-
else
|
116
|
-
nil
|
114
|
+
@xml_data.xpath('AmtDtls//Amt/text()').text
|
117
115
|
end
|
118
116
|
end
|
119
117
|
|
@@ -121,9 +119,7 @@ module CamtParser
|
|
121
119
|
if @xml_data.xpath('Amt').any?
|
122
120
|
@xml_data.xpath('Amt/@Ccy').text
|
123
121
|
elsif @xml_data.xpath('AmtDtls').any?
|
124
|
-
@xml_data.xpath('AmtDtls
|
125
|
-
else
|
126
|
-
nil
|
122
|
+
@xml_data.xpath('AmtDtls//Amt/@Ccy').text
|
127
123
|
end
|
128
124
|
end
|
129
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.2
|
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-
|
11
|
+
date: 2019-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -118,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
|
122
|
-
rubygems_version: 2.7.6
|
121
|
+
rubygems_version: 3.0.3
|
123
122
|
signing_key:
|
124
123
|
specification_version: 4
|
125
124
|
summary: Gem for parsing camt files into a speaking object.
|