trailer_vote-media_types 0.11.1 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 776b73495489038b90168b19e90dd6d3f1fbbffc42fadd836a7f95aaaa23569c
4
- data.tar.gz: 8427fdbbb8e036fcd04eb1e91906c5eb355cea22f8702d5d46f1a4c754aefe42
3
+ metadata.gz: fc8d830e1c3e4c67895c2d6fb0dbe429bd40105c4015cfcaac28570928170b7a
4
+ data.tar.gz: 78caa6271a26e4a3dbe71a388d2e1222a5c88dc98baae701778dd9334bca50be
5
5
  SHA512:
6
- metadata.gz: 6d938988a5719a95e90a788593b581124699fea0a595acbdd80c66912c465b8d8f467f8ed7940a143522eee644dae223f26f5e95b81d8999e9947874f6c40410
7
- data.tar.gz: c87ba94f1aeaf95bdc5b3ac7a64dc99d3d28178738e261f2873a3726de2ebabd25f24074e9b7c1e6474e16b149753863d17510d660502db1b044859e88c300f1
6
+ metadata.gz: 56e863bbe9678fee6286df38c6947c9da1e6fdb693435f4861a185892c7d4cc0508e3f388fe545e0a8726f2b0adca300bba1cf2d7eeaf418e5ea593b64bd479e
7
+ data.tar.gz: 6c32b1427007bdffd95923e36d150290f92d788ae9d3275e2830a7c834c0adff2bd3ccf934c4da8c6be68516e57d0ba0055aeb8b2afa6eac25121c6ee17ae3cd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-media_types (0.11.1)
4
+ trailer_vote-media_types (0.12.0)
5
5
  media_types (>= 0.6.0, < 1)
6
6
 
7
7
  GEM
@@ -10,8 +10,8 @@ GEM
10
10
  ansi (1.5.0)
11
11
  awesome_print (1.8.0)
12
12
  builder (3.2.3)
13
- docile (1.3.1)
14
- json (2.1.0)
13
+ docile (1.3.2)
14
+ json (2.2.0)
15
15
  media_types (0.6.2)
16
16
  minitest (5.11.3)
17
17
  minitest-ci (3.4.0)
@@ -21,15 +21,15 @@ GEM
21
21
  builder
22
22
  minitest (>= 5.0)
23
23
  ruby-progressbar
24
- oj (3.7.12)
25
- rake (10.5.0)
24
+ oj (3.8.1)
25
+ rake (12.3.3)
26
26
  ruby-progressbar (1.10.0)
27
- simplecov (0.16.1)
27
+ simplecov (0.17.0)
28
28
  docile (~> 1.1)
29
29
  json (>= 1.8, < 3)
30
30
  simplecov-html (~> 0.10.0)
31
31
  simplecov-html (0.10.2)
32
- trailer_vote-fixtures (1.3.2)
32
+ trailer_vote-fixtures (1.3.3)
33
33
 
34
34
  PLATFORMS
35
35
  ruby
@@ -42,7 +42,7 @@ DEPENDENCIES
42
42
  minitest-ci (~> 3.4)
43
43
  minitest-reporters (~> 1.3)
44
44
  oj (~> 3.6)
45
- rake (~> 10.0)
45
+ rake (~> 12.3)
46
46
  simplecov (~> 0.16)
47
47
  trailer_vote-fixtures (~> 1.3)
48
48
  trailer_vote-media_types!
@@ -17,7 +17,7 @@ module TrailerVote
17
17
  validations do
18
18
  version 1 do
19
19
  attribute :push_manifest do
20
- collection :campaigns do
20
+ collection :campaigns, allow_empty: true do
21
21
  link :audio_fragment
22
22
  link :campaign
23
23
  end
@@ -22,6 +22,14 @@ module TrailerVote
22
22
  attribute :schedule_at, Types::Iso8601
23
23
  end
24
24
  end
25
+
26
+ view 'create' do
27
+ attribute :product_asset_id, Types::UuidV4
28
+ attribute :url, String
29
+ attribute :schedule_at, Types::Iso8601
30
+ attribute :place_id, Types::UuidV4
31
+ attribute :translations, ::Hash
32
+ end
25
33
  end
26
34
 
27
35
  registrations :push_campaign_trivial do
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TrailerVote
4
4
  module MediaTypes
5
- VERSION = '0.11.1'
5
+ VERSION = '0.12.0'
6
6
  end
7
7
  end
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
  spec.add_development_dependency 'minitest-ci', '~> 3.4'
36
36
  spec.add_development_dependency 'minitest-reporters', '~> 1.3'
37
37
  spec.add_development_dependency 'oj', '~> 3.6'
38
- spec.add_development_dependency 'rake', '~> 10.0'
38
+ spec.add_development_dependency 'rake', '~> 12.3'
39
39
  spec.add_development_dependency 'simplecov', '~> 0.16'
40
40
  spec.add_development_dependency 'trailer_vote-fixtures', '~> 1.3'
41
41
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailer_vote-media_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.12.0
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-05-20 00:00:00.000000000 Z
11
+ date: 2019-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: media_types
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '10.0'
123
+ version: '12.3'
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '10.0'
130
+ version: '12.3'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simplecov
133
133
  requirement: !ruby/object:Gem::Requirement