eddy 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +2 -5
- data/lib/eddy/models/interchange.rb +1 -1
- data/lib/eddy/models/transaction_set.rb +1 -1
- data/lib/eddy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62b12c413849c64cbc73cf3d85d562cce61be2ea89d09367ea4f114cb76ccfcb
|
4
|
+
data.tar.gz: 8593188003dba86ad1186aff1ff903eee974d55f6e93fb434e99a576ba6102f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48c05e66d19015cd438daaff13fd8689d1c0c2e2b3e1629bd993eb870791b0b5ffe2b768c4f60a78cbcadce1f055dd2f7912db62a5d93d8a0644debda4266165
|
7
|
+
data.tar.gz: 4e92a9e0e639041fcf37d064ffbe02d225bb0f6c052f6c736f341195e666515355aa8ccb23a7aa902ac8188822fb88246d5a61f7d303b6f6f095519cf6cc68ec
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
## master (unreleased)
|
15
15
|
|
16
|
+
## 0.8.3 (2020-01-15)
|
17
|
+
|
18
|
+
### Changed
|
19
|
+
|
20
|
+
- Trim trailing newline from the return value of `Eddy::Models::Interchange#render` and `Eddy::Models::TransactionSet#render`.
|
21
|
+
|
16
22
|
## 0.8.2 (2020-01-09)
|
17
23
|
|
18
24
|
### Fixed
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
[travis-ci]: https://travis-ci.org/tcd/eddy
|
11
11
|
[coveralls]: https://coveralls.io/github/tcd/eddy?branch=master
|
12
12
|
[license]: https://github.com/tcd/eddy/blob/master/LICENSE.txt
|
13
|
-
[docs]: https://www.rubydoc.info/gems/eddy/0.8.
|
13
|
+
[docs]: https://www.rubydoc.info/gems/eddy/0.8.3
|
14
14
|
|
15
15
|
## Installation
|
16
16
|
|
@@ -50,6 +50,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
50
50
|
|
51
51
|
## Dependencies
|
52
52
|
|
53
|
+
- [erikhuda/thor](https://github.com/erikhuda/thor)
|
53
54
|
- [tcd/ginny](https://github.com/tcd/ginny)
|
54
55
|
- [tcd/coolkit](https://github.com/tcd/coolkit)
|
55
56
|
- [dry-rb/dry-inflector](https://github.com/dry-rb/dry-inflector)
|
@@ -59,10 +60,6 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
59
60
|
- [tenderlove/hana](https://github.com/tenderlove/hana)
|
60
61
|
- [hannesg/uri_template](https://github.com/hannesg/uri_template)
|
61
62
|
- [ammar/regexp_parser](https://github.com/ammar/regexp_parser)
|
62
|
-
- [erikhuda/thor](https://github.com/erikhuda/thor)
|
63
|
-
- [piotrmurach/pastel](https://github.com/piotrmurach/pastel)
|
64
|
-
- [piotrmurach/equatable](https://github.com/piotrmurach/equatable)
|
65
|
-
- [piotrmurach/tty-color](https://github.com/piotrmurach/tty-color)
|
66
63
|
|
67
64
|
## Alternatives (in Ruby)
|
68
65
|
|
@@ -34,7 +34,7 @@ module Eddy
|
|
34
34
|
isa = Eddy::Segments::ISA.new(self.store, self.control_number)
|
35
35
|
iea = Eddy::Segments::IEA.new(self.store, self.control_number, f_groups.length)
|
36
36
|
yield(isa, iea) if block_given?
|
37
|
-
return [isa, f_groups, iea].flatten.map(&:render).join(sep) + sep
|
37
|
+
return ([isa, f_groups, iea].flatten.map(&:render).join(sep) + sep).rstrip()
|
38
38
|
end
|
39
39
|
|
40
40
|
# @return [Array<Eddy::Models::FunctionalGroup>]
|
@@ -82,7 +82,7 @@ module Eddy
|
|
82
82
|
# @return [String]
|
83
83
|
def render(s_sep = self.store.segment_separator)
|
84
84
|
add_envelope()
|
85
|
-
return self.all_components.map { |s| s.render(self.store.element_separator) }.compact.join(s_sep)
|
85
|
+
return self.all_components.map { |s| s.render(self.store.element_separator) }.compact.join(s_sep).rstrip()
|
86
86
|
end
|
87
87
|
|
88
88
|
# Return the count of Segments in the Transaction Set where `skip` is false,
|
data/lib/eddy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clay Dunston
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -1569,7 +1569,7 @@ metadata:
|
|
1569
1569
|
homepage_uri: https://github.com/tcd/eddy
|
1570
1570
|
source_code_uri: https://github.com/tcd/eddy
|
1571
1571
|
changelog_uri: https://github.com/tcd/eddy/blob/master/CHANGELOG.md
|
1572
|
-
documentation_uri: https://www.rubydoc.info/gems/eddy/0.8.
|
1572
|
+
documentation_uri: https://www.rubydoc.info/gems/eddy/0.8.3
|
1573
1573
|
yard.run: yri
|
1574
1574
|
post_install_message:
|
1575
1575
|
rdoc_options: []
|