trailer_vote-fixtures 1.3.4 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +24 -0
- data/.travis.yml +0 -16
- data/Gemfile.lock +5 -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
- 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
- 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
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json +24 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.ordered+json +31 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json +34 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json +1 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json +25 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json +25 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json +9 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json +9 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json +94 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json +40 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json +7 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json +12 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +9 -7
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json +13 -6
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json +22 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json +20 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json +25 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json +20 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json +28 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json +23 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +25 -17
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json +26 -0
- data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json +14 -0
- data/lib/trailer_vote/fixtures/version.rb +3 -1
- data/package.json +1 -1
- data/trailer_vote-fixtures.gemspec +1 -0
- metadata +28 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 854b315d5ce3ffc02e7ff59a3f2ab24b358dc4935387482707502bb407d688af
|
4
|
+
data.tar.gz: 0ab7acd2a1589a83d53680e95187868da29a986b909c9cb9c293f062439b0770
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94481ce49d8f29561c49ba27d27e39f02332c151c73728ee9492f1a33976ba7653f5fa6825e11d776398714335559c4244961f43d4cf9863328f3ee7b79edb89
|
7
|
+
data.tar.gz: 04cc8c03db0a0054d98562eacaaf7dedd161f5c5f561f37a16cfd46c7c6fb4483fea8da1f9317af1a9088dbaba7eed9e6393d9722264925785e88fde7101401f
|
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,24 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trailer_vote-fixtures (1.
|
4
|
+
trailer_vote-fixtures (1.6.2)
|
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
|
+
minitest (5.12.0)
|
12
12
|
minitest-ci (3.4.0)
|
13
13
|
minitest (>= 5.0.6)
|
14
|
-
minitest-reporters (1.3.
|
14
|
+
minitest-reporters (1.3.8)
|
15
15
|
ansi
|
16
16
|
builder
|
17
17
|
minitest (>= 5.0)
|
18
18
|
ruby-progressbar
|
19
|
-
oj (3.
|
19
|
+
oj (3.9.1)
|
20
20
|
rake (12.3.3)
|
21
|
-
ruby-progressbar (1.10.
|
21
|
+
ruby-progressbar (1.10.1)
|
22
22
|
|
23
23
|
PLATFORMS
|
24
24
|
ruby
|
File without changes
|
File without changes
|
File without changes
|
@@ -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,31 @@
|
|
1
|
+
{
|
2
|
+
"ordered_fragments": {
|
3
|
+
"_index": [
|
4
|
+
{
|
5
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/122042afb2208096af3f6214263dc6064dd58b4949521de8ad62ec13eeea3453bb30",
|
6
|
+
"q": 0.5
|
7
|
+
},
|
8
|
+
{
|
9
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220aa84e8d4c8eef78ee1e5405150dfb017134df9f313e1808053eb38c3101f1ec3",
|
10
|
+
"q": 0.5
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220cb1010010e2d90fd38b816d7e1caeb315c65787afadd6d3f91e405a7d387dd20",
|
14
|
+
"q": 0.4
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b",
|
18
|
+
"q": 0.35
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/1220af1de5ef5390795fd5e4844909df4e5d5e706831b4e5dea2035d5f50e297854f",
|
22
|
+
"q": 0.3
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/12204e6d35653e8cee2ef099825aedfeccf3fcfc090694754bd2cff4fa4a8d0d6c90",
|
26
|
+
"q": 0.25
|
27
|
+
}
|
28
|
+
],
|
29
|
+
"_links": {}
|
30
|
+
}
|
31
|
+
}
|
@@ -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 @@
|
|
1
|
+
{}
|
@@ -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,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,94 @@
|
|
1
|
+
{
|
2
|
+
"products": {
|
3
|
+
"_embedded": [
|
4
|
+
{
|
5
|
+
"name": "Mission: Impossible - Fallout",
|
6
|
+
"description": "The best intentions often come back to haunt you. MISSION: IMPOSSIBLE - FALLOUT finds Ethan Hunt (Tom Cruise) and his IMF team (Alec Baldwin, Simon Pegg, Ving Rhames) along with some familiar allies (Rebecca Ferguson, Michelle Monaghan) in a race against time after a mission gone wrong. Henry Cavill, Angela Bassett, and Vanessa Kirby also join the dynamic cast with filmmaker Christopher McQuarrie returning to the helm.",
|
7
|
+
"updated_at": "2018-09-24T13:00:10.472Z",
|
8
|
+
"lock_version": 80,
|
9
|
+
"raw_data": {},
|
10
|
+
"data": {
|
11
|
+
"amc": {
|
12
|
+
"type": "movie",
|
13
|
+
"type_version": 1,
|
14
|
+
"genres": [
|
15
|
+
"ACTION"
|
16
|
+
],
|
17
|
+
"mpaa_rating": "PG13",
|
18
|
+
"run_time": 147,
|
19
|
+
"release_date": "2018-07-27T00:00:00Z",
|
20
|
+
"default_image_url": "https://cdn.amctheatres.com/production/2/movies/52500/52452/PosterDynamic/43930.jpg",
|
21
|
+
"name": "Mission: Impossible - Fallout",
|
22
|
+
"description": "The best intentions often come back to haunt you. MISSION: IMPOSSIBLE - FALLOUT finds Ethan Hunt (Tom Cruise) and his IMF team (Alec Baldwin, Simon Pegg, Ving Rhames) along with some familiar allies (Rebecca Ferguson, Michelle Monaghan) in a race against time after a mission gone wrong. Henry Cavill, Angela Bassett, and Vanessa Kirby also join the dynamic cast with filmmaker Christopher McQuarrie returning to the helm."
|
23
|
+
},
|
24
|
+
"tmdb": {
|
25
|
+
"type": "movie",
|
26
|
+
"type_version": 1,
|
27
|
+
"genres": [
|
28
|
+
"adventure",
|
29
|
+
"action",
|
30
|
+
"thriller"
|
31
|
+
],
|
32
|
+
"mpaa_rating": {
|
33
|
+
"iso_3166_1": "US",
|
34
|
+
"release_dates": [
|
35
|
+
{
|
36
|
+
"note": "",
|
37
|
+
"type": 3,
|
38
|
+
"iso_639_1": "",
|
39
|
+
"release_date": "2018-07-27T00:00:00.000Z",
|
40
|
+
"certification": "PG-13"
|
41
|
+
}
|
42
|
+
]
|
43
|
+
},
|
44
|
+
"run_time": 147,
|
45
|
+
"release_date": "2018-07-25",
|
46
|
+
"default_image_url": "https://image.tmdb.org/t/p/original/AkJQpZp9WoNdj7pLYSj1L0RcMMN.jpg",
|
47
|
+
"name": "Mission: Impossible - Fallout",
|
48
|
+
"description": "When an IMF mission ends badly, the world is faced with dire consequences. As Ethan Hunt takes it upon himself to fulfill his original briefing, the CIA begin to question his loyalty and his motives. The IMF team find themselves in a race against time, hunted by assassins while trying to prevent a global catastrophe."
|
49
|
+
}
|
50
|
+
},
|
51
|
+
"product_identifiers": [
|
52
|
+
{
|
53
|
+
"authority": "amc",
|
54
|
+
"identifier": "52452"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"authority": "movie:year:title",
|
58
|
+
"identifier": "movie:2018:mission impossible fallout"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"authority": "wwm",
|
62
|
+
"identifier": "266130"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"authority": "imdb",
|
66
|
+
"identifier": "tt4912910"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"authority": "tmdb",
|
70
|
+
"identifier": "353081"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"_links": {
|
74
|
+
"self": {
|
75
|
+
"href": "https://fake.trailervote.com:/api/products/d83ae70a-6dcd-49bc-bbe5-066fd0db2fd3"
|
76
|
+
},
|
77
|
+
"images": {
|
78
|
+
"href": "https://fake.trailervote.com:/api/products/d83ae70a-6dcd-49bc-bbe5-066fd0db2fd3/images"
|
79
|
+
},
|
80
|
+
"videos": {
|
81
|
+
"href": "https://fake.trailervote.com:/api/products/d83ae70a-6dcd-49bc-bbe5-066fd0db2fd3/videos"
|
82
|
+
},
|
83
|
+
"places": {
|
84
|
+
"href": "https://fake.trailervote.com:/api/products/d83ae70a-6dcd-49bc-bbe5-066fd0db2fd3/places"
|
85
|
+
},
|
86
|
+
"audio_fragments": {
|
87
|
+
"href": "https://fake.trailervote.com:/api/products/d83ae70a-6dcd-49bc-bbe5-066fd0db2fd3/audio-fragments"
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"_links": {}
|
93
|
+
}
|
94
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"product_videos": {
|
3
|
+
"_embedded": [
|
4
|
+
{
|
5
|
+
"updated_at": "2018-07-12T15:00:34.400Z",
|
6
|
+
"source_url": "https://s3.amazonaws.com/fake.trailervote.com/122033fca604e26e1098deede7342b1b2e759ad94f2597ad39e0a1c9b56bd714b85d",
|
7
|
+
"data": {
|
8
|
+
"as": "youtube",
|
9
|
+
"tmdb": {
|
10
|
+
"id": "5a96a57c0e0a26544a008cf9",
|
11
|
+
"key": "xjDjIWPwcPU",
|
12
|
+
"name": "Official Trailer",
|
13
|
+
"site": "YouTube",
|
14
|
+
"size": 1080,
|
15
|
+
"type": "Trailer",
|
16
|
+
"iso_639_1": "en",
|
17
|
+
"iso_3166_1": "US"
|
18
|
+
},
|
19
|
+
"type": "Trailer",
|
20
|
+
"processed": true,
|
21
|
+
"transcoded": false
|
22
|
+
},
|
23
|
+
"identifier": "122033fca604e26e1098deede7342b1b2e759ad94f2597ad39e0a1c9b56bd714b85d",
|
24
|
+
"_links": {
|
25
|
+
"self": {
|
26
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/videos/199ed210-2aa7-4fdc-aad7-031c9521fdcb",
|
27
|
+
"type": "Trailer"
|
28
|
+
},
|
29
|
+
"audio_fragment": {
|
30
|
+
"content_digest": "122033fca604e26e1098deede7342b1b2e759ad94f2597ad39e0a1c9b56bd714b85d",
|
31
|
+
"href": "https://fake.trailervote.com:/api/audio-fragments/122033fca604e26e1098deede7342b1b2e759ad94f2597ad39e0a1c9b56bd714b85d"
|
32
|
+
},
|
33
|
+
"direct": {
|
34
|
+
"href": "https://s3.amazonaws.com/fake.trailervote.com/122033fca604e26e1098deede7342b1b2e759ad94f2597ad39e0a1c9b56bd714b85d"
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
]
|
39
|
+
}
|
40
|
+
}
|
@@ -1,9 +1,11 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"action": {
|
5
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"message": "TrailerVote wants your attention",
|
9
|
+
"schedule_at": "2018-12-08T00:00:00Z"
|
10
|
+
}
|
9
11
|
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json
CHANGED
@@ -1,9 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"push_campaign_trivial": {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
"translations": {
|
4
|
+
"en-US": "TrailerVote wants your attention"
|
5
|
+
},
|
6
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
7
|
+
"_links": {
|
8
|
+
"product_asset": {
|
9
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
10
|
+
},
|
11
|
+
"action": {
|
12
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
9
16
|
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"action": {
|
5
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
6
|
+
}
|
7
|
+
},
|
8
|
+
"message": "TrailerVote wants your attention",
|
9
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
10
|
+
"filter": {
|
11
|
+
"platform": "ios",
|
12
|
+
"region": "nl",
|
13
|
+
"language": "NL",
|
14
|
+
"timezone": "Europe/Amsterdam",
|
15
|
+
"vote_source": null,
|
16
|
+
"purchased": false,
|
17
|
+
"vote_value": null,
|
18
|
+
"vote_from": null,
|
19
|
+
"vote_until": null
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"translations": {
|
4
|
+
"en-US": "TrailerVote wants your attention"
|
5
|
+
},
|
6
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
7
|
+
"_links": {
|
8
|
+
"product_asset": {
|
9
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
10
|
+
},
|
11
|
+
"action": {
|
12
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"filter": {
|
16
|
+
"platform": "ios",
|
17
|
+
"region": null
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"self": {
|
5
|
+
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
+
},
|
7
|
+
"action": {
|
8
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
+
}
|
10
|
+
},
|
11
|
+
"message": "TrailerVote wants your attention",
|
12
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
13
|
+
"filter": {
|
14
|
+
"platform": "ios",
|
15
|
+
"region": "nl",
|
16
|
+
"language": "NL",
|
17
|
+
"timezone": "Europe/Amsterdam",
|
18
|
+
"vote_source": null,
|
19
|
+
"purchased": false,
|
20
|
+
"vote_value": null,
|
21
|
+
"vote_from": null,
|
22
|
+
"vote_until": "2020-12-08T00:00:00Z"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"translations": {
|
4
|
+
"en-US": "TrailerVote wants your attention"
|
5
|
+
},
|
6
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
7
|
+
"_links": {
|
8
|
+
"product_asset": {
|
9
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
10
|
+
},
|
11
|
+
"action": {
|
12
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
"filter": {
|
16
|
+
"platform": "ios",
|
17
|
+
"region": null
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"_links": {
|
4
|
+
"self": {
|
5
|
+
"href": "https://fake.dev.trailervote.com/trailervote-api/admin/push_trivial_campaigns/9664ef93-5c38-4409-9652-f0c51c61377a"
|
6
|
+
},
|
7
|
+
"action": {
|
8
|
+
"href": "http://cinema1.dev.trailervote.com/venom.php"
|
9
|
+
},
|
10
|
+
"rich_media": {
|
11
|
+
"href": "https://link.some.com/image.png"
|
12
|
+
}
|
13
|
+
},
|
14
|
+
"message": "TrailerVote wants your attention",
|
15
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
16
|
+
"filter": {
|
17
|
+
"platform": "ios",
|
18
|
+
"region": "nl",
|
19
|
+
"language": "NL",
|
20
|
+
"timezone": "Europe/Amsterdam",
|
21
|
+
"vote_source": null,
|
22
|
+
"purchased": false,
|
23
|
+
"vote_value": null,
|
24
|
+
"vote_from": null,
|
25
|
+
"vote_until": null
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
{
|
2
|
+
"push_campaign_trivial": {
|
3
|
+
"translations": {
|
4
|
+
"en-US": "TrailerVote wants your attention"
|
5
|
+
},
|
6
|
+
"schedule_at": "2018-12-08T00:00:00Z",
|
7
|
+
"_links": {
|
8
|
+
"product": {
|
9
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8"
|
10
|
+
},
|
11
|
+
"action": {
|
12
|
+
"href": "https://fake.trailervote.com:/api/products/a3f29b79-7f09-4d99-b5d8-aae91a563eb8/images/ed236e4b-f457-49d5-978f-ed84953eb004"
|
13
|
+
},
|
14
|
+
"rich_media": {
|
15
|
+
"href": "https://link.some.com/image.png"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"filter": {
|
19
|
+
"platform": "ios",
|
20
|
+
"region": null
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
@@ -1,18 +1,26 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
}
|
2
|
+
"push_manifest": {
|
3
|
+
"campaigns": [
|
4
|
+
{
|
5
|
+
"_links": {
|
6
|
+
"audio_fragment": {
|
7
|
+
"href": "https://example.org/audio_fragments/12134123"
|
8
|
+
},
|
9
|
+
"campaign": {
|
10
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"_links": {
|
16
|
+
"audio_fragment": {
|
17
|
+
"href": "https://example.org/audio_fragments/12134124"
|
18
|
+
},
|
19
|
+
"campaign": {
|
20
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{
|
2
|
+
"push_manifest": {
|
3
|
+
"campaigns": [
|
4
|
+
{
|
5
|
+
"_links": {
|
6
|
+
"audio_fragment": {
|
7
|
+
"href": "https://example.org/audio_fragments/12134123"
|
8
|
+
},
|
9
|
+
"campaign": {
|
10
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
11
|
+
}
|
12
|
+
}
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"_links": {
|
16
|
+
"product": {
|
17
|
+
"href": "https://example.org/product/12134124"
|
18
|
+
},
|
19
|
+
"campaign": {
|
20
|
+
"href": "http://cinema1.dev.trailervote.com/campaign_12134123.php"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
]
|
25
|
+
}
|
26
|
+
}
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailer_vote-fixtures
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derk-Jan Karrenbeld
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -101,6 +101,7 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
+
- ".editorconfig"
|
104
105
|
- ".gitignore"
|
105
106
|
- ".npmignore"
|
106
107
|
- ".travis.yml"
|
@@ -111,12 +112,18 @@ files:
|
|
111
112
|
- bin/console
|
112
113
|
- bin/setup
|
113
114
|
- lib/trailer_vote/fixtures.rb
|
115
|
+
- lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product.image.v1.collection+json
|
116
|
+
- lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product.v2.create+json
|
117
|
+
- lib/trailer_vote/fixtures/application/temp/ application/vnd.trailervote.product_place_link.v1.collection+json
|
114
118
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1+json
|
119
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json
|
115
120
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.index+json
|
121
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.ordered+json
|
116
122
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.carousel.v1+json
|
117
123
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.client_configuration.v1+json
|
118
124
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v1+json
|
119
125
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v2+json
|
126
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json
|
120
127
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.errors.v1+json
|
121
128
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1+json
|
122
129
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.collection+json
|
@@ -127,23 +134,40 @@ files:
|
|
127
134
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.create+json
|
128
135
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.index+json
|
129
136
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1+json
|
137
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json
|
130
138
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1+json
|
131
139
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2+json
|
132
140
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3+json
|
141
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json
|
142
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json
|
143
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json
|
133
144
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1+json
|
145
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json
|
134
146
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.index+json
|
135
147
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.lookup.v1+json
|
136
148
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1+json
|
137
149
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.index+json
|
138
150
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2+json
|
151
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json
|
139
152
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.index+json
|
140
153
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1+json
|
154
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json
|
155
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json
|
141
156
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.index+json
|
157
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json
|
142
158
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.products_listing.v1+json
|
143
159
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json
|
144
160
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json
|
161
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json
|
162
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json
|
163
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json
|
164
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json
|
165
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json
|
166
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json
|
145
167
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json
|
168
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json
|
146
169
|
- lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v1+json
|
170
|
+
- lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json
|
147
171
|
- lib/trailer_vote/fixtures/index.js
|
148
172
|
- lib/trailer_vote/fixtures/main.mjs
|
149
173
|
- lib/trailer_vote/fixtures/version.rb
|
@@ -162,15 +186,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
186
|
requirements:
|
163
187
|
- - ">="
|
164
188
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
189
|
+
version: 2.5.1
|
166
190
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
191
|
requirements:
|
168
192
|
- - ">="
|
169
193
|
- !ruby/object:Gem::Version
|
170
194
|
version: '0'
|
171
195
|
requirements: []
|
172
|
-
|
173
|
-
rubygems_version: 2.7.6.2
|
196
|
+
rubygems_version: 3.0.2
|
174
197
|
signing_key:
|
175
198
|
specification_version: 4
|
176
199
|
summary: Fixtures for TrailerVote media types, api calls, and so forth
|