mediserv 0.3.1 → 0.3.2

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 +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8dda364d3fa7113b92c011b8fe3d320229171714955c0d56ab26b991b34b8f4
4
- data.tar.gz: b2a0a07490f9eca8b3322595069601cf7d2a48dee7aa858b6317caf3e18e3491
3
+ metadata.gz: feb7528d7c8c68568ec08c10493b2b135fc805e89d202d2f0a64fa94e2e25ea3
4
+ data.tar.gz: 0de565fc0088b143d8469c0bbec332563468449a174ae6d6fb0e0e4425664c3a
5
5
  SHA512:
6
- metadata.gz: e244cf2adbee6ca62c9c02ba8a6b0b3cd41cbb7d2ef7456ecca9609971268523250873ead3c8a0f543896d6ccdf6df6b6aa8b48f5552054e5166f21e60bd06cc
7
- data.tar.gz: 7fce3eff34a05fdc83762a5fb62df48a017d1a883aafa6bc41212b438680a7677f60fa612efd8f601286bd5996f1f9091f82491d96eca27f54bcb1ec30f14079
6
+ metadata.gz: db4be12e137b7ccde7e56b6771ac3f0bebde6b8b79f5ee5337b9f78e3e328735638d2fb631a689f084971b2e02664d647a82b13b75ba04c369ec28fe33f1d392
7
+ data.tar.gz: 7ddca5bc4dc8797043f1c9bebcc8f86175254aa98cc35434d940060b552bf462f55c271f5c067476e4f483ab2d9a91d7a0ea053ef8c61ea36df07f95f74e2c1f
@@ -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,43 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediserv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denteo AG
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: dry-types
14
+ name: dry-struct
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.5.1
19
+ version: 1.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.5.1
26
+ version: 1.6.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: dry-struct
28
+ name: dry-types
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.4.0
33
+ version: 1.7.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.4.0
40
+ version: 1.7.1
41
41
  description: Ruby client interacting with MediServ
42
42
  email: simon@denteo.ch
43
43
  executables: []
@@ -56,7 +56,7 @@ homepage: https://rubygems.org/gems/mediserv
56
56
  licenses:
57
57
  - MIT
58
58
  metadata: {}
59
- post_install_message:
59
+ post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
62
62
  - lib
@@ -71,8 +71,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  - !ruby/object:Gem::Version
72
72
  version: '0'
73
73
  requirements: []
74
- rubygems_version: 3.1.2
75
- signing_key:
74
+ rubygems_version: 3.4.10
75
+ signing_key:
76
76
  specification_version: 4
77
77
  summary: Ruby client interacting with MediServ
78
78
  test_files: []