finapps 4.0.12 → 4.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/finapps/utils/query_builder.rb +1 -1
- data/lib/finapps/version.rb +1 -1
- data/spec/utils/query_builder_spec.rb +2 -2
- metadata +30 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 94a52c110da7d02d0eb59601e720692df36794fc
|
4
|
+
data.tar.gz: f32cd05b296b9356cb898d9ee19bf3a41cc6a520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99af45710dc67b478e5596c5840b9d613f2c48de382b5d0344924bad10cb7a5fceed42689a64e09dad87f735635cb97da0840862abd380a51b69edc8359e3581
|
7
|
+
data.tar.gz: b51d3dff34e0f7a226abebd9915fc4dd1902e0886edd2ead8636330efe9a1637ec2ed47f35f22c7d291bf551f9a84411e4d97510c57a2555925444da18e0bc9e
|
@@ -16,7 +16,7 @@ module FinApps
|
|
16
16
|
|
17
17
|
def query_join(root_url, params_array)
|
18
18
|
query_string = params_array.compact.join('&')
|
19
|
-
|
19
|
+
[root_url, query_string].reject(&:empty?).join('?')
|
20
20
|
end
|
21
21
|
|
22
22
|
def build_filter(_params)
|
data/lib/finapps/version.rb
CHANGED
@@ -24,10 +24,10 @@ RSpec.describe FinApps::Utils::QueryBuilder do
|
|
24
24
|
|
25
25
|
context 'with no params' do
|
26
26
|
let(:params) { {} }
|
27
|
-
it 'returns
|
27
|
+
it 'returns root' do
|
28
28
|
allow(subject).to receive(:build_filter) { {} }
|
29
29
|
expect(subject).to receive(:build_filter).with(params)
|
30
|
-
expect(subject.build_query_path(end_point, params)).to
|
30
|
+
expect(subject.build_query_path(end_point, params)).to eq(end_point)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
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: 4.0.
|
4
|
+
version: 4.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erich Quintero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|
@@ -382,45 +382,45 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
382
|
version: '0'
|
383
383
|
requirements: []
|
384
384
|
rubyforge_project:
|
385
|
-
rubygems_version: 2.
|
385
|
+
rubygems_version: 2.6.8
|
386
386
|
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: FinApps REST API ruby client.
|
389
389
|
test_files:
|
390
|
-
- spec/rest/
|
391
|
-
- spec/rest/
|
392
|
-
- spec/rest/
|
393
|
-
- spec/rest/portfolios_available_consumers_spec.rb
|
394
|
-
- spec/rest/products_spec.rb
|
395
|
-
- spec/rest/statements_spec.rb
|
390
|
+
- spec/rest/institutions_spec.rb
|
391
|
+
- spec/rest/consumer_institution_refreshes_spec.rb
|
392
|
+
- spec/rest/portfolios_alerts_spec.rb
|
396
393
|
- spec/rest/alert_definitions_spec.rb
|
397
|
-
- spec/rest/
|
398
|
-
- spec/rest/
|
399
|
-
- spec/rest/
|
400
|
-
- spec/rest/
|
401
|
-
- spec/rest/order_tokens_spec.rb
|
402
|
-
- spec/rest/institutions_forms_spec.rb
|
394
|
+
- spec/rest/portfolios_consumers_spec.rb
|
395
|
+
- spec/rest/consumer_institution_refresh_spec.rb
|
396
|
+
- spec/rest/order_assignments_spec.rb
|
397
|
+
- spec/rest/tenant_settings_spec.rb
|
403
398
|
- spec/rest/tenant_app_settings_spec.rb
|
404
|
-
- spec/rest/
|
405
|
-
- spec/rest/user_institutions_statuses_spec.rb
|
399
|
+
- spec/rest/user_institutions_forms_spec.rb
|
406
400
|
- spec/rest/client_spec.rb
|
407
|
-
- spec/rest/
|
408
|
-
- spec/rest/
|
409
|
-
- spec/rest/alert_occurrences_spec.rb
|
410
|
-
- spec/rest/consumer_institution_refreshes_spec.rb
|
401
|
+
- spec/rest/portfolio_reports_spec.rb
|
402
|
+
- spec/rest/version_spec.rb
|
411
403
|
- spec/rest/password_resets_spec.rb
|
404
|
+
- spec/rest/operators_spec.rb
|
405
|
+
- spec/rest/order_statuses_spec.rb
|
406
|
+
- spec/rest/alert_occurrences_spec.rb
|
412
407
|
- spec/rest/order_reports_spec.rb
|
408
|
+
- spec/rest/portfolios_available_consumers_spec.rb
|
409
|
+
- spec/rest/consumers_spec.rb
|
410
|
+
- spec/rest/sessions_spec.rb
|
411
|
+
- spec/rest/user_institutions_statuses_spec.rb
|
412
|
+
- spec/rest/orders_spec.rb
|
413
|
+
- spec/rest/operators_password_resets_spec.rb
|
414
|
+
- spec/rest/institutions_forms_spec.rb
|
413
415
|
- spec/rest/portfolios_spec.rb
|
414
|
-
- spec/rest/institutions_spec.rb
|
415
|
-
- spec/rest/order_statuses_spec.rb
|
416
416
|
- spec/rest/order_refreshes_spec.rb
|
417
417
|
- spec/rest/order_notifications_spec.rb
|
418
|
-
- spec/rest/
|
419
|
-
- spec/rest/
|
420
|
-
- spec/rest/
|
421
|
-
- spec/rest/
|
422
|
-
- spec/rest/
|
423
|
-
- spec/support/fake_api.rb
|
418
|
+
- spec/rest/statements_spec.rb
|
419
|
+
- spec/rest/order_tokens_spec.rb
|
420
|
+
- spec/rest/user_institutions_spec.rb
|
421
|
+
- spec/rest/consumers_portfolios_spec.rb
|
422
|
+
- spec/rest/products_spec.rb
|
424
423
|
- spec/utils/query_builder_spec.rb
|
425
|
-
- spec/
|
424
|
+
- spec/support/fake_api.rb
|
426
425
|
- spec/spec_helper.rb
|
426
|
+
- spec/spec_helpers/client.rb
|