caboose-cms 0.9.150 → 0.9.151

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: 4cf0ee9139b606d9244fa395f016468f79da562e
4
- data.tar.gz: 4e376b66510db9ab01180d2c6878849eae4a5b20
3
+ metadata.gz: b309af102afbdb0e114926ac4e60855b4c19d812
4
+ data.tar.gz: 2fa9b8018c6ebd41f462f2ff1814c6d6e9ac54fb
5
5
  SHA512:
6
- metadata.gz: c6a66d961e2e996b12ccc44336a46a828d5d74fc2109b5ae04d1a824beb0b504aa9bc2a637469c56c8f0bf4d7d5a09b570f630b005a30d86be8c82f779305e76
7
- data.tar.gz: 41edb90bff172267f7cc24fd539fec11395e49e558d67db41b136bb524e120ef616213fc7cec90f808e7bacb1eee6d45b46ab7bfdc60e0275f210c05059cdd14
6
+ metadata.gz: bdd3f3decaf0822f4c9715499deb6d15d02e6e33e73f838aa4d6e005633a03390e30aebfd69ae94f254d2141b2a5e59252fb0b3ac78a783fff6b33634ceabb28
7
+ data.tar.gz: afa10fc4412ee182c588b4fcf480d754209d2292e698f5ca35750cd1cbb21203be253b9ff58894f40bcdb97cccdc60be9ec3ae0917607a1688d6e28b3c9e7472
@@ -51,10 +51,10 @@ tinyMCE.init({
51
51
  return str
52
52
  end
53
53
 
54
- def caboose_asset_path(path)
55
- str = nil
54
+ def caboose_asset_path(path, options = {})
55
+ str = ""
56
56
  begin
57
- str = asset_path(path)
57
+ str = asset_path(path, options)
58
58
  rescue Sprockets::Helpers::RailsHelper::AssetPaths::AssetNotPrecompiledError
59
59
  Caboose.log("Precompiled asset not found\n\nAsset: #{path}\nFile: #{caller_locations[1].path}\nLine: #{caller_locations[1].lineno}")
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.150'
2
+ VERSION = '0.9.151'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.150
4
+ version: 0.9.151
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry