trailer_vote-media_types 0.7.3 → 0.7.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/trailer_vote/media_types/partials/image_links.rb +4 -1
- 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: 630e09348359830a39cf237559782d88b26552c0
|
4
|
+
data.tar.gz: d79aef24dd96c69cdfe3840f56d2da8fc54afc7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdb8e45b07dc8f51aee8fcebcf0240c3b046334c76764b1226fb5a418396914e8230e18d97a99111421e2af07e9696befecfbfc76e0122cc0e6e38d4df2784b4
|
7
|
+
data.tar.gz: 928e5a1078625e0300f522591340d53c75ecd89b4cc58f3085bf31470f8d2ab8ae98901910b77f8a89c2024bb01cfb488aaf848a97a3d867de8cf76acbb7483a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'media_types'
|
4
|
+
require_relative '../types/product_image_type'
|
4
5
|
|
5
6
|
module TrailerVote
|
6
7
|
module MediaTypes
|
7
8
|
module Partials
|
8
9
|
IMAGE_LINKS = ::MediaTypes::Scheme.new do
|
9
|
-
link :self
|
10
|
+
link :self do
|
11
|
+
attribute :type, Types::ProductImageType, optional: true
|
12
|
+
end
|
10
13
|
|
11
14
|
link :original do
|
12
15
|
attribute :content_digest, String, optional: true
|