era_835_parser 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: e10f58131b0a443ca85df39da652555ec9eeb2e96539abf6c4ad10f39b0b1278
4
- data.tar.gz: 165af59799241d0937d730aff63f6c40dc6f211c4c2996f79fba965d8e0952fd
3
+ metadata.gz: 5834fa9dfb4e9d9353377d74720b0bed60fab1c10213822bb60e2231bad76146
4
+ data.tar.gz: 862741c40d5789116242254e87df57e586733298897f31aecfe5578ca4032a07
5
5
  SHA512:
6
- metadata.gz: 78bc438ba8a47cd023f2ab9082bc253d4071accad36697ff347bea19ea673455ff65ae19134b3d7c604e6ab3b5c29b99ea0cceb5120202ca4896b9116bd2e0a8
7
- data.tar.gz: d7019dd9571bf23c9c60cd9c2d41479f81cd9d2113da6beec257848f7164ced3a4b4bdf67b358ba16149edfb2f0540133dda439bfd71bfcd2bbf6a5b93b14626
6
+ metadata.gz: 2a856795afdc964b09d70267e0fa47aa8ebc56242d6907a421d15ee16a738c39df629cdfe034a4a715ab83dbc556ed8ad579c42bf1fa5a0e92504e4466b170bf
7
+ data.tar.gz: b13a0efe21fbac317bde706fb3c47c029c6b4e10bd775c27e5e4b1edaba1b0e9a674c31f6324145c8e2dcb3fca0f6b5b01f26ee34500902f05e0cbc0c1864db5
@@ -949,7 +949,11 @@ module Era835Parser
949
949
  end
950
950
  era[:adjustments] = adjustments if adjustments != {}
951
951
  era[:checks].each do |i, check|
952
- era[:checks][check[:check_number]][:number_of_claims] = check[:eras].size
952
+ if check[:eras].nil?
953
+ era[:checks][check[:check_number]][:number_of_claims] = 0
954
+ else
955
+ era[:checks][check[:check_number]][:number_of_claims] = check[:eras].size
956
+ end
953
957
  if !check[:eras].nil?
954
958
  check[:eras].each do |era_counter, individual_era|
955
959
  line_items = ''
@@ -1,3 +1,3 @@
1
1
  module Era835Parser
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: era_835_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin S. Dias