restforce 6.2.2 → 6.2.3
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/CHANGELOG.md +5 -1
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/lib/restforce/error_code.rb +15 -0
- data/lib/restforce/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: fb14e30b8ad47c0d7fd1090e75181ebf8c47a01ae5d59ec574cb4d00842288ad
|
4
|
+
data.tar.gz: 69e1bbb2a318dd71b20c38a23aef43f94e29285a6a9d979aca97b16a30c85afb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a15b13f4cb356c77aa571e9421bad05cb8056ed807df0ae746f81fa58c310869dd61c439b20808214e52500c4fa0be2ba754103a3d16fda710de3497995c51ac
|
7
|
+
data.tar.gz: 46ffc1a1e53a30c578c28895f401b6dcdc3c2b9846293c452c2d4c7f5a8aee838ca04d6d7bd9b159a69f399ef4c8cc9e75988e5ea39d9926f5ef5f0b92f1991a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
# 6.2.3 (Jun 18 2023)
|
2
|
+
|
3
|
+
* Handle the `CANNOT_DELETE_OWNER`, `CANNOT_POST_TO_ARCHIVED_GROUP`, `INVALID_INPUT`, `INVALID_MARKUP` and `INVALID_SEARCH` errors returned by the Salesforce API (@spurton)
|
4
|
+
|
1
5
|
# 6.2.2 (Mar 24 2023)
|
2
6
|
|
3
7
|
* Handle the `INSUFFICIENT_ACCESS` error returned by the Salesforce API (@timrogers, @nstuart-at-salesforce)
|
@@ -9,7 +13,7 @@
|
|
9
13
|
# 6.2.0 (Jan 18 2023)
|
10
14
|
|
11
15
|
* Add support for `faraday` v2.7.x (@timrogers)
|
12
|
-
* Expose the Faraday `Response` on `CompositeAPIError`s (@shravan097)
|
16
|
+
* Expose the Faraday `Response` on` `CompositeAPIError`s (@shravan097)
|
13
17
|
|
14
18
|
# 6.1.0 (Nov 18 2022)
|
15
19
|
|
data/Gemfile
CHANGED
@@ -17,6 +17,6 @@ gem 'rspec', '~> 3.12.0'
|
|
17
17
|
gem 'rspec-collection_matchers', '~> 1.2.0'
|
18
18
|
gem 'rspec-its', '~> 1.3.0'
|
19
19
|
gem 'rspec_junit_formatter', '~> 0.6.0'
|
20
|
-
gem 'rubocop', '~> 1.
|
20
|
+
gem 'rubocop', '~> 1.52.1'
|
21
21
|
gem 'simplecov', '~> 0.22.0'
|
22
22
|
gem 'webmock', '~> 3.18.1'
|
data/README.md
CHANGED
data/lib/restforce/error_code.rb
CHANGED
@@ -43,6 +43,8 @@ module Restforce
|
|
43
43
|
|
44
44
|
class CannotDeleteLastDatedConversionRate < ResponseError; end
|
45
45
|
|
46
|
+
class CannotDeleteOwner < ResponseError; end
|
47
|
+
|
46
48
|
class CannotDeleteManagedObject < ResponseError; end
|
47
49
|
|
48
50
|
class CannotDisableLastAdmin < ResponseError; end
|
@@ -55,6 +57,8 @@ module Restforce
|
|
55
57
|
|
56
58
|
class CannotModifyManagedObject < ResponseError; end
|
57
59
|
|
60
|
+
class CannotPostToArchivedGroup < ResponseError; end
|
61
|
+
|
58
62
|
class CannotRenameApexReferencedField < ResponseError; end
|
59
63
|
|
60
64
|
class CannotRenameApexReferencedObject < ResponseError; end
|
@@ -219,8 +223,12 @@ module Restforce
|
|
219
223
|
|
220
224
|
class InvalidInetAddress < ResponseError; end
|
221
225
|
|
226
|
+
class InvalidInput < ResponseError; end
|
227
|
+
|
222
228
|
class InvalidLineitemCloneState < ResponseError; end
|
223
229
|
|
230
|
+
class InvalidMarkup < ResponseError; end
|
231
|
+
|
224
232
|
class InvalidMasterOrTranslatedSolution < ResponseError; end
|
225
233
|
|
226
234
|
class InvalidMessageIdReference < ResponseError; end
|
@@ -247,6 +255,8 @@ module Restforce
|
|
247
255
|
|
248
256
|
class InvalidSaveAsActivityFlag < ResponseError; end
|
249
257
|
|
258
|
+
class InvalidSearch < ResponseError; end
|
259
|
+
|
250
260
|
class InvalidSessionId < ResponseError; end
|
251
261
|
|
252
262
|
class InvalidSignupCountry < ResponseError; end
|
@@ -436,11 +446,13 @@ module Restforce
|
|
436
446
|
"CANNOT_DELETE_LAST_DATED_CONVERSION_RATE" =>
|
437
447
|
CannotDeleteLastDatedConversionRate,
|
438
448
|
"CANNOT_DELETE_MANAGED_OBJECT" => CannotDeleteManagedObject,
|
449
|
+
"CANNOT_DELETE_OWNER" => CannotDeleteOwner,
|
439
450
|
"CANNOT_DISABLE_LAST_ADMIN" => CannotDisableLastAdmin,
|
440
451
|
"CANNOT_ENABLE_IP_RESTRICT_REQUESTS" => CannotEnableIpRestrictRequests,
|
441
452
|
"CANNOT_EXECUTE_FLOW_TRIGGER" => CannotExecuteFlowTrigger,
|
442
453
|
"CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY" => CannotInsertUpdateActivateEntity,
|
443
454
|
"CANNOT_MODIFY_MANAGED_OBJECT" => CannotModifyManagedObject,
|
455
|
+
"CANNOT_POST_TO_ARCHIVED_GROUP" => CannotPostToArchivedGroup,
|
444
456
|
"CANNOT_RENAME_APEX_REFERENCED_FIELD" => CannotRenameApexReferencedField,
|
445
457
|
"CANNOT_RENAME_APEX_REFERENCED_OBJECT" => CannotRenameApexReferencedObject,
|
446
458
|
"CANNOT_REPARENT_RECORD" => CannotReparentRecord,
|
@@ -528,7 +540,9 @@ module Restforce
|
|
528
540
|
"INVALID_FILTER_ACTION" => InvalidFilterAction,
|
529
541
|
"INVALID_ID_FIELD" => InvalidIdField,
|
530
542
|
"INVALID_INET_ADDRESS" => InvalidInetAddress,
|
543
|
+
"INVALID_INPUT" => InvalidInput,
|
531
544
|
"INVALID_LINEITEM_CLONE_STATE" => InvalidLineitemCloneState,
|
545
|
+
"INVALID_MARKUP" => InvalidMarkup,
|
532
546
|
"INVALID_MASTER_OR_TRANSLATED_SOLUTION" => InvalidMasterOrTranslatedSolution,
|
533
547
|
"INVALID_MESSAGE_ID_REFERENCE" => InvalidMessageIdReference,
|
534
548
|
"INVALID_OPERATION" => InvalidOperation,
|
@@ -543,6 +557,7 @@ module Restforce
|
|
543
557
|
"INVALID_READ_ONLY_USER_DML" => InvalidReadOnlyUserDml,
|
544
558
|
"INVALID_REPLICATION_DATE" => InvalidReplicationDate,
|
545
559
|
"INVALID_SAVE_AS_ACTIVITY_FLAG" => InvalidSaveAsActivityFlag,
|
560
|
+
"INVALID_SEARCH" => InvalidSearch,
|
546
561
|
"INVALID_SESSION_ID" => InvalidSessionId,
|
547
562
|
"INVALID_SIGNUP_COUNTRY" => InvalidSignupCountry,
|
548
563
|
"INVALID_STATUS" => InvalidStatus,
|
data/lib/restforce/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.2.
|
4
|
+
version: 6.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Rogers
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-06-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|