trusty-cms 5.0.4 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/models/asset.rb +1 -1
- data/lib/trusty_cms.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1eddb811d02a4d5609cb0b5e555956f28ef83ac97bac1e2f0790b8b54b3ec14
|
4
|
+
data.tar.gz: bc2f62f77210b0ad503b370b6134b7e0fa1390b5f6ddee294678a3843e39713d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9464ad322dd2164b577a086136a64063352d3f393058a2956f531a20908c6ac5b3ac96da439e775dcf856041d8d5b0add9da8f323b5d2bfb94f9220a175f568d
|
7
|
+
data.tar.gz: 4739d454d2897388d1a7b0251ff45e51c41013d26abb1bff9d93543dd37b27854a0f17fae302b8c79a3dbbb09722264d63d64edeb1e52e7b8ec23fa7fc816bc5
|
data/Gemfile.lock
CHANGED
data/app/models/asset.rb
CHANGED
@@ -49,7 +49,7 @@ class Asset < ActiveRecord::Base
|
|
49
49
|
to: :asset_type
|
50
50
|
|
51
51
|
def thumbnail(style_name = 'original')
|
52
|
-
return asset.url if style_name.to_s == 'original'
|
52
|
+
return asset.url if style_name.to_s == 'original' || asset.key.include?('culturaldistrict')
|
53
53
|
return asset_variant(style_name.to_s).processed.url if asset.variable?
|
54
54
|
|
55
55
|
asset_type.icon(style_name.to_s)
|
data/lib/trusty_cms.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trusty-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TrustyCms CMS dev team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|