epics 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. checksums.yaml +4 -4
  2. data/.semaphore/semaphore.yml +3 -12
  3. data/CHANGELOG.md +9 -0
  4. data/epics.gemspec +5 -4
  5. data/lib/epics/azv.rb +9 -26
  6. data/lib/epics/b2b.rb +11 -3
  7. data/lib/epics/c2s.rb +11 -7
  8. data/lib/epics/c52.rb +12 -37
  9. data/lib/epics/c53.rb +12 -37
  10. data/lib/epics/c54.rb +12 -37
  11. data/lib/epics/c5n.rb +17 -0
  12. data/lib/epics/ccs.rb +11 -7
  13. data/lib/epics/cct.rb +9 -34
  14. data/lib/epics/cd1.rb +9 -26
  15. data/lib/epics/cdb.rb +9 -34
  16. data/lib/epics/cdd.rb +9 -34
  17. data/lib/epics/cds.rb +11 -7
  18. data/lib/epics/cdz.rb +12 -41
  19. data/lib/epics/client.rb +36 -19
  20. data/lib/epics/crz.rb +12 -41
  21. data/lib/epics/generic_request.rb +8 -3
  22. data/lib/epics/generic_upload_request.rb +2 -2
  23. data/lib/epics/haa.rb +8 -25
  24. data/lib/epics/hac.rb +12 -41
  25. data/lib/epics/header_request.rb +60 -0
  26. data/lib/epics/hia.rb +6 -16
  27. data/lib/epics/hkd.rb +8 -25
  28. data/lib/epics/hpb.rb +8 -18
  29. data/lib/epics/hpd.rb +8 -25
  30. data/lib/epics/htd.rb +8 -25
  31. data/lib/epics/ini.rb +6 -16
  32. data/lib/epics/letter_renderer.rb +22 -0
  33. data/lib/epics/ptk.rb +12 -41
  34. data/lib/epics/sta.rb +12 -41
  35. data/lib/epics/version.rb +1 -1
  36. data/lib/epics/vmk.rb +12 -41
  37. data/lib/epics/wss.rb +13 -0
  38. data/lib/epics/xct.rb +9 -26
  39. data/lib/epics/xds.rb +11 -3
  40. data/lib/epics/xe2.rb +11 -3
  41. data/lib/epics/xe3.rb +11 -3
  42. data/lib/epics/z52.rb +12 -37
  43. data/lib/epics/z53.rb +12 -37
  44. data/lib/epics/z54.rb +12 -37
  45. data/lib/epics.rb +7 -0
  46. data/lib/letter/ini.erb +260 -150
  47. data/lib/letter/locales/de.yml +19 -0
  48. data/lib/letter/locales/en.yml +19 -0
  49. data/lib/letter/locales/fr.yml +19 -0
  50. data/spec/hpb_spec.rb +4 -4
  51. data/spec/orders/c52_spec.rb +1 -1
  52. data/spec/orders/c53_spec.rb +1 -1
  53. data/spec/orders/c54_spec.rb +1 -1
  54. data/spec/orders/c5n_spec.rb +9 -0
  55. data/spec/orders/cdz_spec.rb +1 -1
  56. data/spec/orders/crz_spec.rb +1 -1
  57. data/spec/orders/hac_spec.rb +1 -1
  58. data/spec/orders/ptk_spec.rb +1 -1
  59. data/spec/orders/sta_spec.rb +1 -1
  60. data/spec/orders/vmk_spec.rb +1 -1
  61. data/spec/orders/wss_spec.rb +9 -0
  62. data/spec/orders/z52_spec.rb +1 -1
  63. data/spec/orders/z53_spec.rb +1 -1
  64. data/spec/orders/z54_spec.rb +1 -1
  65. metadata +35 -10
@@ -2,7 +2,7 @@ RSpec.describe Epics::Z52 do
2
2
 
3
3
  let(:client) { Epics::Client.new( File.open(File.join( File.dirname(__FILE__), '..', 'fixtures', 'SIZBN001.key')), 'secret' , 'https://194.180.18.30/ebicsweb/ebicsweb', 'SIZBN001', 'EBIX', 'EBICS') }
4
4
 
5
- subject { described_class.new(client, "2014-09-01", "2014-09-30") }
5
+ subject { described_class.new(client, from: "2014-09-01", to: "2014-09-30") }
6
6
 
7
7
  describe '#to_xml' do
8
8
  specify { expect(subject.to_xml).to be_a_valid_ebics_doc }
@@ -2,7 +2,7 @@ RSpec.describe Epics::Z53 do
2
2
 
3
3
  let(:client) { Epics::Client.new( File.open(File.join( File.dirname(__FILE__), '..', 'fixtures', 'SIZBN001.key')), 'secret' , 'https://194.180.18.30/ebicsweb/ebicsweb', 'SIZBN001', 'EBIX', 'EBICS') }
4
4
 
5
- subject { described_class.new(client, "2014-09-01", "2014-09-30") }
5
+ subject { described_class.new(client, from: "2014-09-01", to: "2014-09-30") }
6
6
 
7
7
  describe '#to_xml' do
8
8
  specify { expect(subject.to_xml).to be_a_valid_ebics_doc }
@@ -1,7 +1,7 @@
1
1
  RSpec.describe Epics::Z54 do
2
2
  let(:client) { Epics::Client.new( File.open(File.join( File.dirname(__FILE__), '..', 'fixtures', 'SIZBN001.key')), 'secret' , 'https://194.180.18.30/ebicsweb/ebicsweb', 'SIZBN001', 'EBIX', 'EBICS') }
3
3
 
4
- subject { described_class.new(client, "2014-09-01", "2014-09-30") }
4
+ subject { described_class.new(client, from: "2014-09-01", to: "2014-09-30") }
5
5
 
6
6
  describe '#to_xml' do
7
7
  specify { expect(subject.to_xml).to be_a_valid_ebics_doc }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lars Brillert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-21 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -24,20 +24,34 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.10.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: i18n
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.1.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: nokogiri
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - ">="
32
46
  - !ruby/object:Gem::Version
33
- version: 1.16.5
47
+ version: 1.16.7
34
48
  type: :runtime
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - ">="
39
53
  - !ruby/object:Gem::Version
40
- version: 1.16.5
54
+ version: 1.16.7
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubyzip
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +72,28 @@ dependencies:
58
72
  requirements:
59
73
  - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 3.2.8
75
+ version: 3.3.7
62
76
  type: :runtime
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
68
- version: 3.2.8
82
+ version: 3.3.7
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: bundler
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
87
  - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: 2.4.12
89
+ version: 2.5.19
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: 2.4.12
96
+ version: 2.5.19
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: equivalent-xml
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -184,6 +198,7 @@ files:
184
198
  - lib/epics/c52.rb
185
199
  - lib/epics/c53.rb
186
200
  - lib/epics/c54.rb
201
+ - lib/epics/c5n.rb
187
202
  - lib/epics/ccs.rb
188
203
  - lib/epics/cct.rb
189
204
  - lib/epics/cd1.rb
@@ -198,6 +213,7 @@ files:
198
213
  - lib/epics/generic_upload_request.rb
199
214
  - lib/epics/haa.rb
200
215
  - lib/epics/hac.rb
216
+ - lib/epics/header_request.rb
201
217
  - lib/epics/hia.rb
202
218
  - lib/epics/hkd.rb
203
219
  - lib/epics/hpb.rb
@@ -205,6 +221,7 @@ files:
205
221
  - lib/epics/htd.rb
206
222
  - lib/epics/ini.rb
207
223
  - lib/epics/key.rb
224
+ - lib/epics/letter_renderer.rb
208
225
  - lib/epics/middleware/parse_ebics.rb
209
226
  - lib/epics/middleware/xmlsig.rb
210
227
  - lib/epics/ptk.rb
@@ -213,6 +230,7 @@ files:
213
230
  - lib/epics/sta.rb
214
231
  - lib/epics/version.rb
215
232
  - lib/epics/vmk.rb
233
+ - lib/epics/wss.rb
216
234
  - lib/epics/xct.rb
217
235
  - lib/epics/xds.rb
218
236
  - lib/epics/xe2.rb
@@ -221,6 +239,9 @@ files:
221
239
  - lib/epics/z53.rb
222
240
  - lib/epics/z54.rb
223
241
  - lib/letter/ini.erb
242
+ - lib/letter/locales/de.yml
243
+ - lib/letter/locales/en.yml
244
+ - lib/letter/locales/fr.yml
224
245
  - spec/.DS_Store
225
246
  - spec/client_spec.rb
226
247
  - spec/error_spec.rb
@@ -270,6 +291,7 @@ files:
270
291
  - spec/orders/c52_spec.rb
271
292
  - spec/orders/c53_spec.rb
272
293
  - spec/orders/c54_spec.rb
294
+ - spec/orders/c5n_spec.rb
273
295
  - spec/orders/ccs_spec.rb
274
296
  - spec/orders/cct_spec.rb
275
297
  - spec/orders/cd1_spec.rb
@@ -288,6 +310,7 @@ files:
288
310
  - spec/orders/ptk_spec.rb
289
311
  - spec/orders/sta_spec.rb
290
312
  - spec/orders/vmk_spec.rb
313
+ - spec/orders/wss_spec.rb
291
314
  - spec/orders/xds_spec.rb
292
315
  - spec/orders/xe2_spec.rb
293
316
  - spec/orders/xe3_spec.rb
@@ -326,14 +349,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
326
349
  requirements:
327
350
  - - ">="
328
351
  - !ruby/object:Gem::Version
329
- version: '2.7'
352
+ version: '3.1'
330
353
  required_rubygems_version: !ruby/object:Gem::Requirement
331
354
  requirements:
332
355
  - - ">="
333
356
  - !ruby/object:Gem::Version
334
357
  version: '0'
335
358
  requirements: []
336
- rubygems_version: 3.5.11
359
+ rubygems_version: 3.5.23
337
360
  signing_key:
338
361
  specification_version: 4
339
362
  summary: a ruby implementation of the EBICS protocol
@@ -387,6 +410,7 @@ test_files:
387
410
  - spec/orders/c52_spec.rb
388
411
  - spec/orders/c53_spec.rb
389
412
  - spec/orders/c54_spec.rb
413
+ - spec/orders/c5n_spec.rb
390
414
  - spec/orders/ccs_spec.rb
391
415
  - spec/orders/cct_spec.rb
392
416
  - spec/orders/cd1_spec.rb
@@ -405,6 +429,7 @@ test_files:
405
429
  - spec/orders/ptk_spec.rb
406
430
  - spec/orders/sta_spec.rb
407
431
  - spec/orders/vmk_spec.rb
432
+ - spec/orders/wss_spec.rb
408
433
  - spec/orders/xds_spec.rb
409
434
  - spec/orders/xe2_spec.rb
410
435
  - spec/orders/xe3_spec.rb