dev_suite 0.2.10 → 0.2.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +49 -7
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +14 -1
  5. data/README.md +4 -0
  6. data/examples/setup.rb +3 -0
  7. data/examples/workflow/conditional_workflow.rb +1 -1
  8. data/examples/workflow/full_workflow.rb +2 -2
  9. data/examples/workflow/loop_workflow.rb +1 -1
  10. data/examples/workflow/order_processing_workflow.rb +13 -11
  11. data/lib/dev_suite/method_tracer/logger.rb +52 -21
  12. data/lib/dev_suite/utils/color/colorizer.rb +1 -1
  13. data/lib/dev_suite/utils/color/palette/default.rb +33 -0
  14. data/lib/dev_suite/utils/construct/component/manager.rb +6 -1
  15. data/lib/dev_suite/utils/data/path_access/data_traverser.rb +86 -0
  16. data/lib/dev_suite/utils/data/path_access/errors.rb +12 -0
  17. data/lib/dev_suite/utils/data/path_access/key_handler.rb +27 -0
  18. data/lib/dev_suite/utils/data/path_access/path_accessor.rb +36 -0
  19. data/lib/dev_suite/utils/data/path_access/path_parser.rb +35 -0
  20. data/lib/dev_suite/utils/data/path_access.rb +5 -151
  21. data/lib/dev_suite/utils/file_writer/file_writer.rb +14 -4
  22. data/lib/dev_suite/utils/file_writer/writer/base.rb +40 -15
  23. data/lib/dev_suite/utils/file_writer/writer/json.rb +1 -1
  24. data/lib/dev_suite/utils/file_writer/writer/text.rb +11 -9
  25. data/lib/dev_suite/utils/file_writer/writer/yaml.rb +1 -1
  26. data/lib/dev_suite/utils/file_writer/writer_manager.rb +40 -17
  27. data/lib/dev_suite/utils/logger/base.rb +54 -0
  28. data/lib/dev_suite/utils/logger/emoji.rb +17 -0
  29. data/lib/dev_suite/utils/logger/errors.rb +9 -0
  30. data/lib/dev_suite/utils/logger/formatter.rb +41 -0
  31. data/lib/dev_suite/utils/logger/logger.rb +29 -0
  32. data/lib/dev_suite/utils/logger.rb +1 -52
  33. data/lib/dev_suite/utils/store/store.rb +3 -1
  34. data/lib/dev_suite/utils/table/renderer/simple.rb +5 -5
  35. data/lib/dev_suite/version.rb +1 -1
  36. metadata +13 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev_suite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Huy Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-27 00:00:00.000000000 Z
11
+ date: 2024-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark
@@ -99,6 +99,7 @@ files:
99
99
  - examples/helpers/api_helper.rb
100
100
  - examples/helpers/data_helper.rb
101
101
  - examples/helpers/helpers.rb
102
+ - examples/setup.rb
102
103
  - examples/workflow/basic_workflow.rb
103
104
  - examples/workflow/composite_workflow.rb
104
105
  - examples/workflow/conditional_workflow.rb
@@ -257,6 +258,11 @@ files:
257
258
  - lib/dev_suite/utils/data/base_operations.rb
258
259
  - lib/dev_suite/utils/data/data.rb
259
260
  - lib/dev_suite/utils/data/path_access.rb
261
+ - lib/dev_suite/utils/data/path_access/data_traverser.rb
262
+ - lib/dev_suite/utils/data/path_access/errors.rb
263
+ - lib/dev_suite/utils/data/path_access/key_handler.rb
264
+ - lib/dev_suite/utils/data/path_access/path_accessor.rb
265
+ - lib/dev_suite/utils/data/path_access/path_parser.rb
260
266
  - lib/dev_suite/utils/data/search_filter.rb
261
267
  - lib/dev_suite/utils/data/serialization.rb
262
268
  - lib/dev_suite/utils/data/transformations.rb
@@ -288,6 +294,11 @@ files:
288
294
  - lib/dev_suite/utils/file_writer/writer/yaml.rb
289
295
  - lib/dev_suite/utils/file_writer/writer_manager.rb
290
296
  - lib/dev_suite/utils/logger.rb
297
+ - lib/dev_suite/utils/logger/base.rb
298
+ - lib/dev_suite/utils/logger/emoji.rb
299
+ - lib/dev_suite/utils/logger/errors.rb
300
+ - lib/dev_suite/utils/logger/formatter.rb
301
+ - lib/dev_suite/utils/logger/logger.rb
291
302
  - lib/dev_suite/utils/path_matcher.rb
292
303
  - lib/dev_suite/utils/path_matcher/matcher.rb
293
304
  - lib/dev_suite/utils/path_matcher/path_matcher.rb