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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 577c76f690910024bfc10d3fbbd14b47eb8bc50358bca3bc2faacf3da06fc2e1
4
- data.tar.gz: 34ed2c1ec454af9df1cd6e0ef0eb1ef2421b1fd97efd5759a3353c3ea37f7677
3
+ metadata.gz: 066d3a148afc8e9cf41df8cf74277edf610a1fb0428332ca1430678b1e54b0f2
4
+ data.tar.gz: 7b6d84f5bb9225b1c9c42b7bf0bf0829c981817faf550a930126fe5651ef0063
5
5
  SHA512:
6
- metadata.gz: 588a6a8325df522f2f2d58630f31d5652b41cadcf6a443e2210f6eac0fbea2bf53175052d4a3d4efa5afbd5fe668ec039e67853b771c604f8958bbbb734837ee
7
- data.tar.gz: 9e6a1248a186b875c587973ee609e9257d62c0adc9e0f26ae612bd3a647558c53319583a1342c1f8230bfac63588459986088c7b64caa0b1150e88d923b76cbc
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.1)
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.5.1)
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.4-x86_64-darwin)
209
+ nokogiri (1.12.5-x86_64-darwin)
210
210
  racc (~> 1.4)
211
- nokogiri (1.12.4-x86_64-linux)
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 == :original
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
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '5.0.1'.freeze
5
+ VERSION = '5.0.2'.freeze
6
6
  end
7
7
  end
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.1
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-05 00:00:00.000000000 Z
11
+ date: 2021-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activestorage-validator