camt_parser 2.6.2 → 2.6.3

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: 8e06c31265697b9b0191a27ce8cba8f56b0f4dc562af05b2ac6c9a33ff9e506a
4
- data.tar.gz: 51f242d9bbe71e06e4c308c55c26adcbadd21b5f71591c01317f5ab0ef8b0eef
3
+ metadata.gz: c55b2860c65b9125650ed7d16ab2ec66018aa6a5239ce13d10c5bf1907528326
4
+ data.tar.gz: 4aeee45425ea98ba03adbb6ca10daada5435084b53c69d040b68b92b7d216cfb
5
5
  SHA512:
6
- metadata.gz: cce05782491717c966d96b4a1f2fb2c66b1130ca0d0f91988c6239bec307d34d5518027586337bd50e3fda695dc66912e5a0e71627455caba40b112b1ee22eb9
7
- data.tar.gz: d2fea5a32f51027be48dcbfea73a8b4f15b849ce97fd7d5ed0880ec9ed437de61b4d8bc3c9b5f6e8dfecd94d9f28ca1757ed5f51930cc90f4f32504f51e88380
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
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = '2.6.2'
2
+ VERSION = '2.6.3'
3
3
  end
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.2
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-20 00:00:00.000000000 Z
11
+ date: 2019-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake