trusty-cms 3.5.4 → 3.5.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 +4 -4
- data/app/models/asset.rb +1 -2
- 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: c08aacdc18dc9277a1f3405ffd4b5e0df1c14837cce07bdaac3012fc6ccd2d51
|
4
|
+
data.tar.gz: 8b3573993b84fec50f27ff32b9ff285f62b26ab35230e0f6a271e5ddf2923c65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45dd61c4047878a2bc5b5656b78c5b38bb44c8ee8dff07399a4694028099d9d7943565db8b12211e1be26d6dd3370ab70ea96cb7b16d75a971fa34ce22e748a2
|
7
|
+
data.tar.gz: 6d5185088ff6fdf1b863dd04a4f1ac9ab8c49097577c10a48346ed02c0b626f4a3049a1bd83b2c8c3ea19ecbbf58c7671694772953473241f4f4b4b9acc02527
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
trusty-cms (3.5.
|
4
|
+
trusty-cms (3.5.5)
|
5
5
|
RedCloth (= 4.3.2)
|
6
6
|
acts_as_list (~> 0.9.5)
|
7
7
|
acts_as_tree (>= 2.6.1, < 2.9.0)
|
@@ -122,7 +122,7 @@ GEM
|
|
122
122
|
ffi (1.10.0)
|
123
123
|
globalid (0.4.2)
|
124
124
|
activesupport (>= 4.2.0)
|
125
|
-
haml (5.0
|
125
|
+
haml (5.1.0)
|
126
126
|
temple (>= 0.8.0)
|
127
127
|
tilt
|
128
128
|
haml-rails (1.0.0)
|
@@ -165,11 +165,11 @@ GEM
|
|
165
165
|
mimemagic (0.3.3)
|
166
166
|
mini_mime (1.0.1)
|
167
167
|
mini_portile2 (2.4.0)
|
168
|
-
mini_racer (0.2.
|
168
|
+
mini_racer (0.2.6)
|
169
169
|
libv8 (>= 6.9.411)
|
170
170
|
minitest (5.11.3)
|
171
171
|
multi_xml (0.6.0)
|
172
|
-
multipart-post (2.
|
172
|
+
multipart-post (2.1.1)
|
173
173
|
mysql2 (0.5.2)
|
174
174
|
nio4r (2.3.1)
|
175
175
|
nokogiri (1.10.3)
|
data/app/models/asset.rb
CHANGED
@@ -50,8 +50,7 @@ class Asset < ActiveRecord::Base
|
|
50
50
|
:fog_public => TrustyCms.config["paperclip.fog.public?"] || true,
|
51
51
|
:fog_host => TrustyCmsClippedExtension::Cloud.host,
|
52
52
|
:fog_file => {
|
53
|
-
'Cache-Control' => 'max-age=
|
54
|
-
#'Expires' => 1.month.from_now.httpdate
|
53
|
+
'Cache-Control' => 'max-age=31536000'
|
55
54
|
}
|
56
55
|
|
57
56
|
validates_attachment_content_type :asset, :content_type => ["application/zip", "image/jpg", "image/jpeg", "image/png", "image/gif", "application/pdf", "application/javascript", "text/javascript", "text/css"]
|
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: 3.5.
|
4
|
+
version: 3.5.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: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|