ruby-pardot 1.4.0 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/lib/pardot/http.rb +1 -1
- data/lib/pardot/version.rb +1 -1
- data/ruby-pardot.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dbc9628cd309b1ef6a874706ec305376c0c06a69be5ee50fac72eeef491af11
|
4
|
+
data.tar.gz: 324d251e4c43e81843a36fc8ffbf7f8c2adbec985a7aceccf6757fe1cf388b31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a1cf01b619034922e3132da5c2c2d3bac02fdb581b24d6d9dfbc80510768efe7a8eea778b72f8cbc14c11096d0e6daf8ec9e0719bd69766fd1f331bb30cc460
|
7
|
+
data.tar.gz: 433854ac3dabe503c6fceb5d3c706735a5a7947df330071dbf8f03a52c3cb10e7fcfd3e8cd04ef6d5119f35388c3e035304def20997879005cd17be468c4d355
|
data/Gemfile.lock
CHANGED
@@ -1,24 +1,25 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ruby-pardot (1.4.
|
5
|
-
crack (= 0.4.
|
4
|
+
ruby-pardot (1.4.2)
|
5
|
+
crack (= 0.4.5)
|
6
6
|
httparty (= 0.18.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
crack (0.4.
|
12
|
-
|
13
|
-
diff-lcs (1.
|
11
|
+
crack (0.4.5)
|
12
|
+
rexml
|
13
|
+
diff-lcs (1.5.0)
|
14
14
|
fakeweb (1.3.0)
|
15
15
|
httparty (0.18.1)
|
16
16
|
mime-types (~> 3.0)
|
17
17
|
multi_xml (>= 0.5.2)
|
18
|
-
mime-types (3.
|
18
|
+
mime-types (3.4.1)
|
19
19
|
mime-types-data (~> 3.2015)
|
20
|
-
mime-types-data (3.
|
20
|
+
mime-types-data (3.2023.0218.1)
|
21
21
|
multi_xml (0.6.0)
|
22
|
+
rexml (3.2.5)
|
22
23
|
rspec (3.5.0)
|
23
24
|
rspec-core (~> 3.5.0)
|
24
25
|
rspec-expectations (~> 3.5.0)
|
@@ -32,7 +33,6 @@ GEM
|
|
32
33
|
diff-lcs (>= 1.2.0, < 2.0)
|
33
34
|
rspec-support (~> 3.5.0)
|
34
35
|
rspec-support (3.5.0)
|
35
|
-
safe_yaml (1.0.5)
|
36
36
|
|
37
37
|
PLATFORMS
|
38
38
|
ruby
|
@@ -44,4 +44,4 @@ DEPENDENCIES
|
|
44
44
|
ruby-pardot!
|
45
45
|
|
46
46
|
BUNDLED WITH
|
47
|
-
2.
|
47
|
+
2.3.26
|
data/lib/pardot/http.rb
CHANGED
@@ -60,7 +60,7 @@ module Pardot
|
|
60
60
|
error ||= "Unknown Failure: #{rsp.inspect}" if rsp && rsp['stat'] == 'fail'
|
61
61
|
content = error['__content__'] if error.is_a?(Hash)
|
62
62
|
|
63
|
-
if [error, content].
|
63
|
+
if [error, content].grep(/access_token is invalid/).any? && using_salesforce_access_token?
|
64
64
|
raise AccessTokenExpiredError,
|
65
65
|
'Access token is invalid. Use Salesforce OAuth to refresh the existing Salesforce access token or to retrieve a new token. See https://developer.salesforce.com/docs/atlas.en-us.mobile_sdk.meta/mobile_sdk/oauth_refresh_token_flow.htm for more information.'
|
66
66
|
end
|
data/lib/pardot/version.rb
CHANGED
data/ruby-pardot.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.required_rubygems_version = ">= 1.3.6"
|
17
17
|
s.rubyforge_project = "ruby-pardot"
|
18
18
|
|
19
|
-
s.add_dependency 'crack', '0.4.
|
19
|
+
s.add_dependency 'crack', '0.4.5'
|
20
20
|
s.add_dependency 'httparty', '0.18.1'
|
21
21
|
|
22
22
|
s.add_development_dependency "bundler", ">= 1.10"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-pardot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Cunning
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: crack
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.4.
|
19
|
+
version: 0.4.5
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.4.
|
26
|
+
version: 0.4.5
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: httparty
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,7 +132,7 @@ files:
|
|
132
132
|
homepage: http://github.com/pardot/ruby-pardot
|
133
133
|
licenses: []
|
134
134
|
metadata: {}
|
135
|
-
post_install_message:
|
135
|
+
post_install_message:
|
136
136
|
rdoc_options: []
|
137
137
|
require_paths:
|
138
138
|
- lib
|
@@ -147,8 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: 1.3.6
|
149
149
|
requirements: []
|
150
|
-
rubygems_version: 3.
|
151
|
-
signing_key:
|
150
|
+
rubygems_version: 3.4.6
|
151
|
+
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Library for interacting with the Pardot API
|
154
154
|
test_files: []
|