eco-helpers 3.0.14 → 3.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -2
  3. data/eco-helpers.gemspec +15 -14
  4. data/lib/eco/api/common/people/default_parsers/date_parser.rb +6 -0
  5. data/lib/eco/api/common/session/mailer/aws_provider.rb +85 -0
  6. data/lib/eco/api/common/session/mailer/provider_base.rb +61 -0
  7. data/lib/eco/api/common/session/mailer/sendgrid_provider.rb +117 -0
  8. data/lib/eco/api/common/session/mailer.rb +42 -71
  9. data/lib/eco/api/session/batch/errors.rb +2 -2
  10. data/lib/eco/api/session/batch.rb +66 -28
  11. data/lib/eco/api/session/config/api.rb +96 -37
  12. data/lib/eco/api/session/config/apis/enviro_spaces.rb +106 -0
  13. data/lib/eco/api/session/config/apis/one_off.rb +94 -0
  14. data/lib/eco/api/session/config/apis/service_up.rb +37 -0
  15. data/lib/eco/api/session/config/apis/space_helpers.rb +41 -0
  16. data/lib/eco/api/session/config/apis.rb +81 -132
  17. data/lib/eco/api/session/config.rb +21 -3
  18. data/lib/eco/api/usecases/default_cases/samples/sftp_case.rb +1 -1
  19. data/lib/eco/api/usecases/graphql/helpers/base/error_handling.rb +19 -8
  20. data/lib/eco/api/usecases/graphql/helpers/base/graphql_env.rb +1 -0
  21. data/lib/eco/api/usecases/graphql/samples/location/command/dsl.rb +3 -7
  22. data/lib/eco/api/usecases/graphql/samples/location/command/service/tree_update.rb +6 -2
  23. data/lib/eco/cli/config/options_set.rb +10 -7
  24. data/lib/eco/cli/scripting/args_helpers.rb +18 -9
  25. data/lib/eco/cli_default/options.rb +8 -0
  26. data/lib/eco/cli_default/people.rb +3 -3
  27. data/lib/eco/language/basic_logger.rb +4 -2
  28. data/lib/eco/version.rb +1 -1
  29. metadata +37 -16
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.14
4
+ version: 3.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-09 00:00:00.000000000 Z
11
+ date: 2024-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -102,22 +102,16 @@ dependencies:
102
102
  name: yard
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ">="
106
- - !ruby/object:Gem::Version
107
- version: 0.9.34
108
- - - "<"
105
+ - - "~>"
109
106
  - !ruby/object:Gem::Version
110
- version: '1'
107
+ version: '0.9'
111
108
  type: :development
112
109
  prerelease: false
113
110
  version_requirements: !ruby/object:Gem::Requirement
114
111
  requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: 0.9.34
118
- - - "<"
112
+ - - "~>"
119
113
  - !ruby/object:Gem::Version
120
- version: '1'
114
+ version: '0.9'
121
115
  - !ruby/object:Gem::Dependency
122
116
  name: amatch
123
117
  requirement: !ruby/object:Gem::Requirement
@@ -233,6 +227,9 @@ dependencies:
233
227
  - - "~>"
234
228
  - !ruby/object:Gem::Version
235
229
  version: '0.10'
230
+ - - ">="
231
+ - !ruby/object:Gem::Version
232
+ version: 0.10.3
236
233
  type: :runtime
237
234
  prerelease: false
238
235
  version_requirements: !ruby/object:Gem::Requirement
@@ -240,6 +237,9 @@ dependencies:
240
237
  - - "~>"
241
238
  - !ruby/object:Gem::Version
242
239
  version: '0.10'
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: 0.10.3
243
243
  - !ruby/object:Gem::Dependency
244
244
  name: ecoportal-api-graphql
245
245
  requirement: !ruby/object:Gem::Requirement
@@ -249,7 +249,7 @@ dependencies:
249
249
  version: '0.4'
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
- version: 0.4.1
252
+ version: 0.4.2
253
253
  type: :runtime
254
254
  prerelease: false
255
255
  version_requirements: !ruby/object:Gem::Requirement
@@ -259,7 +259,7 @@ dependencies:
259
259
  version: '0.4'
260
260
  - - ">="
261
261
  - !ruby/object:Gem::Version
262
- version: 0.4.1
262
+ version: 0.4.2
263
263
  - !ruby/object:Gem::Dependency
264
264
  name: ecoportal-api-v2
265
265
  requirement: !ruby/object:Gem::Requirement
@@ -269,7 +269,7 @@ dependencies:
269
269
  version: '2.0'
270
270
  - - ">="
271
271
  - !ruby/object:Gem::Version
272
- version: 2.0.9
272
+ version: 2.0.10
273
273
  type: :runtime
274
274
  prerelease: false
275
275
  version_requirements: !ruby/object:Gem::Requirement
@@ -279,7 +279,7 @@ dependencies:
279
279
  version: '2.0'
280
280
  - - ">="
281
281
  - !ruby/object:Gem::Version
282
- version: 2.0.9
282
+ version: 2.0.10
283
283
  - !ruby/object:Gem::Dependency
284
284
  name: ed25519
285
285
  requirement: !ruby/object:Gem::Requirement
@@ -494,6 +494,20 @@ dependencies:
494
494
  - - "<"
495
495
  - !ruby/object:Gem::Version
496
496
  version: '2.4'
497
+ - !ruby/object:Gem::Dependency
498
+ name: sendgrid-ruby
499
+ requirement: !ruby/object:Gem::Requirement
500
+ requirements:
501
+ - - "~>"
502
+ - !ruby/object:Gem::Version
503
+ version: 6.7.0
504
+ type: :runtime
505
+ prerelease: false
506
+ version_requirements: !ruby/object:Gem::Requirement
507
+ requirements:
508
+ - - "~>"
509
+ - !ruby/object:Gem::Version
510
+ version: 6.7.0
497
511
  description:
498
512
  email:
499
513
  - oscar@ecoportal.co.nz
@@ -563,6 +577,9 @@ files:
563
577
  - lib/eco/api/common/session/logger/cache.rb
564
578
  - lib/eco/api/common/session/logger/log.rb
565
579
  - lib/eco/api/common/session/mailer.rb
580
+ - lib/eco/api/common/session/mailer/aws_provider.rb
581
+ - lib/eco/api/common/session/mailer/provider_base.rb
582
+ - lib/eco/api/common/session/mailer/sendgrid_provider.rb
566
583
  - lib/eco/api/common/session/s3_uploader.rb
567
584
  - lib/eco/api/common/session/sftp.rb
568
585
  - lib/eco/api/common/version_patches.rb
@@ -645,6 +662,10 @@ files:
645
662
  - lib/eco/api/session/config.rb
646
663
  - lib/eco/api/session/config/api.rb
647
664
  - lib/eco/api/session/config/apis.rb
665
+ - lib/eco/api/session/config/apis/enviro_spaces.rb
666
+ - lib/eco/api/session/config/apis/one_off.rb
667
+ - lib/eco/api/session/config/apis/service_up.rb
668
+ - lib/eco/api/session/config/apis/space_helpers.rb
648
669
  - lib/eco/api/session/config/base_config.rb
649
670
  - lib/eco/api/session/config/files.rb
650
671
  - lib/eco/api/session/config/logger.rb