Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
upgraded restforce to 6.0 and set the salesforce api_version to be 41…
….0 by default
ij committed Oct 20, 2022
1 parent ce06d40 commit 45766e9
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/sf.rb
@@ -34,7 +34,8 @@ def client
password: sfdc_auth_config['password'],
security_token: sfdc_auth_config['security_token'],
client_id: sfdc_auth_config['client_id'],
client_secret: sfdc_auth_config['client_secret']
client_secret: sfdc_auth_config['client_secret'],
api_version: sfdc_auth_config['api_version'] || '41.0'
end
else
@client
2 changes: 1 addition & 1 deletion lib/sf/version.rb
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Sf
VERSION = '0.1.73'
VERSION = '0.1.74'
end
4 changes: 2 additions & 2 deletions sf.gemspec
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_dependency 'restforce', '~> 5.3'
spec.add_development_dependency 'bundler', '~> 2.2'
spec.add_dependency 'restforce', '~> 6.0.0'
spec.add_development_dependency 'bundler', '~> 2.3'
spec.add_development_dependency 'rake', '~> 13.0'
end

0 comments on commit 45766e9

Please sign in to comment.