servactory 2.3.1 → 2.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/config/locales/en.yml +31 -3
  3. data/config/locales/ru.yml +31 -3
  4. data/lib/servactory/context/callable.rb +14 -15
  5. data/lib/servactory/context/store.rb +58 -0
  6. data/lib/servactory/context/workspace/internals.rb +2 -2
  7. data/lib/servactory/context/workspace/outputs.rb +2 -2
  8. data/lib/servactory/context/workspace.rb +12 -25
  9. data/lib/servactory/errors/input_error.rb +4 -2
  10. data/lib/servactory/errors/internal_error.rb +4 -2
  11. data/lib/servactory/errors/output_error.rb +4 -2
  12. data/lib/servactory/exceptions/input.rb +4 -2
  13. data/lib/servactory/exceptions/internal.rb +4 -2
  14. data/lib/servactory/exceptions/output.rb +4 -2
  15. data/lib/servactory/inputs/input.rb +36 -3
  16. data/lib/servactory/internals/internal.rb +32 -3
  17. data/lib/servactory/maintenance/attributes/options/registrar.rb +15 -1
  18. data/lib/servactory/maintenance/attributes/translator/must.rb +4 -3
  19. data/lib/servactory/maintenance/attributes/translator/type.rb +2 -2
  20. data/lib/servactory/maintenance/attributes/validations/inclusion.rb +1 -1
  21. data/lib/servactory/maintenance/attributes/validations/must.rb +16 -9
  22. data/lib/servactory/outputs/output.rb +32 -3
  23. data/lib/servactory/result.rb +21 -5
  24. data/lib/servactory/test_kit/result.rb +5 -5
  25. data/lib/servactory/tool_kit/dynamic_options/format.rb +130 -0
  26. data/lib/servactory/tool_kit/dynamic_options/max.rb +68 -0
  27. data/lib/servactory/tool_kit/dynamic_options/min.rb +68 -0
  28. data/lib/servactory/tool_kit/dynamic_options/must.rb +130 -0
  29. data/lib/servactory/utils.rb +30 -4
  30. data/lib/servactory/version.rb +2 -2
  31. data/lib/servactory.rb +2 -0
  32. metadata +9 -4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servactory
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Sokolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-22 00:00:00.000000000 Z
11
+ date: 2024-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -118,14 +118,14 @@ dependencies:
118
118
  name: rbs
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - "~>"
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: 3.1.3
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - "~>"
128
+ - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: 3.1.3
131
131
  - !ruby/object:Gem::Dependency
@@ -254,6 +254,7 @@ files:
254
254
  - lib/servactory/configuration/setup.rb
255
255
  - lib/servactory/context/callable.rb
256
256
  - lib/servactory/context/dsl.rb
257
+ - lib/servactory/context/store.rb
257
258
  - lib/servactory/context/workspace.rb
258
259
  - lib/servactory/context/workspace/inputs.rb
259
260
  - lib/servactory/context/workspace/internals.rb
@@ -314,6 +315,10 @@ files:
314
315
  - lib/servactory/result.rb
315
316
  - lib/servactory/test_kit/fake_type.rb
316
317
  - lib/servactory/test_kit/result.rb
318
+ - lib/servactory/tool_kit/dynamic_options/format.rb
319
+ - lib/servactory/tool_kit/dynamic_options/max.rb
320
+ - lib/servactory/tool_kit/dynamic_options/min.rb
321
+ - lib/servactory/tool_kit/dynamic_options/must.rb
317
322
  - lib/servactory/utils.rb
318
323
  - lib/servactory/version.rb
319
324
  homepage: https://github.com/afuno/servactory