trailer_vote-fixtures 1.5.0 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +24 -0
  3. data/.travis.yml +0 -16
  4. data/Gemfile.lock +6 -6
  5. data/lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product.image.v1.collection+json b/data/lib/trailer_vote/fixtures/application/temp/ → application/vnd.trailervote.product.image.v1.collection+json +0 -0
  6. data/lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product.v2.create+json b/data/lib/trailer_vote/fixtures/application/temp/ → application/vnd.trailervote.product.v2.create+json +0 -0
  7. data/lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product_place_link.v1.collection+json b/data/lib/trailer_vote/fixtures/application/temp/ → application/vnd.trailervote.product_place_link.v1.collection+json +0 -0
  8. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json +24 -0
  9. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json +34 -0
  10. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v4+json +42 -0
  11. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json +1 -0
  12. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.collection+json +23 -0
  13. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.create+json +1 -0
  14. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.index+json +9 -0
  15. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.collection+json +23 -0
  16. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.create+json +7 -0
  17. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.index+json +9 -0
  18. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.collection+json +1 -0
  19. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.create+json +1 -0
  20. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.index+json +9 -0
  21. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json +25 -0
  22. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.collection+json +29 -0
  23. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json +25 -0
  24. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json +9 -0
  25. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.collection+json +72 -0
  26. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json +9 -0
  27. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.collection+json +93 -0
  28. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.create+json +58 -0
  29. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json +94 -0
  30. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.create+json +67 -0
  31. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json +40 -0
  32. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json +7 -0
  33. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json +12 -0
  34. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.collection+json +1 -0
  35. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.create+json +3 -0
  36. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.index+json +1 -0
  37. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +9 -7
  38. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json +13 -6
  39. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json +20 -18
  40. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json +20 -0
  41. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json +25 -0
  42. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json +20 -0
  43. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json +28 -0
  44. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json +23 -0
  45. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +25 -17
  46. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json +26 -0
  47. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json +14 -0
  48. data/lib/trailer_vote/fixtures/version.rb +1 -1
  49. data/package.json +1 -1
  50. data/trailer_vote-fixtures.gemspec +2 -1
  51. metadata +46 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9298f25995209d2f74de7a5af140a5edaa7bf8286c771b0a4506dc9376087a31
4
- data.tar.gz: 787c68a4caad0add2b44a972bf1dcd3e19d215db7bc5512ee2b4384241c132cb
3
+ metadata.gz: 1a01da54912151dc879fd582f7eba10b8cb33f850d7fe176aff6ca3add553fc7
4
+ data.tar.gz: 26cfff87014095cdaa129fc45e9296a21d0dec3d308376ebeeec0446745998e0
5
5
  SHA512:
6
- metadata.gz: a7f9fc6f5526e8462e95be44d1d2668522ba291c64d8827c7a918e681c601c3d6118f69374f66eaac5c135cbf22e60d180c55bd3fcdd4c54c61c38e64ea2e11a
7
- data.tar.gz: c0c13cc1f70993307b0b71fb9b582ec231d90e12b93cac0204a08eae8c89f662e4781c776f55b1cee0f5f5a4914490c092750b598c649c4d3df30e7b67103606
6
+ metadata.gz: 6226417105bae951f13a6ad524a64451cd2da4e057b14ce2ebb8fe08b57075587ece6165c167833088ab5ab2475da2491ca50dfb9120103e1e8208430b25b00c
7
+ data.tar.gz: '079adbad69d230615c789f4019fe29652568efff1f723915a3c6a631acf041c07c3231f7a55cdad046f74dd673474b65370c29d4682a269e317b374a6ca58ee2'
data/.editorconfig ADDED
@@ -0,0 +1,24 @@
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+
8
+ [*]
9
+
10
+ # Change these settings to your own preference
11
+ indent_style = space
12
+ indent_size = 2
13
+
14
+ # We recommend you to keep these unchanged
15
+ end_of_line = lf
16
+ charset = utf-8
17
+ trim_trailing_whitespace = true
18
+ insert_final_newline = true
19
+
20
+ [*.md]
21
+ trim_trailing_whitespace = false
22
+
23
+ [Makefile]
24
+ indent_style = tab
data/.travis.yml CHANGED
@@ -1,16 +1,6 @@
1
1
  sudo: false
2
2
  matrix:
3
3
  include:
4
- - language: ruby
5
- cache: bundler
6
- rvm: 2.4
7
- before_install:
8
- - gem update --system
9
- - gem install bundler -v 2.0.1
10
- - gem --version
11
- install:
12
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
13
-
14
4
  - language: ruby
15
5
  cache: bundler
16
6
  rvm: 2.5
@@ -55,10 +45,6 @@ matrix:
55
45
  cache: yarn
56
46
  node_js: node
57
47
 
58
- - language: node_js
59
- cache: yarn
60
- node_js: iojs
61
-
62
48
  - language: node_js
63
49
  cache: yarn
64
50
  node_js: lts/*
@@ -70,5 +56,3 @@ matrix:
70
56
  rvm: rbx-3
71
57
  - language: ruby
72
58
  rvm: 2.6
73
- - language: node_js
74
- node_js: iojs
data/Gemfile.lock CHANGED
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-fixtures (1.5.0)
4
+ trailer_vote-fixtures (1.6.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ansi (1.5.0)
10
10
  builder (3.2.3)
11
- minitest (5.11.3)
11
+ minitest (5.12.2)
12
12
  minitest-ci (3.4.0)
13
13
  minitest (>= 5.0.6)
14
- minitest-reporters (1.3.8)
14
+ minitest-reporters (1.4.0)
15
15
  ansi
16
16
  builder
17
17
  minitest (>= 5.0)
18
18
  ruby-progressbar
19
- oj (3.9.0)
20
- rake (12.3.3)
19
+ oj (3.9.2)
20
+ rake (13.0.0)
21
21
  ruby-progressbar (1.10.1)
22
22
 
23
23
  PLATFORMS
@@ -30,7 +30,7 @@ DEPENDENCIES
30
30
  minitest-ci (~> 3.4)
31
31
  minitest-reporters (~> 1.3)
32
32
  oj (~> 3.6)
33
- rake (~> 12.3)
33
+ rake (~> 13.0)
34
34
  trailer_vote-fixtures!
35
35
 
36
36
  BUNDLED WITH
@@ -0,0 +1,24 @@
1
+ {
2
+ "audio_fragments": {
3
+ "content_addressable": "Content_Addressable String",
4
+ "expires_at": "2029-10-02T11:41:02+0000",
5
+ "_embedded": [],
6
+ "_links": {
7
+ "self": {
8
+ "href": "www.self.com"
9
+ },
10
+ "product": {
11
+ "href": "www.self.com"
12
+ },
13
+ "feedback": {
14
+ "href": "www.self.com"
15
+ },
16
+ "advert": {
17
+ "href": "www.self.com"
18
+ },
19
+ "direct": {
20
+ "href": "www.direct.com"
21
+ }
22
+ }
23
+ }
24
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "configuration": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "www.self_url.com"
6
+ },
7
+ "place": {
8
+ "href": "www.Place_url.com"
9
+ },
10
+ "push_manifest": {
11
+ "href": "www.push_manifest.com"
12
+ },
13
+ "products": {
14
+ "href": "www.push_manifest.com"
15
+ },
16
+ "product_lookup": {
17
+ "href": "www.product_lookup.com"
18
+ },
19
+ "persona": {
20
+ "href": "https://fake.trailervote.com:/api/personas/{uuid}/feedback",
21
+ "templated": true
22
+ },
23
+ "analytics": {
24
+ "href": "https://fake.trailervote.influxcloud.net:8086/analytics"
25
+ },
26
+ "telemetrics": {
27
+ "href": "https://fake.analytics.trailervote.com:8086/metrics"
28
+ },
29
+ "issues": {
30
+ "href": "www.url.com"
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "configuration": {
3
+ "_links": {
4
+ "self": {
5
+ "href": "www.self_url.com"
6
+ },
7
+ "place": {
8
+ "href": "www.Place_url.com"
9
+ },
10
+ "push_manifest": {
11
+ "href": "www.push_manifest.com"
12
+ },
13
+ "products": {
14
+ "href": "www.push_manifest.com"
15
+ },
16
+ "product_lookup": {
17
+ "href": "www.product_lookup.com"
18
+ },
19
+ "persona": {
20
+ "href": "https://fake.trailervote.com:/api/personas/{uuid}/feedback",
21
+ "templated": true
22
+ },
23
+ "analytics": {
24
+ "href": "https://fake.trailervote.influxcloud.net:8086/analytics"
25
+ },
26
+ "telemetrics": {
27
+ "href": "https://fake.analytics.trailervote.com:8086/metrics"
28
+ },
29
+ "persona_config": {
30
+ "href": "https://fake.trailervote.com:/views-api/configuration/placeid/{persona}",
31
+ "templated": true
32
+ },
33
+ "issues": {
34
+ "href": "www.url.com"
35
+ }
36
+ },
37
+ "customer_config": {
38
+ "a": 2,
39
+ "key": "value"
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "places": {
3
+ "_embedded": [
4
+ {
5
+ "name": "The World",
6
+ "parent_place": null,
7
+ "expires_at": null,
8
+ "updated_at": "2018-06-06T00:48:18.195Z",
9
+ "_links": {
10
+ "self": {
11
+ "href": "https://fake.trailervote.com/api/places/23403a0a-24f7-457d-945e-c6d27e04c73f"
12
+ },
13
+ "products": {
14
+ "href": "https://fake.trailervote.com/api/places/23403a0a-24f7-457d-945e-c6d27e04c73f/products"
15
+ },
16
+ "parent": {
17
+ "href": null
18
+ }
19
+ }
20
+ }
21
+ ]
22
+ }
23
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "places": {
3
+ "_index": [
4
+ {
5
+ "href": "www.place.com"
6
+ }
7
+ ]
8
+ }
9
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "places": {
3
+ "_embedded": [
4
+ {
5
+ "name": "AMC Theatres",
6
+ "parent_place": "120660be-f9a8-49f7-9a4e-b140ea0a16d5",
7
+ "expires_at": null,
8
+ "updated_at": "2018-05-23T02:59:45.903Z",
9
+ "_links": {
10
+ "self": {
11
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650"
12
+ },
13
+ "products_archive": {
14
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/products"
15
+ },
16
+ "parent": {
17
+ "href": "https://fake.trailervote.com:/api/places/120660be-f9a8-49f7-9a4e-b140ea0a16d5"
18
+ }
19
+ }
20
+ }
21
+ ]
22
+ }
23
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "place": {
3
+ "name": "AMC Theatres",
4
+ "parent_place": "120660be-f9a8-49f7-9a4e-b140ea0a16d5",
5
+ "expires_at": null
6
+ }
7
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "places": {
3
+ "_index": [
4
+ {
5
+ "href": "www.place.com"
6
+ }
7
+ ]
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "places": {
3
+ "_index": [
4
+ {
5
+ "href": "www.place.com"
6
+ }
7
+ ]
8
+ }
9
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "place": {
3
+ "name": "AMC Theatres",
4
+ "parent_place": "120660be-f9a8-49f7-9a4e-b140ea0a16d5",
5
+ "expires_at": null,
6
+ "updated_at": "2018-05-23T02:59:45.903Z",
7
+ "_links": {
8
+ "self": {
9
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650"
10
+ },
11
+ "products_archive": {
12
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/products"
13
+ },
14
+ "fragments_archive": {
15
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/audio_fragments"
16
+ },
17
+ "parent": {
18
+ "href": "https://fake.trailervote.com:/api/places/120660be-f9a8-49f7-9a4e-b140ea0a16d5"
19
+ },
20
+ "children": {
21
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/children"
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "places": {
3
+ "_embedded": [
4
+ {
5
+ "name": "AMC Theatres",
6
+ "parent_place": "120660be-f9a8-49f7-9a4e-b140ea0a16d5",
7
+ "expires_at": null,
8
+ "updated_at": "2018-05-23T02:59:45.903Z",
9
+ "_links": {
10
+ "self": {
11
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650"
12
+ },
13
+ "products_archive": {
14
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/products"
15
+ },
16
+ "fragments_archive": {
17
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/audio_fragments"
18
+ },
19
+ "parent": {
20
+ "href": "https://fake.trailervote.com:/api/places/120660be-f9a8-49f7-9a4e-b140ea0a16d5"
21
+ },
22
+ "children": {
23
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/children"
24
+ }
25
+ }
26
+ }
27
+ ]
28
+ }
29
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "place": {
3
+ "name": "AMC Theatres",
4
+ "parent_place": "120660be-f9a8-49f7-9a4e-b140ea0a16d5",
5
+ "expires_at": null,
6
+ "updated_at": "2018-05-23T02:59:45.903Z",
7
+ "_links": {
8
+ "self": {
9
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650"
10
+ },
11
+ "products_archive": {
12
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/products"
13
+ },
14
+ "fragments_archive": {
15
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/fragments"
16
+ },
17
+ "parent": {
18
+ "href": "https://fake.trailervote.com:/api/places/120660be-f9a8-49f7-9a4e-b140ea0a16d5"
19
+ },
20
+ "children": {
21
+ "href": "https://fake.trailervote.com:/api/places/2cecb0e5-d3cb-4171-abd0-78c80d2bd650/children"
22
+ }
23
+ }
24
+ }
25
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "places": {
3
+ "_index": [
4
+ {
5
+ "href": "www.index.com"
6
+ }
7
+ ]
8
+ }
9
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "product_images": {
3
+ "_embedded": [
4
+ {
5
+ "updated_at": "2018-07-12T15:00:46.384Z",
6
+ "source_url": "https://s3.amazonaws.com/fake.trailervote.com/12207f39faf876001ae9eb95e38a6b90cd01838753fd501d094a770419ca403c681e",
7
+ "data": {
8
+ "tmdb": {
9
+ "width": 3840,
10
+ "height": 2160,
11
+ "file_path": "/6ELJEzQJ3Y45HczvreC3dg0GV5R.jpg",
12
+ "iso_639_1": null,
13
+ "vote_count": 15,
14
+ "aspect_ratio": 1.777777777777778,
15
+ "vote_average": 5.458
16
+ },
17
+ "type": "backdrop",
18
+ "processed": true
19
+ },
20
+ "identifier": "1220be5d093b9455e054c2afaa8c597b9e7daaf629777309d6541c0f51e567512d01",
21
+ "_links": {
22
+ "self": {
23
+ "href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004",
24
+ "type": "backdrop"
25
+ },
26
+ "original": {
27
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/12207f39faf876001ae9eb95e38a6b90cd01838753fd501d094a770419ca403c681e",
28
+ "content_digest": "12207f39faf876001ae9eb95e38a6b90cd01838753fd501d094a770419ca403c681e",
29
+ "width": 3840,
30
+ "height": 2160
31
+ },
32
+ "thumbnail": {
33
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/1220559187153b45e8f8c7656ae1d7e13910aa70a59c056f17fb02be5664175d2304",
34
+ "content_digest": "1220559187153b45e8f8c7656ae1d7e13910aa70a59c056f17fb02be5664175d2304",
35
+ "width": 150,
36
+ "height": 150
37
+ },
38
+ "xlarge": {
39
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/12204cd63cec9c9f4baf234963a64eb5606e7214f395b338ed60ea6bba4244c90beb",
40
+ "content_digest": "12204cd63cec9c9f4baf234963a64eb5606e7214f395b338ed60ea6bba4244c90beb",
41
+ "width": 1600,
42
+ "height": 900
43
+ },
44
+ "large": {
45
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/1220dfec7077810eb20b51545240880418124daabb694af2e6e7f075101c9724b38f",
46
+ "content_digest": "1220dfec7077810eb20b51545240880418124daabb694af2e6e7f075101c9724b38f",
47
+ "width": 1024,
48
+ "height": 576
49
+ },
50
+ "medium": {
51
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/12206b6cd43ffb8209579f6d25556ac470deec9a354fcdfe29e2d8781619cf5308d4",
52
+ "content_digest": "12206b6cd43ffb8209579f6d25556ac470deec9a354fcdfe29e2d8781619cf5308d4",
53
+ "width": 960,
54
+ "height": 540
55
+ },
56
+ "small": {
57
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/1220ed693d66ff7caa5f96b6ac633f8d475721cbfb15b5fa7b95d5c558017df71bb9",
58
+ "content_digest": "1220ed693d66ff7caa5f96b6ac633f8d475721cbfb15b5fa7b95d5c558017df71bb9",
59
+ "width": 640,
60
+ "height": 360
61
+ },
62
+ "xsmall": {
63
+ "href": "https://s3.amazonaws.com/fake.trailervote.com/1220d526c82cc435a00682fb712fa43150f2555f3ac875e848f1a705708f81219712",
64
+ "content_digest": "1220d526c82cc435a00682fb712fa43150f2555f3ac875e848f1a705708f81219712",
65
+ "width": 320,
66
+ "height": 180
67
+ }
68
+ }
69
+ }
70
+ ]
71
+ }
72
+ }