nacha 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00c48c84ea56741535e15648731081a4d9590db42121132cab1c5e2830d7c6c
4
- data.tar.gz: ec06099e3a83f3ee2e87b293a7c12f27bfd6e0d9e038ea1943b99320fc683a7d
3
+ metadata.gz: 6a66687bb4245eac899ef5e7df5668eab390a7313622ef95a00369b4e8566e18
4
+ data.tar.gz: 3e6aad6ce4fb40875cc6d712c95e0d140ab7808cbd3874407254b3668213e07c
5
5
  SHA512:
6
- metadata.gz: 35a4f4da802ffbc82292d698084d88d222191ec43b734d024a6f90afb39a2f6f01d98b3c505311f88213c9c36f2c04b8c7ee461a1e990e62d72f4c673f1c5a86
7
- data.tar.gz: 580b2cfbd4f85255524951ea05668650a21917156f04fdb9b505ad4a39ca0af501f2133e3f9fee9a734b0b1fd82a97d48d8428816dda5171ea7dfe3a1fa776c7
6
+ metadata.gz: e8721ff7bb46a2f981f4e667dbdcf6dd5f78869f7f8fa71ae5029fa54b1eff30804a47ffc384c5736a469bb4da4d33a93ccc8374a8fe6fe441ec79323ada65db
7
+ data.tar.gz: e74d56a05bd2f2b5b6cba9d59df4ebc40654a49dfef873c02b1c27faa2a4609da53131fc2ad9328b291d81f609055466d2f99a6cc51a34458fc3163d9b64804c
data/CHANGELOG.md CHANGED
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.16] - 2025-07-22
11
+
12
+ - `Nacha::Record::BatchHeader` would blissfully attempt to add a
13
+ `child_record_type` that referenced `Nacha::Record::000EntryDetail` even though
14
+ no such record type exists. Now `standard_entry_class_code` must be valid to
15
+ create a `child_record_type`
16
+
10
17
  ## [0.1.15] - 2025-07-21
11
18
 
12
19
  - Added back `Nacha::Field#to_json_output` that got removed in some of the
@@ -16,6 +16,8 @@ module Nacha
16
16
  end
17
17
 
18
18
  def child_record_types
19
+ return self.class.child_record_types unless standard_entry_class_code.valid?
20
+
19
21
  sec = standard_entry_class_code.to_s.capitalize
20
22
  [
21
23
  "Nacha::Record::#{sec}EntryDetail"
data/lib/nacha/version.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Nacha
4
4
  module Version
5
- STRING = '0.1.15'
5
+ STRING = '0.1.16'
6
6
  end
7
7
  VERSION = Version::STRING
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nacha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - David H. Wilkins
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-22 00:00:00.000000000 Z
11
+ date: 2025-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal