finapps 5.2.0 → 5.2.1

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: 554b65d6356fd5e7b4e6c6711af7b915285353a34f88e6c95f73305573da56b5
4
- data.tar.gz: 7b2d81aeba357ae0c8cdf7b6688ab4b7f5017a75c840ee6f09e095c1c64bd085
3
+ metadata.gz: 1876da28473c212167549859f20839e6166cf63eb8175fdb787b1a3ddcd589ca
4
+ data.tar.gz: 1a6b376f154fc2b7dbdc4a935b30b5277c672ddf378e2a691ef0ebb40a29364e
5
5
  SHA512:
6
- metadata.gz: 36390552ea22bf844baab8585a516e54cfa9e22267159f426d0ce94baae60163823b2dfe364828f8b039abdbf6ac1930c4105eea532f7667ed95687074829a49
7
- data.tar.gz: 3942cfe7e696a6560f78bf0e5ead716831a7698b13b513b175d9af4f38382f4c4e457f2758f3053d596c3f37b99984ecf3cd3006f9f470afd644549a294f9362
6
+ metadata.gz: 6ea0899aaa9171da4a52e7b97ef2bfb2f20574fb6970af9c28bd935cfd3b660a271b32b0cf4d9a3c56839fa27dea373e8289cc64d7bcae6632f142de77010b7a
7
+ data.tar.gz: '016696c481689ca7817e2728a8aa7edbf337cd3fa0a075dec8f4d0254afda854d79baa5f42359dc804adb3d84f6cf45da96a760627478b13052cbccf116f494e'
@@ -0,0 +1,7 @@
1
+ version: 2
2
+ updates:
3
+ # Maintain dependencies for GitHub Actions
4
+ - package-ecosystem: "github-actions"
5
+ directory: "/"
6
+ schedule:
7
+ interval: "daily"
@@ -90,16 +90,15 @@ module FinApps
90
90
  end
91
91
 
92
92
  def with_space_search(term)
93
- [
94
- {"applicant.email": term},
95
- {"applicant.first_name": term},
96
- {"applicant.last_name": term},
97
- {
98
- reference_no: {
99
- "$regex": "^#{term}", "$options": 'i'
100
- }
101
- }
102
- ]
93
+ [{"applicant.email": term},
94
+ {"applicant.first_name": term},
95
+ {"applicant.last_name": term},
96
+ {"applicant.external_id": term},
97
+ {
98
+ reference_no: {
99
+ "$regex": "^#{term}", "$options": 'i'
100
+ }
101
+ }]
103
102
  end
104
103
 
105
104
  def tag_query(tag)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinApps
4
- VERSION = '5.2.0'
4
+ VERSION = '5.2.1'
5
5
  end
@@ -52,11 +52,10 @@ RSpec.describe FinApps::REST::DocumentsOrders do
52
52
  "#{versioned_api_path}/documents/orders?"\
53
53
  'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:'\
54
54
  '%22term%22%7D,%7B%22applicant.first_name%22:%22term%22%7D,'\
55
- '%7B%22applicant.last_name%22:'\
56
- '%22term%22%7D,%7B%22reference_no%22:%7B%22$regex%22:%22%5Eterm%22,'\
57
- '%22$options%22:%22i%22%7D%7D%5D,'\
58
- '%22consumer_id%22:%22valid_consumer_id%22%7D&'\
59
- 'page=2&requested=25&sort=tag '
55
+ '%7B%22applicant.last_name%22:%22term%22%7D,'\
56
+ '%7B%22applicant.external_id%22:%22term%22%7D,%7B%22reference_no%22:'\
57
+ '%7B%22$regex%22:%22%5Eterm%22,%22$options%22:%22i%22%7D%7D%5D,'\
58
+ '%22consumer_id%22:%22valid_consumer_id%22%7D&page=2&requested=25&sort=tag'
60
59
 
61
60
  expect(WebMock).to have_requested(:get, url)
62
61
  end
@@ -69,16 +68,14 @@ RSpec.describe FinApps::REST::DocumentsOrders do
69
68
  url =
70
69
  "#{versioned_api_path}/documents/orders?"\
71
70
  'filter=%7B%22$or%22:%5B%7B%22applicant.email%22:'\
72
- '%22Blue%20Jay%22%7D,'\
73
- '%7B%22applicant.first_name%22:%22Blue%20Jay%22%7D,'\
74
- '%7B%22applicant.last_name%22:'\
75
- '%22Blue%20Jay%22%7D,'\
76
- '%7B%22reference_no%22:%7B%22$regex%22:%22%5EBlue%20Jay%22,'\
77
- '%22$options%22:'\
78
- '%22i%22%7D%7D,%7B%22applicant.first_name%22:%22Blue%22%7D,'\
79
- '%7B%22applicant.last_name%22:%22Blue%22%7D,'\
80
- '%7B%22applicant.first_name%22:%22Jay%22%7D,'\
81
- '%7B%22applicant.last_name%22:%22Jay%22%7D%5D%7D&page=2'
71
+ '%22Blue%20Jay%22%7D,%7B%22applicant.first_name%22:'\
72
+ '%22Blue%20Jay%22%7D,%7B%22applicant.last_name%22:'\
73
+ '%22Blue%20Jay%22%7D,%7B%22applicant.external_id%22:'\
74
+ '%22Blue%20Jay%22%7D,%7B%22reference_no%22:%7B%22$regex%22:'\
75
+ '%22%5EBlue%20Jay%22,%22$options%22:%22i%22%7D%7D,'\
76
+ '%7B%22applicant.first_name%22:%22Blue%22%7D,%7B%22'\
77
+ 'applicant.last_name%22:%22Blue%22%7D,%7B%22applicant.first_name%22:'\
78
+ '%22Jay%22%7D,%7B%22applicant.last_name%22:%22Jay%22%7D%5D%7D&page=2'
82
79
 
83
80
  expect(WebMock).to have_requested(:get, url)
84
81
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: finapps_core
@@ -280,6 +280,7 @@ extra_rdoc_files:
280
280
  - LICENSE.txt
281
281
  files:
282
282
  - ".codeclimate.yml"
283
+ - ".github/dependabot.yml"
283
284
  - ".github/release-drafter.yml"
284
285
  - ".github/workflows/ci.yaml"
285
286
  - ".github/workflows/release-drafter.yml"