salesforce_bulk_api 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -23,7 +23,7 @@ You can use username password combo,OmniAuth,Oauth2
23
23
  require 'salesforce_bulk_api'
24
24
  client = Databasedotcom::Client.new :client_id => $SFDC_APP_CONFIG["client_id"], :client_secret => $SFDC_APP_CONFIG["client_secret"] #client_id and client_secret respectively
25
25
  client.authenticate :token => "my-oauth-token", :instance_url => "http://na1.salesforce.com" #=> "my-oauth-token"
26
- salesforce = SalesforceBulk::Api.new(client)
26
+ salesforce = SalesforceBulkApi::Api.new(client)
27
27
 
28
28
  Sample operations:
29
29
 
@@ -13,7 +13,7 @@ module SalesforceBulkApi
13
13
  @@SALESFORCE_API_VERSION = '23.0'
14
14
 
15
15
  def initialize(client)
16
- @connection = SalesforceBulk::Connection.new(@@SALESFORCE_API_VERSION,client)
16
+ @connection = SalesforceBulkApi::Connection.new(@@SALESFORCE_API_VERSION,client)
17
17
  end
18
18
 
19
19
  def upsert(sobject, records, external_field)
@@ -39,7 +39,7 @@ module SalesforceBulkApi
39
39
  #private
40
40
 
41
41
  def do_operation(operation, sobject, records, external_field)
42
- job = SalesforceBulk::Job.new(operation, sobject, records, external_field, @connection)
42
+ job = SalesforceBulkApi::Job.new(operation, sobject, records, external_field, @connection)
43
43
 
44
44
  # TODO: put this in one function
45
45
  job_id = job.create_job()
@@ -1,3 +1,3 @@
1
1
  module SalesforceBulkApi
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesforce_bulk_api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Yatish Mehta
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-08 00:00:00 Z
18
+ date: 2012-05-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: oauth2