trailer_vote-fixtures 1.2.0 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +12 -12
  3. data/.npmignore +25 -25
  4. data/.travis.yml +69 -69
  5. data/Gemfile +6 -6
  6. data/Gemfile.lock +5 -5
  7. data/README.md +9 -9
  8. data/Rakefile +10 -10
  9. data/bin/console +14 -14
  10. data/bin/setup +8 -8
  11. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1+json +23 -23
  12. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.index+json +25 -25
  13. data/lib/trailer_vote/fixtures/application/vnd.trailervote.carousel.v1+json +9223 -9223
  14. data/lib/trailer_vote/fixtures/application/vnd.trailervote.client_configuration.v1+json +6 -6
  15. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v1+json +23 -23
  16. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v2+json +31 -31
  17. data/lib/trailer_vote/fixtures/application/vnd.trailervote.errors.v1+json +8 -8
  18. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1+json +17 -17
  19. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.collection+json +22 -22
  20. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.create+json +6 -6
  21. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback_listing.v1+json +63 -63
  22. data/lib/trailer_vote/fixtures/application/vnd.trailervote.interactive_player.v1+json +19 -19
  23. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1+json +21 -21
  24. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.create+json +15 -15
  25. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.index+json +1162 -1162
  26. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1+json +13 -13
  27. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1+json +19 -19
  28. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2+json +19 -19
  29. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1+json +68 -68
  30. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.index+json +19 -19
  31. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.lookup.v1+json +6 -6
  32. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1+json +89 -89
  33. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.index+json +2821 -2821
  34. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2+json +97 -97
  35. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.index+json +2821 -2821
  36. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1+json +36 -36
  37. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.index+json +39 -39
  38. data/lib/trailer_vote/fixtures/application/vnd.trailervote.products_listing.v1+json +14318 -14318
  39. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +9 -0
  40. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +18 -0
  41. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v1+json +538 -538
  42. data/lib/trailer_vote/fixtures/index.js +3 -3
  43. data/lib/trailer_vote/fixtures/main.mjs +9 -9
  44. data/lib/trailer_vote/fixtures/version.rb +5 -5
  45. data/lib/trailer_vote/fixtures.rb +15 -15
  46. data/package.json +17 -17
  47. data/ruby/README.md +37 -37
  48. data/trailer_vote-fixtures.gemspec +33 -33
  49. data/yarn.lock +33 -33
  50. metadata +5 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d06ce357f42d85bd31ad7ad41316351efd40dc3aff8dd16c637eafbd4ed2eaa
4
- data.tar.gz: 818513cfbf5fce0c5ed1b6cd54090afe8da7462dd99f0b28cc79eb7e5315d2f1
3
+ metadata.gz: c1673e6157f21f07a964659a9c71ba288bec9b4e023d7f4cf57bdb5bfef3b8a5
4
+ data.tar.gz: 51cdd00cf5a22ffc5b14994acdac34e0a522b599936edaf7d0d55eb303b14f65
5
5
  SHA512:
6
- metadata.gz: b143247caf31c4d5eb8cc0742727f4df6d3fba57e288a0819c64a1e46d259c2e5802f154198d5dfeeddf1adbe0a1be26225e110045bdc59054cdba44a92557f7
7
- data.tar.gz: dccc9c65a9720717c4d4790ff3912ea3aebd5064998c15dcc9f519fead8aa06cf9545a183ff3fedd916ba80f42f94db6e0d03da75cfca312769ad210fb516527
6
+ metadata.gz: 3bff744f138e2b75d3ad63cb8cdd8bfeb0df131f53d0ad237dea47c14902582b6a71ffb4b13d9ecc2caa2ec0d6983866c8dfb913204c7320a571d7b6fa62e83a
7
+ data.tar.gz: 6a56c9b35a4c1144d209969f12643b16f276494078c65a8c3b35a0aeb1fff71e5e74c1d80bdda85a19b04c7022cc3d0ddfdfd2bf6339ac473d4fea9393d0a7ef
data/.gitignore CHANGED
@@ -1,12 +1,12 @@
1
- # Ruby
2
- /.bundle/
3
- /.yardoc
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
-
11
- # JavaScript
12
- /node_modules/
1
+ # Ruby
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+
11
+ # JavaScript
12
+ /node_modules/
data/.npmignore CHANGED
@@ -1,25 +1,25 @@
1
- # Ruby
2
- /.bundle/
3
- /.yardoc
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- /bin/
11
- /test/
12
- /lib/trailer_vote/fixtures.rb
13
- /lib/trailer_vote/fixtures/version.rb
14
- **/*.rb
15
- /ruby/
16
- .travis.yml
17
- Gemfile
18
- Gemfile.lock
19
- Rakefile
20
- trailer_vote-fixtures.gemspec
21
-
22
- # JavaScript
23
- /node_modules/
24
-
25
-
1
+ # Ruby
2
+ /.bundle/
3
+ /.yardoc
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ /bin/
11
+ /test/
12
+ /lib/trailer_vote/fixtures.rb
13
+ /lib/trailer_vote/fixtures/version.rb
14
+ **/*.rb
15
+ /ruby/
16
+ .travis.yml
17
+ Gemfile
18
+ Gemfile.lock
19
+ Rakefile
20
+ trailer_vote-fixtures.gemspec
21
+
22
+ # JavaScript
23
+ /node_modules/
24
+
25
+
data/.travis.yml CHANGED
@@ -1,69 +1,69 @@
1
- sudo: false
2
- matrix:
3
- include:
4
- - language: ruby
5
- cache: bundler
6
- rvm: 2.4
7
- before_install:
8
- - gem update --system
9
- - gem --version
10
- install:
11
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
12
-
13
- - language: ruby
14
- cache: bundler
15
- rvm: 2.5
16
- before_install:
17
- - gem update --system
18
- - gem --version
19
- install:
20
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
21
-
22
- - language: ruby
23
- cache: bundler
24
- rvm: 2.6
25
- before_install:
26
- - gem update --system
27
- - gem --version
28
- install:
29
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
30
-
31
- - language: ruby
32
- cache: bundler
33
- rvm: rbx-3
34
- before_install:
35
- - gem update --system
36
- - gem --version
37
- install:
38
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
39
-
40
- - language: ruby
41
- cache: bundler
42
- rvm: ruby-head
43
- before_install:
44
- - gem update --system
45
- - gem --version
46
- install:
47
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
48
-
49
- - language: node_js
50
- cache: yarn
51
- node_js: node
52
-
53
- - language: node_js
54
- cache: yarn
55
- node_js: iojs
56
-
57
- - language: node_js
58
- cache: yarn
59
- node_js: lts/*
60
-
61
- allow_failures:
62
- - language: ruby
63
- rvm: ruby-head
64
- - language: ruby
65
- rvm: rbx-3
66
- - language: ruby
67
- rvm: 2.6
68
- - language: node_js
69
- node_js: iojs
1
+ sudo: false
2
+ matrix:
3
+ include:
4
+ - language: ruby
5
+ cache: bundler
6
+ rvm: 2.4
7
+ before_install:
8
+ - gem update --system
9
+ - gem --version
10
+ install:
11
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
12
+
13
+ - language: ruby
14
+ cache: bundler
15
+ rvm: 2.5
16
+ before_install:
17
+ - gem update --system
18
+ - gem --version
19
+ install:
20
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
21
+
22
+ - language: ruby
23
+ cache: bundler
24
+ rvm: 2.6
25
+ before_install:
26
+ - gem update --system
27
+ - gem --version
28
+ install:
29
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
30
+
31
+ - language: ruby
32
+ cache: bundler
33
+ rvm: rbx-3
34
+ before_install:
35
+ - gem update --system
36
+ - gem --version
37
+ install:
38
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
39
+
40
+ - language: ruby
41
+ cache: bundler
42
+ rvm: ruby-head
43
+ before_install:
44
+ - gem update --system
45
+ - gem --version
46
+ install:
47
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
48
+
49
+ - language: node_js
50
+ cache: yarn
51
+ node_js: node
52
+
53
+ - language: node_js
54
+ cache: yarn
55
+ node_js: iojs
56
+
57
+ - language: node_js
58
+ cache: yarn
59
+ node_js: lts/*
60
+
61
+ allow_failures:
62
+ - language: ruby
63
+ rvm: ruby-head
64
+ - language: ruby
65
+ rvm: rbx-3
66
+ - language: ruby
67
+ rvm: 2.6
68
+ - language: node_js
69
+ node_js: iojs
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
- source 'https://rubygems.org'
2
-
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
- # Specify your gem's dependencies in trailer_vote-fixtures.gemspec
6
- gemspec
1
+ source 'https://rubygems.org'
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in trailer_vote-fixtures.gemspec
6
+ gemspec
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-fixtures (1.2.0)
4
+ trailer_vote-fixtures (1.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -11,13 +11,13 @@ GEM
11
11
  minitest (5.11.3)
12
12
  minitest-ci (3.4.0)
13
13
  minitest (>= 5.0.6)
14
- minitest-reporters (1.3.5)
14
+ minitest-reporters (1.3.6)
15
15
  ansi
16
16
  builder
17
17
  minitest (>= 5.0)
18
18
  ruby-progressbar
19
- oj (3.6.12)
20
- rake (12.3.1)
19
+ oj (3.7.9)
20
+ rake (12.3.2)
21
21
  ruby-progressbar (1.10.0)
22
22
 
23
23
  PLATFORMS
@@ -34,4 +34,4 @@ DEPENDENCIES
34
34
  trailer_vote-fixtures!
35
35
 
36
36
  BUNDLED WITH
37
- 1.16.6
37
+ 1.17.3
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # TrailerVote Fixtures
2
- [![Build Status](https://travis-ci.com/TrailerVote/trailervote-fixtures.svg?branch=master)](https://travis-ci.com/TrailerVote/trailervote-fixtures)
3
-
4
- Packages that provide fixtures for defined mediatypes. This is a monorepo holding packages for several ecosystems and languages.
5
-
6
- | language | package | latest | install |
7
- |----------|---------|--------|---------|
8
- | ruby | [trailer_vote-fixtures](./ruby) | [![Gem Version](https://badge.fury.io/rb/trailer_vote-fixtures.svg)](https://badge.fury.io/rb/trailer_vote-fixtures) | `gem install trailer_vote-fixtures` |
9
- | javascript | [@trailervote/fixtures](./javascript) | [![NPM Package Version](https://badge.fury.io/js/@trailervote%2Ffixtures.svg)](https://npmjs.org/package/@trailervote/fixtures) | `yarn add @trailervote/fixtures` |
1
+ # TrailerVote Fixtures
2
+ [![Build Status](https://travis-ci.com/TrailerVote/trailervote-fixtures.svg?branch=master)](https://travis-ci.com/TrailerVote/trailervote-fixtures)
3
+
4
+ Packages that provide fixtures for defined mediatypes. This is a monorepo holding packages for several ecosystems and languages.
5
+
6
+ | language | package | latest | install |
7
+ |----------|---------|--------|---------|
8
+ | ruby | [trailer_vote-fixtures](./ruby) | [![Gem Version](https://badge.fury.io/rb/trailer_vote-fixtures.svg)](https://badge.fury.io/rb/trailer_vote-fixtures) | `gem install trailer_vote-fixtures` |
9
+ | javascript | [@trailervote/fixtures](./javascript) | [![NPM Package Version](https://badge.fury.io/js/@trailervote%2Ffixtures.svg)](https://npmjs.org/package/@trailervote/fixtures) | `yarn add @trailervote/fixtures` |
data/Rakefile CHANGED
@@ -1,10 +1,10 @@
1
- require 'bundler/gem_tasks'
2
- require 'rake/testtask'
3
-
4
- Rake::TestTask.new(:test) do |t|
5
- t.libs << 'test'
6
- t.libs << 'lib'
7
- t.test_files = FileList['test/**/*_test.rb']
8
- end
9
-
10
- task :default => :test
1
+ require 'bundler/gem_tasks'
2
+ require 'rake/testtask'
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << 'test'
6
+ t.libs << 'lib'
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :default => :test
data/bin/console CHANGED
@@ -1,14 +1,14 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "trailer_vote/fixtures"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "trailer_vote/fixtures"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup CHANGED
@@ -1,8 +1,8 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -1,23 +1,23 @@
1
- {
2
- "audio_fragment": {
3
- "content_addressable": "12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b",
4
- "expires_at": null,
5
- "_links": {
6
- "self": {
7
- "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
8
- },
9
- "product": {
10
- "href": "https://fake.trailervote.com/api/products/848d8673-27c6-4d94-ba6f-f3495dfbdf21"
11
- },
12
- "feedback": {
13
- "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b/feedback"
14
- },
15
- "advert": {
16
- "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b/advert"
17
- },
18
- "direct": {
19
- "href": "https://fake.trailervote.com/uploads/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
20
- }
21
- }
22
- }
23
- }
1
+ {
2
+ "audio_fragment": {
3
+ "content_addressable": "12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b",
4
+ "expires_at": null,
5
+ "_links": {
6
+ "self": {
7
+ "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
8
+ },
9
+ "product": {
10
+ "href": "https://fake.trailervote.com/api/products/848d8673-27c6-4d94-ba6f-f3495dfbdf21"
11
+ },
12
+ "feedback": {
13
+ "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b/feedback"
14
+ },
15
+ "advert": {
16
+ "href": "https://fake.trailervote.com/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b/advert"
17
+ },
18
+ "direct": {
19
+ "href": "https://fake.trailervote.com/uploads/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
20
+ }
21
+ }
22
+ }
23
+ }
@@ -1,25 +1,25 @@
1
- {
2
- "audio_fragments": {
3
- "_index": [
4
- {
5
- "href": "https://fake.trailervote.com:/api/audio-fragments/122042afb2208096af3f6214263dc6064dd58b4949521de8ad62ec13eeea3453bb30"
6
- },
7
- {
8
- "href": "https://fake.trailervote.com:/api/audio-fragments/1220aa84e8d4c8eef78ee1e5405150dfb017134df9f313e1808053eb38c3101f1ec3"
9
- },
10
- {
11
- "href": "https://fake.trailervote.com:/api/audio-fragments/1220cb1010010e2d90fd38b816d7e1caeb315c65787afadd6d3f91e405a7d387dd20"
12
- },
13
- {
14
- "href": "https://fake.trailervote.com:/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
15
- },
16
- {
17
- "href": "https://fake.trailervote.com:/api/audio-fragments/1220af1de5ef5390795fd5e4844909df4e5d5e706831b4e5dea2035d5f50e297854f"
18
- },
19
- {
20
- "href": "https://fake.trailervote.com:/api/audio-fragments/12204e6d35653e8cee2ef099825aedfeccf3fcfc090694754bd2cff4fa4a8d0d6c90"
21
- }
22
- ],
23
- "_links": {}
24
- }
25
- }
1
+ {
2
+ "audio_fragments": {
3
+ "_index": [
4
+ {
5
+ "href": "https://fake.trailervote.com:/api/audio-fragments/122042afb2208096af3f6214263dc6064dd58b4949521de8ad62ec13eeea3453bb30"
6
+ },
7
+ {
8
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220aa84e8d4c8eef78ee1e5405150dfb017134df9f313e1808053eb38c3101f1ec3"
9
+ },
10
+ {
11
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220cb1010010e2d90fd38b816d7e1caeb315c65787afadd6d3f91e405a7d387dd20"
12
+ },
13
+ {
14
+ "href": "https://fake.trailervote.com:/api/audio-fragments/12207087101629f7058caf83da9008147de89d1cc82df9d8d8512c34726c1c32528b"
15
+ },
16
+ {
17
+ "href": "https://fake.trailervote.com:/api/audio-fragments/1220af1de5ef5390795fd5e4844909df4e5d5e706831b4e5dea2035d5f50e297854f"
18
+ },
19
+ {
20
+ "href": "https://fake.trailervote.com:/api/audio-fragments/12204e6d35653e8cee2ef099825aedfeccf3fcfc090694754bd2cff4fa4a8d0d6c90"
21
+ }
22
+ ],
23
+ "_links": {}
24
+ }
25
+ }