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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe63ad6684261df32867bad2431709006a8507a481261c14cd8fac1aab6dc88c
4
- data.tar.gz: fe26e4ac42c9eda729b51d058f52a706d648673cf743b7fcf1f295747b41cd95
3
+ metadata.gz: 0a0ee639c5474908f899230f1e801aafa30e62d1314c04b52bca5f5ea842b8e1
4
+ data.tar.gz: a1c924d58834511b04be15063f912da17af5d5ac903b405151b4a82d3c47c5f6
5
5
  SHA512:
6
- metadata.gz: 45e4800621600bc351f7cbe52bbb7847a89351a72c407d5de5cd01ecc2e99576ba2b8707f6ab47a8d95f09a1833934de63ff52b1867e0d4b640884683b2c1e85
7
- data.tar.gz: 9aee02914b520b0f68c6d40017f136198e082db951a3a96af693da8537b963471b1ff4b73602588250bed6f8ba10d1c3a3a95eed118204c2c85f8913a178d3fb
6
+ metadata.gz: fa8467ba371dc3643a76ca5310a8d003edd9342a326c74f1e70f996cc4abde457a9b5697a91c12ee87af7547c49ba382c936b41de56b5ec9703b1d8d44143841
7
+ data.tar.gz: b73dbcc4f08401e5c2ec79e486634a1ce6991197897e5aef2be077740072424213d97e16ba07b7f8c1b3015b0b344bb961af2f7803908202484f212d96c8535b
@@ -6,7 +6,7 @@ jobs:
6
6
  strategy:
7
7
  fail-fast: false
8
8
  matrix:
9
- ruby_version: ['3.0', '3.1', '3.2']
9
+ ruby_version: ['3.0', '3.1', '3.2', '3.3']
10
10
  steps:
11
11
  - name: Checkout code
12
12
  uses: actions/checkout@v4
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.59.0'
20
+ gem 'rubocop', '~> 1.60.1'
21
21
  gem 'simplecov', '~> 0.22.0'
22
22
  gem 'webmock', '~> 3.19.1'
data/README.md CHANGED
@@ -27,7 +27,7 @@ Features include:
27
27
 
28
28
  Add this line to your application's Gemfile:
29
29
 
30
- gem 'restforce', '~> 7.1.0'
30
+ gem 'restforce', '~> 7.1.1'
31
31
 
32
32
  And then execute:
33
33
 
@@ -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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Restforce
4
- VERSION = '7.1.0'
4
+ VERSION = '7.1.1'
5
5
  end
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.0
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: 2023-12-20 00:00:00.000000000 Z
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.4.20
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