trailer_vote-media_types 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85a23214425bd6fa1154b875c784af40fc9ece21940bbb19d1aa9a1192277cca
|
|
4
|
+
data.tar.gz: 043142a8aaf6da6b13ffd7097307f4e53ff2a573bc4812c1b3a72aa58f057d21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3594649a609563b2de6bae79249e0a7f37532d6ec70a55f7276296970f184ea04b37f38300341c3026906bf24a4b983b499721d1a73d4e5eb8ea37701df0d49a
|
|
7
|
+
data.tar.gz: 4fc586e4cf434ee7dd3ae26fcc1dcb787a10115e4c2707fd7af92007f0928388a2c1beb6f379f0b4ddf0399303eecbb90dcc784062a66d07ed6a7d728d5dabe5
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
trailer_vote-media_types (1.
|
|
4
|
+
trailer_vote-media_types (1.1.0)
|
|
5
5
|
media_types (>= 0.6.0, < 1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -21,7 +21,7 @@ GEM
|
|
|
21
21
|
builder
|
|
22
22
|
minitest (>= 5.0)
|
|
23
23
|
ruby-progressbar
|
|
24
|
-
oj (3.
|
|
24
|
+
oj (3.9.0)
|
|
25
25
|
rake (12.3.3)
|
|
26
26
|
ruby-progressbar (1.10.1)
|
|
27
27
|
simplecov (0.17.0)
|
|
@@ -29,7 +29,7 @@ GEM
|
|
|
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.
|
|
32
|
+
trailer_vote-fixtures (1.5.1)
|
|
33
33
|
|
|
34
34
|
PLATFORMS
|
|
35
35
|
ruby
|
|
@@ -84,6 +84,16 @@ module TrailerVote
|
|
|
84
84
|
not_strict
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
|
+
|
|
88
|
+
view 'ordered' do
|
|
89
|
+
attribute :ordered_fragments do
|
|
90
|
+
collection :_index, allow_empty: true do
|
|
91
|
+
attribute :href, Types::HttpUrl
|
|
92
|
+
attribute :q, Float
|
|
93
|
+
end
|
|
94
|
+
not_strict
|
|
95
|
+
end
|
|
96
|
+
end
|
|
87
97
|
end
|
|
88
98
|
end
|
|
89
99
|
|
|
@@ -98,6 +108,7 @@ module TrailerVote
|
|
|
98
108
|
registrations :audio_fragment do
|
|
99
109
|
view 'index', :audio_fragment_urls
|
|
100
110
|
view 'collection', :audio_fragments
|
|
111
|
+
view 'ordered', :ordered_audio_fragment_urls
|
|
101
112
|
|
|
102
113
|
versions 1
|
|
103
114
|
|
|
@@ -8,7 +8,6 @@ require_relative 'types/vote_value'
|
|
|
8
8
|
|
|
9
9
|
module TrailerVote
|
|
10
10
|
module MediaTypes
|
|
11
|
-
|
|
12
11
|
##
|
|
13
12
|
# Media Types for Trivial Push Campaign
|
|
14
13
|
#
|
|
@@ -18,25 +17,24 @@ module TrailerVote
|
|
|
18
17
|
media_type 'push_campaign_trivial', defaults: { suffix: :json, version: 2 }
|
|
19
18
|
|
|
20
19
|
validations do
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
end
|
|
20
|
+
version 2 do
|
|
21
|
+
attribute :push_campaign_trivial do
|
|
22
|
+
link :action
|
|
23
|
+
attribute :message, String
|
|
24
|
+
attribute :schedule_at, Types::Iso8601
|
|
25
|
+
attribute :filter do
|
|
26
|
+
attribute :platform, AllowNil(String)
|
|
27
|
+
attribute :region, AllowNil(String)
|
|
28
|
+
attribute :language, AllowNil(String)
|
|
29
|
+
attribute :timezone, AllowNil(String)
|
|
30
|
+
attribute :vote_source, AllowNil(String)
|
|
31
|
+
attribute :purchased, AllowNil(Types::Boolean)
|
|
32
|
+
attribute :vote_value, AllowNil(Types::VoteValue)
|
|
33
|
+
attribute :vote_from, AllowNil(Types::Iso8601)
|
|
34
|
+
attribute :vote_until, AllowNil(Types::Iso8601)
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
end
|
|
40
38
|
|
|
41
39
|
version 1 do
|
|
42
40
|
attribute :push_campaign_trivial do
|
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: 1.
|
|
4
|
+
version: 1.1.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-
|
|
11
|
+
date: 2019-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: media_types
|
|
@@ -233,8 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
233
233
|
- !ruby/object:Gem::Version
|
|
234
234
|
version: '0'
|
|
235
235
|
requirements: []
|
|
236
|
-
|
|
237
|
-
rubygems_version: 2.7.6.2
|
|
236
|
+
rubygems_version: 3.0.3
|
|
238
237
|
signing_key:
|
|
239
238
|
specification_version: 4
|
|
240
239
|
summary: Holds the defined media types for the TrailerVote ecosystem
|