eco-helpers 1.3.11 → 1.3.12

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: 1c1edf77f7f40ef152c92c79d2188bb15b7c0515eb931996d003d72c8cc8bae6
4
- data.tar.gz: 8789d8b857cc0744be0737d4721e0b6346369c2633af28ca531070fafec75594
3
+ metadata.gz: 98a2098cebb4520b57aa8307cf4a09711fe5fb6d99e9dbd2cddaa50c0c74310e
4
+ data.tar.gz: d45f4401b9626c1950e9a9dd6b601d6bece0d746bb0272b65be03ea626783a49
5
5
  SHA512:
6
- metadata.gz: 0feac71b553eb272b789c4391b8a089106564da34935d9fd6ea90e35729ea591767eb6b3850a156630d05c957511b5c804bfcf45e3ace0b0a3044a7511eac8dd
7
- data.tar.gz: 4dce2bc687b384e40014e7b2c42e03f508d1f066e4e14b553f617415b29deee08181648f079fabdc69e76cb0a1f218c732e2d75a9da2136af1b6e73fef0e3ae1
6
+ metadata.gz: 659fb760d4f93a3acb33ea1c25ea2f489bdaffb6808e0bb1e3beab707f1c85a17c6b623f945a94e9f5ff7dc763919b83b29f7ad18678755d04c1668f1fb8394c
7
+ data.tar.gz: ad7befbcad34c8abd24e3c9bd5b962876b797a3a245157817e30a3c8a559864b35c0b1269e92f842011ac7d998f17bd9f57b4a8fafc54bd149a9433575f695b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [1.3.11] - 2020-05-19
5
+
6
+ ### Added
7
+ ### Changed
8
+ - stop using `email` as `external_id` on `People#person` & `People#find`
9
+ * this should result in more accurate searches when using `:strict` options
10
+ ### Fixed
11
+
12
+
4
13
  ## [1.3.11] - 2020-05-12
5
14
 
6
15
  ### Added
@@ -65,8 +65,8 @@ module Eco
65
65
  pers = candidates.first
66
66
  end
67
67
 
68
+ pers = @by_external_id[email&.downcase.strip]&.first if !pers && !email.to_s.strip.empty?
68
69
  end
69
- pers = @by_external_id[email&.downcase.strip]&.first if !pers && !email.to_s.strip.empty?
70
70
 
71
71
  pers
72
72
  end
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "1.3.11"
2
+ VERSION = "1.3.12"
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.3.11
4
+ version: 1.3.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura