mediserv 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mediserv/api/client.rb +2 -2
- data/lib/mediserv/api/encoder.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe9692155e5052f880f3b2b33b5902db756346fa75abc019612dbb9443c9b865
|
4
|
+
data.tar.gz: 868995324c99c77ccc49c54d6cd900eac42bd099465395bcbef8c2918b485ec0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eb2abca43e9fbcb0fd58755856ebcf152f1d82c31e68366e63be72865c0b14219faf927ea135dd864c928c83e10a428460c24564cf94f84235b52614ff308b5
|
7
|
+
data.tar.gz: fab582c4da2263ae0c56586aff98d41b77a2f055c51036cc138fa9e6695f164e56c5b17303cfb36a257b10fdb7511d8fca590018c76f35ecb45a585c2ee28954
|
data/lib/mediserv/api/client.rb
CHANGED
@@ -9,8 +9,8 @@ module MediServ::API
|
|
9
9
|
@storage = storage
|
10
10
|
@encoder = MediServ::API::Encoder.new
|
11
11
|
@default_header = {
|
12
|
-
programm: 'MediServ
|
13
|
-
programm_version: '0.
|
12
|
+
programm: 'Denteo MediServ Client',
|
13
|
+
programm_version: '0.3.0', # TODO: Load from gemspec
|
14
14
|
version: 'v2',
|
15
15
|
kundennummer: clientId,
|
16
16
|
stapelnummer: 0,
|
data/lib/mediserv/api/encoder.rb
CHANGED
@@ -48,9 +48,7 @@ module MediServ::API
|
|
48
48
|
when Float
|
49
49
|
io << fmt_amount(v)
|
50
50
|
when String
|
51
|
-
io << '"'
|
52
51
|
io << v.tr("\n", '')
|
53
|
-
io << '"'
|
54
52
|
else
|
55
53
|
io << v
|
56
54
|
end
|
@@ -63,4 +61,4 @@ module MediServ::API
|
|
63
61
|
io.string.encode('windows-1252')
|
64
62
|
end
|
65
63
|
end
|
66
|
-
end
|
64
|
+
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.
|
4
|
+
version: 0.3.0
|
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-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-types
|