eco-helpers 2.5.1 → 2.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +52 -1
  3. data/eco-helpers.gemspec +2 -2
  4. data/lib/eco/api/common/loaders/parser.rb +0 -1
  5. data/lib/eco/api/common/loaders/use_case.rb +0 -2
  6. data/lib/eco/api/common/people/person_entry_attribute_mapper.rb +0 -2
  7. data/lib/eco/api/common/session/logger.rb +22 -77
  8. data/lib/eco/api/microcases/with_each.rb +0 -1
  9. data/lib/eco/api/organization/tag_tree.rb +64 -15
  10. data/lib/eco/api/session/config/tagtree.rb +32 -10
  11. data/lib/eco/api/session/config/workflow.rb +9 -3
  12. data/lib/eco/api/session/config.rb +6 -2
  13. data/lib/eco/api/session.rb +2 -2
  14. data/lib/eco/api/usecases/default_cases/abstract_policygroup_abilities_case.rb +2 -3
  15. data/lib/eco/api/usecases/default_cases/analyse_people_case.rb +2 -3
  16. data/lib/eco/api/usecases/default_cases/append_usergroups_case.rb +0 -1
  17. data/lib/eco/api/usecases/default_cases/change_email_case.rb +1 -2
  18. data/lib/eco/api/usecases/default_cases/clean_unknown_tags_case.rb +0 -5
  19. data/lib/eco/api/usecases/default_cases/clear_abilities_case.rb +2 -2
  20. data/lib/eco/api/usecases/default_cases/codes_to_tags_case.rb +5 -7
  21. data/lib/eco/api/usecases/default_cases/create_case.rb +0 -5
  22. data/lib/eco/api/usecases/default_cases/create_details_case.rb +0 -5
  23. data/lib/eco/api/usecases/default_cases/create_details_with_supervisor_case.rb +0 -5
  24. data/lib/eco/api/usecases/default_cases/csv_to_tree_case/helper.rb +1 -1
  25. data/lib/eco/api/usecases/default_cases/csv_to_tree_case.rb +0 -4
  26. data/lib/eco/api/usecases/default_cases/delete_sync_case.rb +2 -4
  27. data/lib/eco/api/usecases/default_cases/delete_trans_case.rb +2 -3
  28. data/lib/eco/api/usecases/default_cases/email_as_id_case.rb +0 -1
  29. data/lib/eco/api/usecases/default_cases/entries_to_csv_case.rb +0 -4
  30. data/lib/eco/api/usecases/default_cases/hris_case.rb +2 -3
  31. data/lib/eco/api/usecases/default_cases/new_email_case.rb +0 -2
  32. data/lib/eco/api/usecases/default_cases/new_id_case.rb +0 -2
  33. data/lib/eco/api/usecases/default_cases/org_data_convert_case.rb +0 -5
  34. data/lib/eco/api/usecases/default_cases/refresh_case.rb +0 -1
  35. data/lib/eco/api/usecases/default_cases/reinvite_sync_case.rb +1 -3
  36. data/lib/eco/api/usecases/default_cases/reinvite_trans_case.rb +2 -2
  37. data/lib/eco/api/usecases/default_cases/remove_account_sync_case.rb +1 -2
  38. data/lib/eco/api/usecases/default_cases/remove_account_trans_case.rb +2 -3
  39. data/lib/eco/api/usecases/default_cases/reset_landing_page_case.rb +1 -7
  40. data/lib/eco/api/usecases/default_cases/restore_db_case.rb +0 -10
  41. data/lib/eco/api/usecases/default_cases/set_default_tag_case.rb +0 -1
  42. data/lib/eco/api/usecases/default_cases/set_supervisor_case.rb +0 -1
  43. data/lib/eco/api/usecases/default_cases/supers_cyclic_identify_case.rb +2 -3
  44. data/lib/eco/api/usecases/default_cases/supers_hierarchy_case.rb +2 -3
  45. data/lib/eco/api/usecases/default_cases/switch_supervisor_case.rb +2 -4
  46. data/lib/eco/api/usecases/default_cases/tagtree_case.rb +0 -2
  47. data/lib/eco/api/usecases/default_cases/to_csv_case.rb +4 -5
  48. data/lib/eco/api/usecases/default_cases/to_csv_detailed_case.rb +0 -1
  49. data/lib/eco/api/usecases/default_cases/transfer_account_case.rb +0 -2
  50. data/lib/eco/api/usecases/default_cases/update_case.rb +0 -2
  51. data/lib/eco/api/usecases/default_cases/update_details_case.rb +0 -2
  52. data/lib/eco/api/usecases/default_cases/upsert_case.rb +0 -4
  53. data/lib/eco/api/usecases/graphql/base.rb +6 -18
  54. data/lib/eco/api/usecases/graphql/helpers/base.rb +31 -0
  55. data/lib/eco/api/usecases/graphql/helpers/location/base.rb +87 -0
  56. data/lib/eco/api/usecases/graphql/helpers/location/command/result.rb +69 -0
  57. data/lib/eco/api/usecases/graphql/helpers/location/command/results.rb +126 -0
  58. data/lib/eco/api/usecases/graphql/helpers/location/command.rb +84 -0
  59. data/lib/eco/api/usecases/graphql/helpers/location.rb +7 -0
  60. data/lib/eco/api/usecases/graphql/helpers.rb +2 -1
  61. data/lib/eco/api/usecases/graphql/samples/location/command/dsl.rb +54 -0
  62. data/lib/eco/api/usecases/graphql/samples/location/command/results.rb +125 -0
  63. data/lib/eco/api/usecases/graphql/samples/location/command.rb +10 -0
  64. data/lib/eco/api/usecases/graphql/samples/location/dsl.rb +6 -0
  65. data/lib/eco/api/usecases/graphql/samples/location.rb +10 -0
  66. data/lib/eco/api/usecases/graphql/samples.rb +6 -0
  67. data/lib/eco/api/usecases/graphql.rb +2 -1
  68. data/lib/eco/api/usecases/ooze_cases/export_register_case.rb +0 -1
  69. data/lib/eco/api/usecases/ooze_samples/ooze_base_case.rb +0 -2
  70. data/lib/eco/api/usecases/ooze_samples/register_migration_case.rb +0 -2
  71. data/lib/eco/api/usecases/use_case.rb +2 -2
  72. data/lib/eco/cli/config/default/workflow.rb +3 -5
  73. data/lib/eco/cli/scripting/args_helpers.rb +0 -2
  74. data/lib/eco/csv/table.rb +39 -3
  75. data/lib/eco/data/files/helpers.rb +1 -0
  76. data/lib/eco/data/hashes/array_diff.rb +12 -6
  77. data/lib/eco/data/hashes/diff_result.rb +1 -2
  78. data/lib/eco/data/locations/convert.rb +92 -0
  79. data/lib/eco/data/locations/dsl.rb +35 -0
  80. data/lib/eco/data/locations/node_base/builder.rb +26 -0
  81. data/lib/eco/data/locations/node_base/csv_convert.rb +57 -0
  82. data/lib/eco/data/locations/node_base/parsing.rb +30 -0
  83. data/lib/eco/data/locations/node_base/serial.rb +26 -0
  84. data/lib/eco/data/locations/node_base/tag_validations.rb +52 -0
  85. data/lib/eco/data/locations/node_base/treeify.rb +150 -0
  86. data/lib/eco/data/locations/node_base.rb +48 -0
  87. data/lib/eco/data/locations/node_level/builder.rb +6 -0
  88. data/lib/eco/data/locations/node_level/cleaner.rb +74 -0
  89. data/lib/eco/data/locations/node_level/parsing.rb +63 -0
  90. data/lib/eco/data/locations/node_level/serial.rb +37 -0
  91. data/lib/eco/data/locations/node_level.rb +156 -0
  92. data/lib/eco/data/locations/node_plain/builder.rb +6 -0
  93. data/lib/eco/data/locations/node_plain/parsing.rb +36 -0
  94. data/lib/eco/data/locations/node_plain/serial.rb +14 -0
  95. data/lib/eco/data/locations/node_plain.rb +34 -0
  96. data/lib/eco/data/locations.rb +12 -0
  97. data/lib/eco/data.rb +1 -0
  98. data/lib/eco/language/auxiliar_logger.rb +9 -1
  99. data/lib/eco/language/basic_logger.rb +74 -0
  100. data/lib/eco/language.rb +2 -1
  101. data/lib/eco/version.rb +1 -1
  102. metadata +37 -8
  103. data/lib/eco/api/usecases/default_cases/new_id_case0.rb +0 -14
  104. data/lib/eco/api/usecases/graphql/helpers/locations/commands.rb +0 -4
  105. data/lib/eco/api/usecases/graphql/helpers/locations.rb +0 -6
@@ -1,6 +0,0 @@
1
- module Eco::API::UseCases::GraphQL::Helpers
2
- module Locations
3
- end
4
- end
5
-
6
- require_relative 'locations/commands'