caboose-cms 0.9.151 → 0.9.152

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: b309af102afbdb0e114926ac4e60855b4c19d812
4
- data.tar.gz: 2fa9b8018c6ebd41f462f2ff1814c6d6e9ac54fb
3
+ metadata.gz: 4f53ea3d5a0d666c883ec05ad33f19d5fd993fb7
4
+ data.tar.gz: 636f821a7aefcceeda72ff14edf95e00958dc601
5
5
  SHA512:
6
- metadata.gz: bdd3f3decaf0822f4c9715499deb6d15d02e6e33e73f838aa4d6e005633a03390e30aebfd69ae94f254d2141b2a5e59252fb0b3ac78a783fff6b33634ceabb28
7
- data.tar.gz: afa10fc4412ee182c588b4fcf480d754209d2292e698f5ca35750cd1cbb21203be253b9ff58894f40bcdb97cccdc60be9ec3ae0917607a1688d6e28b3c9e7472
6
+ metadata.gz: f8a4bebbf094cd6d60ea74cd89cb870f5e2fdbf3ffc55b9c68d63bca17dbc831620d913e07ad6781dadce3fbb6bca79b4dbc66f6c4f57ddb22599e3293c2ea19
7
+ data.tar.gz: 5d9e86a6347ebc424a3d57f14fea587e459ce7754da52bb0c2b8d3dcb1125734bb155ae029694dd13bf50b58f057ee1e0f12b1c342fc8bdfd091d5f8474d282d
@@ -36,7 +36,7 @@ var controller = false;
36
36
  $(document).ready(function() {
37
37
  controller = new BlockContentController({
38
38
  page_id: <%= @page.id %>,
39
- assets_path: 'https://assets.caboosecms.com/assets/',
39
+ assets_path: "<%= Rails.env.production? ? ('https://' + Caboose::cdn_domain + '/assets/') : '/assets/' %>",
40
40
  <% if @site && @site.use_dragdrop %>
41
41
  included_assets: ['caboose/block_modal_controllers/block_dd_modal_controller.js']
42
42
  <% else %>
@@ -35,7 +35,7 @@ var controller = false;
35
35
  $(document).ready(function() {
36
36
  controller = new BlockContentController({
37
37
  post_id: <%= @post.id %>,
38
- assets_path: 'https://assets.caboosecms.com/assets/',
38
+ assets_path: "<%= Rails.env.production? ? ('https://' + Caboose::cdn_domain + '/assets/') : '/assets/' %>",
39
39
  <% if @site && @site.use_dragdrop %>
40
40
  included_assets: ['caboose/block_modal_controllers/block_dd_modal_controller.js']
41
41
  <% else %>
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.151'
2
+ VERSION = '0.9.152'
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.151
4
+ version: 0.9.152
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
@@ -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.5.1
1256
+ rubygems_version: 2.2.0
1257
1257
  signing_key:
1258
1258
  specification_version: 4
1259
1259
  summary: CMS built on rails.