finapps_core 5.0.14 → 5.0.15

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: 4a0b9d68f085e0831b039da71cd442e4c96d58f8e6cd9787c4b8ec4eef9edf8d
4
- data.tar.gz: aacb0dc131db339c2360f38fa8918360bdcc2f5ada120e97b21cdd1c15a2daf4
3
+ metadata.gz: 15287486b44c005d79a5b2df3a5f21c2aabe9c4a2b64831fbfa3dcc3cf0d537a
4
+ data.tar.gz: 854733e5448065c154b7db0c40f0c8be4ea772f924845cbf7035eea1f2ef7594
5
5
  SHA512:
6
- metadata.gz: 1487eb6356e82eccf6b8584b0a7074fb8af3ef893b74bbda50b1e4087fdb35132e84c8eb44801f376f504b44e6d80e7fcb1a45cdf4a8520c49ad08c148659d2d
7
- data.tar.gz: 61838248219a84def621b1136da25ac25a93404a35cd67d8e2435e3ec16d84873862e52453293fa22f3c8cb73382e2ee5a259057c7b295207e0edaec31e1c724
6
+ metadata.gz: 622a1963d7b63526bc7210d27e21fb318e0a07d964c889c9531e10cff27c89e3c9368a9138ed242cb77e609d5ccf75918c329d7b7984580f656d1f4b1b1e53ef
7
+ data.tar.gz: 551f19f7f5d4f7eb64dd0879a73054f882a25fa92a7360aa0ab9c595c811d468ba72912087bfd756b5a327aa30100520a5da74f957298bc8961130325514e09a
@@ -1,9 +1,16 @@
1
1
  name: Continuous Integration
2
2
 
3
- on: [push, pull_request]
4
-
3
+ on:
4
+ push:
5
+ paths-ignore:
6
+ - ".github/**"
7
+ - ".VERSION"
8
+ pull_request:
9
+ paths-ignore:
10
+ - ".github/**"
11
+ - ".VERSION"
5
12
  jobs:
6
- ci:
13
+ tests:
7
14
  if: "!contains(github.event.head_commit.message, 'skip ci')"
8
15
  runs-on: ubuntu-latest
9
16
 
@@ -17,21 +24,24 @@ jobs:
17
24
  - name: Install required ruby version
18
25
  uses: ruby/setup-ruby@v1
19
26
 
20
- - uses: actions/cache@v2
27
+ - name: Setup cache key and directory for gems cache
28
+ uses: actions/cache@v2
21
29
  with:
22
30
  path: vendor/bundle
23
31
  key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
24
32
  restore-keys: |
25
33
  ${{ runner.os }}-gems-
26
34
 
27
- - name: Install gems
35
+ - name: Bundle install
28
36
  run: |
29
- gem install -N bundler
30
37
  bundle config path vendor/bundle
31
- bundle install --jobs 4 --retry 3
38
+ bundle config set jobs 4
39
+ bundle config set retry 3
40
+ bundle install
32
41
 
33
42
  - name: Run rubocop
34
- run: bundle exec rubocop
43
+ run: |
44
+ bundle exec rubocop --parallel
35
45
 
36
- - name: Run tests
46
+ - name: Run rspec
37
47
  run: bundle exec rspec
data/finapps_core.gemspec CHANGED
@@ -20,19 +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 'faraday', '~> 1.0', '>= 1.0.1'
24
- spec.add_runtime_dependency 'faraday_middleware', '~> 1.0', '>= 1.0'
23
+ spec.add_runtime_dependency 'faraday', '~> 1.3', '>= 1.3.0'
24
+ spec.add_runtime_dependency 'faraday_middleware', '~> 1.0', '>= 1.0.0'
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 2.0', '>= 2.0.2'
26
+ spec.add_development_dependency 'bundler', '~> 2.1', '>= 2.1.4'
27
27
  spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0', '>= 1.0.9'
28
28
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
29
29
  spec.add_development_dependency 'rspec', '~> 3.10', '>= 3.10.0'
30
- spec.add_development_dependency 'rubocop', '~> 1.8', '>= 1.8.1'
30
+ spec.add_development_dependency 'rubocop', '~> 1.9', '>= 1.9.1'
31
31
  spec.add_development_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.2'
32
32
  spec.add_development_dependency 'rubocop-rake', '~> 0.5', '>= 0.5.1'
33
- spec.add_development_dependency 'rubocop-rspec', '~> 2.1', '>= 2.1.0'
34
- spec.add_development_dependency 'sinatra', '~> 2.0', '>= 2.0.5'
35
- spec.add_development_dependency 'webmock', '~> 3.6', '>= 3.6.0'
33
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.2', '>= 2.2.0'
34
+ spec.add_development_dependency 'sinatra', '~> 2.1', '>= 2.1.0'
35
+ spec.add_development_dependency 'webmock', '~> 3.11', '>= 3.11.2'
36
36
 
37
37
  spec.extra_rdoc_files = %w(README.md LICENSE)
38
38
  spec.rdoc_options = %w(--line-numbers --inline-source --title finapps-ruby-core --main README.md)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FinAppsCore
4
- VERSION = '5.0.14'
4
+ VERSION = '5.0.15'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.14
4
+ version: 5.0.15
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-01-21 00:00:00.000000000 Z
11
+ date: 2021-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '1.3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.0.1
22
+ version: 1.3.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.0'
29
+ version: '1.3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.0.1
32
+ version: 1.3.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: faraday_middleware
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '1.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: '1.0'
42
+ version: 1.0.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,27 +49,27 @@ dependencies:
49
49
  version: '1.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: '1.0'
52
+ version: 1.0.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bundler
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '2.0'
59
+ version: '2.1'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.0.2
62
+ version: 2.1.4
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
69
+ version: '2.1'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 2.0.2
72
+ version: 2.1.4
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: codeclimate-test-reporter
75
75
  requirement: !ruby/object:Gem::Requirement
@@ -136,20 +136,20 @@ dependencies:
136
136
  requirements:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
- version: '1.8'
139
+ version: '1.9'
140
140
  - - ">="
141
141
  - !ruby/object:Gem::Version
142
- version: 1.8.1
142
+ version: 1.9.1
143
143
  type: :development
144
144
  prerelease: false
145
145
  version_requirements: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: '1.8'
149
+ version: '1.9'
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.8.1
152
+ version: 1.9.1
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rubocop-performance
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -196,60 +196,60 @@ dependencies:
196
196
  requirements:
197
197
  - - "~>"
198
198
  - !ruby/object:Gem::Version
199
- version: '2.1'
199
+ version: '2.2'
200
200
  - - ">="
201
201
  - !ruby/object:Gem::Version
202
- version: 2.1.0
202
+ version: 2.2.0
203
203
  type: :development
204
204
  prerelease: false
205
205
  version_requirements: !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - "~>"
208
208
  - !ruby/object:Gem::Version
209
- version: '2.1'
209
+ version: '2.2'
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
- version: 2.1.0
212
+ version: 2.2.0
213
213
  - !ruby/object:Gem::Dependency
214
214
  name: sinatra
215
215
  requirement: !ruby/object:Gem::Requirement
216
216
  requirements:
217
217
  - - "~>"
218
218
  - !ruby/object:Gem::Version
219
- version: '2.0'
219
+ version: '2.1'
220
220
  - - ">="
221
221
  - !ruby/object:Gem::Version
222
- version: 2.0.5
222
+ version: 2.1.0
223
223
  type: :development
224
224
  prerelease: false
225
225
  version_requirements: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: '2.0'
229
+ version: '2.1'
230
230
  - - ">="
231
231
  - !ruby/object:Gem::Version
232
- version: 2.0.5
232
+ version: 2.1.0
233
233
  - !ruby/object:Gem::Dependency
234
234
  name: webmock
235
235
  requirement: !ruby/object:Gem::Requirement
236
236
  requirements:
237
237
  - - "~>"
238
238
  - !ruby/object:Gem::Version
239
- version: '3.6'
239
+ version: '3.11'
240
240
  - - ">="
241
241
  - !ruby/object:Gem::Version
242
- version: 3.6.0
242
+ version: 3.11.2
243
243
  type: :development
244
244
  prerelease: false
245
245
  version_requirements: !ruby/object:Gem::Requirement
246
246
  requirements:
247
247
  - - "~>"
248
248
  - !ruby/object:Gem::Version
249
- version: '3.6'
249
+ version: '3.11'
250
250
  - - ">="
251
251
  - !ruby/object:Gem::Version
252
- version: 3.6.0
252
+ version: 3.11.2
253
253
  description: A simple library for communicating with the FinApps REST API. Core functionality.
254
254
  email:
255
255
  - erich@financialapps.com
@@ -261,7 +261,7 @@ extra_rdoc_files:
261
261
  files:
262
262
  - ".codeclimate.yml"
263
263
  - ".github/release-drafter.yml"
264
- - ".github/workflows/main.yaml"
264
+ - ".github/workflows/ci.yaml"
265
265
  - ".github/workflows/release-drafter.yml"
266
266
  - ".github/workflows/release.yml"
267
267
  - ".github/workflows/verify-pr-labeled.yml"
@@ -357,21 +357,21 @@ signing_key:
357
357
  specification_version: 4
358
358
  summary: FinApps REST API ruby client - Core.
359
359
  test_files:
360
+ - spec/support/fake_api.rb
360
361
  - spec/spec_helpers/client.rb
362
+ - spec/rest/configuration_spec.rb
363
+ - spec/rest/base_client_spec.rb
364
+ - spec/rest/resources_spec.rb
365
+ - spec/rest/defaults_spec.rb
366
+ - spec/rest/credentials_spec.rb
361
367
  - spec/spec_helper.rb
362
368
  - spec/core_extensions/object/is_integer_spec.rb
363
369
  - spec/utils/validatable_spec.rb
364
- - spec/support/fake_api.rb
365
- - spec/middleware/request/no_encoding_basic_authentication_spec.rb
366
- - spec/middleware/request/x_tenant_id_spec.rb
370
+ - spec/middleware/response/raise_error_spec.rb
367
371
  - spec/middleware/request/tenant_authentication_spec.rb
368
- - spec/middleware/request/accept_json_spec.rb
372
+ - spec/middleware/request/no_encoding_basic_authentication_spec.rb
369
373
  - spec/middleware/request/user_agent_spec.rb
370
374
  - spec/middleware/request/x_consumer_id_spec.rb
371
375
  - spec/middleware/request/request_id_spec.rb
372
- - spec/middleware/response/raise_error_spec.rb
373
- - spec/rest/credentials_spec.rb
374
- - spec/rest/defaults_spec.rb
375
- - spec/rest/configuration_spec.rb
376
- - spec/rest/resources_spec.rb
377
- - spec/rest/base_client_spec.rb
376
+ - spec/middleware/request/x_tenant_id_spec.rb
377
+ - spec/middleware/request/accept_json_spec.rb