soapforce 0.5.0 → 0.6.0
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.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/soapforce.rb +2 -1
- data/lib/soapforce/client.rb +1 -1
- data/lib/soapforce/query_result.rb +1 -1
- data/lib/soapforce/version.rb +1 -1
- data/spec/lib/query_result_spec.rb +18 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8256b2b8279ae5b336f04d4b5a04341b2f07fd1d
|
4
|
+
data.tar.gz: f0e21fa21d53ce91f15ded563fb4542a6012f7a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10813e8744f90b3a918c18ee29ce9c841bd6cec2329ca1b9f26b16ffde44d82c85e09023b8633edca6dc52e08ae603cd164560ea518af7fa9e74767427b07ac3
|
7
|
+
data.tar.gz: 2698ee2edb2c81cf65c762cf8c587e21188f9c864bc2458a95eaaa030a4d4f1dda0075cb9aace91cee36aee58c0fc6a252c78601c09c4c4cf8f9d38fefa89492
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -125,7 +125,7 @@ client.upsert('Account', 'External__c', External__c: 12, Name: 'Foobar')
|
|
125
125
|
|
126
126
|
```ruby
|
127
127
|
# Delete the Account with Id '006A000000Lbiiz'
|
128
|
-
client.destroy('
|
128
|
+
client.destroy('006A000000Lbiiz')
|
129
129
|
# => {id: '0016000000MRatd', success: => true}
|
130
130
|
```
|
131
131
|
|
data/lib/soapforce.rb
CHANGED
data/lib/soapforce/client.rb
CHANGED
@@ -24,7 +24,7 @@ module Soapforce
|
|
24
24
|
|
25
25
|
@version = options[:version] || Soapforce.configuration.version || 28.0
|
26
26
|
@host = options[:host] || "login.salesforce.com"
|
27
|
-
@login_url = "https://#{@host}/services/Soap/u/#{@version}"
|
27
|
+
@login_url = options[:login_url] || "https://#{@host}/services/Soap/u/#{@version}"
|
28
28
|
|
29
29
|
@logger = options[:logger] || false
|
30
30
|
# Due to SSLv3 POODLE vulnerabilty and disabling of TLSv1, use TLSv1_2
|
data/lib/soapforce/version.rb
CHANGED
@@ -86,6 +86,24 @@ describe Soapforce::QueryResult do
|
|
86
86
|
|
87
87
|
end
|
88
88
|
|
89
|
+
context "not done" do
|
90
|
+
|
91
|
+
subject {
|
92
|
+
hash = {
|
93
|
+
done: false,
|
94
|
+
query_locator: nil,
|
95
|
+
size: 1,
|
96
|
+
records: {id: 1, name: "Opportunity 1", stage_name: "Prospecting"}
|
97
|
+
}
|
98
|
+
Soapforce::QueryResult.new(hash)
|
99
|
+
}
|
100
|
+
|
101
|
+
it "#done?" do
|
102
|
+
expect(subject.done?).to eq false
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
89
107
|
end
|
90
108
|
|
91
109
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: soapforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Heth
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
166
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.
|
167
|
+
rubygems_version: 2.5.1
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Wraps Savon with helper methods and custom types for interacting with the
|