caboose-cms 0.8.16 → 0.8.17
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13402536b1e5f9bcb3b178a2950b207f6d9bbdc0
|
4
|
+
data.tar.gz: 704e6565a250acc6ae7d2e9d9e66b241adc52dfb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e2aed02d6fc2a88bb431f800a65cc72a0309774a6cd3b5d4f168d3794acec29fda1d6ae3910581ba3ee333a6495f743e312f753e8b0b608993f32fee8cd5c49
|
7
|
+
data.tar.gz: 4df248e0e08fdcfd627cef7af31b316e1e064dc2daffc804ed9c269cac3de5d5e8f2a4d638ec64d86c3163a1738ae5957eaa576c9463bee2b2638581be63982a
|
@@ -162,7 +162,7 @@ module Caboose
|
|
162
162
|
if params[:id]
|
163
163
|
bt = BlockType.find(params[:id])
|
164
164
|
options = []
|
165
|
-
if bt.options_function
|
165
|
+
if bt.options_function && bt.options_function.length > 0
|
166
166
|
options = bt.render_options
|
167
167
|
elsif bt.options
|
168
168
|
options = bt.options.strip.split("\n").collect { |line| { 'value' => line, 'text' => line }}
|
@@ -30,7 +30,7 @@ module Caboose
|
|
30
30
|
|
31
31
|
m = Media.where(:media_category_id => media_category_id, :original_name => original_name, :name => name).first
|
32
32
|
m = Media.create(:media_category_id => media_category_id, :original_name => original_name, :name => name, :processed => false) if m.nil?
|
33
|
-
m.process
|
33
|
+
m.delay.process
|
34
34
|
|
35
35
|
end
|
36
36
|
end
|
data/lib/caboose/version.rb
CHANGED
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.8.
|
4
|
+
version: 0.8.17
|
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-07-
|
11
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|