restforce 7.1.0 → 7.1.1
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/.github/workflows/build.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/lib/restforce/error_code.rb +3 -0
- data/lib/restforce/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a0ee639c5474908f899230f1e801aafa30e62d1314c04b52bca5f5ea842b8e1
|
|
4
|
+
data.tar.gz: a1c924d58834511b04be15063f912da17af5d5ac903b405151b4a82d3c47c5f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa8467ba371dc3643a76ca5310a8d003edd9342a326c74f1e70f996cc4abde457a9b5697a91c12ee87af7547c49ba382c936b41de56b5ec9703b1d8d44143841
|
|
7
|
+
data.tar.gz: b73dbcc4f08401e5c2ec79e486634a1ce6991197897e5aef2be077740072424213d97e16ba07b7f8c1b3015b0b344bb961af2f7803908202484f212d96c8535b
|
data/.github/workflows/build.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# 7.1.1 (Jan 23, 2024)
|
|
2
|
+
|
|
3
|
+
- Handle the `APEX_REST_SERVICES_DISABLED` error returned by the Salesforce API
|
|
4
|
+
|
|
1
5
|
# 7.1.0 (Dec 20, 2023)
|
|
2
6
|
|
|
3
7
|
- Add support for the [OAuth 2.0 Client Credentials authentication flow](https://help.salesforce.com/s/articleView?id=sf.remoteaccess_oauth_client_credentials_flow.htm&type=5) (@rh-taro)
|
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.60.1'
|
|
21
21
|
gem 'simplecov', '~> 0.22.0'
|
|
22
22
|
gem 'webmock', '~> 3.19.1'
|
data/README.md
CHANGED
data/lib/restforce/error_code.rb
CHANGED
|
@@ -19,6 +19,8 @@ module Restforce
|
|
|
19
19
|
|
|
20
20
|
class ApexError < ResponseError; end
|
|
21
21
|
|
|
22
|
+
class ApexRestServicesDisabled < ResponseError; end
|
|
23
|
+
|
|
22
24
|
class ApiCurrentlyDisabled < ResponseError; end
|
|
23
25
|
|
|
24
26
|
class ApiDisabledForOrg < ResponseError; end
|
|
@@ -429,6 +431,7 @@ module Restforce
|
|
|
429
431
|
"ALL_OR_NONE_OPERATION_ROLLED_BACK" => AllOrNoneOperationRolledBack,
|
|
430
432
|
"ALREADY_IN_PROCESS" => AlreadyInProcess,
|
|
431
433
|
"APEX_ERROR" => ApexError,
|
|
434
|
+
"APEX_REST_SERVICES_DISABLED" => ApexRestServicesDisabled,
|
|
432
435
|
"API_CURRENTLY_DISABLED" => ApiCurrentlyDisabled,
|
|
433
436
|
"API_DISABLED_FOR_ORG" => ApiDisabledForOrg,
|
|
434
437
|
"ASSIGNEE_TYPE_REQUIRED" => AssigneeTypeRequired,
|
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: 7.1.
|
|
4
|
+
version: 7.1.1
|
|
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:
|
|
12
|
+
date: 2024-01-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: faraday
|
|
@@ -295,7 +295,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
295
295
|
- !ruby/object:Gem::Version
|
|
296
296
|
version: '0'
|
|
297
297
|
requirements: []
|
|
298
|
-
rubygems_version: 3.
|
|
298
|
+
rubygems_version: 3.5.3
|
|
299
299
|
signing_key:
|
|
300
300
|
specification_version: 4
|
|
301
301
|
summary: A lightweight Ruby client for the Salesforce REST API
|