contentful-management 3.6.0 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -1
- data/lib/contentful/management/request.rb +1 -1
- data/lib/contentful/management/version.rb +1 -1
- data/spec/support/vcr.rb +9 -0
- 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: 48205cbf594bc68a7aff1b7017b9a46c4674c49c59af0294dd3ac16fe779deb1
|
4
|
+
data.tar.gz: 19138b713d5061b4730545a8952267904015963f5f5a06803bb3ae8ab63320fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebb8d595852045a00a7a826584316799d36b58ec2953d5ef136d4e91d06a85e938c474a5c2cc6cde808fc5a59000c47bccaad43909a227b53479a084b2383fd8
|
7
|
+
data.tar.gz: d5f33999d52caeb9a63d08dd27c386ddf1e88c01977cda743cec149870fd853d3a9d3e157d52b708aaa25cea916385d4c8d0c24511cb752784a59eb435430189
|
data/CHANGELOG.md
CHANGED
data/spec/support/vcr.rb
CHANGED
@@ -5,6 +5,15 @@ VCR.configure do |c|
|
|
5
5
|
c.ignore_localhost = true
|
6
6
|
c.hook_into :webmock
|
7
7
|
c.default_cassette_options = {record: :once}
|
8
|
+
|
9
|
+
# Redact Contentful Management API tokens from VCR recordings
|
10
|
+
c.filter_sensitive_data('<ACCESS_TOKEN>') do |interaction|
|
11
|
+
if (auths = interaction.request.headers['Authorization']&.first)
|
12
|
+
if (match = auths.match(/^Bearer\s+([^,\s]+)/))
|
13
|
+
match.captures.first
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
8
17
|
end
|
9
18
|
|
10
19
|
def vcr(name, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentful-management
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Protas
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-12-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http
|
@@ -834,7 +834,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
834
834
|
- !ruby/object:Gem::Version
|
835
835
|
version: '0'
|
836
836
|
requirements: []
|
837
|
-
rubygems_version: 3.1.
|
837
|
+
rubygems_version: 3.1.6
|
838
838
|
signing_key:
|
839
839
|
specification_version: 4
|
840
840
|
summary: contentful management api
|