hubspot-api-client-patched-pn 9.5.1.trocco.0.0.1 → 9.5.1.trocco.0.0.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/config/initializers/hubspot_api_patch.rb +19 -0
- data/hubspot-api-client.gemspec +2 -1
- data/lib/hubspot/version.rb +1 -1
- metadata +29 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 304963ef5d18a97fe4a78be6648bc30fcfb682bc2dd6993f21b527ce9d10f246
|
4
|
+
data.tar.gz: 0c0f260bc8892e70a685c31c618baf52ca1ebd5883be050f1204f0ce05b2c33d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f0d873241fe4d13a379e1cc885237ca36a6a009931987f71a4d867fdb323b82f5f83fd2cf53a970cadcffe32208d4404a63217ec1e5711f2164652e9561a2b9
|
7
|
+
data.tar.gz: 3a61f15a8ea37f849d59cc2e461f5536d8864a3541c0bcd5c48d2208b87ab73e435ba80256b68c1758077c7ccbb3349c7816014adc7a39ce7671bd4b43274856
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# HubSpot API 9.5.1 Monkey-Patch : skip blank hapikey on OAuth
|
2
|
+
module Hubspot
|
3
|
+
module Crm
|
4
|
+
module Schemas
|
5
|
+
class ApiClient # :nodoc:
|
6
|
+
alias _orig_update_params_for_auth! update_params_for_auth!
|
7
|
+
|
8
|
+
def update_params_for_auth!(header_params, query_params, auth_names)
|
9
|
+
# hapikey が空なら除外
|
10
|
+
auth_names = Array(auth_names).reject do |name|
|
11
|
+
name == 'hapikey' && @config.api_key['hapikey'].to_s.strip.empty?
|
12
|
+
end
|
13
|
+
|
14
|
+
_orig_update_params_for_auth!(header_params, query_params, auth_names)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
data/hubspot-api-client.gemspec
CHANGED
@@ -14,8 +14,9 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.required_ruby_version = ">= 1.9"
|
15
15
|
|
16
16
|
s.add_runtime_dependency 'typhoeus', '~> 1.4.0'
|
17
|
-
s.add_runtime_dependency 'json', '
|
17
|
+
s.add_runtime_dependency 'json', '>= 2.1', '< 2.7'
|
18
18
|
s.add_runtime_dependency 'require_all', '~> 3.0.0'
|
19
|
+
s.add_runtime_dependency 'ffi', '>= 1.15', '< 1.17'
|
19
20
|
|
20
21
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
21
22
|
s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
|
data/lib/hubspot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubspot-api-client-patched-pn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.5.1.trocco.0.0.
|
4
|
+
version: 9.5.1.trocco.0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- primeNumber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -28,22 +28,22 @@ dependencies:
|
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.1'
|
34
|
-
- - "
|
34
|
+
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 2.
|
36
|
+
version: '2.7'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "
|
41
|
+
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '2.1'
|
44
|
-
- - "
|
44
|
+
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.
|
46
|
+
version: '2.7'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: require_all
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,6 +58,26 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 3.0.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: ffi
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.15'
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.17'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.15'
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '1.17'
|
61
81
|
- !ruby/object:Gem::Dependency
|
62
82
|
name: rspec
|
63
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,6 +225,7 @@ files:
|
|
205
225
|
- Gemfile.lock
|
206
226
|
- README.md
|
207
227
|
- Rakefile
|
228
|
+
- config/initializers/hubspot_api_patch.rb
|
208
229
|
- git_push.sh
|
209
230
|
- hubspot-api-client.gemspec
|
210
231
|
- lib/hubspot-api-client.rb
|