salesforce_bulk 0.0.4 → 0.0.5
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 +7 -2
- data/lib/salesforce_bulk.rb +1 -1
- data/lib/salesforce_bulk/version.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -11,7 +11,9 @@ Using this gem is simple and straight forward.
|
|
11
11
|
To initialize:
|
12
12
|
|
13
13
|
require 'salesforce_bulk'
|
14
|
-
salesforce = SalesforceBulk::Api.new("YOUR_SALESFORCE_USERNAME", "YOUR_SALESFORCE_PASSWORD")
|
14
|
+
salesforce = SalesforceBulk::Api.new("YOUR_SALESFORCE_USERNAME", "YOUR_SALESFORCE_PASSWORD+YOUR_SALESFORCE_TOKEN")
|
15
|
+
|
16
|
+
Note: the second parameter is a combination of your Salesforce token and password. So if your password is xxxx and your token is yyyy, the second parameter will be xxxxyyyy
|
15
17
|
|
16
18
|
Sample operations:
|
17
19
|
|
@@ -44,7 +46,10 @@ Sample operations:
|
|
44
46
|
res = salesforce.query("Account", "select id, name, createddate from Account limit 3") # We just need to pass the sobject name and the query string
|
45
47
|
|
46
48
|
==Installation
|
47
|
-
|
49
|
+
sudo gem install salesforce_bulk
|
50
|
+
|
51
|
+
==TODO
|
52
|
+
This is a rough early version of the gem. Immediate plans include better error reporting as there currently is none.
|
48
53
|
|
49
54
|
== Copyright
|
50
55
|
|
data/lib/salesforce_bulk.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salesforce_bulk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-06 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: xml-simple
|
16
|
-
requirement: &
|
16
|
+
requirement: &28876356 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *28876356
|
25
25
|
description: This gem provides a super simple interface for the Salesforce Bulk API.
|
26
26
|
It provides support for insert, update, upsert, delete, and query.
|
27
27
|
email:
|