trailer_vote-media_types 1.2.2 → 1.2.3

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: 2182d33752e07b5878ddd13b2ef671f9ace5b6a64a68dc7259d2ab7a36f9d521
4
- data.tar.gz: be855c8d7daf6c6254a770e96054f11cdd377f152e288e94bdb00f0631ae0c6b
3
+ metadata.gz: 71628e690b7fa01a6bebb9a81173be1c4fa70f9ff3d54a828827bab439c0fc90
4
+ data.tar.gz: 7aa724712cf980843ededd54193ee8974fcbc5ee7694433e8efa33b8f0231810
5
5
  SHA512:
6
- metadata.gz: 596a1c7beb838ecb06fcbdacd3719b1f3c5c62d320e689a559b7aff486e3b7bf8d01e24fa59a444a2c818a56e0734466e1afaf9367151dfcca31a8f16ca549f8
7
- data.tar.gz: 252563017b7da78d34e7183638ae9f009aa5dd636e95770d8449469bfaeaff2092eabdf5d5b8ebbd9762055a313c6ba6c4b93d42d1cc7f5c15279e1fbb65a549
6
+ metadata.gz: 9065c292d7f50e721bf631288459443fd6245ffb4f9323564a9063378b42846c52d189a85ccd66eeda7de23373421b17d6c6fcc7b6a6dcebab347da9663766c9
7
+ data.tar.gz: 6ae9d0e77407bc1861ec8bdc478bdd4437c3f6b4d63871d5070dc78e73e0b9d6957f5db5384821b951bc0bde275b4139925767b1d58a54da97ac70fd540d1cc2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-media_types (1.2.2)
4
+ trailer_vote-media_types (1.2.3)
5
5
  media_types (>= 0.6.0, < 1)
6
6
 
7
7
  GEM
@@ -16,20 +16,20 @@ GEM
16
16
  minitest (5.12.2)
17
17
  minitest-ci (3.4.0)
18
18
  minitest (>= 5.0.6)
19
- minitest-reporters (1.3.8)
19
+ minitest-reporters (1.4.0)
20
20
  ansi
21
21
  builder
22
22
  minitest (>= 5.0)
23
23
  ruby-progressbar
24
24
  oj (3.9.2)
25
- rake (12.3.3)
25
+ rake (13.0.0)
26
26
  ruby-progressbar (1.10.1)
27
27
  simplecov (0.17.1)
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.6.2)
32
+ trailer_vote-fixtures (1.6.4)
33
33
 
34
34
  PLATFORMS
35
35
  ruby
@@ -42,9 +42,9 @@ DEPENDENCIES
42
42
  minitest-ci (~> 3.4)
43
43
  minitest-reporters (~> 1.3)
44
44
  oj (~> 3.6)
45
- rake (~> 12.3)
45
+ rake (~> 13.0)
46
46
  simplecov (~> 0.16)
47
- trailer_vote-fixtures (~> 1.6.2)
47
+ trailer_vote-fixtures (~> 1.6.4)
48
48
  trailer_vote-media_types!
49
49
 
50
50
  BUNDLED WITH
@@ -11,9 +11,36 @@ module TrailerVote
11
11
  # Media Types for Configuration
12
12
  #
13
13
  class Configuration < BaseText
14
- media_type 'configuration', defaults: { suffix: :json, version: 3 }
14
+ media_type 'configuration', defaults: { suffix: :json, version: 4 }
15
15
 
16
16
  validations do
17
+
18
+ version 4 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 :analytics do
30
+ attribute :href, Types::InfluxDbConnectionUrl
31
+ end
32
+ link :telemetrics do
33
+ attribute :href, Types::InfluxDbConnectionUrl
34
+ end
35
+ link :issues
36
+ link :persona_config do
37
+ attribute :href, Types.makeFormattedUrl(:persona)
38
+ attribute :templated, TrueClass
39
+ end
40
+ attribute :customer_config
41
+ end
42
+ end
43
+
17
44
  version 3 do
18
45
  attribute :configuration do
19
46
  link :self
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TrailerVote
4
4
  module MediaTypes
5
- VERSION = '1.2.2'
5
+ VERSION = '1.2.3'
6
6
  end
7
7
  end
@@ -37,7 +37,7 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency 'minitest-ci', '~> 3.4'
38
38
  spec.add_development_dependency 'minitest-reporters', '~> 1.3'
39
39
  spec.add_development_dependency 'oj', '~> 3.6'
40
- spec.add_development_dependency 'rake', '~> 12.3'
40
+ spec.add_development_dependency 'rake', '~> 13.0'
41
41
  spec.add_development_dependency 'simplecov', '~> 0.16'
42
- spec.add_development_dependency 'trailer_vote-fixtures', '~> 1.6.2'
42
+ spec.add_development_dependency 'trailer_vote-fixtures', '~> 1.6.4'
43
43
  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.2.2
4
+ version: 1.2.3
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-03 00:00:00.000000000 Z
11
+ date: 2019-10-09 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: '12.3'
123
+ version: '13.0'
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: '12.3'
130
+ version: '13.0'
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simplecov
133
133
  requirement: !ruby/object:Gem::Requirement
@@ -148,14 +148,14 @@ dependencies:
148
148
  requirements:
149
149
  - - "~>"
150
150
  - !ruby/object:Gem::Version
151
- version: 1.6.2
151
+ version: 1.6.4
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - "~>"
157
157
  - !ruby/object:Gem::Version
158
- version: 1.6.2
158
+ version: 1.6.4
159
159
  description:
160
160
  email:
161
161
  - dj@trailervote.com