diff --git a/CHANGELOG.md b/CHANGELOG.md index 42b7300..9cccf74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Given a version number MAJOR.MINOR.PATCH, increment: ## [Unreleased] + +## [2.4.0] - 2021-01-21 ### Added - Transfer.account_type property to allow 'checking', 'salary' or 'savings' account specification - Transfer.external_id property to allow users to take control over duplication filters diff --git a/Gemfile.lock b/Gemfile.lock index f7c1179..ad5085c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - starkbank (2.3.0) + starkbank (2.4.0) starkbank-ecdsa (~> 0.0.5) GEM diff --git a/README.md b/README.md index e98bdf9..77c036e 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.3.0') +gem('starkbank', '~> 2.4.0') ``` ### 2. Create your Private and Public Keys diff --git a/lib/utils/request.rb b/lib/utils/request.rb index 4f23186..04a3b4c 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.3.0" + req['User-Agent'] = "Ruby-#{RUBY_VERSION}-SDK-2.4.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 6540f7c..9eda2ad 100644 --- a/starkbank.gemspec +++ b/starkbank.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |s| s.name = 'starkbank' - s.version = '2.3.0' + s.version = '2.4.0' s.date = '2020-04-06' s.summary = 'SDK to facilitate Ruby integrations with Stark Bank' s.authors = 'starkbank'