Releases: kputnam/stupidedi
v1.4.5
v1.4.3
Yanked
This release was yanked on Jun 25, 2024 due to incorrect file permissions in the published gem.
What's Changed
- add 270 support for U gender by @JakeDMSnap in #261
New Contributors
- @JakeDMSnap made their first contribution in #261
Full Changelog: v1.4.2...v1.4.3
v1.4.2
What's Changed
- Remove duplicated element definitions in /005010/element_defs.rb by @austinmbrown in #236
- Update 4010 element definition for TF by @adriand in #241
- Add 810 & 855 for v4010 by @kelnadim in #242
- Typo corrections of "Blank Lung" -> "Black Lung" by @milieu in #244
- Migrate CI to GitHub Actions by @petergoldstein in #245
- Use consistent naming for "Code List Qualifier Code" by @milieu in #247
- Add Missing Values For 820 by @vsrboth in #258
- Add additional insurance codes by @casconed in #259
New Contributors
- @austinmbrown made their first contribution in #236
- @adriand made their first contribution in #241
- @kelnadim made their first contribution in #242
- @petergoldstein made their first contribution in #245
- @vsrboth made their first contribution in #258
- @casconed made their first contribution in #259
Full Changelog: v1.4.1...v1.4.2
v1.4.0
Bug fixes
- Fix ambiguous grammars (mostly due to incorrect parentheses)
- Fix errors in
Standards::FortyTen::HC837 - Fix errors in
Standards::FiftyTen::BE834 - Fix errors in
Standards::FiftyTen::HB271 - Fix errors in
Standards::FiftyTen::RA820 - Fix parsing invalid numeric data in Ruby 2.4+. Previously
"10B"would be read as10.0, and"AB10"would be read as0.0due to using bigdecimal/util's implementation ofString#to_d - Fix
TimeValissue in all versions (not only005010)
Added
- Added
Stupidedi::Parser.buildas a shortcut forStupidedi::Parser::StateMachine.build - Added many stub definitions of segments, just the segment name and no elements, which are referred to by
RA820and others. edi-ppcan now print different formats with--format html,--format x12, and--format tree(default)
Deprecation notices
- Remove support for Ruby < 2.0
- Remove workarounds for broken JRuby refinements
- Remove
Symbol#callandSymbol#to_procrefinements
Renamed
Stupidedi::Builderis renamed toStupidedi::ParserStupidedi::Guides::*::GuideBuilderis renamed toStupidedi::TransactionSets::BuilderStupidedi::Versions::Interchangesis renamed toStupidedi::InterchangesStupidedi::Versions::FunctionalGroupsis renamed toStupidedi::Versions- Lots of common code among versions has been factored into
Stupidedi::Versions::Common
- Lots of common code among versions has been factored into
- Rename Guides
HC837PandHC837ItoHC837 - Moved all grammars, including
GuidesandContrib, toStupidedi::TransactionSets- Each version now has
::Standardsand::Implementations
- Each version now has
Stupidedi::Schema::Auditoris renamed toStupidedi::TransactionSets::Validation::Ambiguity
Most of these renames aren't breaking changes (yet), but using the old name will print a warning:
Stupidedi::Contrib is deprecated, use Stupidedi::TransactionSets
Stupidedi::Guides is deprecated, use Stupidedi::TransactionSets::*::Implementations
Stupidedi::TransactionSets::FiftyTen::Implementations::X222::HC837P is deprecated, use HC837 instead
Stupidedi::TransactionSets::FiftyTen::Implementations::X222A1::HC837P is deprecated, use HC837 instead
Stupidedi::TransactionSets::FiftyTen::Implementations::X223::HC837I is deprecated, use HC837 instead
Stupidedi::Versions::Interchanges is deprecated, use Stupidedi::Interchanges instead
Stupidedi::Versions::FunctionalGroups is deprecated, use Stupidedi::TransactionSets::*::Standards instead
Specs
- Grammar specs automatically created when a fixture is added to
spec/fixtures/<version>/<name>/pass/*.x12 - Remove support for
rcov. Use onlysimplecovnow - Update all specs to use
expect(value).to matchersyntax, instead ofvalue.should matcher - New specs to ensure element names match their
id(eg,E123.id == :E123) - New specs to ensure segment names match their
id(egST.id == :ST) - New specs to ensure
Config.hipaa,Config.contrib, andConfig.defaultreference valid definitions - New specs for
Stupidedi::TransactionSets::Validation::Ambiguity - Fix fixture files that used
\nas a segment terminator but didn't have one afterIEA
Miscellaneous
- Create new examples in
examples/that demonstrate undocumentedIdentifierStack, and more - Made whitespace and other formatting more consistent
Stupidedi::TransactionSets::Builder.buildno longer requires aTransactionSetDefargument- Fix Travis CI to build older versions of Ruby < 2.3
- Ignore large definition files in Code Climate
Temporarily rollback assertion of repeatable segments
Merge pull request #259 from casconed/feature/additional-insurance-lines Add additional insurance codes
Fixes
** potential breaking changes **
Refinement work (look at pull request #72)
Refinement work #72
v1.4.1
Bug Fixes
Fix missing method delegations in SimpleElementUse, ComponentElementUse, and CompositeElementUse #185
Fix regression in edi-obfuscate
Fix copy-pasted StringVal -> IdentifierVal #187
Fix crash in 4010 editor, wrong method called #188
Fix bug in RepeatedElementVal#==, incorrect comparison #190
Fix error message when required composite element is missing #194
Fix various typos in comments and descriptor strings #230 and #233
Added
Add DSL for defining X12 grammars TransactionSets::Builder::Dsl #200
Add support for 5010 X12-HN277 Health Care Information Status Notification
Add support for 5010 X220A1-BE834 BGN05 Time Code #205
Add support for "02 - Birth" maintenance reason code #209
Json Writer
v 1.2.20 - Oct 23, 2018
- Json Writer functionality - Traverse stupidedit internal tree to a ruby hash
- Ruby 2.5.3 support