ruby_fints 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/lib/fints/helper.rb +3 -3
- data/lib/fints/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '046070118a12bf407ebbc6d300d43a616c4c35a8'
|
4
|
+
data.tar.gz: 1d25318affcfaf97965fe9b9ebcbd031da4010d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e751448855bf9f5b0763233671f022a7d724c3bd9f50aa8f9307d386b172e2d4cda3c27da04b42121117e575cfb34a977b2f3e6a94f66f0111e93dc35eb14979
|
7
|
+
data.tar.gz: 1f0819503b91715b67b3a698c4b0b26350d8cde134abfef5143c806497745682efa64a3c79b3ec95e79a980dfa135bc7da84bb4a920a52864c2ea585ae103747
|
data/README.md
CHANGED
data/lib/fints/helper.rb
CHANGED
@@ -7,10 +7,10 @@ module FinTS
|
|
7
7
|
def self.fints_unescape(content)
|
8
8
|
content.gsub('??', '?').gsub("?'", "'").gsub('?+', '+').gsub('?:', ':')
|
9
9
|
end
|
10
|
-
|
10
|
+
|
11
11
|
def self.mt940_to_array(data)
|
12
|
-
processed_data = data.gsub('@@',
|
13
|
-
mt940 = Cmxl.parse(processed_data
|
12
|
+
processed_data = data.gsub('@@', "\n").gsub('-0000', '+0000')
|
13
|
+
mt940 = Cmxl.parse(processed_data)
|
14
14
|
mt940.flat_map(&:transactions)
|
15
15
|
end
|
16
16
|
end
|
data/lib/fints/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_fints
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marvin Killing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cmxl
|