camt_parser 2.8.0 → 2.9.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: edbff7658266a9cf3b798b83f7de21e344c2186be71b41c2d5b24774f3256ff4
4
- data.tar.gz: f67ab8465111d7fc8defb21a0737fecb3e8fd453be7fd6f7dcd06dfb2340cf4e
3
+ metadata.gz: 1ab0e2f31eb6cbafeaeda36ef3d09815ca8c4a8eaa854f31675c56c036de631f
4
+ data.tar.gz: b770cc8c5275519149590f8decd8339211116265d1e2435aba1124a84b3e4efb
5
5
  SHA512:
6
- metadata.gz: d19c2dacbda91453d1428316e4821b9c7cec23221a92712ce2e2ceeaf867f5892295889cd17ca8a8e9d934d6d35732dfb919d0e7b7686648251841c2e1884f6f
7
- data.tar.gz: 11951969b5acabd9e89c5d0b23f2810caf07ec99b8d743ebc9ea3280efbf1a4d78566c0da4abf8ee802994c3f58f8e7f5b5d51f8835e68399b3fe2c5d2ff88be
6
+ metadata.gz: c6bcd215688c41b5931c852ae05e08d7687a94bed8e3a9d0ea4b434c8977870d2370ad61e26f659c6461fd05e9468b04e7df166a7d4cf904469fd47121cdb40d
7
+ data.tar.gz: 0eb90c900f1838df35536a89a360315bbde8e452b52357ca152f7cef14fdedb63fa34c6c89be14fe8a4469b4ca3f8c07fc19aabcc60c098fc35e6a55e0a112ec
@@ -105,6 +105,10 @@ module CamtParser
105
105
  @addition_information ||= @xml_data.xpath('AddtlTxInf/text()').text
106
106
  end
107
107
 
108
+ def reason_code # May be missing
109
+ @reason_code ||= @xml_data.xpath('RtrInf/Rsn/Cd/text()').text
110
+ end
111
+
108
112
  private
109
113
 
110
114
  def parse_amount
@@ -1,3 +1,3 @@
1
1
  module CamtParser
2
- VERSION = '2.8.0'.freeze
2
+ VERSION = '2.9.0'.freeze
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.8.0
4
+ version: 2.9.0
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-08-13 00:00:00.000000000 Z
11
+ date: 2020-02-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 10.4.2
19
+ version: 13.0.1
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 10.4.2
26
+ version: 13.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.0.3
122
+ rubygems_version: 3.0.6
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Gem for parsing camt files into a speaking object.