ish_models 0.0.33.86 → 0.0.33.87
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/video.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d00e6d3fc00fb69a6e14b26fc9cd98bceb35cd4f9ff264237b7559cb2c2c2f8
|
4
|
+
data.tar.gz: 0a17595a91d780e7ce4720cf5c6f667d0e6fc82a02897a75a73f4e49f51ed089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18e848135a1f80021438470ed16cc07cc8ab16774d2a71f7c47e191dd131274f4a840f295614708435ad4e0737c87c6d8634c02f7b43832c0dca6ce30471a8f
|
7
|
+
data.tar.gz: a4198f99401015bf8840b5df893768fd59e518d4af9fbc6303daf90bd54e013da63b3f30d470d74b3e849c989975c58bd0e3dcf22feac7d1eeff339c65614980
|
data/lib/video.rb
CHANGED
@@ -45,9 +45,9 @@ class Video
|
|
45
45
|
|
46
46
|
field :issue
|
47
47
|
|
48
|
-
has_attached_file :video, styles: {
|
48
|
+
has_attached_file :video, styles: {
|
49
49
|
:thumb => { geometry: '192x108', format: 'jpeg' },
|
50
50
|
}, processors: [ :transcoder ]
|
51
51
|
validates_attachment_content_type :video, content_type: /\Avideo\/.*\Z/
|
52
|
-
|
52
|
+
|
53
53
|
end
|