ucb_rails_user 4.0.4 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 460c4ebc80d80dbc43a3e1f1653216dec1a5dab89a8f53ad42d073059b48af25
4
- data.tar.gz: beb96b35fc53bf4d8890a71696aaf36280d92869d286ce4272b0ce21c5feaa1f
3
+ metadata.gz: 16591e2634ccad69a102f688132f754064005db006c45a1cdc59a66f186e299a
4
+ data.tar.gz: 197103ec64e41e156973745bd90cf810c6ac85b1d0e945395fb300d322326f0c
5
5
  SHA512:
6
- metadata.gz: 7ab0216db3aef410c94b8c66df26d9c1064412908645a8fa57a1fcbc0c5283e66f8e57e4220bf2ebdef7bd92af4d3b6a8e2139fad6e86b73fb2ed83229f1dc0c
7
- data.tar.gz: 844cc55820bfff87edacf6bc72fb946a80e8a2f2b3ddb1bd8cc0f079209bcd6beb632831041518414b401f1882f4b0a44c9cbb2a1728c6f796db5dd596051b7e
6
+ metadata.gz: 66e533e5bcf094769bd727ef8e9c651b9e2b3720a82ab36ebcdd0e27f5403db745fe44af8931ee68295edd95cc071771cd65014123a2b972125617b14934bf14
7
+ data.tar.gz: 1031c24d8efe19130e8f8f4b6e961b7ef15447f27c7b0e35da5940979d848015f4099a7a7d8d41b24a921311130a87965349db2f39d314b08dcea8d74cb67891
@@ -90,7 +90,8 @@ module UcbRailsUser::Concerns::UsersController
90
90
  params.fetch(:last_name),
91
91
  :sort => :last_first_downcase
92
92
  )
93
- @lps_existing_uids = User.where(ldap_uid: @lps_entries.map(&:uid)).pluck(:uid)
93
+ uid_strings = @lps_entries.map { |entry| entry.uid&.to_s }.compact
94
+ @lps_existing_uids = User.where(ldap_uid: uid_strings).pluck(:uid)
94
95
  render 'ucb_rails_user/lps/search'
95
96
  end
96
97
 
@@ -1,3 +1,3 @@
1
1
  module UcbRailsUser
2
- VERSION = '4.0.4'
2
+ VERSION = '4.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucb_rails_user
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.4
4
+ version: 4.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Downey
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-01-08 00:00:00.000000000 Z
14
+ date: 2021-03-29 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails