caboose-cms 0.9.149 → 0.9.150
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/caboose/application_helper.rb +11 -1
- data/lib/caboose/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cf0ee9139b606d9244fa395f016468f79da562e
|
4
|
+
data.tar.gz: 4e376b66510db9ab01180d2c6878849eae4a5b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6a66d961e2e996b12ccc44336a46a828d5d74fc2109b5ae04d1a824beb0b504aa9bc2a637469c56c8f0bf4d7d5a09b570f630b005a30d86be8c82f779305e76
|
7
|
+
data.tar.gz: 41edb90bff172267f7cc24fd539fec11395e49e558d67db41b136bb524e120ef616213fc7cec90f808e7bacb1eee6d45b46ab7bfdc60e0275f210c05059cdd14
|
@@ -50,6 +50,16 @@ tinyMCE.init({
|
|
50
50
|
str = str.gsub('http://', 'https://') if request.env['HTTPS'] == 'on'
|
51
51
|
return str
|
52
52
|
end
|
53
|
-
|
53
|
+
|
54
|
+
def caboose_asset_path(path)
|
55
|
+
str = nil
|
56
|
+
begin
|
57
|
+
str = asset_path(path)
|
58
|
+
rescue Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError
|
59
|
+
Caboose.log("Precompiled asset not found\n\nAsset: #{path}\nFile: #{caller_locations[1].path}\nLine: #{caller_locations[1].lineno}")
|
60
|
+
end
|
61
|
+
return str
|
62
|
+
end
|
63
|
+
|
54
64
|
end
|
55
65
|
end
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.150
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -1253,7 +1253,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1253
1253
|
version: '0'
|
1254
1254
|
requirements: []
|
1255
1255
|
rubyforge_project:
|
1256
|
-
rubygems_version: 2.
|
1256
|
+
rubygems_version: 2.5.1
|
1257
1257
|
signing_key:
|
1258
1258
|
specification_version: 4
|
1259
1259
|
summary: CMS built on rails.
|