finapps 5.0.31 → 5.0.32

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: 9245578f87d01b1010faa9e0f1d426873a24c86f860e83883027b966ba5ac129
4
- data.tar.gz: d2b313cbdddb91c8645684727f91b1b7359becbcad1678758a604e43c4e0587c
3
+ metadata.gz: 05c3cbe0d36260925c0a4ca37018f711a959dc0607b4d379b9adb048ef76a0c9
4
+ data.tar.gz: 1a519b374d9345074573372872fcc731f7b55111adc47be50ce549f7db5b913d
5
5
  SHA512:
6
- metadata.gz: 46be47b08a87fa355fe54b4db658074496561a6cf0f95c32a239f9b7164159b2aa13ce3a9a8030c5050c30086534212e0d947e88875e686a51edaf197d69c47d
7
- data.tar.gz: afa0a48469d1538cc2af130a61d5765c4f7dd3e72c24a2c624a20d28f6436d16074b8e73bb25f68c4751946ea1b062b2438309173857ebbe1a314b18948ff874
6
+ metadata.gz: 79b1294efebc55a4eb589511df152268a6afbd135b9d06c0d159d8beecdb3d5c968cd5f1978dfac92934d8f1e8464004f21f7327631f236ee53b084ac1ac1858
7
+ data.tar.gz: b333304eae828c57e73751fa1a09f5d3da6582499eab129ff4421ac8726c204cef74a6a5d90591f41e5c9a82d9dfeb5e4422cbf738b685fcdc83cf70a38a2945
@@ -1,3 +1,12 @@
1
+ ## [5.0.32] - 2020-06-11
2
+
3
+ ### Fixed
4
+ * Argument error resulting from space search ([#225][i225])
5
+
6
+ [i225]: https://github.com/finapps/ruby-client/issues/225
7
+
8
+ [5.0.32]: https://github.com/finapps/ruby-client/compare/5.0.31...5.0.32
9
+
1
10
  ## [5.0.31] - 2020-06-11
2
11
 
3
12
  ### Changed
@@ -70,7 +70,12 @@ module FinApps
70
70
 
71
71
  def name_search(term)
72
72
  search_arr = []
73
- term.split.each { |t| search_arr.append({ "first_name": t }, "last_name": t) } if term.match(/\s/)
73
+ if term.match(/\s/)
74
+ term.split.each do |t|
75
+ search_arr.append("first_name": t)
76
+ search_arr.append("last_name": t)
77
+ end
78
+ end
74
79
  search_arr
75
80
  end
76
81
  end
@@ -63,7 +63,10 @@ module FinApps
63
63
  def name_search(term)
64
64
  search_arr = []
65
65
  if term.match(/\s/)
66
- term.split.each { |t| search_arr.append({ "applicant.first_name": t }, "applicant.last_name": t) }
66
+ term.split.each do |t|
67
+ search_arr.append("applicant.first_name": t)
68
+ search_arr.append("applicant.last_name": t)
69
+ end
67
70
  end
68
71
  search_arr
69
72
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinApps
4
- VERSION = '5.0.31'
4
+ VERSION = '5.0.32'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.31
4
+ version: 5.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero