leap_salesforce 1.4.3 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +7 -0
- data/LICENSE.txt +1 -1
- data/config/general.rb +1 -0
- data/lib/leap_salesforce/generator/templates/soql_object_field_names.Java.erb +1 -1
- data/lib/leap_salesforce/soql_data/soql.rb +1 -1
- data/lib/leap_salesforce/soql_data/soql_handler.rb +1 -1
- data/lib/leap_salesforce/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d915a273bc83301d1200ec02ea073e4422c3a181848270b331e8cb038b9fd497
|
4
|
+
data.tar.gz: 15e3f8b7dcb875992cccf917568d8d08639f8b3473733725faec31a1f3f598ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8a8c03462d9bbc370c0bccd887641f309053a1f19a60f838fbfe24c044a07956a4c163a82a6487025d3ece9224dee1417fba0b05bd9362eb6214cea211d6b8a
|
7
|
+
data.tar.gz: c0e2258e7a5dfe937c0e95c929ef45e1136a6e4d581ba1a48cc93800447e1011e3c2aaff17e3fb1c819cf22f31e81f85c3c40afe2c83b2d51abe25c66089369f
|
data/ChangeLog
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
Version 1.5.0
|
2
|
+
* Handle `'` in string using `\` to escape
|
3
|
+
* Use latest version of REST api `62.0`
|
4
|
+
|
5
|
+
Version 1.4.4
|
6
|
+
* Java POMO set boolean type when object type is 'boolean' instead of 'String'
|
7
|
+
|
1
8
|
Version 1.4.3
|
2
9
|
* Simplify Java POMO's created using Lombok
|
3
10
|
* Add executable to create enum objects in Java with 'leap_salesforce create_soql_enums' and 'leap_salesforce create_all' that creates both objects and enums
|
data/LICENSE.txt
CHANGED
data/config/general.rb
CHANGED
@@ -8,6 +8,7 @@ module LeapSalesforce
|
|
8
8
|
Users.add User.new :admin, 'samuel.garratt@brave-otter-ttxype.com'
|
9
9
|
Users.add User.new :not_there, 'not.there@brave-otter-ttxype.com'
|
10
10
|
Users.add User.new :cet, 'test.cet@brave-otter-ttxype.com'
|
11
|
+
Users.add User.new :extra, 'test.extra@brave-otter-ttxype.com'
|
11
12
|
end
|
12
13
|
|
13
14
|
ENV['SF_USERNAME'] = 'samuel.garratt@brave-otter-ttxype.com'
|
@@ -17,7 +17,7 @@ public class <%= @soql_object.class_name %> {
|
|
17
17
|
* Label: '<%= field['label'] %>', Type: <%= field['type'] %><%= ", Relationship:" + field['relationshipName'] if field['relationshipName'] %>
|
18
18
|
*/
|
19
19
|
@JsonProperty(value="<%= field['name'] %>")
|
20
|
-
String <%= field['name'].camelize(:lower) %>;
|
20
|
+
<%= field['type'] == 'boolean' ? 'Boolean' : 'String' %> <%= field['name'].camelize(:lower) %>;
|
21
21
|
<% end %>
|
22
22
|
}
|
23
23
|
|
@@ -117,7 +117,7 @@ module LeapSalesforce
|
|
117
117
|
# check. Object will be converted String if not already one
|
118
118
|
# @return [String] Condition criteria to match value using SOQL
|
119
119
|
def condition_for(field_name, value)
|
120
|
-
value = value.nil? ? 'null' : value.to_s
|
120
|
+
value = value.nil? ? 'null' : value.to_s.gsub("'", "\'")
|
121
121
|
operator, value = case value[0]
|
122
122
|
when '>', '<', '!', 'I' then extract_comparator(value)
|
123
123
|
when '~' then ['LIKE', value[1..]]
|
@@ -34,7 +34,7 @@ class SoqlHandler < Soaspec::RestHandler
|
|
34
34
|
retry_on_exceptions [RestClient::ServerBrokeConnection], pause: 1, count: 5
|
35
35
|
|
36
36
|
# @return [String] Version of Salesforce API to use
|
37
|
-
@api_version = '
|
37
|
+
@api_version = '61.0'
|
38
38
|
|
39
39
|
class << self
|
40
40
|
# @return [String] The current Salesforce instance URL obtained from oauth call
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leap_salesforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IQA
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-10-
|
12
|
+
date: 2024-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|