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 +4 -4
- data/lib/era_835_parser/parser.rb +5 -1
- data/lib/era_835_parser/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5834fa9dfb4e9d9353377d74720b0bed60fab1c10213822bb60e2231bad76146
|
4
|
+
data.tar.gz: 862741c40d5789116242254e87df57e586733298897f31aecfe5578ca4032a07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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 = ''
|