nacha 0.1.14 → 0.1.15

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: 986181f9dfa47368890ac283705b188bfef4733adff641590cc889f491cf5ed2
4
- data.tar.gz: 1aff3dd6aedd49cf8f1e9d2562131b28832452fd0332a71429f49955aa19e858
3
+ metadata.gz: f00c48c84ea56741535e15648731081a4d9590db42121132cab1c5e2830d7c6c
4
+ data.tar.gz: ec06099e3a83f3ee2e87b293a7c12f27bfd6e0d9e038ea1943b99320fc683a7d
5
5
  SHA512:
6
- metadata.gz: f743d90e6aba9464d81f04a9d416ac6fa13a947e2a5f42c9727a0ebda1f484b55ebdf335a0c2daf857a4bb353d079a8f853b8f9af73c0b65abd1b2d6d8802bf2
7
- data.tar.gz: 23259ac90baaf2e6f0a31b41a5e66ffe7a952d2b42a99ca81945a90ea065ed1a1bbe2d9658403574353750dc985f57509e505b281d91a89696e81a78b43dc21a
6
+ metadata.gz: 35a4f4da802ffbc82292d698084d88d222191ec43b734d024a6f90afb39a2f6f01d98b3c505311f88213c9c36f2c04b8c7ee461a1e990e62d72f4c673f1c5a86
7
+ data.tar.gz: 580b2cfbd4f85255524951ea05668650a21917156f04fdb9b505ad4a39ca0af501f2133e3f9fee9a734b0b1fd82a97d48d8428816dda5171ea7dfe3a1fa776c7
data/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.15] - 2025-07-21
11
+
12
+ - Added back `Nacha::Field#to_json_output` that got removed in some of the
13
+ recent AI developemnt
14
+
10
15
  ## [0.1.14] - 2025-07-19
11
16
 
12
17
  - Added markdown and github flavored markdown output
data/lib/nacha/field.rb CHANGED
@@ -123,7 +123,19 @@ class Nacha::Field
123
123
  errors << err_string
124
124
  end
125
125
 
126
- def to_ach
126
+ def to_json_output
127
+ if @json_output
128
+ @json_output.reduce(@data) do |memo, operation|
129
+ # rubocop:disable GitlabSecurity/PublicSend
130
+ memo&.public_send(*operation)
131
+ # rubocop:enable GitlabSecurity/PublicSend
132
+ end
133
+ else
134
+ to_s
135
+ end
136
+ end
137
+
138
+ def to_ach
127
139
  str = to_s
128
140
  fill_char = @fill_character
129
141
  fill_char = ' ' unless str
data/lib/nacha/version.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Nacha
4
4
  module Version
5
- STRING = '0.1.14'
5
+ STRING = '0.1.15'
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.14
4
+ version: 0.1.15
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-20 00:00:00.000000000 Z
11
+ date: 2025-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal