contentful-management 3.7.0 → 3.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +1 -1
  3. data/.rubocop_todo.yml +72 -7
  4. data/CHANGELOG.md +9 -0
  5. data/README.md +19 -0
  6. data/contentful-management.gemspec +4 -3
  7. data/lib/contentful/management/api_key.rb +2 -0
  8. data/lib/contentful/management/array.rb +2 -0
  9. data/lib/contentful/management/asset.rb +5 -3
  10. data/lib/contentful/management/client.rb +8 -4
  11. data/lib/contentful/management/client_api_key_methods_factory.rb +2 -0
  12. data/lib/contentful/management/client_asset_methods_factory.rb +2 -0
  13. data/lib/contentful/management/client_association_all_published_method_factory.rb +2 -0
  14. data/lib/contentful/management/client_association_methods_factory.rb +2 -0
  15. data/lib/contentful/management/client_content_type_methods_factory.rb +2 -0
  16. data/lib/contentful/management/client_editor_interface_methods_factory.rb +2 -0
  17. data/lib/contentful/management/client_entry_methods_factory.rb +2 -0
  18. data/lib/contentful/management/client_environment_methods_factory.rb +2 -0
  19. data/lib/contentful/management/client_locale_methods_factory.rb +2 -0
  20. data/lib/contentful/management/client_organization_methods_factory.rb +2 -0
  21. data/lib/contentful/management/client_organization_periodic_usage_methods_factory.rb +2 -0
  22. data/lib/contentful/management/client_personal_access_tokens_methods_factory.rb +2 -0
  23. data/lib/contentful/management/client_preview_api_key_methods_factory.rb +2 -0
  24. data/lib/contentful/management/client_role_methods_factory.rb +2 -0
  25. data/lib/contentful/management/client_snapshot_methods_factory.rb +2 -0
  26. data/lib/contentful/management/client_space_membership_methods_factory.rb +2 -0
  27. data/lib/contentful/management/client_space_methods_factory.rb +2 -0
  28. data/lib/contentful/management/client_space_periodic_usage_methods_factory.rb +2 -0
  29. data/lib/contentful/management/client_tag_methods_factory.rb +2 -0
  30. data/lib/contentful/management/client_ui_extension_methods_factory.rb +2 -0
  31. data/lib/contentful/management/client_upload_methods_factory.rb +2 -0
  32. data/lib/contentful/management/client_user_methods_factory.rb +2 -0
  33. data/lib/contentful/management/client_webhook_call_methods_factory.rb +2 -0
  34. data/lib/contentful/management/client_webhook_health_methods_factory.rb +2 -0
  35. data/lib/contentful/management/client_webhook_methods_factory.rb +2 -0
  36. data/lib/contentful/management/content_type.rb +13 -11
  37. data/lib/contentful/management/content_type_editor_interface_methods_factory.rb +2 -0
  38. data/lib/contentful/management/content_type_entry_methods_factory.rb +2 -0
  39. data/lib/contentful/management/content_type_snapshot_methods_factory.rb +2 -0
  40. data/lib/contentful/management/dynamic_entry.rb +3 -3
  41. data/lib/contentful/management/editor_interface.rb +3 -1
  42. data/lib/contentful/management/entry.rb +5 -3
  43. data/lib/contentful/management/entry_association_methods_factory.rb +2 -0
  44. data/lib/contentful/management/entry_snapshot_methods_factory.rb +2 -0
  45. data/lib/contentful/management/environment.rb +2 -0
  46. data/lib/contentful/management/environment_asset_methods_factory.rb +2 -0
  47. data/lib/contentful/management/environment_association_methods_factory.rb +2 -0
  48. data/lib/contentful/management/environment_content_type_methods_factory.rb +2 -0
  49. data/lib/contentful/management/environment_editor_interface_methods_factory.rb +2 -0
  50. data/lib/contentful/management/environment_entry_methods_factory.rb +2 -0
  51. data/lib/contentful/management/environment_locale_methods_factory.rb +2 -0
  52. data/lib/contentful/management/environment_tag_methods_factory.rb +2 -0
  53. data/lib/contentful/management/environment_ui_extension_methods_factory.rb +2 -0
  54. data/lib/contentful/management/error.rb +5 -2
  55. data/lib/contentful/management/field.rb +3 -0
  56. data/lib/contentful/management/file.rb +2 -0
  57. data/lib/contentful/management/link.rb +2 -0
  58. data/lib/contentful/management/locale.rb +3 -1
  59. data/lib/contentful/management/location.rb +2 -0
  60. data/lib/contentful/management/organization.rb +2 -0
  61. data/lib/contentful/management/organization_periodic_usage.rb +2 -0
  62. data/lib/contentful/management/organization_user_methods_factory.rb +2 -0
  63. data/lib/contentful/management/personal_access_token.rb +2 -0
  64. data/lib/contentful/management/preview_api_key.rb +2 -0
  65. data/lib/contentful/management/request.rb +3 -8
  66. data/lib/contentful/management/resource/all_published.rb +2 -0
  67. data/lib/contentful/management/resource/archiver.rb +2 -0
  68. data/lib/contentful/management/resource/array_like.rb +2 -0
  69. data/lib/contentful/management/resource/asset_fields.rb +2 -0
  70. data/lib/contentful/management/resource/entry_fields.rb +2 -0
  71. data/lib/contentful/management/resource/environment_aware.rb +2 -0
  72. data/lib/contentful/management/resource/field_aware.rb +2 -0
  73. data/lib/contentful/management/resource/fields.rb +3 -1
  74. data/lib/contentful/management/resource/metadata.rb +3 -0
  75. data/lib/contentful/management/resource/publisher.rb +2 -0
  76. data/lib/contentful/management/resource/refresher.rb +3 -0
  77. data/lib/contentful/management/resource/system_properties.rb +3 -1
  78. data/lib/contentful/management/resource.rb +4 -3
  79. data/lib/contentful/management/resource_builder.rb +5 -2
  80. data/lib/contentful/management/resource_requester.rb +4 -1
  81. data/lib/contentful/management/response.rb +4 -2
  82. data/lib/contentful/management/role.rb +3 -1
  83. data/lib/contentful/management/snapshot.rb +2 -0
  84. data/lib/contentful/management/space.rb +3 -0
  85. data/lib/contentful/management/space_api_key_methods_factory.rb +2 -0
  86. data/lib/contentful/management/space_association_methods_factory.rb +2 -0
  87. data/lib/contentful/management/space_environment_methods_factory.rb +2 -0
  88. data/lib/contentful/management/space_membership.rb +2 -0
  89. data/lib/contentful/management/space_periodic_usage.rb +2 -0
  90. data/lib/contentful/management/space_preview_api_key_methods_factory.rb +2 -0
  91. data/lib/contentful/management/space_role_methods_factory.rb +2 -0
  92. data/lib/contentful/management/space_space_membership_methods_factory.rb +2 -0
  93. data/lib/contentful/management/space_user_methods_factory.rb +2 -0
  94. data/lib/contentful/management/space_webhook_methods_factory.rb +2 -0
  95. data/lib/contentful/management/support.rb +4 -2
  96. data/lib/contentful/management/tag.rb +2 -0
  97. data/lib/contentful/management/ui_extension.rb +4 -0
  98. data/lib/contentful/management/upload.rb +2 -0
  99. data/lib/contentful/management/user.rb +2 -0
  100. data/lib/contentful/management/validation.rb +2 -0
  101. data/lib/contentful/management/version.rb +3 -1
  102. data/lib/contentful/management/webhook.rb +2 -0
  103. data/lib/contentful/management/webhook_call.rb +2 -0
  104. data/lib/contentful/management/webhook_health.rb +2 -0
  105. data/lib/contentful/management/webhook_webhook_call_methods_factory.rb +2 -0
  106. data/lib/contentful/management/webhook_webhook_health_methods_factory.rb +2 -0
  107. data/lib/contentful/management.rb +2 -0
  108. data/spec/fixtures/vcr_cassettes/content_type/fields/resource_link_with_params.yml +316 -0
  109. data/spec/lib/contentful/management/content_type_spec.rb +28 -0
  110. metadata +15 -19
@@ -0,0 +1,316 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/8KSpuKrl04eMAGQoQckweq
6
+ body:
7
+ encoding: UTF-8
8
+ string: ''
9
+ headers:
10
+ X-Contentful-User-Agent:
11
+ - sdk contentful-management.rb/3.5.0; platform ruby/3.0.0; os macOS/21;
12
+ Authorization:
13
+ - Bearer <ACCESS_TOKEN>
14
+ Content-Type:
15
+ - application/vnd.contentful.management.v1+json
16
+ Connection:
17
+ - close
18
+ Host:
19
+ - api.contentful.com
20
+ User-Agent:
21
+ - http.rb/4.4.1
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Connection:
28
+ - close
29
+ Content-Length:
30
+ - '1313'
31
+ Content-Type:
32
+ - application/vnd.contentful.management.v1+json
33
+ X-Contentful-Ratelimit-Hour-Remaining:
34
+ - '35999'
35
+ X-Contentful-Ratelimit-Second-Remaining:
36
+ - '9'
37
+ X-Contentful-Ratelimit-Hour-Limit:
38
+ - '36000'
39
+ X-Contentful-Ratelimit-Second-Limit:
40
+ - '10'
41
+ X-Contentful-Ratelimit-Reset:
42
+ - '0'
43
+ Cf-Environment-Id:
44
+ - master
45
+ Cf-Environment-Uuid:
46
+ - master
47
+ Cf-Space-Id:
48
+ - yr5m0jky5hsh
49
+ Etag:
50
+ - '"10374541921030338982"'
51
+ X-Contentful-Route:
52
+ - "/spaces/:space/environments/:environment/content_types/:id"
53
+ Strict-Transport-Security:
54
+ - max-age=15768000
55
+ X-Content-Type-Options:
56
+ - nosniff
57
+ Contentful-Api:
58
+ - cma
59
+ Server:
60
+ - Contentful
61
+ Contentful-Upstream:
62
+ - content-api
63
+ Access-Control-Allow-Origin:
64
+ - "*"
65
+ Access-Control-Allow-Headers:
66
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-Tag-Visibility,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
67
+ Access-Control-Expose-Headers:
68
+ - Etag
69
+ Access-Control-Allow-Methods:
70
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
71
+ Access-Control-Max-Age:
72
+ - '1728000'
73
+ Accept-Ranges:
74
+ - bytes
75
+ Date:
76
+ - Mon, 26 Dec 2022 21:49:29 GMT
77
+ X-Contentful-Request-Id:
78
+ - e9306e05-aafe-417c-a16c-14922c2afad2
79
+ body:
80
+ encoding: ASCII-8BIT
81
+ string: |
82
+ {
83
+ "sys": {
84
+ "space": {
85
+ "sys": {
86
+ "type": "Link",
87
+ "linkType": "Space",
88
+ "id": "yr5m0jky5hsh"
89
+ }
90
+ },
91
+ "id": "8KSpuKrl04eMAGQoQckweq",
92
+ "type": "ContentType",
93
+ "createdAt": "2022-12-26T19:31:48.068Z",
94
+ "updatedAt": "2022-12-26T21:49:17.143Z",
95
+ "environment": {
96
+ "sys": {
97
+ "id": "master",
98
+ "type": "Link",
99
+ "linkType": "Environment"
100
+ }
101
+ },
102
+ "publishedVersion": 10,
103
+ "publishedAt": "2022-12-26T21:49:17.143Z",
104
+ "firstPublishedAt": "2022-12-26T19:31:48.360Z",
105
+ "createdBy": {
106
+ "sys": {
107
+ "type": "Link",
108
+ "linkType": "User",
109
+ "id": "59Erm8D1JuuD273aXNb65T"
110
+ }
111
+ },
112
+ "updatedBy": {
113
+ "sys": {
114
+ "type": "Link",
115
+ "linkType": "User",
116
+ "id": "59Erm8D1JuuD273aXNb65T"
117
+ }
118
+ },
119
+ "publishedCounter": 4,
120
+ "version": 11,
121
+ "publishedBy": {
122
+ "sys": {
123
+ "type": "Link",
124
+ "linkType": "User",
125
+ "id": "59Erm8D1JuuD273aXNb65T"
126
+ }
127
+ }
128
+ },
129
+ "displayField": "title",
130
+ "name": "From Ruby SDK",
131
+ "description": "",
132
+ "fields": [
133
+ {
134
+ "id": "title",
135
+ "name": "title",
136
+ "type": "Symbol",
137
+ "localized": false,
138
+ "required": false,
139
+ "validations": [],
140
+ "disabled": false,
141
+ "omitted": false
142
+ }
143
+ ]
144
+ }
145
+ http_version:
146
+ recorded_at: Mon, 26 Dec 2022 21:49:30 GMT
147
+ - request:
148
+ method: put
149
+ uri: https://api.contentful.com/spaces/yr5m0jky5hsh/environments/master/content_types/8KSpuKrl04eMAGQoQckweq
150
+ body:
151
+ encoding: UTF-8
152
+ string: '{"displayField":"title","name":"From Ruby SDK","description":"","fields":[{"id":"title","name":"title","type":"Symbol"},{"id":"myResourceLink","name":"My
153
+ Resource Link","type":"ResourceLink","localized":true,"allowedResources":[{"type":"Contentful:Entry","source":"crn:contentful:::content:spaces/yb41ceqgyiw5","contentTypes":["category","course"]}]}]}'
154
+ headers:
155
+ X-Contentful-User-Agent:
156
+ - sdk contentful-management.rb/3.5.0; platform ruby/3.0.0; os macOS/21;
157
+ Authorization:
158
+ - Bearer <ACCESS_TOKEN>
159
+ Content-Type:
160
+ - application/vnd.contentful.management.v1+json
161
+ X-Contentful-Version:
162
+ - '11'
163
+ Version:
164
+ - '11'
165
+ Connection:
166
+ - close
167
+ Host:
168
+ - api.contentful.com
169
+ User-Agent:
170
+ - http.rb/4.4.1
171
+ response:
172
+ status:
173
+ code: 200
174
+ message: OK
175
+ headers:
176
+ Connection:
177
+ - close
178
+ Content-Length:
179
+ - '1791'
180
+ Content-Type:
181
+ - application/vnd.contentful.management.v1+json
182
+ X-Contentful-Ratelimit-Hour-Remaining:
183
+ - '35999'
184
+ X-Contentful-Ratelimit-Second-Remaining:
185
+ - '9'
186
+ X-Contentful-Ratelimit-Hour-Limit:
187
+ - '36000'
188
+ X-Contentful-Ratelimit-Second-Limit:
189
+ - '10'
190
+ X-Contentful-Ratelimit-Reset:
191
+ - '0'
192
+ Cf-Environment-Id:
193
+ - master
194
+ Cf-Environment-Uuid:
195
+ - master
196
+ Cf-Space-Id:
197
+ - yr5m0jky5hsh
198
+ Etag:
199
+ - '"2125699879861347044"'
200
+ X-Contentful-Route:
201
+ - "/spaces/:space/environments/:environment/content_types/:id"
202
+ Strict-Transport-Security:
203
+ - max-age=15768000
204
+ X-Content-Type-Options:
205
+ - nosniff
206
+ Contentful-Api:
207
+ - cma
208
+ Server:
209
+ - Contentful
210
+ Contentful-Upstream:
211
+ - content-api
212
+ Access-Control-Allow-Origin:
213
+ - "*"
214
+ Access-Control-Allow-Headers:
215
+ - Accept,Accept-Language,Authorization,Cache-Control,Content-Length,Content-Range,Content-Type,DNT,Destination,Expires,If-Match,If-Modified-Since,If-None-Match,Keep-Alive,Last-Modified,Origin,Pragma,Range,User-Agent,X-Http-Method-Override,X-Mx-ReqToken,X-Requested-With,X-Contentful-Version,X-Contentful-Content-Type,X-Contentful-Organization,X-Contentful-Skip-Transformation,X-Contentful-Tag-Visibility,X-Contentful-User-Agent,X-Contentful-Enable-Alpha-Feature,X-Contentful-Source-Environment,X-Contentful-Team,X-Contentful-Parent-Id,x-contentful-validate-only,X-Contentful-Skip-UI-Draft-Validation,X-Contentful-Marketplace,X-Contentful-UI-Content-Auto-Save,cf-trace
216
+ Access-Control-Expose-Headers:
217
+ - Etag
218
+ Access-Control-Allow-Methods:
219
+ - DELETE,GET,HEAD,POST,PUT,PATCH,OPTIONS
220
+ Access-Control-Max-Age:
221
+ - '1728000'
222
+ Accept-Ranges:
223
+ - bytes
224
+ Date:
225
+ - Mon, 26 Dec 2022 21:49:30 GMT
226
+ X-Contentful-Request-Id:
227
+ - 77d8a503-bee7-43a4-815d-e6d111692c46
228
+ body:
229
+ encoding: ASCII-8BIT
230
+ string: |
231
+ {
232
+ "sys": {
233
+ "space": {
234
+ "sys": {
235
+ "type": "Link",
236
+ "linkType": "Space",
237
+ "id": "yr5m0jky5hsh"
238
+ }
239
+ },
240
+ "id": "8KSpuKrl04eMAGQoQckweq",
241
+ "type": "ContentType",
242
+ "createdAt": "2022-12-26T19:31:48.068Z",
243
+ "updatedAt": "2022-12-26T21:49:30.449Z",
244
+ "environment": {
245
+ "sys": {
246
+ "id": "master",
247
+ "type": "Link",
248
+ "linkType": "Environment"
249
+ }
250
+ },
251
+ "publishedVersion": 10,
252
+ "publishedAt": "2022-12-26T21:49:17.143Z",
253
+ "firstPublishedAt": "2022-12-26T19:31:48.360Z",
254
+ "createdBy": {
255
+ "sys": {
256
+ "type": "Link",
257
+ "linkType": "User",
258
+ "id": "59Erm8D1JuuD273aXNb65T"
259
+ }
260
+ },
261
+ "updatedBy": {
262
+ "sys": {
263
+ "type": "Link",
264
+ "linkType": "User",
265
+ "id": "59Erm8D1JuuD273aXNb65T"
266
+ }
267
+ },
268
+ "publishedCounter": 4,
269
+ "version": 12,
270
+ "publishedBy": {
271
+ "sys": {
272
+ "type": "Link",
273
+ "linkType": "User",
274
+ "id": "59Erm8D1JuuD273aXNb65T"
275
+ }
276
+ }
277
+ },
278
+ "displayField": "title",
279
+ "name": "From Ruby SDK",
280
+ "description": "",
281
+ "fields": [
282
+ {
283
+ "id": "title",
284
+ "name": "title",
285
+ "type": "Symbol",
286
+ "localized": false,
287
+ "required": false,
288
+ "validations": [],
289
+ "disabled": false,
290
+ "omitted": false
291
+ },
292
+ {
293
+ "id": "myResourceLink",
294
+ "name": "My Resource Link",
295
+ "type": "ResourceLink",
296
+ "localized": true,
297
+ "required": false,
298
+ "validations": [],
299
+ "disabled": false,
300
+ "omitted": false,
301
+ "allowedResources": [
302
+ {
303
+ "type": "Contentful:Entry",
304
+ "source": "crn:contentful:::content:spaces/yb41ceqgyiw5",
305
+ "contentTypes": [
306
+ "foo",
307
+ "bar"
308
+ ]
309
+ }
310
+ ]
311
+ }
312
+ ]
313
+ }
314
+ http_version:
315
+ recorded_at: Mon, 26 Dec 2022 21:49:30 GMT
316
+ recorded_with: VCR 4.0.0
@@ -440,6 +440,34 @@ module Contentful
440
440
  expect(content_type.fields[11].type).to eq field_type
441
441
  end
442
442
  end
443
+ it 'creates a new ResourceLink field with additional parameters' do
444
+ vcr('content_type/fields/resource_link_with_params') do
445
+ content_type = subject.find('8KSpuKrl04eMAGQoQckweq')
446
+ content_type.fields.create(
447
+ id: 'myResourceLink',
448
+ name: 'My Resource Link',
449
+ type: 'ResourceLink',
450
+ localized: true,
451
+ disabled: false,
452
+ omitted: false,
453
+ allowed_resources: [
454
+ {
455
+ type: 'Contentful:Entry',
456
+ source: 'crn:contentful:::content:spaces/yb41ceqgyiw5',
457
+ contentTypes: ["foo", "bar"]
458
+ }
459
+ ]
460
+ )
461
+ expect(content_type.fields.size).to eq 2
462
+ field = content_type.fields.last
463
+ expect(field.name).to eq 'My Resource Link'
464
+ expect(field.type).to eq 'ResourceLink'
465
+ expect(field.allowed_resources.size).to eq 1
466
+ expect(field.allowed_resources.first['type']).to eq 'Contentful:Entry'
467
+ expect(field.allowed_resources.first['source']).to eq 'crn:contentful:::content:spaces/yb41ceqgyiw5'
468
+ expect(field.allowed_resources.first['contentTypes']).to eq ["foo", "bar"]
469
+ end
470
+ end
443
471
  end
444
472
 
445
473
  describe '#fields.add' do
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentful-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.0
4
+ version: 3.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Protas
8
8
  - Tomasz Warkocki
9
9
  - Contentful GmbH (Andreas Tiefenthaler)
10
- autorequire:
10
+ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2022-12-20 00:00:00.000000000 Z
13
+ date: 2023-09-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: http
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">"
20
- - !ruby/object:Gem::Version
21
- version: '1.0'
22
- - - "<"
19
+ - - "~>"
23
20
  - !ruby/object:Gem::Version
24
21
  version: '5.0'
25
22
  type: :runtime
26
23
  prerelease: false
27
24
  version_requirements: !ruby/object:Gem::Requirement
28
25
  requirements:
29
- - - ">"
30
- - !ruby/object:Gem::Version
31
- version: '1.0'
32
- - - "<"
26
+ - - "~>"
33
27
  - !ruby/object:Gem::Version
34
28
  version: '5.0'
35
29
  - !ruby/object:Gem::Dependency
@@ -198,14 +192,14 @@ dependencies:
198
192
  requirements:
199
193
  - - "~>"
200
194
  - !ruby/object:Gem::Version
201
- version: 0.49.1
195
+ version: 1.56.2
202
196
  type: :development
203
197
  prerelease: false
204
198
  version_requirements: !ruby/object:Gem::Requirement
205
199
  requirements:
206
200
  - - "~>"
207
201
  - !ruby/object:Gem::Version
208
- version: 0.49.1
202
+ version: 1.56.2
209
203
  - !ruby/object:Gem::Dependency
210
204
  name: listen
211
205
  requirement: !ruby/object:Gem::Requirement
@@ -226,14 +220,14 @@ dependencies:
226
220
  requirements:
227
221
  - - "~>"
228
222
  - !ruby/object:Gem::Version
229
- version: '4.0'
223
+ version: 6.2.0
230
224
  type: :development
231
225
  prerelease: false
232
226
  version_requirements: !ruby/object:Gem::Requirement
233
227
  requirements:
234
228
  - - "~>"
235
229
  - !ruby/object:Gem::Version
236
- version: '4.0'
230
+ version: 6.2.0
237
231
  - !ruby/object:Gem::Dependency
238
232
  name: webmock
239
233
  requirement: !ruby/object:Gem::Requirement
@@ -518,6 +512,7 @@ files:
518
512
  - spec/fixtures/vcr_cassettes/content_type/fields/create_array_with_params.yml
519
513
  - spec/fixtures/vcr_cassettes/content_type/fields/create_with_params.yml
520
514
  - spec/fixtures/vcr_cassettes/content_type/fields/destroy.yml
515
+ - spec/fixtures/vcr_cassettes/content_type/fields/resource_link_with_params.yml
521
516
  - spec/fixtures/vcr_cassettes/content_type/fields/update_field.yml
522
517
  - spec/fixtures/vcr_cassettes/content_type/find.yml
523
518
  - spec/fixtures/vcr_cassettes/content_type/find_not_found.yml
@@ -819,7 +814,7 @@ homepage: https://github.com/contentful/contentful-management.rb
819
814
  licenses:
820
815
  - MIT
821
816
  metadata: {}
822
- post_install_message:
817
+ post_install_message:
823
818
  rdoc_options: []
824
819
  require_paths:
825
820
  - lib
@@ -827,15 +822,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
827
822
  requirements:
828
823
  - - ">="
829
824
  - !ruby/object:Gem::Version
830
- version: '0'
825
+ version: '3.0'
831
826
  required_rubygems_version: !ruby/object:Gem::Requirement
832
827
  requirements:
833
828
  - - ">="
834
829
  - !ruby/object:Gem::Version
835
830
  version: '0'
836
831
  requirements: []
837
- rubygems_version: 3.1.6
838
- signing_key:
832
+ rubygems_version: 3.3.26
833
+ signing_key:
839
834
  specification_version: 4
840
835
  summary: contentful management api
841
836
  test_files:
@@ -951,6 +946,7 @@ test_files:
951
946
  - spec/fixtures/vcr_cassettes/content_type/fields/create_array_with_params.yml
952
947
  - spec/fixtures/vcr_cassettes/content_type/fields/create_with_params.yml
953
948
  - spec/fixtures/vcr_cassettes/content_type/fields/destroy.yml
949
+ - spec/fixtures/vcr_cassettes/content_type/fields/resource_link_with_params.yml
954
950
  - spec/fixtures/vcr_cassettes/content_type/fields/update_field.yml
955
951
  - spec/fixtures/vcr_cassettes/content_type/find.yml
956
952
  - spec/fixtures/vcr_cassettes/content_type/find_not_found.yml