eco-helpers 2.0.30 → 2.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -2
- data/lib/eco/api/session/batch/job.rb +2 -1
- data/lib/eco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd31d354667802423a4003fe347af67916015eaeac0d1682cbe511d7afc11b40
|
4
|
+
data.tar.gz: d0f9d23f2ad6db33861441d9f865a9e5925eec7a1e4042f7246bbded8f61ce6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fafda0f2b9f6866499df3a641598800ea5dd2c2536710a759bbd0d30a307f36da8cc1cb30056de965134aea509ce1700df152d233d322b41c590048569ecd23e
|
7
|
+
data.tar.gz: d2f953274727fa35d8474da766dabee715f21b4ae227be9e0b4f31363d58fdcc1b0e410d10976b3f8608e14335d5f42c97dccd6a3d2e55ea37fb4a945d02d091
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,20 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [2.0.
|
4
|
+
## [2.0.31] - 2021-07-xx
|
5
5
|
|
6
6
|
### Added
|
7
|
-
* `Eco::API::Common::People::DefaultParsers::XLSParser` uses as default the `fields_map.json` to identify the headers.
|
8
7
|
|
9
8
|
### Changed
|
10
9
|
|
10
|
+
### Fixed
|
11
|
+
- `Eco::API::Session::Batch::Job`: `include-excluded` was triggering a type error.
|
12
|
+
|
13
|
+
## [2.0.30] - 2021-07-08
|
14
|
+
|
15
|
+
### Added
|
16
|
+
* `Eco::API::Common::People::DefaultParsers::XLSParser` uses as default the `fields_map.json` to identify the headers.
|
17
|
+
|
11
18
|
### Fixed
|
12
19
|
* `Eco::API::Common::People::DefaultParsers::XLSParser` should return all `String` values
|
13
20
|
|
@@ -253,7 +253,8 @@ module Eco
|
|
253
253
|
def api_included(full_queue)
|
254
254
|
return full_queue if type == :create
|
255
255
|
return full_queue unless excluded = session.config.people.api_excluded
|
256
|
-
|
256
|
+
excluded = options.dig(:include, :excluded)
|
257
|
+
if excluded.is_a?(Hash) && excluded[:only]
|
257
258
|
full_queue.select {|entry| excluded.call(entry, session, options, self)}
|
258
259
|
elsif options.dig(:include, :excluded)
|
259
260
|
full_queue
|
data/lib/eco/version.rb
CHANGED