trailer_vote-media_types 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/trailer_vote/media_types/configuration.rb +31 -1
- data/lib/trailer_vote/media_types/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6c14d32dc492af7ce8784632b82fb5212054d5b0674166fe83e51f0cad253a4
|
4
|
+
data.tar.gz: 2163ca9fb28115d52107f509a2ac9a812d2a03b870c787bf11e0c87c1cc4ca12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9d20dee1812c064df8dd3b03bd62ec826973fbac839a4e003aa1b66539fa7fff23784cb49b957a4595b22a1aa690fc3447329a9b7dd74d5eeae00b636875209
|
7
|
+
data.tar.gz: 83cc83f8b8194ad3fd608dedac87d4abc8faaaa777f6b6aa872b63b52275fea57bc6b0a3ed5b5f1d75d411d39cb82c908de05b03d319c82a39be1929ac123527
|
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.4.0)
|
5
5
|
media_types (>= 0.6.0, < 1)
|
6
6
|
|
7
7
|
GEM
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
minitest (5.12.2)
|
17
17
|
minitest-ci (3.4.0)
|
18
18
|
minitest (>= 5.0.6)
|
19
|
-
minitest-reporters (1.4.
|
19
|
+
minitest-reporters (1.4.2)
|
20
20
|
ansi
|
21
21
|
builder
|
22
22
|
minitest (>= 5.0)
|
@@ -11,10 +11,40 @@ module TrailerVote
|
|
11
11
|
# Media Types for Configuration
|
12
12
|
#
|
13
13
|
class Configuration < BaseText
|
14
|
-
media_type 'configuration', defaults: { suffix: :json, version:
|
14
|
+
media_type 'configuration', defaults: { suffix: :json, version: 5 }
|
15
15
|
|
16
16
|
validations do
|
17
17
|
|
18
|
+
version 5 do
|
19
|
+
attribute :configuration do
|
20
|
+
link :self
|
21
|
+
link :place
|
22
|
+
link :push_manifest
|
23
|
+
link :products
|
24
|
+
link :product_lookup
|
25
|
+
link :persona do
|
26
|
+
attribute :href, Types.makeFormattedUrl(:uuid)
|
27
|
+
attribute :templated, TrueClass
|
28
|
+
end
|
29
|
+
link :lookup do
|
30
|
+
attribute :href, Types.makeFormattedUrl(:authority, :identifier)
|
31
|
+
attribute :templated, TrueClass
|
32
|
+
end
|
33
|
+
link :analytics do
|
34
|
+
attribute :href, Types::InfluxDbConnectionUrl
|
35
|
+
end
|
36
|
+
link :telemetrics do
|
37
|
+
attribute :href, Types::InfluxDbConnectionUrl
|
38
|
+
end
|
39
|
+
link :issues
|
40
|
+
link :persona_config do
|
41
|
+
attribute :href, Types.makeFormattedUrl(:persona)
|
42
|
+
attribute :templated, TrueClass
|
43
|
+
end
|
44
|
+
attribute :customer_config
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
18
48
|
version 4 do
|
19
49
|
attribute :configuration do
|
20
50
|
link :self
|
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.4.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-10-
|
11
|
+
date: 2019-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: media_types
|