belvo 1.5.0 → 1.6.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: cb2779e82bc56e77377b9c0a11c349fcf2b9e344d094004f8fd4314a3e3e47ba
4
- data.tar.gz: 269766531d31fb9e9b33481024bf47ff534b93a2703210d419e382cb1b93b125
3
+ metadata.gz: 1c5731f86e3141d1b2189a90acf8d40fe0525515007d97334f0fb61c29ad3a5b
4
+ data.tar.gz: 3a81fe0e6f8607fa6f7cd10ea9f4b1df2e8a861cdf264a8637e82f5acd545508
5
5
  SHA512:
6
- metadata.gz: c7ceb92b9b07ce906f29a71459849f9bef5171ca6028f82e78e0c34404804cf0d591fdcc80684dbdb7623eaa43735d6438d9ed58e39bcfe568384cf65c13ec9a
7
- data.tar.gz: a999b7ddb4701aee56cc9da5bcc254efd0b73c5a4195685d219b1b099588af2f161e3810f7b5ed18bfd61bab82bf16987e39f648095f354657042cfd3352a935
6
+ metadata.gz: 9928f79a22c27d0535f44b3c58c1cbed8b1c5efa4f11cc762932568af47957351c210d4747c18425a7f6c58c26b03d5c9d8bc6c83390a66ced57d5ecbe3d30ee
7
+ data.tar.gz: fd0e92d3ce70dedfa0da75f6b270e488bd9c30bb5f2b9463a7d262a90e1e075e96ea458b65166457c63cc7cc961f81cf5d417411f6f274868cfe55e1103806f7
@@ -15,10 +15,10 @@ jobs:
15
15
  fetch-depth: 50
16
16
 
17
17
  # Setup ruby
18
- - name: Set up Ruby 3.2
18
+ - name: Set up Ruby 3.2.2
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
21
- ruby-version: 3.2
21
+ ruby-version: 3.2.2
22
22
  bundler-cache: true
23
23
 
24
24
  # Install the right bundler version
@@ -15,10 +15,10 @@ jobs:
15
15
  fetch-depth: 50
16
16
 
17
17
  # Setup ruby
18
- - name: Set up Ruby 3.2
18
+ - name: Set up Ruby 3.2.2
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
21
- ruby-version: 3.2
21
+ ruby-version: 3.2.2
22
22
  bundler-cache: true
23
23
 
24
24
  # Install the right bundler version
data/Dangerfile.custom CHANGED
@@ -2,5 +2,5 @@
2
2
  if !github.pr_title.match(/\[Snyk\]/) &&
3
3
  !github.pr_labels.include?("dependencies") &&
4
4
  !github.pr_title.match(/^\[(?:Added|Changed|Docs|Fixed|Migrations|Other|Removed|Security)\]/)
5
- fail "Please provide a valid PR title label: [Added]/[Changed]/[Docs]/[Fixed]/[Migrations]/[Other]/[Removed]/[Security]."
5
+ raise "Please provide a valid PR title label: [Added]/[Changed]/[Docs]/[Fixed]/[Migrations]/[Other]/[Removed]/[Security]."
6
6
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- belvo (1.5.0)
4
+ belvo (1.6.1)
5
5
  faraday
6
6
  faraday_middleware
7
7
  typhoeus
@@ -42,7 +42,7 @@ GEM
42
42
  terminal-table (~> 1)
43
43
  diff-lcs (1.5.0)
44
44
  docile (1.4.0)
45
- ethon (0.15.0)
45
+ ethon (0.16.0)
46
46
  ffi (>= 1.15.0)
47
47
  faraday (1.10.0)
48
48
  faraday-em_http (~> 1.0)
@@ -72,7 +72,8 @@ GEM
72
72
  faraday_middleware (1.2.0)
73
73
  faraday (~> 1.0)
74
74
  ffi (1.15.5)
75
- git (1.11.0)
75
+ git (1.17.2)
76
+ addressable (~> 2.8)
76
77
  rchardet (~> 1.8)
77
78
  hashdiff (1.0.1)
78
79
  jaro_winkler (1.5.4)
data/README.md CHANGED
@@ -9,10 +9,10 @@
9
9
  ## 📕 Documentation
10
10
  How to use `belvo-ruby`: https://belvo-finance.github.io/belvo-ruby/
11
11
 
12
- If you want to check the full documentation about Belvo API: https://docs.belvo.com
12
+ If you want to check the full documentation about Belvo API: https://developers.belvo.com
13
13
 
14
14
  Or if you want to more information about:
15
- * [Getting Belvo API keys](https://developers.belvo.com/docs/get-your-belvo-api-keys)
15
+ * [Getting Belvo API keys](https://developers.belvo.com/docs/get-started-in-5-minutes#get-your-belvo-api-keys)
16
16
  * [Using Connect Widget](https://developers.belvo.com/docs/connect-widget)
17
17
  * [Testing in sandbox](https://developers.belvo.com/docs/test-in-sandbox)
18
18
  * [Using webhooks and recurrent links](https://developers.belvo.com/docs/webhooks)
@@ -106,7 +106,7 @@ All `list` methods only return the first page of results. If you want to iterate
106
106
  ```
107
107
  When the result of your call is `nil`, this indicates that there are no more pages to iterate over.
108
108
 
109
- **Note:** If you create a `Link` without specifying [access_mode](https://docs.belvo.com/#operation/RegisterLink), the SDK will respect the default value from the API.
109
+ **Note:** If you create a `Link` without specifying [access_mode](https://developers.belvo.com/reference/registerlink), the SDK will respect the default value from the API.
110
110
 
111
111
  ## Development
112
112
 
@@ -117,7 +117,7 @@ To install this gem onto your local machine, run `bundle exec rake install`.
117
117
  To release a new version:
118
118
  - Create a new branch from master.
119
119
  - Update the version number in `version.rb`
120
- - Run `bundle exec rake install` to update `Gemfile.lock` version
120
+ - Run `bundle exec rake install` to update `Gemfile.lock` version (might need sudo)
121
121
  - Create a new pull request for the new version.
122
122
  - Once the new version is merged in `master`, create a `tag` matching the new version.
123
123
 
@@ -124,7 +124,7 @@ module Belvo
124
124
 
125
125
  # Allows to create a token with client-specified scope and short TTL.
126
126
  # @param id [String] Link UUID
127
- # @param scopes [String] Configurable scopes eg: "read_links,write_links"
127
+ # @param scopes [String] Configurable scopes eg: "write_links,delete_links"
128
128
  # @return [Hash] with a "refresh" and "access" token
129
129
  # @raise [RequestError] If response code is different than 2XX
130
130
  def token(id:, scopes:)
@@ -622,7 +622,7 @@ module Belvo
622
622
  body = {
623
623
  id: @session.key_id,
624
624
  password: @session.key_password,
625
- scopes: 'read_institutions,write_links,read_links',
625
+ scopes: 'read_institutions,write_links',
626
626
  link_id: link_id,
627
627
  widget: widget
628
628
  }.merge(options)
data/lib/belvo/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Belvo
4
4
  # belvo-ruby current version
5
- VERSION = '1.5.0'
5
+ VERSION = '1.6.1'
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: 1.5.0
4
+ version: 1.6.1
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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.3.26
201
+ rubygems_version: 3.4.10
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: The Ruby gem for the Belvo API