trailer_vote-media_types 1.3.0 → 1.4.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: 62813b871d62e6258a333318510b8a775eb7317f90ca21cb7720fcf613f026df
4
- data.tar.gz: 0d1d5ec603c5366a7885ac55b1e1839fc6789ec326ab59793bf2b8635948c486
3
+ metadata.gz: a6c14d32dc492af7ce8784632b82fb5212054d5b0674166fe83e51f0cad253a4
4
+ data.tar.gz: 2163ca9fb28115d52107f509a2ac9a812d2a03b870c787bf11e0c87c1cc4ca12
5
5
  SHA512:
6
- metadata.gz: 06bd41a85854844cc583bafc389fc7a13b77ffbeb2aee8b35f45a2a4b19d26d3fa4a64168a0ea3518db0b8b06db885407d0fb91b9e19d7a902cf142161d61e88
7
- data.tar.gz: b989e2425f328f6ff7cae09bcc08cb686334bb834253077f91a573fe4ecaae10bbf6a7f9778683cdd8eeb5958a5dce2a5be5d05afde92ac9a5a558ba121b504f
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.3.0)
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.1)
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: 4 }
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TrailerVote
4
4
  module MediaTypes
5
- VERSION = '1.3.0'
5
+ VERSION = '1.4.0'
6
6
  end
7
7
  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: 1.3.0
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-18 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: media_types