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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70c60585421bf543a25055371726c71b4f598f3a
4
- data.tar.gz: 2126223f358c53f42dda15d33a7e706356551df6
3
+ metadata.gz: 4cf0ee9139b606d9244fa395f016468f79da562e
4
+ data.tar.gz: 4e376b66510db9ab01180d2c6878849eae4a5b20
5
5
  SHA512:
6
- metadata.gz: 34e4e60032429248d393612cf8073ca6664b43e688178e5c6f1ed49f70220054b899eb0793a8f3e8043782d8243e8af6be85ff2b25afb847a3a7370873fc2917
7
- data.tar.gz: 8074b968f360207cb3638076ea6ae3eaee270647a41483db90555e125ad505fb65d7dda63efdca3121a7c81156c035d79f1dfbf105837265b7a7792fc2d06512
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
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.149'
2
+ VERSION = '0.9.150'
3
3
  end
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.149
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-19 00:00:00.000000000 Z
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.2.0
1256
+ rubygems_version: 2.5.1
1257
1257
  signing_key:
1258
1258
  specification_version: 4
1259
1259
  summary: CMS built on rails.