ach 0.5.9 → 0.5.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ach/ach_file.rb +3 -2
- data/lib/ach/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: e56e1b5b6a2688a30cdc85718f127c53892b3780
|
4
|
+
data.tar.gz: ad2e971e990c22a353f61d980681dda1e58f1293
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efff82a733ff2d8c75b48b96cb0f89b78f38362ba2a995ee039da208ebe49f5484edcc92ed7dc44ad61534dcafd9497f17ed9c20d4d0aab9282306252afac363
|
7
|
+
data.tar.gz: fbfa670c2c885973a3cdbf86318003ff37ed5b17fa0a51c38a2f210b10eef827ff347835dd2e53ea3c7a76379f7fbc778374bc520847ab301a95f43c6cf6cb1b
|
data/lib/ach/ach_file.rb
CHANGED
@@ -22,7 +22,8 @@ module ACH
|
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
25
|
-
|
25
|
+
# @param eol [String] Line ending, default to CRLF
|
26
|
+
def to_s eol = "\r\n"
|
26
27
|
records = []
|
27
28
|
records << @header
|
28
29
|
|
@@ -51,7 +52,7 @@ module ACH
|
|
51
52
|
@control.entry_hash += batch.control.entry_hash
|
52
53
|
end
|
53
54
|
|
54
|
-
records.collect { |r| r.to_ach }.join(
|
55
|
+
records.collect { |r| r.to_ach }.join(eol) + eol
|
55
56
|
end
|
56
57
|
|
57
58
|
def report
|
data/lib/ach/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ach
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jared Morgan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-11-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appraisal
|