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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e8e2073ca8254fce69f86721825790bacbc4cae
4
- data.tar.gz: f0f8376d78577824342d3e0aff69ea7121a740e3
3
+ metadata.gz: 5445bf5f8be911e6c58a146b2d4f524bcdb8d39f
4
+ data.tar.gz: 18c51dba03e4d60cc2fefcaddc1fe1b9c43c0de4
5
5
  SHA512:
6
- metadata.gz: a3d9082e0d738790e4fd315e3261151b672793937e21cd899b0f0c31e185f5f34efbaf9835ae5357cf765872965c8bdb0aec1e6fe5456583fce1614794a5b064
7
- data.tar.gz: fb5a281bad3c51f23108698f4fabb3d948b1491aa4ba0b1bbd7b3ea03b07188309991f1ec3afa9bb91ff8c44f8c08014f19896248eb280e1c6ce8b545558ca82
6
+ metadata.gz: 12e9e417074ab6d69c3ab8d490fe6c8ca716a6004cc3bf65032b9e8f006fcc8ba6f3f73e2c64f293f52fbd1079bfbcd8791219bd7d81dd67531c3751cbc6f4c3
7
+ data.tar.gz: 55097dd2ad5174cfa29f41482537f710ecf3c54c880be73eb1798a06ecba27c3c0bf901f92db12349cb888714e943969e2b4aace12fb6d7c3f1384bd0259c865
@@ -1,3 +1,8 @@
1
+ # 0.7.1
2
+
3
+ - Fix version 2 of sentiment feedback not registering
4
+ - Change default version of sentiment feedback to v2
5
+
1
6
  # 0.7.0
2
7
 
3
8
  - Add `products` link to configuration v1
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trailer_vote-media_types (0.7.0)
4
+ trailer_vote-media_types (0.7.1)
5
5
  media_types (>= 0.6.0, < 1)
6
6
 
7
7
  GEM
@@ -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: 1 }
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 :asset_type, Types::ProductImageType
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module TrailerVote
4
4
  module MediaTypes
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trailer_vote-media_types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derk-Jan Karrenbeld