contentful_bootstrap 3.10.0 → 3.11.0

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.
Files changed (55) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop.yml +9 -5
  3. data/.rubocop_todo.yml +34 -76
  4. data/CHANGELOG.md +7 -0
  5. data/Guardfile +20 -4
  6. data/README.md +6 -6
  7. data/bin/contentful_bootstrap +46 -42
  8. data/contentful_bootstrap.gemspec +6 -3
  9. data/lib/contentful/bootstrap/command_runner.rb +3 -1
  10. data/lib/contentful/bootstrap/commands/base.rb +15 -15
  11. data/lib/contentful/bootstrap/commands/create_space.rb +5 -6
  12. data/lib/contentful/bootstrap/commands/generate_json.rb +13 -2
  13. data/lib/contentful/bootstrap/commands/generate_token.rb +6 -6
  14. data/lib/contentful/bootstrap/commands/update_space.rb +2 -2
  15. data/lib/contentful/bootstrap/generator.rb +5 -4
  16. data/lib/contentful/bootstrap/support.rb +1 -1
  17. data/lib/contentful/bootstrap/templates/base.rb +22 -25
  18. data/lib/contentful/bootstrap/templates/json_template.rb +49 -56
  19. data/lib/contentful/bootstrap/templates/links/base.rb +1 -1
  20. data/lib/contentful/bootstrap/token.rb +1 -1
  21. data/lib/contentful/bootstrap/version.rb +1 -1
  22. data/spec/contentful/bootstrap/command_runner_spec.rb +2 -2
  23. data/spec/contentful/bootstrap/commands/base_spec.rb +3 -15
  24. data/spec/contentful/bootstrap/commands/create_space_spec.rb +2 -2
  25. data/spec/contentful/bootstrap/commands/generate_json_spec.rb +1 -1
  26. data/spec/contentful/bootstrap/commands/generate_token_spec.rb +1 -1
  27. data/spec/contentful/bootstrap/commands/update_space_spec.rb +36 -8
  28. data/spec/contentful/bootstrap/generator_spec.rb +17 -2
  29. data/spec/contentful/bootstrap/templates/base_spec.rb +10 -8
  30. data/spec/contentful/bootstrap/templates/blog_spec.rb +9 -1
  31. data/spec/contentful/bootstrap/templates/catalogue_spec.rb +9 -1
  32. data/spec/contentful/bootstrap/templates/gallery_spec.rb +9 -1
  33. data/spec/contentful/bootstrap/templates/json_template_spec.rb +17 -9
  34. data/spec/fixtures/json_fixtures/environment_template.json +47 -0
  35. data/spec/fixtures/vcr_fixtures/asset_no_transform.yml +119 -4
  36. data/spec/fixtures/vcr_fixtures/check_created_space.yml +1 -1
  37. data/spec/fixtures/vcr_fixtures/check_original_staging_environment_status.yml +201 -0
  38. data/spec/fixtures/vcr_fixtures/check_staging_environment_status.yml +81 -0
  39. data/spec/fixtures/vcr_fixtures/check_update_space_localized.yml +2 -2
  40. data/spec/fixtures/vcr_fixtures/check_update_space_with_draft_content.yml +4 -4
  41. data/spec/fixtures/vcr_fixtures/create_space_with_blog_template.yml +153 -38
  42. data/spec/fixtures/vcr_fixtures/create_space_with_catalogue_template.yml +196 -81
  43. data/spec/fixtures/vcr_fixtures/create_space_with_gallery_template.yml +165 -50
  44. data/spec/fixtures/vcr_fixtures/generate_json.yml +5 -5
  45. data/spec/fixtures/vcr_fixtures/generate_json_content_types_only.yml +1 -1
  46. data/spec/fixtures/vcr_fixtures/generate_json_environments.yml +447 -0
  47. data/spec/fixtures/vcr_fixtures/generate_json_multi_ct.yml +5 -5
  48. data/spec/fixtures/vcr_fixtures/generate_json_preview.yml +5 -5
  49. data/spec/fixtures/vcr_fixtures/generate_json_single_ct.yml +5 -5
  50. data/spec/fixtures/vcr_fixtures/issue_22.yml +142 -27
  51. data/spec/fixtures/vcr_fixtures/no_ids.yml +126 -11
  52. data/spec/fixtures/vcr_fixtures/update_existing_asset.yml +130 -15
  53. data/spec/fixtures/vcr_fixtures/update_space_localized.yml +134 -19
  54. data/spec/fixtures/vcr_fixtures/update_with_environment.yml +2531 -0
  55. metadata +55 -17
@@ -99,9 +99,124 @@ http_interactions:
99
99
 
100
100
  http_version:
101
101
  recorded_at: Fri, 22 Jul 2016 12:42:57 GMT
102
+ - request:
103
+ method: get
104
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master
105
+ body:
106
+ encoding: US-ASCII
107
+ string: ''
108
+ headers:
109
+ X-Contentful-User-Agent:
110
+ - sdk contentful-management.rb/1.8.1; integration bootstrap/3.6.1; platform
111
+ ruby/2.4.1; os macOS/16;
112
+ Authorization:
113
+ - Bearer foobar
114
+ Content-Type:
115
+ - application/vnd.contentful.management.v1+json
116
+ Content-Length:
117
+ - '0'
118
+ Connection:
119
+ - close
120
+ Host:
121
+ - api.contentful.com
122
+ User-Agent:
123
+ - http.rb/2.2.2
124
+ response:
125
+ status:
126
+ code: 200
127
+ message: OK
128
+ headers:
129
+ Accept-Ranges:
130
+ - bytes
131
+ Access-Control-Allow-Headers:
132
+ - 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-User-Agent,X-Contentful-Enable-Experimental-Feature
133
+ Access-Control-Allow-Methods:
134
+ - DELETE,GET,HEAD,POST,PUT,OPTIONS
135
+ Access-Control-Allow-Origin:
136
+ - "*"
137
+ Access-Control-Expose-Headers:
138
+ - Etag
139
+ Access-Control-Max-Age:
140
+ - '1728000'
141
+ Cache-Control:
142
+ - max-age=0
143
+ Cf-Organization-Id:
144
+ - 4SsuxQCaMaemfIms52Jr8s
145
+ Cf-Space-Id:
146
+ - dtylzsihhqsu
147
+ Content-Type:
148
+ - application/vnd.contentful.management.v1+json
149
+ Date:
150
+ - Wed, 23 Aug 2017 14:39:29 GMT
151
+ Etag:
152
+ - W/"2c014fd49b265333df19faf15077ad23"
153
+ Server:
154
+ - Contentful
155
+ Strict-Transport-Security:
156
+ - max-age=15768000
157
+ X-Content-Type-Options:
158
+ - nosniff
159
+ X-Contentful-Request-Id:
160
+ - 917a37ae1cf5343e6b089923cc306864
161
+ X-Frame-Options:
162
+ - ALLOWALL
163
+ X-Xss-Protection:
164
+ - 1; mode=block
165
+ Content-Length:
166
+ - '465'
167
+ Connection:
168
+ - Close
169
+ Set-Cookie:
170
+ - incap_ses_685_673446=cxF9Q0guCUtZ5BLquZ2BCaGTnVkAAAAAo6M+6ImkjL12BRgksm5Ycw==;
171
+ path=/; Domain=.contentful.com
172
+ - nlbi_673446=qgazO//8lgCNPBh/6lKYhQAAAADdCJKiN6QN6XKnlFqZhDYU; path=/; Domain=.contentful.com
173
+ - visid_incap_673446=2CwPdSAIQPWlQo9wqlIfraGTnVkAAAAAQUIPAAAAAABpkgonlswdvW4VySG7Mwvb;
174
+ expires=Thu, 23 Aug 2018 07:39:55 GMT; path=/; Domain=.contentful.com
175
+ X-Iinfo:
176
+ - 6-53963549-53963569 NNNN CT(141 141 0) RT(1503499169092 147) q(0 0 3 -1) r(5
177
+ 5) U5
178
+ X-Cdn:
179
+ - Incapsula
180
+ body:
181
+ encoding: ASCII-8BIT
182
+ string: |+
183
+ {
184
+ "name":"Master",
185
+ "sys":{
186
+ "type":"Environment",
187
+ "id":"master",
188
+ "version":4,
189
+ "createdBy":{
190
+ "sys":{
191
+ "type":"Link",
192
+ "linkType":"User",
193
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
194
+ }
195
+ },
196
+ "createdAt":"2017-08-18T20:55:42Z",
197
+ "updatedBy":{
198
+ "sys":{
199
+ "type":"Link",
200
+ "linkType":"User",
201
+ "id":"4SejVrWT96dvL9IV4Nb7sQ"
202
+ }
203
+ },
204
+ "updatedAt":"2017-08-18T20:55:42Z",
205
+ "space": {
206
+ "sys": {
207
+ "type": "Link",
208
+ "linkType": "Space",
209
+ "id": "dtylzsihhqsu"
210
+ }
211
+ }
212
+ }
213
+ }
214
+
215
+ http_version:
216
+ recorded_at: Wed, 23 Aug 2017 14:39:29 GMT
102
217
  - request:
103
218
  method: put
104
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/author
219
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/author
105
220
  body:
106
221
  encoding: UTF-8
107
222
  string: '{"displayField":"name","name":"Author","fields":[{"id":"name","name":"Name","type":"Symbol"}]}'
@@ -213,7 +328,7 @@ http_interactions:
213
328
  recorded_at: Fri, 22 Jul 2016 12:43:00 GMT
214
329
  - request:
215
330
  method: put
216
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/author/published
331
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/author/published
217
332
  body:
218
333
  encoding: US-ASCII
219
334
  string: ''
@@ -340,7 +455,7 @@ http_interactions:
340
455
  recorded_at: Fri, 22 Jul 2016 12:43:02 GMT
341
456
  - request:
342
457
  method: put
343
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/image
458
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/image
344
459
  body:
345
460
  encoding: UTF-8
346
461
  string: '{"displayField":"title","name":"Image","fields":[{"id":"title","name":"Title","type":"Symbol"},{"id":"photo","name":"Photo","type":"Link","linkType":"Asset"}]}'
@@ -463,7 +578,7 @@ http_interactions:
463
578
  recorded_at: Fri, 22 Jul 2016 12:43:04 GMT
464
579
  - request:
465
580
  method: put
466
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/image/published
581
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/image/published
467
582
  body:
468
583
  encoding: US-ASCII
469
584
  string: ''
@@ -601,7 +716,7 @@ http_interactions:
601
716
  recorded_at: Fri, 22 Jul 2016 12:43:05 GMT
602
717
  - request:
603
718
  method: put
604
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/gallery
719
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/gallery
605
720
  body:
606
721
  encoding: UTF-8
607
722
  string: '{"displayField":"title","name":"Gallery","fields":[{"id":"title","name":"Title","type":"Symbol"},{"id":"author","name":"Author","type":"Link","linkType":"Entry"},{"id":"images","name":"Images","type":"Array","items":{"type":"Link","linkType":"Entry"}}]}'
@@ -738,7 +853,7 @@ http_interactions:
738
853
  recorded_at: Fri, 22 Jul 2016 12:43:06 GMT
739
854
  - request:
740
855
  method: put
741
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/gallery/published
856
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/gallery/published
742
857
  body:
743
858
  encoding: US-ASCII
744
859
  string: ''
@@ -890,7 +1005,7 @@ http_interactions:
890
1005
  recorded_at: Fri, 22 Jul 2016 12:43:10 GMT
891
1006
  - request:
892
1007
  method: put
893
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/pie
1008
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/pie
894
1009
  body:
895
1010
  encoding: UTF-8
896
1011
  string: '{"fields":{"title":{"en-US":"Pie in the Sky"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"pie.jpg","upload":"https://c2.staticflickr.com/6/5245/5335909339_d307a7cbcf_b.jpg"}}}}'
@@ -1003,7 +1118,7 @@ http_interactions:
1003
1118
  recorded_at: Fri, 22 Jul 2016 12:43:11 GMT
1004
1119
  - request:
1005
1120
  method: put
1006
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/pie/files/en-US/process
1121
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/pie/files/en-US/process
1007
1122
  body:
1008
1123
  encoding: US-ASCII
1009
1124
  string: ''
@@ -1071,7 +1186,7 @@ http_interactions:
1071
1186
  recorded_at: Fri, 22 Jul 2016 12:43:11 GMT
1072
1187
  - request:
1073
1188
  method: get
1074
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/pie
1189
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/pie
1075
1190
  body:
1076
1191
  encoding: US-ASCII
1077
1192
  string: ''
@@ -1186,7 +1301,7 @@ http_interactions:
1186
1301
  recorded_at: Fri, 22 Jul 2016 12:43:12 GMT
1187
1302
  - request:
1188
1303
  method: get
1189
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/pie
1304
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/pie
1190
1305
  body:
1191
1306
  encoding: US-ASCII
1192
1307
  string: ''
@@ -1308,7 +1423,7 @@ http_interactions:
1308
1423
  recorded_at: Fri, 22 Jul 2016 12:43:14 GMT
1309
1424
  - request:
1310
1425
  method: put
1311
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/pie/published
1426
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/pie/published
1312
1427
  body:
1313
1428
  encoding: US-ASCII
1314
1429
  string: ''
@@ -1443,7 +1558,7 @@ http_interactions:
1443
1558
  recorded_at: Fri, 22 Jul 2016 12:43:15 GMT
1444
1559
  - request:
1445
1560
  method: put
1446
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/flower
1561
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/flower
1447
1562
  body:
1448
1563
  encoding: UTF-8
1449
1564
  string: '{"fields":{"title":{"en-US":"The Flower"},"description":{"en-US":null},"file":{"en-US":{"contentType":"image/jpeg","fileName":"flower.jpg","upload":"http://c2.staticflickr.com/4/3922/15045568809_b24591e318_b.jpg"}}}}'
@@ -1556,7 +1671,7 @@ http_interactions:
1556
1671
  recorded_at: Fri, 22 Jul 2016 12:43:16 GMT
1557
1672
  - request:
1558
1673
  method: put
1559
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/flower/files/en-US/process
1674
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/flower/files/en-US/process
1560
1675
  body:
1561
1676
  encoding: US-ASCII
1562
1677
  string: ''
@@ -1624,7 +1739,7 @@ http_interactions:
1624
1739
  recorded_at: Fri, 22 Jul 2016 12:43:17 GMT
1625
1740
  - request:
1626
1741
  method: get
1627
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/flower
1742
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/flower
1628
1743
  body:
1629
1744
  encoding: US-ASCII
1630
1745
  string: ''
@@ -1746,7 +1861,7 @@ http_interactions:
1746
1861
  recorded_at: Fri, 22 Jul 2016 12:43:18 GMT
1747
1862
  - request:
1748
1863
  method: put
1749
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/assets/flower/published
1864
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/assets/flower/published
1750
1865
  body:
1751
1866
  encoding: US-ASCII
1752
1867
  string: ''
@@ -1881,7 +1996,7 @@ http_interactions:
1881
1996
  recorded_at: Fri, 22 Jul 2016 12:43:19 GMT
1882
1997
  - request:
1883
1998
  method: get
1884
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/author
1999
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/author
1885
2000
  body:
1886
2001
  encoding: US-ASCII
1887
2002
  string: ''
@@ -2006,7 +2121,7 @@ http_interactions:
2006
2121
  recorded_at: Fri, 22 Jul 2016 12:43:19 GMT
2007
2122
  - request:
2008
2123
  method: put
2009
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
2124
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
2010
2125
  body:
2011
2126
  encoding: UTF-8
2012
2127
  string: '{"fields":{}}'
@@ -2114,7 +2229,7 @@ http_interactions:
2114
2229
  recorded_at: Fri, 22 Jul 2016 12:43:20 GMT
2115
2230
  - request:
2116
2231
  method: put
2117
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
2232
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
2118
2233
  body:
2119
2234
  encoding: UTF-8
2120
2235
  string: '{"fields":{}}'
@@ -2222,7 +2337,7 @@ http_interactions:
2222
2337
  recorded_at: Fri, 22 Jul 2016 12:43:21 GMT
2223
2338
  - request:
2224
2339
  method: get
2225
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/image
2340
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/image
2226
2341
  body:
2227
2342
  encoding: US-ASCII
2228
2343
  string: ''
@@ -2358,7 +2473,7 @@ http_interactions:
2358
2473
  recorded_at: Fri, 22 Jul 2016 12:43:22 GMT
2359
2474
  - request:
2360
2475
  method: put
2361
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
2476
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
2362
2477
  body:
2363
2478
  encoding: UTF-8
2364
2479
  string: '{"fields":{}}'
@@ -2466,7 +2581,7 @@ http_interactions:
2466
2581
  recorded_at: Fri, 22 Jul 2016 12:43:22 GMT
2467
2582
  - request:
2468
2583
  method: put
2469
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
2584
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
2470
2585
  body:
2471
2586
  encoding: UTF-8
2472
2587
  string: '{"fields":{}}'
@@ -2574,7 +2689,7 @@ http_interactions:
2574
2689
  recorded_at: Fri, 22 Jul 2016 12:43:23 GMT
2575
2690
  - request:
2576
2691
  method: put
2577
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
2692
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
2578
2693
  body:
2579
2694
  encoding: UTF-8
2580
2695
  string: '{"fields":{}}'
@@ -2682,7 +2797,7 @@ http_interactions:
2682
2797
  recorded_at: Fri, 22 Jul 2016 12:43:24 GMT
2683
2798
  - request:
2684
2799
  method: put
2685
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
2800
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
2686
2801
  body:
2687
2802
  encoding: UTF-8
2688
2803
  string: '{"fields":{}}'
@@ -2790,7 +2905,7 @@ http_interactions:
2790
2905
  recorded_at: Fri, 22 Jul 2016 12:43:25 GMT
2791
2906
  - request:
2792
2907
  method: get
2793
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/content_types/gallery
2908
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/content_types/gallery
2794
2909
  body:
2795
2910
  encoding: US-ASCII
2796
2911
  string: ''
@@ -2940,7 +3055,7 @@ http_interactions:
2940
3055
  recorded_at: Fri, 22 Jul 2016 12:43:26 GMT
2941
3056
  - request:
2942
3057
  method: put
2943
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
3058
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
2944
3059
  body:
2945
3060
  encoding: UTF-8
2946
3061
  string: '{"fields":{}}'
@@ -3048,7 +3163,7 @@ http_interactions:
3048
3163
  recorded_at: Fri, 22 Jul 2016 12:43:26 GMT
3049
3164
  - request:
3050
3165
  method: put
3051
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
3166
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
3052
3167
  body:
3053
3168
  encoding: UTF-8
3054
3169
  string: '{"fields":{}}'
@@ -3156,7 +3271,7 @@ http_interactions:
3156
3271
  recorded_at: Fri, 22 Jul 2016 12:43:27 GMT
3157
3272
  - request:
3158
3273
  method: get
3159
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
3274
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
3160
3275
  body:
3161
3276
  encoding: US-ASCII
3162
3277
  string: ''
@@ -3264,7 +3379,7 @@ http_interactions:
3264
3379
  recorded_at: Fri, 22 Jul 2016 12:43:28 GMT
3265
3380
  - request:
3266
3381
  method: put
3267
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
3382
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
3268
3383
  body:
3269
3384
  encoding: UTF-8
3270
3385
  string: '{"fields":{"name":{"en-US":"Dave"}}}'
@@ -3376,7 +3491,7 @@ http_interactions:
3376
3491
  recorded_at: Fri, 22 Jul 2016 12:43:29 GMT
3377
3492
  - request:
3378
3493
  method: put
3379
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
3494
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
3380
3495
  body:
3381
3496
  encoding: UTF-8
3382
3497
  string: '{"fields":{"name":{"en-US":"Dave"}}}'
@@ -3488,7 +3603,7 @@ http_interactions:
3488
3603
  recorded_at: Fri, 22 Jul 2016 12:43:29 GMT
3489
3604
  - request:
3490
3605
  method: get
3491
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
3606
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
3492
3607
  body:
3493
3608
  encoding: US-ASCII
3494
3609
  string: ''
@@ -3600,7 +3715,7 @@ http_interactions:
3600
3715
  recorded_at: Fri, 22 Jul 2016 12:43:30 GMT
3601
3716
  - request:
3602
3717
  method: get
3603
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
3718
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
3604
3719
  body:
3605
3720
  encoding: US-ASCII
3606
3721
  string: ''
@@ -3708,7 +3823,7 @@ http_interactions:
3708
3823
  recorded_at: Fri, 22 Jul 2016 12:43:31 GMT
3709
3824
  - request:
3710
3825
  method: put
3711
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
3826
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
3712
3827
  body:
3713
3828
  encoding: UTF-8
3714
3829
  string: '{"fields":{"title":{"en-US":"A Pie in the Sky"},"photo":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"pie"}}}}}'
@@ -3829,7 +3944,7 @@ http_interactions:
3829
3944
  recorded_at: Fri, 22 Jul 2016 12:43:32 GMT
3830
3945
  - request:
3831
3946
  method: put
3832
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
3947
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
3833
3948
  body:
3834
3949
  encoding: UTF-8
3835
3950
  string: '{"fields":{"title":{"en-US":"A Pie in the Sky"},"photo":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"pie"}}}}}'
@@ -3950,7 +4065,7 @@ http_interactions:
3950
4065
  recorded_at: Fri, 22 Jul 2016 12:43:33 GMT
3951
4066
  - request:
3952
4067
  method: get
3953
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
4068
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
3954
4069
  body:
3955
4070
  encoding: US-ASCII
3956
4071
  string: ''
@@ -4071,7 +4186,7 @@ http_interactions:
4071
4186
  recorded_at: Fri, 22 Jul 2016 12:43:33 GMT
4072
4187
  - request:
4073
4188
  method: get
4074
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
4189
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
4075
4190
  body:
4076
4191
  encoding: US-ASCII
4077
4192
  string: ''
@@ -4179,7 +4294,7 @@ http_interactions:
4179
4294
  recorded_at: Fri, 22 Jul 2016 12:43:34 GMT
4180
4295
  - request:
4181
4296
  method: put
4182
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
4297
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
4183
4298
  body:
4184
4299
  encoding: UTF-8
4185
4300
  string: '{"fields":{"title":{"en-US":"The Flower"},"photo":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"flower"}}}}}'
@@ -4300,7 +4415,7 @@ http_interactions:
4300
4415
  recorded_at: Fri, 22 Jul 2016 12:43:35 GMT
4301
4416
  - request:
4302
4417
  method: put
4303
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
4418
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
4304
4419
  body:
4305
4420
  encoding: UTF-8
4306
4421
  string: '{"fields":{"title":{"en-US":"The Flower"},"photo":{"en-US":{"sys":{"type":"Link","linkType":"Asset","id":"flower"}}}}}'
@@ -4421,7 +4536,7 @@ http_interactions:
4421
4536
  recorded_at: Fri, 22 Jul 2016 12:43:36 GMT
4422
4537
  - request:
4423
4538
  method: get
4424
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
4539
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
4425
4540
  body:
4426
4541
  encoding: US-ASCII
4427
4542
  string: ''
@@ -4542,7 +4657,7 @@ http_interactions:
4542
4657
  recorded_at: Fri, 22 Jul 2016 12:43:37 GMT
4543
4658
  - request:
4544
4659
  method: get
4545
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
4660
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
4546
4661
  body:
4547
4662
  encoding: US-ASCII
4548
4663
  string: ''
@@ -4650,7 +4765,7 @@ http_interactions:
4650
4765
  recorded_at: Fri, 22 Jul 2016 12:43:37 GMT
4651
4766
  - request:
4652
4767
  method: put
4653
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
4768
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
4654
4769
  body:
4655
4770
  encoding: UTF-8
4656
4771
  string: '{"fields":{"images":{"en-US":[{"sys":{"type":"Link","linkType":"Entry","id":"pie_entry"}},{"sys":{"type":"Link","linkType":"Entry","id":"flower_entry"}}]},"title":{"en-US":"Photo
@@ -4790,7 +4905,7 @@ http_interactions:
4790
4905
  recorded_at: Fri, 22 Jul 2016 12:43:38 GMT
4791
4906
  - request:
4792
4907
  method: put
4793
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
4908
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
4794
4909
  body:
4795
4910
  encoding: UTF-8
4796
4911
  string: '{"fields":{"images":{"en-US":[{"sys":{"type":"Link","linkType":"Entry","id":"pie_entry"}},{"sys":{"type":"Link","linkType":"Entry","id":"flower_entry"}}]},"title":{"en-US":"Photo
@@ -4930,7 +5045,7 @@ http_interactions:
4930
5045
  recorded_at: Fri, 22 Jul 2016 12:43:39 GMT
4931
5046
  - request:
4932
5047
  method: get
4933
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
5048
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
4934
5049
  body:
4935
5050
  encoding: US-ASCII
4936
5051
  string: ''
@@ -5069,7 +5184,7 @@ http_interactions:
5069
5184
  recorded_at: Fri, 22 Jul 2016 12:43:40 GMT
5070
5185
  - request:
5071
5186
  method: get
5072
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave
5187
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave
5073
5188
  body:
5074
5189
  encoding: US-ASCII
5075
5190
  string: ''
@@ -5181,7 +5296,7 @@ http_interactions:
5181
5296
  recorded_at: Fri, 22 Jul 2016 12:43:41 GMT
5182
5297
  - request:
5183
5298
  method: put
5184
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/dave/published
5299
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/dave/published
5185
5300
  body:
5186
5301
  encoding: US-ASCII
5187
5302
  string: ''
@@ -5306,7 +5421,7 @@ http_interactions:
5306
5421
  recorded_at: Fri, 22 Jul 2016 12:43:41 GMT
5307
5422
  - request:
5308
5423
  method: get
5309
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry
5424
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry
5310
5425
  body:
5311
5426
  encoding: US-ASCII
5312
5427
  string: ''
@@ -5427,7 +5542,7 @@ http_interactions:
5427
5542
  recorded_at: Fri, 22 Jul 2016 12:43:42 GMT
5428
5543
  - request:
5429
5544
  method: put
5430
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/pie_entry/published
5545
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/pie_entry/published
5431
5546
  body:
5432
5547
  encoding: US-ASCII
5433
5548
  string: ''
@@ -5561,7 +5676,7 @@ http_interactions:
5561
5676
  recorded_at: Fri, 22 Jul 2016 12:43:43 GMT
5562
5677
  - request:
5563
5678
  method: get
5564
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry
5679
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry
5565
5680
  body:
5566
5681
  encoding: US-ASCII
5567
5682
  string: ''
@@ -5682,7 +5797,7 @@ http_interactions:
5682
5797
  recorded_at: Fri, 22 Jul 2016 12:43:44 GMT
5683
5798
  - request:
5684
5799
  method: put
5685
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/flower_entry/published
5800
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/flower_entry/published
5686
5801
  body:
5687
5802
  encoding: US-ASCII
5688
5803
  string: ''
@@ -5816,7 +5931,7 @@ http_interactions:
5816
5931
  recorded_at: Fri, 22 Jul 2016 12:43:45 GMT
5817
5932
  - request:
5818
5933
  method: get
5819
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery
5934
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery
5820
5935
  body:
5821
5936
  encoding: US-ASCII
5822
5937
  string: ''
@@ -5955,7 +6070,7 @@ http_interactions:
5955
6070
  recorded_at: Fri, 22 Jul 2016 12:43:46 GMT
5956
6071
  - request:
5957
6072
  method: put
5958
- uri: https://api.contentful.com/spaces/dtylzsihhqsu/entries/gallery/published
6073
+ uri: https://api.contentful.com/spaces/dtylzsihhqsu/environments/master/entries/gallery/published
5959
6074
  body:
5960
6075
  encoding: US-ASCII
5961
6076
  string: ''