restforce 5.0.4 → 5.0.5

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: d2ebb847392113fcf833f6f2443d0657d14f53482b960ff1390fd5616834916b
4
- data.tar.gz: 95cb01955dbcb299459744f2f91d9573c449eed4fd87d71d341cf7f914ff648d
3
+ metadata.gz: 38acae68870155f93e38df159915fc242a663d02a4dbb252bb294c51763842e5
4
+ data.tar.gz: eeae1f3c32d469a435121baa0c9857b222cffea7055b4b3b50c84854191a5950
5
5
  SHA512:
6
- metadata.gz: 6c226ceb9362acc3108351382988d0e422b0428e2513b99943fa081b1611cb713191293d8e59521f5eba7fc3008822ff182850c127ece2f20ed32e7f2b562831
7
- data.tar.gz: 42596e83eaf35fce0194af666607e4fb1a57a1e64e0235c7f6d9e2794eb3e4a05a0b5063f1cd7376b29e20f81e4b360c9484d843126317d99a4c542129e0d99d
6
+ metadata.gz: e75731e44bfb826364edd12410a159d59a20c16865c4e6134736ec0ca83b06266cf8f5455772c92628fd092be94e4efb042951bbd6456865fc24d8cd2f7e3b80
7
+ data.tar.gz: af8a20544ea4f628a162d8038b8515ca2bd0333bd92f3796cbd19fcd713abfa46043395ee56a858ab5f2568b85e1961097269ac56fc29417633ead0dcbcd46f8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 5.0.5 (Feb 17, 2021)
2
+
3
+ * Handle the `CANNOT_EXECUTE_FLOW_TRIGGER` error returned by Salesforce (@almusavi, @timrogers)
4
+
1
5
  ## 5.0.4 (Jan 18, 2021)
2
6
 
3
7
  * Handle the `INVALID_QUERY_LOCATOR` error returned by Salesforce
data/README.md CHANGED
@@ -25,7 +25,7 @@ Features include:
25
25
 
26
26
  Add this line to your application's Gemfile:
27
27
 
28
- gem 'restforce', '~> 5.0.4'
28
+ gem 'restforce', '~> 5.0.5'
29
29
 
30
30
  And then execute:
31
31
 
@@ -37,7 +37,7 @@ Or install it yourself as:
37
37
 
38
38
  __As of version 5.0.0, this gem is only compatible with Ruby 2.5.0 and later.__ If you're using an earlier Ruby version:
39
39
 
40
- * for Ruby 2.4, use version 4.2.2 or earlier
40
+ * for Ruby 2.4, use version 4.3.0 or earlier
41
41
  * for Ruby 2.3, use version 3.2.0 or earlier
42
42
  * for Ruby versions 2.2, 2.1 and 2.0, use version 2.5.3 or earlier
43
43
  * for Ruby 1.9.3, use version 2.4.2
@@ -43,6 +43,8 @@ module Restforce
43
43
 
44
44
  class CannotEnableIpRestrictRequests < ResponseError; end
45
45
 
46
+ class CannotExecuteFlowTrigger < ResponseError; end
47
+
46
48
  class CannotInsertUpdateActivateEntity < ResponseError; end
47
49
 
48
50
  class CannotModifyManagedObject < ResponseError; end
@@ -411,6 +413,7 @@ module Restforce
411
413
  "CANNOT_DELETE_MANAGED_OBJECT" => CannotDeleteManagedObject,
412
414
  "CANNOT_DISABLE_LAST_ADMIN" => CannotDisableLastAdmin,
413
415
  "CANNOT_ENABLE_IP_RESTRICT_REQUESTS" => CannotEnableIpRestrictRequests,
416
+ "CANNOT_EXECUTE_FLOW_TRIGGER" => CannotExecuteFlowTrigger,
414
417
  "CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY" => CannotInsertUpdateActivateEntity,
415
418
  "CANNOT_MODIFY_MANAGED_OBJECT" => CannotModifyManagedObject,
416
419
  "CANNOT_RENAME_APEX_REFERENCED_FIELD" => CannotRenameApexReferencedField,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Restforce
4
- VERSION = '5.0.4'
4
+ VERSION = '5.0.5'
5
5
  end
data/restforce.gemspec CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |gem|
35
35
  gem.add_development_dependency 'rspec', '~> 2.14.0'
36
36
  gem.add_development_dependency 'rspec_junit_formatter', '~> 0.4.1'
37
37
 
38
- gem.add_development_dependency 'rubocop', '~> 1.8.1'
38
+ gem.add_development_dependency 'rubocop', '~> 1.9.1'
39
39
  gem.add_development_dependency 'simplecov', '~> 0.21.2'
40
40
  gem.add_development_dependency 'webmock', '~> 3.11.1'
41
41
  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: 5.0.4
4
+ version: 5.0.5
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: 2021-01-18 00:00:00.000000000 Z
12
+ date: 2021-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -133,14 +133,14 @@ dependencies:
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: 1.8.1
136
+ version: 1.9.1
137
137
  type: :development
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: 1.8.1
143
+ version: 1.9.1
144
144
  - !ruby/object:Gem::Dependency
145
145
  name: simplecov
146
146
  requirement: !ruby/object:Gem::Requirement