mediserv 0.3.0 → 0.3.1

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: fe9692155e5052f880f3b2b33b5902db756346fa75abc019612dbb9443c9b865
4
- data.tar.gz: 868995324c99c77ccc49c54d6cd900eac42bd099465395bcbef8c2918b485ec0
3
+ metadata.gz: a8dda364d3fa7113b92c011b8fe3d320229171714955c0d56ab26b991b34b8f4
4
+ data.tar.gz: b2a0a07490f9eca8b3322595069601cf7d2a48dee7aa858b6317caf3e18e3491
5
5
  SHA512:
6
- metadata.gz: 7eb2abca43e9fbcb0fd58755856ebcf152f1d82c31e68366e63be72865c0b14219faf927ea135dd864c928c83e10a428460c24564cf94f84235b52614ff308b5
7
- data.tar.gz: fab582c4da2263ae0c56586aff98d41b77a2f055c51036cc138fa9e6695f164e56c5b17303cfb36a257b10fdb7511d8fca590018c76f35ecb45a585c2ee28954
6
+ metadata.gz: e244cf2adbee6ca62c9c02ba8a6b0b3cd41cbb7d2ef7456ecca9609971268523250873ead3c8a0f543896d6ccdf6df6b6aa8b48f5552054e5166f21e60bd06cc
7
+ data.tar.gz: 7fce3eff34a05fdc83762a5fb62df48a017d1a883aafa6bc41212b438680a7677f60fa612efd8f601286bd5996f1f9091f82491d96eca27f54bcb1ec30f14079
@@ -220,25 +220,25 @@ module MediServ::API
220
220
  rech_text.scan(/.{1,180}/).each.with_index(1) do |s, i|
221
221
  # A line will go up to 180 characters, but could be shorter in case of a
222
222
  # new line or simply a short line.
223
- h["RechText[#{i}]"] = s
223
+ h["RechText#{i}"] = s
224
224
  end unless rech_text.nil?
225
225
  leistungen.each.with_index(1) do |l, i|
226
226
  # Total der Punkt von Ansatz
227
- # h["TotalPkt[#{i}]"] = l.punkte || 0.0
227
+ # h["TotalPkt#{i}"] = l.punkte || 0.0
228
228
  # Ansatz für Punkte
229
- # h["TotalAnsatz[#{i}]"] = l.ansatz || 0.0
229
+ # h["TotalAnsatz#{i}"] = l.ansatz || 0.0
230
230
 
231
- h["LeisDatum[#{i}]"] = fmt_date(l.datum)
232
- h["LeisAnz[#{i}]"] = fmt_amount(l.anzahl)
233
- h["LeisZahnNr[#{i}]"] = l.zahnnummer
234
- h["LeisArt[#{i}]"] = l.art
235
- h["LeisPosNr[#{i}]"] = l.nummer
236
- h["LeisBez[#{i}]"] = l.bezeichnung
237
- h["LeisAnsatz[#{i}]"] = l.ansatz
238
- h["LeisPkt[#{i}]"] = l.punkte
239
- h["LeisRabatt[#{i}]"] = l.rabatt ? 1 : 0
240
- h["LeisBetrag[#{i}]"] = l.betrag
241
- h["LeisTotal[#{i}]"] = l.total
231
+ h["LeisDatum#{i}"] = fmt_date(l.datum)
232
+ h["LeisAnz#{i}"] = fmt_amount(l.anzahl)
233
+ h["LeisZahnNr#{i}"] = l.zahnnummer
234
+ h["LeisArt#{i}"] = l.art
235
+ h["LeisPosNr#{i}"] = l.nummer
236
+ h["LeisBez#{i}"] = l.bezeichnung
237
+ h["LeisAnsatz#{i}"] = l.ansatz
238
+ h["LeisPkt#{i}"] = l.punkte
239
+ h["LeisRabatt#{i}"] = l.rabatt ? 1 : 0
240
+ h["LeisBetrag#{i}"] = l.betrag
241
+ h["LeisTotal#{i}"] = l.total
242
242
  end
243
243
  h
244
244
  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.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denteo AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-12 00:00:00.000000000 Z
11
+ date: 2023-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-types
@@ -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.2.7
74
+ rubygems_version: 3.1.2
75
75
  signing_key:
76
76
  specification_version: 4
77
77
  summary: Ruby client interacting with MediServ