mediserv 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mediserv/api/types.rb +14 -14
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67cd369570d448a9728fc514e94d26609a95774448576c58599eb25e1c2dc685
4
- data.tar.gz: 00416fa2f2706c90b81a04acce892ef4faefbf91c73a56df949517a3eb02a263
3
+ metadata.gz: 6d57e314eebb74a700ebf701b0ffcf129074fa6a08cb691ebb3e2d82c78df5e0
4
+ data.tar.gz: 42a3ae6c15a840168f8a14a59144917c47e9fffd18a0e6f624f7fbc68b9969c6
5
5
  SHA512:
6
- metadata.gz: 1e130cc9ea3c7c021caf60ca7a893ce0a024d2ca8a317e6476a7c6b53e9137c570404b490646bc1d098fbdcbc0a498093c427c87412ea7e8793583ef0b9f64fd
7
- data.tar.gz: e406d956d8919c527d4d2622c09693ca8a70d80c44f66eadef89e8316dd06f19556be1c57b71ebe798929945733733b560207495435a86ea3f19e21e2715f9cd
6
+ metadata.gz: c5eafc303085cfb9bf890b7547b5cea3c9ece3a0ecf9a18cc51fd3b2e9a62e5f23b3bd07111dc28b6a2730a62f01378836359e25569bf8d4cc21cb13b7ae1a10
7
+ data.tar.gz: 437a91358cb1929953a488061c1ae5c68e9f237bdd6baae83c20541c8ba952f79164040bce82fea668a78fda7ad287fcf51e8abca861daa003ac81d6fe2c704f
@@ -222,25 +222,25 @@ module MediServ::API
222
222
  rech_text.scan(/.{1,180}/).each.with_index(1) do |s, i|
223
223
  # A line will go up to 180 characters, but could be shorter in case of a
224
224
  # new line or simply a short line.
225
- h["RechText[#{i}]"] = s
225
+ h["RechText#{i}"] = s
226
226
  end unless rech_text.nil?
227
227
  leistungen.each.with_index(1) do |l, i|
228
228
  # Total der Punkt von Ansatz
229
- # h["TotalPkt[#{i}]"] = l.punkte || 0.0
229
+ # h["TotalPkt#{i}"] = l.punkte || 0.0
230
230
  # Ansatz für Punkte
231
- # h["TotalAnsatz[#{i}]"] = l.ansatz || 0.0
231
+ # h["TotalAnsatz#{i}"] = l.ansatz || 0.0
232
232
 
233
- h["LeisDatum[#{i}]"] = fmt_date(l.datum)
234
- h["LeisAnz[#{i}]"] = fmt_amount(l.anzahl)
235
- h["LeisZahnNr[#{i}]"] = l.zahnnummer
236
- h["LeisArt[#{i}]"] = l.art
237
- h["LeisPosNr[#{i}]"] = l.nummer
238
- h["LeisBez[#{i}]"] = l.bezeichnung
239
- h["LeisAnsatz[#{i}]"] = l.ansatz
240
- h["LeisPkt[#{i}]"] = l.punkte
241
- h["LeisRabatt[#{i}]"] = l.rabatt ? 1 : 0
242
- h["LeisBetrag[#{i}]"] = l.betrag
243
- h["LeisTotal[#{i}]"] = l.total
233
+ h["LeisDatum#{i}"] = fmt_date(l.datum)
234
+ h["LeisAnz#{i}"] = fmt_amount(l.anzahl)
235
+ h["LeisZahnNr#{i}"] = l.zahnnummer
236
+ h["LeisArt#{i}"] = l.art
237
+ h["LeisPosNr#{i}"] = l.nummer
238
+ h["LeisBez#{i}"] = l.bezeichnung
239
+ h["LeisAnsatz#{i}"] = l.ansatz
240
+ h["LeisPkt#{i}"] = l.punkte
241
+ h["LeisRabatt#{i}"] = l.rabatt ? 1 : 0
242
+ h["LeisBetrag#{i}"] = l.betrag
243
+ h["LeisTotal#{i}"] = l.total
244
244
  end
245
245
  h
246
246
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediserv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denteo AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-24 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.4.10
74
+ rubygems_version: 3.3.7
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Ruby client interacting with MediServ