diff --git a/CHANGELOG.md b/CHANGELOG.md index d1ec7d3..afae480 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Given a version number MAJOR.MINOR.PATCH, increment: ## [Unreleased] + +## [2.5.0] - 2021-07-30 ### Added - "payment" account type for Pix related resources - missing parameters to Boleto, BrcodePayment, Deposit, DictKey, Event, Invoice, Transfer and Workspace resources @@ -25,11 +27,9 @@ Given a version number MAJOR.MINOR.PATCH, increment: - Institution resource to allow query of institutions recognized by the Brazilian Central Bank for Pix and TED transactions - TaxPayment resource - DarfPayment resource - ### Fixed - special characters in brcodePreview query - ## [2.4.0] - 2021-01-21 ### Added - Transfer.account_type property to allow 'checking', 'salary' or 'savings' account specification diff --git a/Gemfile.lock b/Gemfile.lock index 1a2780a..950846d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - starkbank (2.4.0) + starkbank (2.5.0) starkbank-ecdsa (~> 0.0.5) GEM diff --git a/README.md b/README.md index 3aef39a..08a40cd 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ gem install starkbank 1.2 Or just add this to your Gemfile: ```sh -gem('starkbank', '~> 2.4.0') +gem('starkbank', '~> 2.5.0') ``` ### 2. Create your Private and Public Keys diff --git a/lib/utils/request.rb b/lib/utils/request.rb index 04a3b4c..91eced1 100644 --- a/lib/utils/request.rb +++ b/lib/utils/request.rb @@ -61,7 +61,7 @@ def self.fetch(method:, path:, payload: nil, query: nil, user: nil) req['Access-Time'] = access_time req['Access-Signature'] = signature req['Content-Type'] = 'application/json' - req['User-Agent'] = "Ruby-#{RUBY_VERSION}-SDK-2.4.0" + req['User-Agent'] = "Ruby-#{RUBY_VERSION}-SDK-2.5.0" req['Accept-Language'] = language request = Net::HTTP.start(uri.hostname, use_ssl: true) { |http| http.request(req) } diff --git a/starkbank.gemspec b/starkbank.gemspec index 9eda2ad..2972ae0 100644 --- a/starkbank.gemspec +++ b/starkbank.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'starkbank' - s.version = '2.4.0' + s.version = '2.5.0' s.date = '2020-04-06' s.summary = 'SDK to facilitate Ruby integrations with Stark Bank' s.authors = 'starkbank'