contentful_bootstrap 3.10.0 → 3.11.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://cdn.contentful.com/spaces/f3abi4dqvrhg/content_types?limit=1000
5
+ uri: https://cdn.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types?limit=1000
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -117,7 +117,7 @@ http_interactions:
117
117
  recorded_at: Fri, 10 Nov 2017 13:10:35 GMT
118
118
  - request:
119
119
  method: get
120
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/content_types?limit=1000
120
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/content_types?limit=1000
121
121
  body:
122
122
  encoding: US-ASCII
123
123
  string: ''
@@ -220,7 +220,7 @@ http_interactions:
220
220
  recorded_at: Fri, 10 Nov 2017 13:10:35 GMT
221
221
  - request:
222
222
  method: get
223
- uri: https://cdn.contentful.com/spaces/f3abi4dqvrhg/assets
223
+ uri: https://cdn.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets
224
224
  body:
225
225
  encoding: US-ASCII
226
226
  string: ''
@@ -337,7 +337,7 @@ http_interactions:
337
337
  recorded_at: Fri, 10 Nov 2017 13:10:36 GMT
338
338
  - request:
339
339
  method: get
340
- uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/assets
340
+ uri: https://preview.contentful.com/spaces/f3abi4dqvrhg/environments/master/assets
341
341
  body:
342
342
  encoding: US-ASCII
343
343
  string: ''
@@ -99,9 +99,124 @@ http_interactions:
99
99
 
100
100
  http_version:
101
101
  recorded_at: Fri, 22 Jul 2016 12:49:28 GMT
102
+ - request:
103
+ method: get
104
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/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
+ - j17dhfgnz5wi
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": "j17dhfgnz5wi"
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/j17dhfgnz5wi/content_types/author
219
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/author
105
220
  body:
106
221
  encoding: UTF-8
107
222
  string: '{"displayField":"name","name":"Author","fields":[{"id":"name","name":"Author
@@ -214,7 +329,7 @@ http_interactions:
214
329
  recorded_at: Fri, 22 Jul 2016 12:49:31 GMT
215
330
  - request:
216
331
  method: put
217
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/content_types/author/published
332
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/author/published
218
333
  body:
219
334
  encoding: US-ASCII
220
335
  string: ''
@@ -341,7 +456,7 @@ http_interactions:
341
456
  recorded_at: Fri, 22 Jul 2016 12:49:32 GMT
342
457
  - request:
343
458
  method: put
344
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/content_types/post
459
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/post
345
460
  body:
346
461
  encoding: UTF-8
347
462
  string: '{"displayField":"title","name":"Post","fields":[{"id":"title","name":"Post
@@ -475,7 +590,7 @@ http_interactions:
475
590
  recorded_at: Fri, 22 Jul 2016 12:49:33 GMT
476
591
  - request:
477
592
  method: put
478
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/content_types/post/published
593
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/post/published
479
594
  body:
480
595
  encoding: US-ASCII
481
596
  string: ''
@@ -623,7 +738,7 @@ http_interactions:
623
738
  recorded_at: Fri, 22 Jul 2016 12:49:36 GMT
624
739
  - request:
625
740
  method: get
626
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/content_types/author
741
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/author
627
742
  body:
628
743
  encoding: US-ASCII
629
744
  string: ''
@@ -748,7 +863,7 @@ http_interactions:
748
863
  recorded_at: Fri, 22 Jul 2016 12:49:37 GMT
749
864
  - request:
750
865
  method: put
751
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
866
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
752
867
  body:
753
868
  encoding: UTF-8
754
869
  string: '{"fields":{}}'
@@ -856,7 +971,7 @@ http_interactions:
856
971
  recorded_at: Fri, 22 Jul 2016 12:49:38 GMT
857
972
  - request:
858
973
  method: put
859
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
974
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
860
975
  body:
861
976
  encoding: UTF-8
862
977
  string: '{"fields":{}}'
@@ -964,7 +1079,7 @@ http_interactions:
964
1079
  recorded_at: Fri, 22 Jul 2016 12:49:39 GMT
965
1080
  - request:
966
1081
  method: put
967
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
1082
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
968
1083
  body:
969
1084
  encoding: UTF-8
970
1085
  string: '{"fields":{}}'
@@ -1072,7 +1187,7 @@ http_interactions:
1072
1187
  recorded_at: Fri, 22 Jul 2016 12:49:42 GMT
1073
1188
  - request:
1074
1189
  method: put
1075
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
1190
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
1076
1191
  body:
1077
1192
  encoding: UTF-8
1078
1193
  string: '{"fields":{}}'
@@ -1180,7 +1295,7 @@ http_interactions:
1180
1295
  recorded_at: Fri, 22 Jul 2016 12:49:42 GMT
1181
1296
  - request:
1182
1297
  method: get
1183
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/content_types/post
1298
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/content_types/post
1184
1299
  body:
1185
1300
  encoding: US-ASCII
1186
1301
  string: ''
@@ -1326,7 +1441,7 @@ http_interactions:
1326
1441
  recorded_at: Fri, 22 Jul 2016 12:49:43 GMT
1327
1442
  - request:
1328
1443
  method: put
1329
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
1444
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
1330
1445
  body:
1331
1446
  encoding: UTF-8
1332
1447
  string: '{"fields":{}}'
@@ -1434,7 +1549,7 @@ http_interactions:
1434
1549
  recorded_at: Fri, 22 Jul 2016 12:49:44 GMT
1435
1550
  - request:
1436
1551
  method: put
1437
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
1552
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
1438
1553
  body:
1439
1554
  encoding: UTF-8
1440
1555
  string: '{"fields":{}}'
@@ -1542,7 +1657,7 @@ http_interactions:
1542
1657
  recorded_at: Fri, 22 Jul 2016 12:49:45 GMT
1543
1658
  - request:
1544
1659
  method: put
1545
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
1660
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
1546
1661
  body:
1547
1662
  encoding: UTF-8
1548
1663
  string: '{"fields":{}}'
@@ -1650,7 +1765,7 @@ http_interactions:
1650
1765
  recorded_at: Fri, 22 Jul 2016 12:49:46 GMT
1651
1766
  - request:
1652
1767
  method: put
1653
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
1768
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
1654
1769
  body:
1655
1770
  encoding: UTF-8
1656
1771
  string: '{"fields":{}}'
@@ -1758,7 +1873,7 @@ http_interactions:
1758
1873
  recorded_at: Fri, 22 Jul 2016 12:49:46 GMT
1759
1874
  - request:
1760
1875
  method: get
1761
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
1876
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
1762
1877
  body:
1763
1878
  encoding: US-ASCII
1764
1879
  string: ''
@@ -1866,7 +1981,7 @@ http_interactions:
1866
1981
  recorded_at: Fri, 22 Jul 2016 12:49:47 GMT
1867
1982
  - request:
1868
1983
  method: put
1869
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
1984
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
1870
1985
  body:
1871
1986
  encoding: UTF-8
1872
1987
  string: '{"fields":{"name":{"en-US":"Dan Brown"}}}'
@@ -1978,7 +2093,7 @@ http_interactions:
1978
2093
  recorded_at: Fri, 22 Jul 2016 12:49:48 GMT
1979
2094
  - request:
1980
2095
  method: put
1981
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
2096
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
1982
2097
  body:
1983
2098
  encoding: UTF-8
1984
2099
  string: '{"fields":{"name":{"en-US":"Dan Brown"}}}'
@@ -2090,7 +2205,7 @@ http_interactions:
2090
2205
  recorded_at: Fri, 22 Jul 2016 12:49:49 GMT
2091
2206
  - request:
2092
2207
  method: get
2093
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
2208
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
2094
2209
  body:
2095
2210
  encoding: US-ASCII
2096
2211
  string: ''
@@ -2202,7 +2317,7 @@ http_interactions:
2202
2317
  recorded_at: Fri, 22 Jul 2016 12:49:50 GMT
2203
2318
  - request:
2204
2319
  method: get
2205
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
2320
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
2206
2321
  body:
2207
2322
  encoding: US-ASCII
2208
2323
  string: ''
@@ -2310,7 +2425,7 @@ http_interactions:
2310
2425
  recorded_at: Fri, 22 Jul 2016 12:49:51 GMT
2311
2426
  - request:
2312
2427
  method: put
2313
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
2428
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
2314
2429
  body:
2315
2430
  encoding: UTF-8
2316
2431
  string: '{"fields":{"name":{"en-US":"Pablo Neruda"}}}'
@@ -2422,7 +2537,7 @@ http_interactions:
2422
2537
  recorded_at: Fri, 22 Jul 2016 12:49:52 GMT
2423
2538
  - request:
2424
2539
  method: put
2425
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
2540
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
2426
2541
  body:
2427
2542
  encoding: UTF-8
2428
2543
  string: '{"fields":{"name":{"en-US":"Pablo Neruda"}}}'
@@ -2534,7 +2649,7 @@ http_interactions:
2534
2649
  recorded_at: Fri, 22 Jul 2016 12:49:53 GMT
2535
2650
  - request:
2536
2651
  method: get
2537
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
2652
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
2538
2653
  body:
2539
2654
  encoding: US-ASCII
2540
2655
  string: ''
@@ -2646,7 +2761,7 @@ http_interactions:
2646
2761
  recorded_at: Fri, 22 Jul 2016 12:49:54 GMT
2647
2762
  - request:
2648
2763
  method: get
2649
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
2764
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
2650
2765
  body:
2651
2766
  encoding: US-ASCII
2652
2767
  string: ''
@@ -2754,7 +2869,7 @@ http_interactions:
2754
2869
  recorded_at: Fri, 22 Jul 2016 12:49:55 GMT
2755
2870
  - request:
2756
2871
  method: put
2757
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
2872
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
2758
2873
  body:
2759
2874
  encoding: UTF-8
2760
2875
  string: '{"fields":{"title":{"en-US":"Inferno"},"content":{"en-US":"Inferno
@@ -2879,7 +2994,7 @@ http_interactions:
2879
2994
  recorded_at: Fri, 22 Jul 2016 12:49:55 GMT
2880
2995
  - request:
2881
2996
  method: put
2882
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
2997
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
2883
2998
  body:
2884
2999
  encoding: UTF-8
2885
3000
  string: '{"fields":{"title":{"en-US":"Inferno"},"content":{"en-US":"Inferno
@@ -3004,7 +3119,7 @@ http_interactions:
3004
3119
  recorded_at: Fri, 22 Jul 2016 12:49:56 GMT
3005
3120
  - request:
3006
3121
  method: get
3007
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
3122
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
3008
3123
  body:
3009
3124
  encoding: US-ASCII
3010
3125
  string: ''
@@ -3128,7 +3243,7 @@ http_interactions:
3128
3243
  recorded_at: Fri, 22 Jul 2016 12:49:57 GMT
3129
3244
  - request:
3130
3245
  method: get
3131
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
3246
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
3132
3247
  body:
3133
3248
  encoding: US-ASCII
3134
3249
  string: ''
@@ -3236,7 +3351,7 @@ http_interactions:
3236
3351
  recorded_at: Fri, 22 Jul 2016 12:49:58 GMT
3237
3352
  - request:
3238
3353
  method: put
3239
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
3354
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
3240
3355
  body:
3241
3356
  encoding: UTF-8
3242
3357
  string: '{"fields":{"title":{"en-US":"Alturas de Macchu Picchu"},"content":{"en-US":"Alturas
@@ -3361,7 +3476,7 @@ http_interactions:
3361
3476
  recorded_at: Fri, 22 Jul 2016 12:49:59 GMT
3362
3477
  - request:
3363
3478
  method: put
3364
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
3479
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
3365
3480
  body:
3366
3481
  encoding: UTF-8
3367
3482
  string: '{"fields":{"title":{"en-US":"Alturas de Macchu Picchu"},"content":{"en-US":"Alturas
@@ -3486,7 +3601,7 @@ http_interactions:
3486
3601
  recorded_at: Fri, 22 Jul 2016 12:49:59 GMT
3487
3602
  - request:
3488
3603
  method: get
3489
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
3604
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
3490
3605
  body:
3491
3606
  encoding: US-ASCII
3492
3607
  string: ''
@@ -3610,7 +3725,7 @@ http_interactions:
3610
3725
  recorded_at: Fri, 22 Jul 2016 12:50:01 GMT
3611
3726
  - request:
3612
3727
  method: get
3613
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown
3728
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown
3614
3729
  body:
3615
3730
  encoding: US-ASCII
3616
3731
  string: ''
@@ -3722,7 +3837,7 @@ http_interactions:
3722
3837
  recorded_at: Fri, 22 Jul 2016 12:50:01 GMT
3723
3838
  - request:
3724
3839
  method: put
3725
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/dan_brown/published
3840
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/dan_brown/published
3726
3841
  body:
3727
3842
  encoding: US-ASCII
3728
3843
  string: ''
@@ -3847,7 +3962,7 @@ http_interactions:
3847
3962
  recorded_at: Fri, 22 Jul 2016 12:50:02 GMT
3848
3963
  - request:
3849
3964
  method: get
3850
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda
3965
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda
3851
3966
  body:
3852
3967
  encoding: US-ASCII
3853
3968
  string: ''
@@ -3959,7 +4074,7 @@ http_interactions:
3959
4074
  recorded_at: Fri, 22 Jul 2016 12:50:04 GMT
3960
4075
  - request:
3961
4076
  method: put
3962
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/pablo_neruda/published
4077
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/pablo_neruda/published
3963
4078
  body:
3964
4079
  encoding: US-ASCII
3965
4080
  string: ''
@@ -4084,7 +4199,7 @@ http_interactions:
4084
4199
  recorded_at: Fri, 22 Jul 2016 12:50:04 GMT
4085
4200
  - request:
4086
4201
  method: get
4087
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno
4202
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno
4088
4203
  body:
4089
4204
  encoding: US-ASCII
4090
4205
  string: ''
@@ -4208,7 +4323,7 @@ http_interactions:
4208
4323
  recorded_at: Fri, 22 Jul 2016 12:50:05 GMT
4209
4324
  - request:
4210
4325
  method: put
4211
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/inferno/published
4326
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/inferno/published
4212
4327
  body:
4213
4328
  encoding: US-ASCII
4214
4329
  string: ''
@@ -4345,7 +4460,7 @@ http_interactions:
4345
4460
  recorded_at: Fri, 22 Jul 2016 12:50:07 GMT
4346
4461
  - request:
4347
4462
  method: get
4348
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas
4463
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas
4349
4464
  body:
4350
4465
  encoding: US-ASCII
4351
4466
  string: ''
@@ -4469,7 +4584,7 @@ http_interactions:
4469
4584
  recorded_at: Fri, 22 Jul 2016 12:50:07 GMT
4470
4585
  - request:
4471
4586
  method: put
4472
- uri: https://api.contentful.com/spaces/j17dhfgnz5wi/entries/alturas/published
4587
+ uri: https://api.contentful.com/spaces/j17dhfgnz5wi/environments/master/entries/alturas/published
4473
4588
  body:
4474
4589
  encoding: US-ASCII
4475
4590
  string: ''