caboose-cms 0.9.131 → 0.9.132

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba5be70045c4cb98e995a060c10f5196a12f2ecc
4
- data.tar.gz: 5ac342f780b94f39d2b3ac2585d30bd0a0448067
3
+ metadata.gz: d69d8739a0692934a4a6dd880db8a0535ba27af7
4
+ data.tar.gz: a782353ec28df9ae74b2088c263784e3bb56ad31
5
5
  SHA512:
6
- metadata.gz: 9873c33c4494e2c5257b44459f3f5f5373b807d64d6043f70d988188b0c61a2cd8e4d5e3c8eaf4ca8edfab904c66dc84bbdd69b9e277a200bb388b7b6c31a550
7
- data.tar.gz: c8aa3d482c8c4ee76f3a37d93ce099d305fd807c98f15cbccff5172a35e090c14867702eed768149ce886435c5f6dcfea2f355d9e3568b0566004d97e6366175
6
+ metadata.gz: acee5249ee0563972e87c2548dd37f4fa2ae41e1667f3652cf2fea1c0d73f7860c9ef09c358a7231169d8478667f1cd03c506996f9a9bc061a4a9633942302dd
7
+ data.tar.gz: 9bb351b2cd4c734120f046858c9d7975cbeb7cec150890c6a8e1939af81f39ae333373e3bdb62202db829c0d10e5870c66eb3da94f38740f8016574fecbf6048
@@ -184,6 +184,7 @@ module Caboose
184
184
  when 'default_layout_id' then site.default_layout_id = value
185
185
  when 'allow_self_registration' then site.allow_self_registration = value
186
186
  when 'theme_color' then site.theme_color = value
187
+ when 'assets_url' then site.assets_url = value
187
188
  end
188
189
  end
189
190
 
@@ -772,7 +772,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
772
772
  [ :login_fail_lock_count , :integer , { :default => 5 }],
773
773
  [ :sitemap_xml , :text ],
774
774
  [ :robots_txt , :text ],
775
- [ :theme_color , :string ]
775
+ [ :theme_color , :string ],
776
+ [ :assets_url , :string ]
776
777
  #[ :custom_css , :text ],
777
778
  #[ :custom_css_files , :text ],
778
779
  #[ :custom_js , :text ],
@@ -37,7 +37,8 @@ class Caboose::Site < ActiveRecord::Base
37
37
  :login_fail_lock_count ,
38
38
  :sitemap_xml ,
39
39
  :robots_txt ,
40
- :theme_color
40
+ :theme_color ,
41
+ :assets_url
41
42
 
42
43
  before_save :validate_presence_of_store_config
43
44
 
@@ -18,6 +18,7 @@ user_ids = [] if user_ids.nil?
18
18
  <p><div id='site_<%= @site.id %>_use_dragdrop' ></div></p>
19
19
  <p><div id='site_<%= @site.id %>_allow_self_registration' ></div></p>
20
20
  <p><div id='site_<%= @site.id %>_theme_color' ></div></p>
21
+ <p><div id='site_<%= @site.id %>_assets_url' ></div></p>
21
22
  <p><div id='site_<%= @site.id %>_default_layout_id' ></div></p>
22
23
 
23
24
  <h2>Domains</h2>
@@ -95,6 +96,7 @@ $(document).ready(function() {
95
96
  { name: 'logo' , nice_name: 'Logo' , type: 'image' , value: <%= raw Caboose.json(@site.logo ? @site.logo.url(:thumb) : '') %>, width: 400, update_url: '/admin/sites/<%= @site.id %>/logo' },
96
97
  { name: 'description' , nice_name: 'Description' , type: 'text' , value: <%= raw Caboose.json(@site.description) %>, width: 600 },
97
98
  { name: 'theme_color' , nice_name: 'Theme Color' , type: 'text' , value: <%= raw Caboose.json(@site.theme_color) %>, width: 600 },
99
+ { name: 'assets_url' , nice_name: 'Assets URL' , type: 'text' , value: <%= raw Caboose.json(@site.assets_url) %>, width: 600 },
98
100
  { name: 'under_construction_html' , nice_name: 'Under Construction HTML' , type: 'textarea' , value: <%= raw Caboose.json(@site.under_construction_html) %>, width: 600, height: 220 },
99
101
  { name: 'use_store' , nice_name: 'Enable Store' , type: 'checkbox' , value: <%= raw Caboose.json(@site.use_store ? true : false) %>, width: 400 },
100
102
  { name: 'use_fonts' , nice_name: 'Enable Fonts' , type: 'checkbox' , value: <%= raw Caboose.json(@site.use_fonts ? true : false) %>, width: 400 },
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.131'
2
+ VERSION = '0.9.132'
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.131
4
+ version: 0.9.132
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-05-12 00:00:00.000000000 Z
11
+ date: 2018-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg