finapps 5.4.0 → 5.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yaml +15 -21
- data/.github/workflows/verify-pr-labeled.yml +11 -2
- data/README.md +0 -3
- data/finapps.gemspec +5 -6
- data/lib/finapps/version.rb +1 -1
- data/spec/spec_helper.rb +13 -4
- metadata +80 -106
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f2a3cc29031a78b597ac3fadc86765e2d53fd1a9d5461ab484f565c7b9142f1
|
4
|
+
data.tar.gz: 03cd2d0d21472ed22851506db157dc464beebb691cfa12d7f37852630c8939af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f2c6a4534249d60fd3ee49fc29d810b47ebbc9984eddd55945bf0d1ba604d1062289bb0bbaee5e8b2c4174627ae243440c3a9ee3fe5dd28667490b341b82c53
|
7
|
+
data.tar.gz: 65ca4b08c104b8c7201acb063b9d8c501143695dca17bbefc2b23451772878dd195a248c1f4e25a027203c2f3896c71013b666389f92f5839caf53a9bfd41ce2
|
data/.github/workflows/ci.yaml
CHANGED
@@ -10,38 +10,32 @@ on:
|
|
10
10
|
- ".github/**"
|
11
11
|
- ".VERSION"
|
12
12
|
jobs:
|
13
|
-
|
13
|
+
test:
|
14
14
|
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
15
|
-
runs-on: ubuntu-latest
|
16
|
-
|
17
15
|
strategy:
|
18
|
-
fail-fast:
|
19
|
-
|
16
|
+
fail-fast: false
|
17
|
+
matrix:
|
18
|
+
os: [ubuntu-latest]
|
19
|
+
ruby: [2.6, 2.7, '3.0']
|
20
|
+
runs-on: ${{ matrix.os }}
|
20
21
|
steps:
|
21
22
|
- name: Checkout source code
|
22
23
|
uses: actions/checkout@v2
|
23
24
|
|
24
|
-
- name: Install required ruby
|
25
|
+
- name: Install required ruby version
|
25
26
|
uses: ruby/setup-ruby@v1
|
26
|
-
|
27
|
-
- name: Setup cache key and directory for gems cache
|
28
|
-
uses: actions/cache@v2.1.4
|
29
27
|
with:
|
30
|
-
|
31
|
-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
32
|
-
restore-keys: |
|
33
|
-
${{ runner.os }}-gems-
|
28
|
+
bundler-cache: true # runs 'bundle install' and caches gems
|
34
29
|
|
35
|
-
- name:
|
30
|
+
- name: Run rspec with coverage
|
36
31
|
run: |
|
37
|
-
bundle
|
38
|
-
bundle config set jobs 4
|
39
|
-
bundle config set retry 3
|
40
|
-
bundle install
|
32
|
+
COVERAGE=true bundle exec rspec
|
41
33
|
|
42
34
|
- name: Run rubocop
|
43
|
-
run: |
|
35
|
+
run: |
|
44
36
|
bundle exec rubocop --parallel
|
45
37
|
|
46
|
-
- name: Run
|
47
|
-
run:
|
38
|
+
- name: Run Skunk on Project
|
39
|
+
run: |
|
40
|
+
gem install skunk
|
41
|
+
skunk lib/
|
@@ -9,6 +9,15 @@ jobs:
|
|
9
9
|
steps:
|
10
10
|
- uses: mheap/github-action-required-labels@v1
|
11
11
|
with:
|
12
|
-
mode:
|
12
|
+
mode: minimum
|
13
13
|
count: 1
|
14
|
-
|
14
|
+
#
|
15
|
+
# Releases will group changes under Added/Fixed/Changed sub-headers
|
16
|
+
# based on labels and follwing these rules:
|
17
|
+
#
|
18
|
+
# Added: enhancement
|
19
|
+
# Fixed: bug
|
20
|
+
# Changed: maintenance, change, dependencies (used by Dependabot)
|
21
|
+
# Ignore: skip-changelog
|
22
|
+
#
|
23
|
+
labels: "enhancement, bug, maintenance, change, dependencies, skip-changelog"
|
data/README.md
CHANGED
@@ -4,9 +4,6 @@ FinApps Ruby-Client
|
|
4
4
|
|
5
5
|
[![Gem Version](https://img.shields.io/gem/v/finapps.svg)](https://rubygems.org/gems/finapps)
|
6
6
|
![Main](https://github.com/finapps/ruby-client/workflows/Main/badge.svg)
|
7
|
-
[![Build Status](https://travis-ci.org/finapps/ruby-client.svg?branch=master)](https://travis-ci.org/finapps/ruby-client)
|
8
|
-
[![Code Climate](https://codeclimate.com/github/finapps/ruby-client/badges/gpa.svg)](https://codeclimate.com/github/finapps/ruby-client)
|
9
|
-
[![Test Coverage](https://codeclimate.com/github/finapps/ruby-client/badges/coverage.svg)](https://codeclimate.com/github/finapps/ruby-client/coverage)
|
10
7
|
[![License](http://img.shields.io/:license-mit-blue.svg?style=flat-square)](http://finapps.mit-license.org)
|
11
8
|
|
12
9
|
|
data/finapps.gemspec
CHANGED
@@ -20,20 +20,19 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = Dir['spec/**/*.rb']
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.add_runtime_dependency 'finapps_core', '~> 5.0', '>= 5.0.
|
23
|
+
spec.add_runtime_dependency 'finapps_core', '~> 5.0', '>= 5.0.16'
|
24
24
|
|
25
|
-
spec.add_development_dependency 'bundler', '~> 2.
|
26
|
-
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0', '>= 1.0.9'
|
27
|
-
spec.add_development_dependency 'guard', '~> 2.16', '>= 2.16.1'
|
28
|
-
spec.add_development_dependency 'guard-rspec', '~> 4.7', '>= 4.7.3'
|
25
|
+
spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.16'
|
29
26
|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
|
30
27
|
spec.add_development_dependency 'rspec', '~> 3.10', '>= 3.10.0'
|
31
28
|
spec.add_development_dependency 'rubocop', '~> 1.9', '>= 1.9.1'
|
32
29
|
spec.add_development_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.2'
|
33
30
|
spec.add_development_dependency 'rubocop-rake', '~> 0.5', '>= 0.5.1'
|
34
31
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.2', '>= 2.2.0'
|
32
|
+
spec.add_development_dependency 'simplecov', '~> 0.21', '>= 0.21.2'
|
33
|
+
spec.add_development_dependency 'simplecov-console', '~> 0.9'
|
35
34
|
spec.add_development_dependency 'sinatra', '~> 2.1', '>= 2.1.0'
|
36
|
-
spec.add_development_dependency 'webmock', '~> 3.
|
35
|
+
spec.add_development_dependency 'webmock', '~> 3.12', '>= 3.12.2'
|
37
36
|
|
38
37
|
spec.extra_rdoc_files = %w[README.md LICENSE.txt]
|
39
38
|
spec.rdoc_options = %w[--line-numbers --inline-source --title finapps-ruby --main README.md]
|
data/lib/finapps/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
if ENV['
|
4
|
-
# require 'codeclimate-test-reporter'
|
5
|
-
# CodeClimate::TestReporter.start
|
3
|
+
if ENV['COVERAGE'] == 'true'
|
6
4
|
require 'simplecov'
|
7
|
-
|
5
|
+
require 'simplecov-console'
|
6
|
+
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
8
|
+
SimpleCov::Formatter::HTMLFormatter,
|
9
|
+
SimpleCov::Formatter::Console,
|
10
|
+
]
|
11
|
+
|
12
|
+
SimpleCov.start do
|
13
|
+
track_files 'lib/**/*.rb'
|
14
|
+
end
|
15
|
+
|
16
|
+
puts "Using SimpleCov v#{SimpleCov::VERSION}"
|
8
17
|
end
|
9
18
|
|
10
19
|
require 'bundler/setup'
|
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.4.
|
4
|
+
version: 5.4.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-
|
11
|
+
date: 2021-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: finapps_core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.0'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 5.0.
|
22
|
+
version: 5.0.16
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,87 +29,27 @@ dependencies:
|
|
29
29
|
version: '5.0'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 5.0.
|
32
|
+
version: 5.0.16
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: bundler
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '2.
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 2.0.2
|
43
|
-
type: :development
|
44
|
-
prerelease: false
|
45
|
-
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.0'
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 2.0.2
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: codeclimate-test-reporter
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '1.0'
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 1.0.9
|
63
|
-
type: :development
|
64
|
-
prerelease: false
|
65
|
-
version_requirements: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '1.0'
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 1.0.9
|
73
|
-
- !ruby/object:Gem::Dependency
|
74
|
-
name: guard
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
|
-
requirements:
|
77
|
-
- - "~>"
|
78
|
-
- !ruby/object:Gem::Version
|
79
|
-
version: '2.16'
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 2.16.1
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '2.16'
|
90
|
-
- - ">="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: 2.16.1
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: guard-rspec
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '4.7'
|
39
|
+
version: '2.2'
|
100
40
|
- - ">="
|
101
41
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
42
|
+
version: 2.2.16
|
103
43
|
type: :development
|
104
44
|
prerelease: false
|
105
45
|
version_requirements: !ruby/object:Gem::Requirement
|
106
46
|
requirements:
|
107
47
|
- - "~>"
|
108
48
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
49
|
+
version: '2.2'
|
110
50
|
- - ">="
|
111
51
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
52
|
+
version: 2.2.16
|
113
53
|
- !ruby/object:Gem::Dependency
|
114
54
|
name: rake
|
115
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -230,6 +170,40 @@ dependencies:
|
|
230
170
|
- - ">="
|
231
171
|
- !ruby/object:Gem::Version
|
232
172
|
version: 2.2.0
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: simplecov
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.21'
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 0.21.2
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0.21'
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.21.2
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: simplecov-console
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - "~>"
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0.9'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0.9'
|
233
207
|
- !ruby/object:Gem::Dependency
|
234
208
|
name: sinatra
|
235
209
|
requirement: !ruby/object:Gem::Requirement
|
@@ -256,20 +230,20 @@ dependencies:
|
|
256
230
|
requirements:
|
257
231
|
- - "~>"
|
258
232
|
- !ruby/object:Gem::Version
|
259
|
-
version: '3.
|
233
|
+
version: '3.12'
|
260
234
|
- - ">="
|
261
235
|
- !ruby/object:Gem::Version
|
262
|
-
version: 3.
|
236
|
+
version: 3.12.2
|
263
237
|
type: :development
|
264
238
|
prerelease: false
|
265
239
|
version_requirements: !ruby/object:Gem::Requirement
|
266
240
|
requirements:
|
267
241
|
- - "~>"
|
268
242
|
- !ruby/object:Gem::Version
|
269
|
-
version: '3.
|
243
|
+
version: '3.12'
|
270
244
|
- - ">="
|
271
245
|
- !ruby/object:Gem::Version
|
272
|
-
version: 3.
|
246
|
+
version: 3.12.2
|
273
247
|
description: A simple library for communicating with the FinApps REST API.
|
274
248
|
email:
|
275
249
|
- erich@financialapps.com
|
@@ -497,51 +471,51 @@ signing_key:
|
|
497
471
|
specification_version: 4
|
498
472
|
summary: FinApps REST API ruby client.
|
499
473
|
test_files:
|
500
|
-
- spec/
|
474
|
+
- spec/utils/query_builder_spec.rb
|
475
|
+
- spec/spec_helper.rb
|
476
|
+
- spec/support/documents_uploads_routes.rb
|
501
477
|
- spec/support/screenings_routes.rb
|
502
478
|
- spec/support/fake_api.rb
|
503
|
-
- spec/
|
504
|
-
- spec/rest/
|
505
|
-
- spec/rest/documents_orders_notifications_spec.rb
|
479
|
+
- spec/spec_helpers/client.rb
|
480
|
+
- spec/rest/password_resets_spec.rb
|
506
481
|
- spec/rest/order_reports_spec.rb
|
482
|
+
- spec/rest/order_statuses_spec.rb
|
483
|
+
- spec/rest/plaid/plaid_account_permissions_spec.rb
|
484
|
+
- spec/rest/plaid/plaid_institution_logos_spec.rb
|
485
|
+
- spec/rest/plaid/plaid_accounts_spec.rb
|
486
|
+
- spec/rest/plaid/plaid_consumer_institutions_spec.rb
|
487
|
+
- spec/rest/plaid/plaid_webhooks_spec.rb
|
488
|
+
- spec/rest/api_request.rb
|
489
|
+
- spec/rest/orders_spec.rb
|
490
|
+
- spec/rest/screenings_spec.rb
|
491
|
+
- spec/rest/documents_orders_notifications_spec.rb
|
492
|
+
- spec/rest/documents_upload_types_spec.rb
|
493
|
+
- spec/rest/consumers_portfolios_spec.rb
|
507
494
|
- spec/rest/consumers_spec.rb
|
508
495
|
- spec/rest/documents_uploads_spec.rb
|
509
|
-
- spec/rest/portfolios_available_consumers_spec.rb
|
510
|
-
- spec/rest/alert_occurrences_spec.rb
|
511
|
-
- spec/rest/screenings_spec.rb
|
512
|
-
- spec/rest/portfolios_alerts_spec.rb
|
513
|
-
- spec/rest/products_spec.rb
|
514
496
|
- spec/rest/tenant_app_settings_spec.rb
|
515
|
-
- spec/rest/plaid/plaid_consumer_institutions_spec.rb
|
516
|
-
- spec/rest/plaid/plaid_webhooks_spec.rb
|
517
|
-
- spec/rest/plaid/plaid_institution_logos_spec.rb
|
518
|
-
- spec/rest/plaid/plaid_account_permissions_spec.rb
|
519
|
-
- spec/rest/plaid/plaid_accounts_spec.rb
|
520
|
-
- spec/rest/order_refreshes_spec.rb
|
521
|
-
- spec/rest/order_assignments_spec.rb
|
522
|
-
- spec/rest/order_tokens_spec.rb
|
523
|
-
- spec/rest/documents_orders_spec.rb
|
524
497
|
- spec/rest/signed_documents_downloads_spec.rb
|
525
|
-
- spec/rest/
|
526
|
-
- spec/rest/version_spec.rb
|
527
|
-
- spec/rest/documents_upload_types_spec.rb
|
528
|
-
- spec/rest/password_resets_spec.rb
|
529
|
-
- spec/rest/order_statuses_spec.rb
|
498
|
+
- spec/rest/order_assignments_spec.rb
|
530
499
|
- spec/rest/operators_spec.rb
|
531
|
-
- spec/rest/
|
500
|
+
- spec/rest/documents_orders_spec.rb
|
501
|
+
- spec/rest/tenant_settings_spec.rb
|
502
|
+
- spec/rest/operators_password_resets_spec.rb
|
503
|
+
- spec/rest/portfolios_spec.rb
|
504
|
+
- spec/rest/order_tokens_spec.rb
|
532
505
|
- spec/rest/order_notifications_spec.rb
|
533
|
-
- spec/rest/orders_spec.rb
|
534
|
-
- spec/rest/esign_templates_spec.rb
|
535
506
|
- spec/rest/sessions_spec.rb
|
536
|
-
- spec/rest/api_request.rb
|
537
507
|
- spec/rest/verix/verix_documents_spec.rb
|
508
|
+
- spec/rest/verix/verix_metadata_spec.rb
|
538
509
|
- spec/rest/verix/verix_pdf_documents_spec.rb
|
539
510
|
- spec/rest/verix/verix_records_spec.rb
|
540
|
-
- spec/rest/
|
541
|
-
- spec/rest/
|
542
|
-
- spec/rest/
|
511
|
+
- spec/rest/alert_occurrences_spec.rb
|
512
|
+
- spec/rest/version_spec.rb
|
513
|
+
- spec/rest/order_refreshes_spec.rb
|
514
|
+
- spec/rest/alert_definitions_spec.rb
|
515
|
+
- spec/rest/portfolios_available_consumers_spec.rb
|
516
|
+
- spec/rest/products_spec.rb
|
543
517
|
- spec/rest/client_spec.rb
|
544
|
-
- spec/rest/
|
545
|
-
- spec/rest/
|
546
|
-
- spec/
|
547
|
-
- spec/
|
518
|
+
- spec/rest/portfolios_alerts_spec.rb
|
519
|
+
- spec/rest/esign_templates_spec.rb
|
520
|
+
- spec/rest/portfolio_reports_spec.rb
|
521
|
+
- spec/rest/portfolios_consumers_spec.rb
|