ach 0.5.11 → 0.5.12

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
  SHA1:
3
- metadata.gz: 9e7ca9ea4816c360f88497c889f35c4edc6157cb
4
- data.tar.gz: 1a7c8e819411bf1d75e8e2ea0c596de88d9c8741
3
+ metadata.gz: 66fa0bf5167c2add37eac7aa713553cf83b95f6b
4
+ data.tar.gz: d0ef6c4c0022eec2f0a1240ac83cc9934fab911a
5
5
  SHA512:
6
- metadata.gz: 8c4c4d8eb7597ef6a4b54400f3aeb73c4301484ce9f0ed30e6e46adb822b69363bc7b7e59e12d2854b14d8fc30b3b3c911191a28cae389880d423ebbd5049fd4
7
- data.tar.gz: 1b274bf95a738e664f38c78b893d948e8eed798a314202df0a319cbc799f41643f0ceb1b03d139acbf91984ba4d03390c0885b06bd8f1bc126c52adec39096d7
6
+ metadata.gz: 15719104c606fc28e8e350efd32c1e0b183bc27b0d8af416acb13e1bba467a3bf0f81a702fcd9ffe4dad2c664a5527520856348a3dd0ed3ce305ffd8f1f910d7
7
+ data.tar.gz: 8dbf03a927c6c1049035f26ab1867ad15612ac06eb46506c605be5f936f730645931d698fb794280a754ca1c1b14b9a0af56de3e4f3367ef0f6b2ed1275f5aad
@@ -16,7 +16,7 @@ module ACH::Records
16
16
  field :account_number, String, lambda { |f| left_justify(f, 17)}
17
17
  field :amount, Integer, lambda { |f| sprintf('%010d', f)}
18
18
  field :individual_id_number, String, lambda { |f| left_justify(f, 15)}
19
- field :individual_name, String, lambda { |f| left_justify(f, 22)}
19
+ field :individual_name, String, lambda { |f| left_justify(f.gsub(/[\n\r]/, ''), 22)}
20
20
  field :discretionary_data, String, lambda { |f| left_justify(f, 2)}, ' '
21
21
  field :addenda_record_indicator, Integer,
22
22
  lambda { |f| sprintf('%01d', f)}, 0
@@ -1,3 +1,3 @@
1
1
  module ACH
2
- VERSION = '0.5.11'.freeze
2
+ VERSION = '0.5.12'.freeze
3
3
  end
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.11
4
+ version: 0.5.12
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: 2019-03-07 00:00:00.000000000 Z
12
+ date: 2019-04-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: appraisal
@@ -74,9 +74,9 @@ dependencies:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.2.0
77
- - - "<"
77
+ - - "<="
78
78
  - !ruby/object:Gem::Version
79
- version: 5.4.0
79
+ version: 6.4.0
80
80
  type: :runtime
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
@@ -84,9 +84,9 @@ dependencies:
84
84
  - - ">="
85
85
  - !ruby/object:Gem::Version
86
86
  version: 1.2.0
87
- - - "<"
87
+ - - "<="
88
88
  - !ruby/object:Gem::Version
89
- version: 5.4.0
89
+ version: 6.4.0
90
90
  description: ach is a Ruby helper for building and parsing ACH files. In particular,
91
91
  it helps with field order and alignment, and adds padding lines to end of file.
92
92
  email: jmorgan@morgancreative.net