leap_salesforce 1.4.4 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d138756e5cde80ef7fb59d3ac68f940781ee7e2c92f0653760d789d4f6faf1c9
4
- data.tar.gz: 1ee8719c4fc3b2ee6b632a4e8e5a6c8aaa80d8c0b8ca4131d7ccaa92142e2c29
3
+ metadata.gz: d915a273bc83301d1200ec02ea073e4422c3a181848270b331e8cb038b9fd497
4
+ data.tar.gz: 15e3f8b7dcb875992cccf917568d8d08639f8b3473733725faec31a1f3f598ed
5
5
  SHA512:
6
- metadata.gz: 18a916d78dcb5df8732d9ffd3f6e692801b17307ef32aa1e0a9046bcd64db5d28075ac0b7bac36d3ea0b4e0119a327376aa2f1e05889ae8f9acfe6cfcdf77e4f
7
- data.tar.gz: a0756ee544ec6389d4c18bf6dce18ae2ffbaa36e75f1ccb16e0c89c5fbca82f0a06469d9fb3afa8b6110574992a2c8f2c4c96550cb0dbdf9a50ab05fc43d57b7
6
+ metadata.gz: e8a8c03462d9bbc370c0bccd887641f309053a1f19a60f838fbfe24c044a07956a4c163a82a6487025d3ece9224dee1417fba0b05bd9362eb6214cea211d6b8a
7
+ data.tar.gz: c0e2258e7a5dfe937c0e95c929ef45e1136a6e4d581ba1a48cc93800447e1011e3c2aaff17e3fb1c819cf22f31e81f85c3c40afe2c83b2d51abe25c66089369f
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 1.5.0
2
+ * Handle `'` in string using `\` to escape
3
+ * Use latest version of REST api `62.0`
4
+
1
5
  Version 1.4.4
2
6
  * Java POMO set boolean type when object type is 'boolean' instead of 'String'
3
7
 
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 IQA
3
+ Copyright (c) 2019 Sentify
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
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'
@@ -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 = '45.0'
37
+ @api_version = '61.0'
38
38
 
39
39
  class << self
40
40
  # @return [String] The current Salesforce instance URL obtained from oauth call
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LeapSalesforce
4
4
  # @return [String] Version of leap salesforce
5
- VERSION = '1.4.4'
5
+ VERSION = '1.5.0'
6
6
  end
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.4
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-02 00:00:00.000000000 Z
12
+ date: 2024-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler