caboose-cms 0.9.18 → 0.9.19

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: d953f92afcce9ce708c88a5fc9c2ead5d4ce0b54
4
- data.tar.gz: f9500c0543565b0a5b9150a32e8bf3439999b388
3
+ metadata.gz: dd1a1d7bb01139d692c5ea699b110b583c58e699
4
+ data.tar.gz: 8cfe600f087feb342822b04e1e2b56d3d0302768
5
5
  SHA512:
6
- metadata.gz: 4d79ce27a061d76c87ab16a85fd714c696d8ef9d2e76b1fedbc680701ee6d15c7e61689776fd9811b609a0acb48b571d2736ec4fe96b68ea7a8c04a713cc1fc5
7
- data.tar.gz: 3345b73d589f281a9f46ebd4de5ae3a9faa09daf1d20ac6c309d5153a7f47a81233fd16977c63512cb87807d46b52fd3ef29a34f10c245334df4d14511d0661c
6
+ metadata.gz: 82d1c40bc05d740ef7cbfc7999659b4dd354040deaf5412136e3b48f8c9efbb8ce3e71d0d07c9cfa993ea4e710917a416bed466d08c172b383904691dbda9329
7
+ data.tar.gz: b986be6897527d8d79997b8ac7ef1a435a7ce23e6af94a6e15a9c3a6197375ea11b3a04b21f32a0bda255b4c2207cad88a727417663a61890118d90d5f5f7364
@@ -41,5 +41,11 @@ tinyMCE.init({
41
41
  tag.html_safe
42
42
  end
43
43
 
44
+ def cloudfront_asset_path(path)
45
+ str = asset_path(str)
46
+ str = str.gsub('http://', 'https://') if request.env['HTTPS'] == 'on'
47
+ return str
48
+ end
49
+
44
50
  end
45
51
  end
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.18'
2
+ VERSION = '0.9.19'
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.18
4
+ version: 0.9.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-25 00:00:00.000000000 Z
11
+ date: 2016-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg