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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 00f3fb73d05c7b0d0d93000532bde43634aad5932caa3f10ea86bb6c1e5a9bc8
4
- data.tar.gz: f15a89c2d22cf875a2fd022f13fec15f1ef1062451e9bdeab6fb857c9e436257
3
+ metadata.gz: 8e06c31265697b9b0191a27ce8cba8f56b0f4dc562af05b2ac6c9a33ff9e506a
4
+ data.tar.gz: 51f242d9bbe71e06e4c308c55c26adcbadd21b5f71591c01317f5ab0ef8b0eef
5
5
  SHA512:
6
- metadata.gz: 6dbea0f97b710bc39a66f50eb8fcc3b64ba735d4b2f7be99045c84ffec9dfc71afa2b2919c392d4b09fb597220051acd2131c8c2e654f91c3d39706f5dccca9f
7
- data.tar.gz: cace1184fac77e96c0669d810154a9188f4da3631a72d7c67b0de99bbaf787fdb34f34ea0e0f80bf00590c1a39253728cfdd1e846398a57512ac919a7cb2bb38
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/TxAmt/Amt/text()').text
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/TxAmt/Amt/@Ccy').text
125
- else
126
- nil
122
+ @xml_data.xpath('AmtDtls//Amt/@Ccy').text
127
123
  end
128
124
  end
129
125
  end
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = "2.6.1"
2
+ VERSION = '2.6.2'
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.1
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-05-29 00:00:00.000000000 Z
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
- rubyforge_project:
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.