eco-helpers 1.5.2 → 1.5.3

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: afef384678f171e737391056ca300ac9d9c813240d32422445ad1e256911be31
4
- data.tar.gz: 82f7b611239cc9e5d58778d1db9ffaef7cef748360fd82abeba3df710c56ac60
3
+ metadata.gz: 18474e8798272d1a5a62ca259d514642938372e21dc7668684c8659ed19ff0f8
4
+ data.tar.gz: a62a9696b955ee8b27067e7bf81cae34e78cc015af398b9c57a82177871b36ce
5
5
  SHA512:
6
- metadata.gz: 6516df10c5fbf6d48f8fa5bfdb993320a15043fecdcbe84c2927c6c84ab9fd817d298f9ae0806a6e43476d2342e862fbecb55ed14fc532bc4cf007f32a9ff7e6
7
- data.tar.gz: 13763cf62b5d0741d0d23837f66480fcf678ac317d6ac726cdea0fbd12cb4ce048b57e3278053536c214661f9aa591a90a22e06b5a24720bba087459c6536d72
6
+ metadata.gz: f9a6af4022fb86db3ba85d1fccfcec42690dc3f337e2219d74fe0a980611fba04e62054bf03a4a391472f4b6584dd206d20fb20c9521a352f0e025bb5fccd898
7
+ data.tar.gz: 5f8b44e2323e118c6a927ae46b3435b71812dc6265afda199c08b66afa5e1e02d7ab1f690e3312d7d10a25ae59f0ce593301ce5dc1a24dba614295466ac7dbdd
@@ -1,7 +1,15 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [1.5.2] - 2020-10-29
4
+ ## [1.5.3] - 2020-11-xx
5
+
6
+ ### Added
7
+ ### Changed
8
+ ### Fixed
9
+ - `Eco::API::Session::Batch::RequestStats#blanked_value?` better blank detection
10
+ - `Eco::API::MicroCases#with_each_starter` rectified typo
11
+
12
+ ## [1.5.2] - 2020-11-26
5
13
 
6
14
  ### Added
7
15
  - **custom** usecases, policies and error handlers can now be **declared within its own class**
@@ -19,7 +19,7 @@ module Eco
19
19
  session.logger.error("This person (id: '#{person.id}') already exists: #{entry.to_s(:identify)}")
20
20
  next
21
21
  end
22
- staters << person
22
+ starters << person
23
23
  yield(entry, person) if block_given?
24
24
  end
25
25
  people.newFrom starters
@@ -214,8 +214,12 @@ module Eco
214
214
  case value
215
215
  when nil
216
216
  true
217
+ when false
218
+ true
219
+ when Numeric
220
+ value == 0
217
221
  when Array
218
- value.empty?
222
+ value.compact.empty?
219
223
  when String
220
224
  value.to_s.strip.empty?
221
225
  end
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
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: 1.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura