trailer_vote-media_types 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/lib/trailer_vote/media_types/sentiment_feedback.rb +4 -2
- data/lib/trailer_vote/media_types/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5445bf5f8be911e6c58a146b2d4f524bcdb8d39f
|
4
|
+
data.tar.gz: 18c51dba03e4d60cc2fefcaddc1fe1b9c43c0de4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12e9e417074ab6d69c3ab8d490fe6c8ca716a6004cc3bf65032b9e8f006fcc8ba6f3f73e2c64f293f52fbd1079bfbcd8791219bd7d81dd67531c3751cbc6f4c3
|
7
|
+
data.tar.gz: 55097dd2ad5174cfa29f41482537f710ecf3c54c880be73eb1798a06ecba27c3c0bf901f92db12349cb888714e943969e2b4aace12fb6d7c3f1384bd0259c865
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -8,7 +8,7 @@ require_relative 'types/iso8601'
|
|
8
8
|
module TrailerVote
|
9
9
|
module MediaTypes
|
10
10
|
class SentimentFeedback < BaseText
|
11
|
-
media_type 'sentiment_feedback', defaults: { suffix: :json, version:
|
11
|
+
media_type 'sentiment_feedback', defaults: { suffix: :json, version: 2 }
|
12
12
|
|
13
13
|
validations do
|
14
14
|
|
@@ -21,7 +21,7 @@ module TrailerVote
|
|
21
21
|
attribute :_embedded do
|
22
22
|
attribute :identifier, String
|
23
23
|
attribute :updated_at, Types::Iso8601
|
24
|
-
attribute :
|
24
|
+
attribute :type, Types::ProductImageType
|
25
25
|
|
26
26
|
merge Partials::IMAGE_LINKS
|
27
27
|
end
|
@@ -92,6 +92,8 @@ module TrailerVote
|
|
92
92
|
|
93
93
|
registrations :sentiment_feedback do
|
94
94
|
type_alias 'feedback.sentiment'
|
95
|
+
|
96
|
+
versions 1,2
|
95
97
|
end
|
96
98
|
end
|
97
99
|
end
|