salesforce_cache 0.0.6 → 0.0.7
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/CHANGELOG.md +2 -0
- data/README.md +14 -12
- data/VERSION +1 -1
- data/salesforce_cache.gemspec +2 -2
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -20,20 +20,20 @@ To install SalesforceCache, use the following command:
|
|
20
20
|
|
21
21
|
require 'salesforce_cache'
|
22
22
|
|
23
|
-
paramsGeneral
|
24
|
-
:api_fqdn
|
25
|
-
:api_version
|
26
|
-
:data_dir
|
27
|
-
:max_age
|
28
|
-
:
|
23
|
+
paramsGeneral = {
|
24
|
+
:api_fqdn => 'na1.salesforce.com',
|
25
|
+
:api_version => '29.0',
|
26
|
+
:data_dir => '/path/to/sf_data',
|
27
|
+
:max_age => 60*60*24*7, # seconds
|
28
|
+
:disable_remote => false # optional
|
29
29
|
}
|
30
30
|
|
31
|
-
paramsToken
|
32
|
-
:grant_type
|
33
|
-
:client_id
|
34
|
-
:client_secret
|
35
|
-
:username
|
36
|
-
:password
|
31
|
+
paramsToken = {
|
32
|
+
:grant_type => 'password',
|
33
|
+
:client_id => 'my_client_id',
|
34
|
+
:client_secret => 'my_client_secret',
|
35
|
+
:username => 'my_username',
|
36
|
+
:password => 'my_password'
|
37
37
|
}
|
38
38
|
|
39
39
|
# using the filesystem cache with max_age
|
@@ -88,6 +88,8 @@ Notes
|
|
88
88
|
#Change Log
|
89
89
|
-----------
|
90
90
|
|
91
|
+
- **2014-03-06**: 0.0.7
|
92
|
+
- Documentation fix for example
|
91
93
|
- **2014-03-05**: 0.0.6
|
92
94
|
- Ability to disable remote downloading from Salesforce.com when it is not desirable
|
93
95
|
- Convert README and CHANGELOG files to Markdown format
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/salesforce_cache.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'salesforce_cache'
|
3
|
-
s.version = '0.0.
|
4
|
-
s.date = '2014-03-
|
3
|
+
s.version = '0.0.7'
|
4
|
+
s.date = '2014-03-06'
|
5
5
|
s.summary = 'Salesforce Filesystem Cache'
|
6
6
|
s.description = 'Filesystem cache manager for Salesforce sObjects and SOQL results'
|
7
7
|
s.authors = ['John Wang']
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: salesforce_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Wang
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2014-03-
|
13
|
+
date: 2014-03-06 00:00:00 Z
|
14
14
|
dependencies: []
|
15
15
|
|
16
16
|
description: Filesystem cache manager for Salesforce sObjects and SOQL results
|