Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Version 32 in 0.0.12? #76

Open
robob27 opened this issue Feb 6, 2020 · 1 comment
Open

API Version 32 in 0.0.12? #76

robob27 opened this issue Feb 6, 2020 · 1 comment

Comments

@robob27
Copy link

robob27 commented Feb 6, 2020

👋

I just noticed that my bulk client is using API version 32. I took a look on this repo and I see that the API version was updated to 46, but I don't see those changes in the files that gem installed when I gem install salesforce_bulk_api

I tried uninstalling and reinstalling the gem:

❯ gem uninstall salesforce_bulk_api
Successfully uninstalled salesforce_bulk_api-0.0.12

❯ gem install salesforce_bulk_api
Fetching salesforce_bulk_api-0.0.12.gem
Successfully installed salesforce_bulk_api-0.0.12
Parsing documentation for salesforce_bulk_api-0.0.12
Installing ri documentation for salesforce_bulk_api-0.0.12
Done installing documentation for salesforce_bulk_api after 0 seconds
1 gem installed

❯ gem which salesforce_bulk_api
/Users/robgoodberry/.gem/ruby/2.6.5/gems/salesforce_bulk_api-0.0.12/lib/salesforce_bulk_api.rb

Then if I vi /Users/robgoodberry/.gem/ruby/2.6.5/gems/salesforce_bulk_api-0.0.12/lib/salesforce_bulk_api.rb I'm still seeing the older code with the @@ class variables and API version 32:

Bundler.require()
require 'salesforce_bulk_api/version'
require 'net/https'
require 'xmlsimple'
require 'csv'
require 'salesforce_bulk_api/concerns/throttling'
require 'salesforce_bulk_api/job'
require 'salesforce_bulk_api/connection'

module SalesforceBulkApi

  class Api
    attr_reader :connection

    @@SALESFORCE_API_VERSION = '32.0'

Am I messing something up here or has the most recent master just not been released?

Thanks for any help!

@skostojohn
Copy link

Same question. I was trying to use the get_batch_records method of the Job class, and getting errors, and when I looked at the code on my machine the method was not there - looks like it was added in late 2019 and the rubygems version doesn't have it....

Thanks!

Scott

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants