eco-helpers 2.5.10 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -2
  3. data/CHANGELOG.md +132 -4
  4. data/README.md +5 -0
  5. data/eco-helpers.gemspec +20 -16
  6. data/lib/eco/api/common/class_helpers.rb +1 -1
  7. data/lib/eco/api/common/loaders/base.rb +2 -9
  8. data/lib/eco/api/common/loaders/case_base.rb +0 -2
  9. data/lib/eco/api/common/loaders/config/workflow/mailer.rb +78 -0
  10. data/lib/eco/api/common/loaders/config/workflow.rb +11 -0
  11. data/lib/eco/api/common/loaders/config.rb +29 -0
  12. data/lib/eco/api/common/loaders/error_handler.rb +0 -2
  13. data/lib/eco/api/common/loaders/parser.rb +0 -1
  14. data/lib/eco/api/common/loaders/policy.rb +0 -2
  15. data/lib/eco/api/common/loaders/use_case.rb +27 -1
  16. data/lib/eco/api/common/loaders.rb +1 -0
  17. data/lib/eco/api/common/people/default_parsers.rb +2 -2
  18. data/lib/eco/api/common/people/person_entry.rb +3 -0
  19. data/lib/eco/api/common/people/person_entry_attribute_mapper.rb +111 -16
  20. data/lib/eco/api/common/session/base_session.rb +4 -0
  21. data/lib/eco/api/common/session/environment.rb +4 -0
  22. data/lib/eco/api/common/session/mailer.rb +3 -1
  23. data/lib/eco/api/common/session/sftp.rb +1 -1
  24. data/lib/eco/api/common/version_patches/exception.rb +2 -2
  25. data/lib/eco/api/common/version_patches/ruby3/object.rb +18 -0
  26. data/lib/eco/api/common/version_patches/ruby3.rb +1 -0
  27. data/lib/eco/api/common/version_patches.rb +3 -0
  28. data/lib/eco/api/custom/config.rb +10 -0
  29. data/lib/eco/api/custom/mailer.rb +9 -0
  30. data/lib/eco/api/custom/namespace.rb +2 -0
  31. data/lib/eco/api/custom/workflow.rb +9 -0
  32. data/lib/eco/api/custom.rb +3 -0
  33. data/lib/eco/api/organization/tag_tree.rb +20 -23
  34. data/lib/eco/api/session/batch/base_policy.rb +13 -5
  35. data/lib/eco/api/session/batch/job.rb +14 -11
  36. data/lib/eco/api/session/batch/jobs.rb +2 -2
  37. data/lib/eco/api/session/batch/jobs_groups.rb +2 -2
  38. data/lib/eco/api/session/config/files.rb +2 -2
  39. data/lib/eco/api/session/config/people.rb +2 -2
  40. data/lib/eco/api/session/config/sftp.rb +4 -0
  41. data/lib/eco/api/session/config/tagtree.rb +9 -8
  42. data/lib/eco/api/session/config/workflow.rb +95 -58
  43. data/lib/eco/api/session/config.rb +9 -2
  44. data/lib/eco/api/session.rb +17 -2
  45. data/lib/eco/api/usecases/base_io.rb +50 -4
  46. data/lib/eco/api/usecases/cli/dsl.rb +94 -0
  47. data/lib/eco/api/usecases/cli/option.rb +19 -0
  48. data/lib/eco/api/usecases/cli.rb +13 -0
  49. data/lib/eco/api/usecases/default/locations/cli/tagtree_extract_cli.rb +29 -0
  50. data/lib/eco/api/usecases/{default_cases → default/locations}/codes_to_tags_case.rb +1 -1
  51. data/lib/eco/api/usecases/{default_cases → default/locations}/create_tag_paths_case.rb +1 -1
  52. data/lib/eco/api/usecases/{default_cases → default/locations}/csv_to_tree_case.rb +1 -1
  53. data/lib/eco/api/usecases/default/locations/tagtree_extract_case.rb +181 -0
  54. data/lib/eco/api/usecases/default/locations.rb +15 -0
  55. data/lib/eco/api/usecases/{default_cases → default/people}/analyse_people_case.rb +1 -1
  56. data/lib/eco/api/usecases/{default_cases → default/people}/change_email_case.rb +1 -1
  57. data/lib/eco/api/usecases/default/people/clean_unknown_tags_case.rb +66 -0
  58. data/lib/eco/api/usecases/{default_cases → default/people}/clear_abilities_case.rb +1 -1
  59. data/lib/eco/api/usecases/{default_cases → default/people}/org_data_convert_case.rb +1 -1
  60. data/lib/eco/api/usecases/{default_cases → default/people}/refresh_case.rb +1 -1
  61. data/lib/eco/api/usecases/{default_cases → default/people}/reinvite_sync_case.rb +1 -1
  62. data/lib/eco/api/usecases/{default_cases → default/people}/reinvite_trans_case.rb +1 -1
  63. data/lib/eco/api/usecases/default/people/reinvite_trans_cli.rb +5 -0
  64. data/lib/eco/api/usecases/{default_cases → default/people}/restore_db_case.rb +1 -1
  65. data/lib/eco/api/usecases/{default_cases → default/people}/set_default_tag_case.rb +1 -1
  66. data/lib/eco/api/usecases/{default_cases → default/people}/supers_cyclic_identify_case.rb +1 -1
  67. data/lib/eco/api/usecases/{default_cases → default/people}/supers_hierarchy_case.rb +1 -1
  68. data/lib/eco/api/usecases/{default_cases → default/people}/switch_supervisor_case.rb +1 -1
  69. data/lib/eco/api/usecases/{default_cases → default/people}/transfer_account_case.rb +1 -1
  70. data/lib/eco/api/usecases/default/people.rb +25 -0
  71. data/lib/eco/api/usecases/default.rb +16 -0
  72. data/lib/eco/api/usecases/default_cases/samples/cli/sftp_cli.rb +46 -0
  73. data/lib/eco/api/usecases/default_cases/samples/sftp_case.rb +21 -9
  74. data/lib/eco/api/usecases/default_cases.rb +2 -30
  75. data/lib/eco/api/usecases/graphql/helpers/location/base.rb +1 -2
  76. data/lib/eco/api/usecases/graphql/utils/sftp.rb +1 -1
  77. data/lib/eco/api/usecases/ooze_samples/register_update_case.rb +3 -3
  78. data/lib/eco/api/usecases/use_case.rb +31 -7
  79. data/lib/eco/api/usecases/use_case_chain.rb +2 -2
  80. data/lib/eco/api/usecases.rb +4 -1
  81. data/lib/eco/assets.rb +3 -5
  82. data/lib/eco/cli/config/filters/people_filters.rb +0 -1
  83. data/lib/eco/cli/config/filters.rb +2 -6
  84. data/lib/eco/cli/config/help.rb +0 -1
  85. data/lib/eco/cli/config/input.rb +0 -1
  86. data/lib/eco/cli/config/options_set.rb +3 -4
  87. data/lib/eco/cli/config/use_cases.rb +13 -6
  88. data/lib/eco/cli/config.rb +4 -5
  89. data/lib/eco/cli/scripting/args_helpers.rb +1 -1
  90. data/lib/eco/cli/scripting/argument.rb +0 -1
  91. data/lib/eco/cli/scripting/arguments.rb +0 -2
  92. data/lib/eco/cli.rb +0 -1
  93. data/lib/eco/{cli/config/default → cli_default}/input_filters.rb +0 -1
  94. data/lib/eco/{cli/config/default → cli_default}/people_filters.rb +0 -1
  95. data/lib/eco/{cli/config/default → cli_default}/usecases.rb +2 -52
  96. data/lib/eco/cli_default/workflow.rb +171 -0
  97. data/lib/eco/cli_default.rb +13 -0
  98. data/lib/eco/csv/table.rb +0 -1
  99. data/lib/eco/data/files/encoding.rb +1 -1
  100. data/lib/eco/data/files/helpers.rb +1 -1
  101. data/lib/eco/data/locations/convert.rb +8 -4
  102. data/lib/eco/data/locations/node_base/csv_convert.rb +4 -4
  103. data/lib/eco/data/locations/node_base/tag_validations.rb +19 -9
  104. data/lib/eco/data/locations/node_base/treeify.rb +193 -18
  105. data/lib/eco/data/locations/node_level.rb +1 -1
  106. data/lib/eco/data/locations/node_plain/parsing.rb +1 -1
  107. data/lib/eco/data/locations/node_plain/serial.rb +1 -1
  108. data/lib/eco/data/locations/node_plain.rb +4 -3
  109. data/lib/eco/data/mapper.rb +6 -1
  110. data/lib/eco/language/klass/when_inherited.rb +17 -0
  111. data/lib/eco/language/klass.rb +8 -0
  112. data/lib/eco/language/methods/delegate_missing.rb +28 -0
  113. data/lib/eco/language/methods/dsl_able.rb +25 -0
  114. data/lib/eco/language/methods.rb +9 -0
  115. data/lib/eco/language.rb +2 -0
  116. data/lib/eco/version.rb +1 -1
  117. metadata +169 -79
  118. data/lib/eco/api/usecases/default_cases/abstract_policygroup_abilities_case.rb +0 -160
  119. data/lib/eco/api/usecases/default_cases/append_usergroups_case.rb +0 -14
  120. data/lib/eco/api/usecases/default_cases/clean_unknown_tags_case.rb +0 -74
  121. data/lib/eco/api/usecases/default_cases/create_details_case.rb +0 -20
  122. data/lib/eco/api/usecases/default_cases/create_details_with_supervisor_case.rb +0 -21
  123. data/lib/eco/api/usecases/default_cases/email_as_id_case.rb +0 -12
  124. data/lib/eco/api/usecases/default_cases/new_email_case.rb +0 -13
  125. data/lib/eco/api/usecases/default_cases/new_id_case.rb +0 -12
  126. data/lib/eco/api/usecases/default_cases/remove_account_sync_case.rb +0 -10
  127. data/lib/eco/api/usecases/default_cases/remove_account_trans_case.rb +0 -16
  128. data/lib/eco/api/usecases/default_cases/reset_landing_page_case.rb +0 -18
  129. data/lib/eco/api/usecases/default_cases/set_supervisor_case.rb +0 -16
  130. data/lib/eco/api/usecases/default_cases/tagtree_case.rb +0 -42
  131. data/lib/eco/api/usecases/default_cases/update_details_case.rb +0 -15
  132. data/lib/eco/cli/config/default/workflow.rb +0 -188
  133. data/lib/eco/cli/config/default.rb +0 -16
  134. /data/lib/eco/{cli/config/default → cli_default}/input.rb +0 -0
  135. /data/lib/eco/{cli/config/default → cli_default}/options.rb +0 -0
  136. /data/lib/eco/{cli/config/default → cli_default}/people.rb +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.10
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.8
19
+ version: 2.4.12
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 2.4.8
29
+ version: 2.4.12
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3'
@@ -36,7 +36,7 @@ dependencies:
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: 3.10.0
39
+ version: 3.12.0
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '4'
@@ -46,7 +46,7 @@ dependencies:
46
46
  requirements:
47
47
  - - ">="
48
48
  - !ruby/object:Gem::Version
49
- version: 3.10.0
49
+ version: 3.12.0
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '4'
@@ -76,7 +76,7 @@ dependencies:
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.9.26
79
+ version: 0.9.34
80
80
  - - "<"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1'
@@ -86,7 +86,7 @@ dependencies:
86
86
  requirements:
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 0.9.26
89
+ version: 0.9.34
90
90
  - - "<"
91
91
  - !ruby/object:Gem::Version
92
92
  version: '1'
@@ -96,7 +96,7 @@ dependencies:
96
96
  requirements:
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: 3.5.1
99
+ version: 3.6.0
100
100
  - - "<"
101
101
  - !ruby/object:Gem::Version
102
102
  version: '4'
@@ -106,7 +106,7 @@ dependencies:
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
- version: 3.5.1
109
+ version: 3.6.0
110
110
  - - "<"
111
111
  - !ruby/object:Gem::Version
112
112
  version: '4'
@@ -116,7 +116,7 @@ dependencies:
116
116
  requirements:
117
117
  - - ">="
118
118
  - !ruby/object:Gem::Version
119
- version: 0.9.5
119
+ version: 0.9.6
120
120
  - - "<"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0.10'
@@ -126,7 +126,7 @@ dependencies:
126
126
  requirements:
127
127
  - - ">="
128
128
  - !ruby/object:Gem::Version
129
- version: 0.9.5
129
+ version: 0.9.6
130
130
  - - "<"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0.10'
@@ -136,7 +136,7 @@ dependencies:
136
136
  requirements:
137
137
  - - ">="
138
138
  - !ruby/object:Gem::Version
139
- version: 1.1.3
139
+ version: 1.1.5
140
140
  - - "<"
141
141
  - !ruby/object:Gem::Version
142
142
  version: '1.2'
@@ -146,7 +146,7 @@ dependencies:
146
146
  requirements:
147
147
  - - ">="
148
148
  - !ruby/object:Gem::Version
149
- version: 1.1.3
149
+ version: 1.1.5
150
150
  - - "<"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '1.2'
@@ -156,7 +156,7 @@ dependencies:
156
156
  requirements:
157
157
  - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: 0.3.11
159
+ version: 0.3.13
160
160
  - - "<"
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0.4'
@@ -166,7 +166,7 @@ dependencies:
166
166
  requirements:
167
167
  - - ">="
168
168
  - !ruby/object:Gem::Version
169
- version: 0.3.11
169
+ version: 0.3.13
170
170
  - - "<"
171
171
  - !ruby/object:Gem::Version
172
172
  version: '0.4'
@@ -176,7 +176,7 @@ dependencies:
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 1.83.0
179
+ version: 1.142.0
180
180
  - - "<"
181
181
  - !ruby/object:Gem::Version
182
182
  version: '2'
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: 1.83.0
189
+ version: 1.142.0
190
190
  - - "<"
191
191
  - !ruby/object:Gem::Version
192
192
  version: '2'
@@ -196,7 +196,7 @@ dependencies:
196
196
  requirements:
197
197
  - - ">="
198
198
  - !ruby/object:Gem::Version
199
- version: 1.36.0
199
+ version: 1.58.0
200
200
  - - "<"
201
201
  - !ruby/object:Gem::Version
202
202
  version: '2'
@@ -206,7 +206,7 @@ dependencies:
206
206
  requirements:
207
207
  - - ">="
208
208
  - !ruby/object:Gem::Version
209
- version: 1.36.0
209
+ version: 1.58.0
210
210
  - - "<"
211
211
  - !ruby/object:Gem::Version
212
212
  version: '2'
@@ -216,7 +216,7 @@ dependencies:
216
216
  requirements:
217
217
  - - ">="
218
218
  - !ruby/object:Gem::Version
219
- version: 2.7.6
219
+ version: 2.8.1
220
220
  - - "<"
221
221
  - !ruby/object:Gem::Version
222
222
  version: '3'
@@ -226,50 +226,70 @@ dependencies:
226
226
  requirements:
227
227
  - - ">="
228
228
  - !ruby/object:Gem::Version
229
- version: 2.7.6
229
+ version: 2.8.1
230
230
  - - "<"
231
231
  - !ruby/object:Gem::Version
232
232
  version: '3'
233
+ - !ruby/object:Gem::Dependency
234
+ name: net-ssh
235
+ requirement: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - ">="
238
+ - !ruby/object:Gem::Version
239
+ version: 7.2.1
240
+ - - "<"
241
+ - !ruby/object:Gem::Version
242
+ version: '8'
243
+ type: :runtime
244
+ prerelease: false
245
+ version_requirements: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: 7.2.1
250
+ - - "<"
251
+ - !ruby/object:Gem::Version
252
+ version: '8'
233
253
  - !ruby/object:Gem::Dependency
234
254
  name: net-sftp
235
255
  requirement: !ruby/object:Gem::Requirement
236
256
  requirements:
237
257
  - - ">="
238
258
  - !ruby/object:Gem::Version
239
- version: 3.0.0
259
+ version: 4.0.0
240
260
  - - "<"
241
261
  - !ruby/object:Gem::Version
242
- version: '4'
262
+ version: '5'
243
263
  type: :runtime
244
264
  prerelease: false
245
265
  version_requirements: !ruby/object:Gem::Requirement
246
266
  requirements:
247
267
  - - ">="
248
268
  - !ruby/object:Gem::Version
249
- version: 3.0.0
269
+ version: 4.0.0
250
270
  - - "<"
251
271
  - !ruby/object:Gem::Version
252
- version: '4'
272
+ version: '5'
253
273
  - !ruby/object:Gem::Dependency
254
274
  name: hashdiff
255
275
  requirement: !ruby/object:Gem::Requirement
256
276
  requirements:
257
277
  - - ">="
258
278
  - !ruby/object:Gem::Version
259
- version: 1.0.1
279
+ version: 1.1.0
260
280
  - - "<"
261
281
  - !ruby/object:Gem::Version
262
- version: '1.1'
282
+ version: '1.2'
263
283
  type: :runtime
264
284
  prerelease: false
265
285
  version_requirements: !ruby/object:Gem::Requirement
266
286
  requirements:
267
287
  - - ">="
268
288
  - !ruby/object:Gem::Version
269
- version: 1.0.1
289
+ version: 1.1.0
270
290
  - - "<"
271
291
  - !ruby/object:Gem::Version
272
- version: '1.1'
292
+ version: '1.2'
273
293
  - !ruby/object:Gem::Dependency
274
294
  name: fuzzy_match
275
295
  requirement: !ruby/object:Gem::Requirement
@@ -296,7 +316,7 @@ dependencies:
296
316
  requirements:
297
317
  - - ">="
298
318
  - !ruby/object:Gem::Version
299
- version: 0.4.0
319
+ version: 0.4.1
300
320
  - - "<"
301
321
  - !ruby/object:Gem::Version
302
322
  version: '0.5'
@@ -306,7 +326,7 @@ dependencies:
306
326
  requirements:
307
327
  - - ">="
308
328
  - !ruby/object:Gem::Version
309
- version: 0.4.0
329
+ version: 0.4.1
310
330
  - - "<"
311
331
  - !ruby/object:Gem::Version
312
332
  version: '0.5'
@@ -316,7 +336,7 @@ dependencies:
316
336
  requirements:
317
337
  - - ">="
318
338
  - !ruby/object:Gem::Version
319
- version: 1.5.4
339
+ version: 1.5.6
320
340
  - - "<"
321
341
  - !ruby/object:Gem::Version
322
342
  version: '1.6'
@@ -326,30 +346,50 @@ dependencies:
326
346
  requirements:
327
347
  - - ">="
328
348
  - !ruby/object:Gem::Version
329
- version: 1.5.4
349
+ version: 1.5.6
330
350
  - - "<"
331
351
  - !ruby/object:Gem::Version
332
352
  version: '1.6'
353
+ - !ruby/object:Gem::Dependency
354
+ name: nokogiri
355
+ requirement: !ruby/object:Gem::Requirement
356
+ requirements:
357
+ - - ">="
358
+ - !ruby/object:Gem::Version
359
+ version: '1.13'
360
+ - - "<"
361
+ - !ruby/object:Gem::Version
362
+ version: '1.17'
363
+ type: :runtime
364
+ prerelease: false
365
+ version_requirements: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - ">="
368
+ - !ruby/object:Gem::Version
369
+ version: '1.13'
370
+ - - "<"
371
+ - !ruby/object:Gem::Version
372
+ version: '1.17'
333
373
  - !ruby/object:Gem::Dependency
334
374
  name: roo
335
375
  requirement: !ruby/object:Gem::Requirement
336
376
  requirements:
337
377
  - - ">="
338
378
  - !ruby/object:Gem::Version
339
- version: 2.8.3
379
+ version: 2.10.1
340
380
  - - "<"
341
381
  - !ruby/object:Gem::Version
342
- version: '2.9'
382
+ version: '2.11'
343
383
  type: :runtime
344
384
  prerelease: false
345
385
  version_requirements: !ruby/object:Gem::Requirement
346
386
  requirements:
347
387
  - - ">="
348
388
  - !ruby/object:Gem::Version
349
- version: 2.8.3
389
+ version: 2.10.1
350
390
  - - "<"
351
391
  - !ruby/object:Gem::Version
352
- version: '2.9'
392
+ version: '2.11'
353
393
  - !ruby/object:Gem::Dependency
354
394
  name: roo-xls
355
395
  requirement: !ruby/object:Gem::Requirement
@@ -370,26 +410,66 @@ dependencies:
370
410
  - - "<"
371
411
  - !ruby/object:Gem::Version
372
412
  version: '1.3'
413
+ - !ruby/object:Gem::Dependency
414
+ name: fast_excel
415
+ requirement: !ruby/object:Gem::Requirement
416
+ requirements:
417
+ - - ">="
418
+ - !ruby/object:Gem::Version
419
+ version: 0.5.0
420
+ - - "<"
421
+ - !ruby/object:Gem::Version
422
+ version: '0.6'
423
+ type: :runtime
424
+ prerelease: false
425
+ version_requirements: !ruby/object:Gem::Requirement
426
+ requirements:
427
+ - - ">="
428
+ - !ruby/object:Gem::Version
429
+ version: 0.5.0
430
+ - - "<"
431
+ - !ruby/object:Gem::Version
432
+ version: '0.6'
373
433
  - !ruby/object:Gem::Dependency
374
434
  name: docx
375
435
  requirement: !ruby/object:Gem::Requirement
376
436
  requirements:
377
437
  - - ">="
378
438
  - !ruby/object:Gem::Version
379
- version: 0.6.2
439
+ version: 0.8.0
440
+ - - "<"
441
+ - !ruby/object:Gem::Version
442
+ version: '0.9'
443
+ type: :runtime
444
+ prerelease: false
445
+ version_requirements: !ruby/object:Gem::Requirement
446
+ requirements:
447
+ - - ">="
448
+ - !ruby/object:Gem::Version
449
+ version: 0.8.0
450
+ - - "<"
451
+ - !ruby/object:Gem::Version
452
+ version: '0.9'
453
+ - !ruby/object:Gem::Dependency
454
+ name: rubyzip
455
+ requirement: !ruby/object:Gem::Requirement
456
+ requirements:
457
+ - - ">="
458
+ - !ruby/object:Gem::Version
459
+ version: 2.3.2
380
460
  - - "<"
381
461
  - !ruby/object:Gem::Version
382
- version: '0.7'
462
+ version: '2.4'
383
463
  type: :runtime
384
464
  prerelease: false
385
465
  version_requirements: !ruby/object:Gem::Requirement
386
466
  requirements:
387
467
  - - ">="
388
468
  - !ruby/object:Gem::Version
389
- version: 0.6.2
469
+ version: 2.3.2
390
470
  - - "<"
391
471
  - !ruby/object:Gem::Version
392
- version: '0.7'
472
+ version: '2.4'
393
473
  description:
394
474
  email:
395
475
  - oscar@ecoportal.co.nz
@@ -416,6 +496,9 @@ files:
416
496
  - lib/eco/api/common/loaders.rb
417
497
  - lib/eco/api/common/loaders/base.rb
418
498
  - lib/eco/api/common/loaders/case_base.rb
499
+ - lib/eco/api/common/loaders/config.rb
500
+ - lib/eco/api/common/loaders/config/workflow.rb
501
+ - lib/eco/api/common/loaders/config/workflow/mailer.rb
419
502
  - lib/eco/api/common/loaders/error_handler.rb
420
503
  - lib/eco/api/common/loaders/parser.rb
421
504
  - lib/eco/api/common/loaders/policy.rb
@@ -462,12 +545,17 @@ files:
462
545
  - lib/eco/api/common/version_patches/hash.rb
463
546
  - lib/eco/api/common/version_patches/hash/deep_merge.rb
464
547
  - lib/eco/api/common/version_patches/object.rb
548
+ - lib/eco/api/common/version_patches/ruby3.rb
549
+ - lib/eco/api/common/version_patches/ruby3/object.rb
465
550
  - lib/eco/api/custom.rb
551
+ - lib/eco/api/custom/config.rb
466
552
  - lib/eco/api/custom/error_handler.rb
553
+ - lib/eco/api/custom/mailer.rb
467
554
  - lib/eco/api/custom/namespace.rb
468
555
  - lib/eco/api/custom/parser.rb
469
556
  - lib/eco/api/custom/policy.rb
470
557
  - lib/eco/api/custom/use_case.rb
558
+ - lib/eco/api/custom/workflow.rb
471
559
  - lib/eco/api/error.rb
472
560
  - lib/eco/api/error/handler.rb
473
561
  - lib/eco/api/error/handlers.rb
@@ -542,47 +630,44 @@ files:
542
630
  - lib/eco/api/usecases.rb
543
631
  - lib/eco/api/usecases/base_case.rb
544
632
  - lib/eco/api/usecases/base_io.rb
633
+ - lib/eco/api/usecases/cli.rb
634
+ - lib/eco/api/usecases/cli/dsl.rb
635
+ - lib/eco/api/usecases/cli/option.rb
636
+ - lib/eco/api/usecases/default.rb
637
+ - lib/eco/api/usecases/default/locations.rb
638
+ - lib/eco/api/usecases/default/locations/cli/tagtree_extract_cli.rb
639
+ - lib/eco/api/usecases/default/locations/codes_to_tags_case.rb
640
+ - lib/eco/api/usecases/default/locations/create_tag_paths_case.rb
641
+ - lib/eco/api/usecases/default/locations/csv_to_tree_case.rb
642
+ - lib/eco/api/usecases/default/locations/tagtree_extract_case.rb
643
+ - lib/eco/api/usecases/default/people.rb
644
+ - lib/eco/api/usecases/default/people/analyse_people_case.rb
645
+ - lib/eco/api/usecases/default/people/change_email_case.rb
646
+ - lib/eco/api/usecases/default/people/clean_unknown_tags_case.rb
647
+ - lib/eco/api/usecases/default/people/clear_abilities_case.rb
648
+ - lib/eco/api/usecases/default/people/org_data_convert_case.rb
649
+ - lib/eco/api/usecases/default/people/refresh_case.rb
650
+ - lib/eco/api/usecases/default/people/reinvite_sync_case.rb
651
+ - lib/eco/api/usecases/default/people/reinvite_trans_case.rb
652
+ - lib/eco/api/usecases/default/people/reinvite_trans_cli.rb
653
+ - lib/eco/api/usecases/default/people/restore_db_case.rb
654
+ - lib/eco/api/usecases/default/people/set_default_tag_case.rb
655
+ - lib/eco/api/usecases/default/people/supers_cyclic_identify_case.rb
656
+ - lib/eco/api/usecases/default/people/supers_hierarchy_case.rb
657
+ - lib/eco/api/usecases/default/people/switch_supervisor_case.rb
658
+ - lib/eco/api/usecases/default/people/transfer_account_case.rb
545
659
  - lib/eco/api/usecases/default_cases.rb
546
- - lib/eco/api/usecases/default_cases/abstract_policygroup_abilities_case.rb
547
- - lib/eco/api/usecases/default_cases/analyse_people_case.rb
548
- - lib/eco/api/usecases/default_cases/append_usergroups_case.rb
549
- - lib/eco/api/usecases/default_cases/change_email_case.rb
550
- - lib/eco/api/usecases/default_cases/clean_unknown_tags_case.rb
551
- - lib/eco/api/usecases/default_cases/clear_abilities_case.rb
552
- - lib/eco/api/usecases/default_cases/codes_to_tags_case.rb
553
660
  - lib/eco/api/usecases/default_cases/create_case.rb
554
- - lib/eco/api/usecases/default_cases/create_details_case.rb
555
- - lib/eco/api/usecases/default_cases/create_details_with_supervisor_case.rb
556
- - lib/eco/api/usecases/default_cases/create_tag_paths_case.rb
557
- - lib/eco/api/usecases/default_cases/csv_to_tree_case.rb
558
661
  - lib/eco/api/usecases/default_cases/delete_sync_case.rb
559
662
  - lib/eco/api/usecases/default_cases/delete_trans_case.rb
560
- - lib/eco/api/usecases/default_cases/email_as_id_case.rb
561
663
  - lib/eco/api/usecases/default_cases/entries_to_csv_case.rb
562
664
  - lib/eco/api/usecases/default_cases/hris_case.rb
563
- - lib/eco/api/usecases/default_cases/new_email_case.rb
564
- - lib/eco/api/usecases/default_cases/new_id_case.rb
565
- - lib/eco/api/usecases/default_cases/org_data_convert_case.rb
566
- - lib/eco/api/usecases/default_cases/refresh_case.rb
567
- - lib/eco/api/usecases/default_cases/reinvite_sync_case.rb
568
- - lib/eco/api/usecases/default_cases/reinvite_trans_case.rb
569
- - lib/eco/api/usecases/default_cases/remove_account_sync_case.rb
570
- - lib/eco/api/usecases/default_cases/remove_account_trans_case.rb
571
- - lib/eco/api/usecases/default_cases/reset_landing_page_case.rb
572
- - lib/eco/api/usecases/default_cases/restore_db_case.rb
573
665
  - lib/eco/api/usecases/default_cases/samples.rb
666
+ - lib/eco/api/usecases/default_cases/samples/cli/sftp_cli.rb
574
667
  - lib/eco/api/usecases/default_cases/samples/sftp_case.rb
575
- - lib/eco/api/usecases/default_cases/set_default_tag_case.rb
576
- - lib/eco/api/usecases/default_cases/set_supervisor_case.rb
577
- - lib/eco/api/usecases/default_cases/supers_cyclic_identify_case.rb
578
- - lib/eco/api/usecases/default_cases/supers_hierarchy_case.rb
579
- - lib/eco/api/usecases/default_cases/switch_supervisor_case.rb
580
- - lib/eco/api/usecases/default_cases/tagtree_case.rb
581
668
  - lib/eco/api/usecases/default_cases/to_csv_case.rb
582
669
  - lib/eco/api/usecases/default_cases/to_csv_detailed_case.rb
583
- - lib/eco/api/usecases/default_cases/transfer_account_case.rb
584
670
  - lib/eco/api/usecases/default_cases/update_case.rb
585
- - lib/eco/api/usecases/default_cases/update_details_case.rb
586
671
  - lib/eco/api/usecases/default_cases/upsert_case.rb
587
672
  - lib/eco/api/usecases/graphql.rb
588
673
  - lib/eco/api/usecases/graphql/base.rb
@@ -632,14 +717,6 @@ files:
632
717
  - lib/eco/assets/language.rb
633
718
  - lib/eco/cli.rb
634
719
  - lib/eco/cli/config.rb
635
- - lib/eco/cli/config/default.rb
636
- - lib/eco/cli/config/default/input.rb
637
- - lib/eco/cli/config/default/input_filters.rb
638
- - lib/eco/cli/config/default/options.rb
639
- - lib/eco/cli/config/default/people.rb
640
- - lib/eco/cli/config/default/people_filters.rb
641
- - lib/eco/cli/config/default/usecases.rb
642
- - lib/eco/cli/config/default/workflow.rb
643
720
  - lib/eco/cli/config/filters.rb
644
721
  - lib/eco/cli/config/filters/input_filters.rb
645
722
  - lib/eco/cli/config/filters/people_filters.rb
@@ -651,6 +728,14 @@ files:
651
728
  - lib/eco/cli/scripting/args_helpers.rb
652
729
  - lib/eco/cli/scripting/argument.rb
653
730
  - lib/eco/cli/scripting/arguments.rb
731
+ - lib/eco/cli_default.rb
732
+ - lib/eco/cli_default/input.rb
733
+ - lib/eco/cli_default/input_filters.rb
734
+ - lib/eco/cli_default/options.rb
735
+ - lib/eco/cli_default/people.rb
736
+ - lib/eco/cli_default/people_filters.rb
737
+ - lib/eco/cli_default/usecases.rb
738
+ - lib/eco/cli_default/workflow.rb
654
739
  - lib/eco/common.rb
655
740
  - lib/eco/csv.rb
656
741
  - lib/eco/csv/table.rb
@@ -704,8 +789,13 @@ files:
704
789
  - lib/eco/language/curry.rb
705
790
  - lib/eco/language/hash_transform.rb
706
791
  - lib/eco/language/hash_transform_modifier.rb
792
+ - lib/eco/language/klass.rb
793
+ - lib/eco/language/klass/when_inherited.rb
707
794
  - lib/eco/language/match.rb
708
795
  - lib/eco/language/match_modifier.rb
796
+ - lib/eco/language/methods.rb
797
+ - lib/eco/language/methods/delegate_missing.rb
798
+ - lib/eco/language/methods/dsl_able.rb
709
799
  - lib/eco/language/models.rb
710
800
  - lib/eco/language/models/class_helpers.rb
711
801
  - lib/eco/language/models/collection.rb