eco-helpers 2.0.56 → 2.0.57

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9227a13716393bdd79a7bdf3d4729dbc2b426f43e16d1525001ffd0a2c58bb4
4
- data.tar.gz: 00adb8c5c5abc08e53e4130a1cdf9ff03cf4307ac86c4cbe8e84ebffd8ba2458
3
+ metadata.gz: 5f311bacb1d039da9637ae6eb6fc33f709aef06e6647591a6f9dd981d010a424
4
+ data.tar.gz: fe3056df3a19353c4b915440f3ba26bb181e8b89aa8570e4a356b8aa926e71b7
5
5
  SHA512:
6
- metadata.gz: 0c69583967b50677bf012fdd354d3fb17abf521fcceb702f71ccfbfd942fb1e11963ff50b103f351e9cbebcfd531751dc9c54094e6b645c40b0e77d5ef6c7d8b
7
- data.tar.gz: 60a0e1e311f8a3aae34bbfcf1f4c5dccf3bd541dfaef0ab60b3f7b557a69bc6b5f7a74febdea0a85aa4db658c508da69fef99753c89459db0eab58112c577bc2
6
+ metadata.gz: b0a0506303240b5a3e7f1b52865cbf142d2b50a4adbd64ab062f607df73502c49ecf37df659fc549676922740f118cfbcf0abf336876ba49423cf8c087ff04a5
7
+ data.tar.gz: 2f5b1775eb19b2c8ed4ebf4539e06418fae5d5c0b969d9ee5f24f65a66fe8819162023e76a60409d63ac9869649dec35713981604b66e15097ea41ec47a4f3af
data/CHANGELOG.md CHANGED
@@ -1,7 +1,19 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [2.0.56] - 2022-04-xx
4
+ ## [2.0.57] - 2022-04-xx
5
+
6
+ ### Added
7
+
8
+ ### Changed
9
+ - `Eco::API::UseCases::DefaultCases::HrisCase`
10
+ - Made it so the `leavers` batch runs first
11
+ - This aims to prevent some errors such as `cyclic supervisor` or `email already taken`
12
+
13
+ ### Fixed
14
+
15
+
16
+ ## [2.0.56] - 2022-04-25
5
17
 
6
18
  ### Added
7
19
  - `Eco::API::UseCases::OozeSamples::OozeBaseCase#add_field_by_doc`
@@ -9,10 +9,10 @@ class Eco::API::UseCases::DefaultCases::HrisCase < Eco::API::Common::Loaders::Us
9
9
  @session = session; @options = options; @people = people
10
10
  require_only_one_schema!
11
11
  micro = session.micro
12
+ @leavers = session.new_job("pre", "leavers", :update, usecase, :account)
12
13
  @creation = session.new_job("main", "create", :create, usecase)
13
14
  @update = session.new_job("main", "update", :update, usecase)
14
15
  @supers = session.new_job("post", "supers", :update, usecase, :core)
15
- @leavers = session.new_job("post", "leavers", :update, usecase, :account)
16
16
 
17
17
  micro.with_each_leaver(entries, people, options) do |person|
18
18
  leavers.add(person, &method(:leavers_callback))
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "2.0.56"
2
+ VERSION = "2.0.57"
3
3
  end
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.0.56
4
+ version: 2.0.57
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura