trailer_vote-fixtures 1.10.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +24 -24
  3. data/.gitignore +16 -16
  4. data/.npmignore +25 -25
  5. data/.travis.yml +58 -58
  6. data/Gemfile +6 -6
  7. data/Gemfile.lock +6 -6
  8. data/README.md +9 -9
  9. data/Rakefile +10 -10
  10. data/bin/console +14 -14
  11. data/bin/setup +8 -8
  12. data/lib/trailer_vote/fixtures.rb +15 -15
  13. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1+json +23 -23
  14. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.collection+json +23 -23
  15. data/lib/trailer_vote/fixtures/application/vnd.trailervote.audio_fragment.v1.index+json +25 -25
  16. data/lib/trailer_vote/fixtures/application/vnd.trailervote.carousel.v1+json +9223 -9223
  17. data/lib/trailer_vote/fixtures/application/vnd.trailervote.client_configuration.v1+json +6 -6
  18. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v1+json +23 -23
  19. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v2+json +31 -31
  20. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v3+json +33 -33
  21. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v4+json +42 -42
  22. data/lib/trailer_vote/fixtures/application/vnd.trailervote.configuration.v5+json +46 -46
  23. data/lib/trailer_vote/fixtures/application/vnd.trailervote.errors.v1+json +8 -8
  24. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1+json +17 -17
  25. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.collection+json +22 -22
  26. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback.v1.create+json +6 -6
  27. data/lib/trailer_vote/fixtures/application/vnd.trailervote.feedback_listing.v1+json +63 -63
  28. data/lib/trailer_vote/fixtures/application/vnd.trailervote.interactive_player.v1+json +19 -19
  29. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1+json +21 -21
  30. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.create+json +15 -15
  31. data/lib/trailer_vote/fixtures/application/vnd.trailervote.issue.v1.index+json +1162 -1162
  32. data/lib/trailer_vote/fixtures/application/vnd.trailervote.manifest_update.v1+json +3 -0
  33. data/lib/trailer_vote/fixtures/application/vnd.trailervote.ordered_fragment.v1.index+json +31 -31
  34. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1+json +13 -13
  35. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v1.create+json +1 -1
  36. data/lib/trailer_vote/fixtures/application/vnd.trailervote.persona.v2+json +16 -16
  37. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1+json +19 -19
  38. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.collection+json +23 -23
  39. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.create+json +1 -1
  40. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v1.index+json +9 -9
  41. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2+json +19 -19
  42. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.collection+json +23 -23
  43. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.create+json +7 -7
  44. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v2.index+json +9 -9
  45. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3+json +22 -22
  46. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.collection+json +1 -1
  47. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.create+json +1 -1
  48. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v3.index+json +9 -9
  49. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4+json +25 -25
  50. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.collection+json +29 -29
  51. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.create+json +24 -24
  52. data/lib/trailer_vote/fixtures/application/vnd.trailervote.place.v4.index+json +9 -9
  53. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1+json +68 -68
  54. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.collection+json +72 -72
  55. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.create+json +9 -9
  56. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.image.v1.index+json +19 -19
  57. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.lookup.v1+json +6 -6
  58. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1+json +89 -89
  59. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.collection+json +93 -93
  60. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.create+json +58 -58
  61. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v1.index+json +2821 -2821
  62. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2+json +97 -97
  63. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.collection+json +94 -94
  64. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.create+json +67 -67
  65. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.v2.index+json +2821 -2821
  66. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1+json +36 -36
  67. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.collection+json +40 -40
  68. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.create+json +7 -7
  69. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product.video.v1.index+json +39 -39
  70. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1+json +12 -12
  71. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.collection+json +1 -1
  72. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.create+json +3 -3
  73. data/lib/trailer_vote/fixtures/application/vnd.trailervote.product_place_link.v1.index+json +1 -1
  74. data/lib/trailer_vote/fixtures/application/vnd.trailervote.products_listing.v1+json +14318 -14318
  75. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1+json +11 -11
  76. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v1.create+json +4 -2
  77. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2+json +22 -22
  78. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v2.create+json +4 -2
  79. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3+json +25 -25
  80. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v3.create+json +4 -2
  81. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4+json +28 -28
  82. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v4.create+json +3 -1
  83. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5+json +30 -0
  84. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_campaign_trivial.v5.create+json +30 -0
  85. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1+json +11 -11
  86. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_consent.v1.create+json +10 -10
  87. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v1+json +26 -26
  88. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_manifest.v2+json +25 -25
  89. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_recipe_android.v1+json +10 -0
  90. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_recipe_ios.v1+json +13 -0
  91. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1+json +10 -7
  92. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_android.v1.create+json +7 -7
  93. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1+json +14 -14
  94. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_index.v1.index+json +14 -0
  95. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1+json +10 -7
  96. data/lib/trailer_vote/fixtures/application/vnd.trailervote.push_token_ios.v1.create+json +7 -7
  97. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v1+json +15 -0
  98. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v1.create+json +19 -0
  99. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2+json +17 -0
  100. data/lib/trailer_vote/fixtures/application/vnd.trailervote.release_push_campaign.v2.create+json +19 -0
  101. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v1+json +538 -538
  102. data/lib/trailer_vote/fixtures/application/vnd.trailervote.sentiment_feedback.v2+json +13 -13
  103. data/lib/trailer_vote/fixtures/index.js +3 -3
  104. data/lib/trailer_vote/fixtures/main.mjs +9 -9
  105. data/lib/trailer_vote/fixtures/version.rb +1 -1
  106. data/package.json +1 -1
  107. data/ruby/README.md +37 -37
  108. data/trailer_vote-fixtures.gemspec +1 -1
  109. data/yarn.lock +33 -33
  110. metadata +15 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb771e3f680dad11d41f9e5ee541148a78010b04d9271db3abd741ed5fc48ea9
4
- data.tar.gz: 5e91d6015b80dfa8f9e493227660e39cf344f3ad4d579faa08ae13ec7074be82
3
+ metadata.gz: 624c66babf7e5c222fea2dec95951660dd36de31f6396d52bdbaf18ab028648d
4
+ data.tar.gz: 18d77cadd4fa9dfbade52493c4b615257e1f61d1b6b6ac53c8c5bb39374c9f68
5
5
  SHA512:
6
- metadata.gz: 46b7c510b209066245b5f69522953b6f961982bbd21910310df094c078c5f28879736ee7e33942167a88abe6e59536017eb9746fa1b58743bd003db7804cb508
7
- data.tar.gz: 68e52773f06b564d24dd25c3881f77ff8d93119c9bbe5b0fe1d72cd6ae57b876b5ed092ca27301eaa11d06380455cf2f3bf365769324f5304318e85c20427983
6
+ metadata.gz: 2c3fb4ff6222b6f90c71d05533580363dc38f016d75775d6a6493f54db80e74a2251e31b4d36d7679a7ed023b25434db84bda75a1fdda6b9c241b5524896958e
7
+ data.tar.gz: 1fbac405312773425a9da38694e98c2f039f2faa63533d9d44c89d117ba930534259ac29e3d52879096e80a2295fb571b781d2d7adb7f8f4fedd2a8fc2a98b1c
data/.editorconfig CHANGED
@@ -1,24 +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
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/.gitignore CHANGED
@@ -1,16 +1,16 @@
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/
13
-
14
- # IDEs
15
- .idea
16
- /vendor
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/
13
+
14
+ # IDEs
15
+ .idea
16
+ /vendor
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,58 +1,58 @@
1
- sudo: false
2
- matrix:
3
- include:
4
- - language: ruby
5
- cache: bundler
6
- rvm: 2.5
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
- - language: ruby
15
- cache: bundler
16
- rvm: 2.6
17
- before_install:
18
- - gem update --system
19
- - gem install bundler -v 2.0.1
20
- - gem --version
21
- install:
22
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
23
-
24
- - language: ruby
25
- cache: bundler
26
- rvm: rbx-3
27
- before_install:
28
- - gem update --system
29
- - gem install bundler -v 2.0.1
30
- - gem --version
31
- install:
32
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
33
-
34
- - language: ruby
35
- cache: bundler
36
- rvm: ruby-head
37
- before_install:
38
- - gem update --system
39
- - gem install bundler -v 2.0.1
40
- - gem --version
41
- install:
42
- - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
43
-
44
- - language: node_js
45
- cache: yarn
46
- node_js: node
47
-
48
- - language: node_js
49
- cache: yarn
50
- node_js: lts/*
51
-
52
- allow_failures:
53
- - language: ruby
54
- rvm: ruby-head
55
- - language: ruby
56
- rvm: rbx-3
57
- - language: ruby
58
- rvm: 2.6
1
+ sudo: false
2
+ matrix:
3
+ include:
4
+ - language: ruby
5
+ cache: bundler
6
+ rvm: 2.5
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
+ - language: ruby
15
+ cache: bundler
16
+ rvm: 2.6
17
+ before_install:
18
+ - gem update --system
19
+ - gem install bundler -v 2.0.1
20
+ - gem --version
21
+ install:
22
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
23
+
24
+ - language: ruby
25
+ cache: bundler
26
+ rvm: rbx-3
27
+ before_install:
28
+ - gem update --system
29
+ - gem install bundler -v 2.0.1
30
+ - gem --version
31
+ install:
32
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
33
+
34
+ - language: ruby
35
+ cache: bundler
36
+ rvm: ruby-head
37
+ before_install:
38
+ - gem update --system
39
+ - gem install bundler -v 2.0.1
40
+ - gem --version
41
+ install:
42
+ - bundle install --with development --jobs=3 --retry=3 --path=${BUNDLE_PATH:-vendor/bundle}
43
+
44
+ - language: node_js
45
+ cache: yarn
46
+ node_js: node
47
+
48
+ - language: node_js
49
+ cache: yarn
50
+ node_js: lts/*
51
+
52
+ allow_failures:
53
+ - language: ruby
54
+ rvm: ruby-head
55
+ - language: ruby
56
+ rvm: rbx-3
57
+ - language: ruby
58
+ rvm: 2.6
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,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-fixtures (1.10.0)
4
+ trailer_vote-fixtures (1.15.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ansi (1.5.0)
10
- builder (3.2.3)
10
+ builder (3.2.4)
11
11
  minitest (5.13.0)
12
12
  minitest-ci (3.4.0)
13
13
  minitest (>= 5.0.6)
@@ -16,8 +16,8 @@ GEM
16
16
  builder
17
17
  minitest (>= 5.0)
18
18
  ruby-progressbar
19
- oj (3.9.2)
20
- rake (13.0.0)
19
+ oj (3.10.0)
20
+ rake (13.0.1)
21
21
  ruby-progressbar (1.10.1)
22
22
 
23
23
  PLATFORMS
@@ -25,7 +25,7 @@ PLATFORMS
25
25
  x64-mingw32
26
26
 
27
27
  DEPENDENCIES
28
- bundler (~> 1.16)
28
+ bundler (~> 2.0)
29
29
  minitest (~> 5.11)
30
30
  minitest-ci (~> 3.4)
31
31
  minitest-reporters (~> 1.3)
@@ -34,4 +34,4 @@ DEPENDENCIES
34
34
  trailer_vote-fixtures!
35
35
 
36
36
  BUNDLED WITH
37
- 1.17.3
37
+ 2.1.0
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,15 +1,15 @@
1
- require 'trailer_vote/fixtures/version'
2
- require 'oj'
3
-
4
- module TrailerVote
5
- module Fixtures
6
- FIXTURE_DIRECTORY = File.expand_path(File.join(__dir__, 'fixtures')).freeze
7
-
8
- module_function
9
-
10
- def load(media_type, options = Oj.default_options)
11
- path = File.join(FIXTURE_DIRECTORY, *media_type.split('/'))
12
- Oj.load_file(path, options)
13
- end
14
- end
15
- end
1
+ require 'trailer_vote/fixtures/version'
2
+ require 'oj'
3
+
4
+ module TrailerVote
5
+ module Fixtures
6
+ FIXTURE_DIRECTORY = File.expand_path(File.join(__dir__, 'fixtures')).freeze
7
+
8
+ module_function
9
+
10
+ def load(media_type, options = Oj.default_options)
11
+ path = File.join(FIXTURE_DIRECTORY, *media_type.split('/'))
12
+ Oj.load_file(path, options)
13
+ end
14
+ end
15
+ end
@@ -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
+ }