trusty-cms 5.0.1 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- 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: 066d3a148afc8e9cf41df8cf74277edf610a1fb0428332ca1430678b1e54b0f2
|
4
|
+
data.tar.gz: 7b6d84f5bb9225b1c9c42b7bf0bf0829c981817faf550a930126fe5651ef0063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e8b1b1a4fcc3c3a8e83157052a8c95c6673fbdecf9e51f280016f9d61375149410cd14746cffd0c7b809fcdd74459c48595ab59bef5ed5c8989316be241207
|
7
|
+
data.tar.gz: f34ec3a815c86344e92963d7da50ebef35b62505ebd97fc9652b5d8d61b6c9261b453501bdecfca48f88ee099f2910bd1f6370316a558f64eec96f5d31e0d6da
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (5.0.
|
4
|
+
trusty-cms (5.0.2)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
activestorage-validator
|
7
7
|
acts_as_list (>= 0.9.5, < 1.1.0)
|
@@ -176,7 +176,7 @@ GEM
|
|
176
176
|
image_processing (1.12.1)
|
177
177
|
mini_magick (>= 4.9.5, < 5)
|
178
178
|
ruby-vips (>= 2.0.17, < 3)
|
179
|
-
json (2.
|
179
|
+
json (2.6.1)
|
180
180
|
kraken-io (0.1.3)
|
181
181
|
activesupport
|
182
182
|
httparty
|
@@ -206,9 +206,9 @@ GEM
|
|
206
206
|
multipart-post (2.1.1)
|
207
207
|
mysql2 (0.5.3)
|
208
208
|
nio4r (2.5.8)
|
209
|
-
nokogiri (1.12.
|
209
|
+
nokogiri (1.12.5-x86_64-darwin)
|
210
210
|
racc (~> 1.4)
|
211
|
-
nokogiri (1.12.
|
211
|
+
nokogiri (1.12.5-x86_64-linux)
|
212
212
|
racc (~> 1.4)
|
213
213
|
orm_adapter (0.5.0)
|
214
214
|
poltergeist (1.18.1)
|
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 ==
|
52
|
+
return asset.url if style_name == 'original'
|
53
53
|
return asset_variant(style_name).processed.url if asset.variable?
|
54
54
|
|
55
55
|
asset_type.icon(style_name)
|
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.2
|
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: 2021-10-
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activestorage-validator
|