belvo 0.11.0 → 0.12.0

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: 1c80936557b157355a2c887ae95cbcb84ce6eb83050fe10e6a250aa1773107b5
4
- data.tar.gz: 95c3ae780b1e4400346bebb7d3f8b741081183cab3c56b516bd7a853214f095b
3
+ metadata.gz: d3ccb9e6a9841f2313f4a3307a67c3a0527fad92b91f3a84a607150b2bd86dd8
4
+ data.tar.gz: 1103d2e823428b7a1db97821714bd60764cd0c649d59c1876b309cf2f20e0b8d
5
5
  SHA512:
6
- metadata.gz: 6cbaed715376a6f82937ed331f5d1ed1d764b9bcbef36110414501dffa1e1ed7f711492542c58699bc9469302a2ab5fbe053d4ce64a19224473e3806f012d7c5
7
- data.tar.gz: 1adb287f2022e560a0d4887e6829dc2807c556b44223ad485b11465110e2351d8e27e2bf5a58fa55d945d38836e475791e1567587647c48970265eb750f63d7e
6
+ metadata.gz: f95143ddfe260d93a6462c70e224df80dd43d2c0a76db8c38b8176d0471643fd22de8db22e2f7299d527dd4c7f56842b3c19045a5d2482c9dfc0a0cdaa4b6566
7
+ data.tar.gz: 85ac380d5e207a78915c4a84c21d2efaf03c76f525e49080a5ef9192931b39b1e983df207e8e614cbdc5c4dcf7c0ca2c69cd64cb403839cb5f1c459b572db658
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- belvo (0.11.0)
4
+ belvo (0.12.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  typhoeus
@@ -39,7 +39,7 @@ GEM
39
39
  public_suffix (4.0.6)
40
40
  rainbow (3.0.0)
41
41
  rake (12.3.3)
42
- rexml (3.2.4)
42
+ rexml (3.2.5)
43
43
  rspec (3.10.0)
44
44
  rspec-core (~> 3.10.0)
45
45
  rspec-expectations (~> 3.10.0)
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2020 Belvo
3
+ Copyright (c) 2020 Belvo Technologies Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -73,6 +73,12 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
73
73
 
74
74
  Bug reports and pull requests are welcome on GitHub at https://github.com/belvo-finance/belvo-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/belvo-finance/belvo-ruby/blob/master/CODE_OF_CONDUCT.md).
75
75
 
76
+ If you wish to submit a pull request, please be sure check the items on this list:
77
+ - [ ] Tests related to the changed code were executed
78
+ - [ ] The source code has been coded following the OWASP security best practices (https://owasp.org/www-pdf-archive/OWASP_SCP_Quick_Reference_Guide_v2.pdf).
79
+ - [ ] Commit message properly labeled
80
+ - [ ] There is a ticket associated to each PR.
81
+
76
82
 
77
83
  ## Code of Conduct
78
84
 
data/lib/belvo/http.rb CHANGED
@@ -99,8 +99,7 @@ module Belvo
99
99
 
100
100
  break unless response.body['next']
101
101
 
102
- path = response.body['next']
103
- params = nil
102
+ params = Faraday::Utils.parse_query URI(response.body['next']).query
104
103
  end
105
104
  end
106
105
 
data/lib/belvo/options.rb CHANGED
@@ -21,7 +21,8 @@ module Belvo
21
21
  :encryption_key,
22
22
  :username_type,
23
23
  :certificate,
24
- :private_key
24
+ :private_key,
25
+ :external_id
25
26
  )
26
27
  end
27
28
 
data/lib/belvo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Belvo
4
4
  # belvo-ruby current version
5
- VERSION = '0.11.0'
5
+ VERSION = '0.12.0'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belvo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Belvo Finance S.L.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-01 00:00:00.000000000 Z
11
+ date: 2021-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday