caboose-cms 0.4.15 → 0.4.16
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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTBmODk0Mzk5YjQ3YTM5MDg5YzIzNjllMTJkZmM1YjNiNzNmZDhmMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjAzMjNmNDc5N2EyNjc2Y2VjMWI0ZjgxZDQzYzQ0OGY5YmZkYmNkMg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2QwODU3NzQ4ZWFkY2MzZDE5NzkwZTFiODFiMmMwYmU0OGFkNzQ1MjRjZmZj
|
10
|
+
ZDJhYjdlNTQwYWViN2NmNmMyMDFjNTkwMjZkN2Q1YTM0MDMwNjA5YzhkOThj
|
11
|
+
NTkxOTg5NDllYWI4Y2JhNWIzOWZmNDYzNDlmNDE3ZGFhOTAwNDk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZWQ2ZjIwYjBkYWM4ZGVjMzQyY2QzNjgxMTFlNWYyYWFkYmRhZjhjZGVkZTgy
|
14
|
+
NjJjYWUzMWVjZjVlNTdlMzk1OGM0ZjZkZWEzNzMzNzU0ZTYxNmZlMjI4YzI0
|
15
|
+
YzdmYmU3YTY5NGZiYmQzZTk3MTJmNzNmNmNiNjVkMTI4ODI0YTU=
|
@@ -351,6 +351,12 @@ class Caboose::Schema < Caboose::Utilities::Schema
|
|
351
351
|
bt = Caboose::BlockType.where(:name => 'richtext').first
|
352
352
|
bt.field_type = 'richtext'
|
353
353
|
bt.save
|
354
|
+
end
|
355
|
+
if !Caboose::BlockType.where(:name => 'image').exists?
|
356
|
+
Caboose::BlockType.create(:name => 'image', :description => 'Image', :field_type => 'image', :default => '', :width => 800, :height => 400, :fixed_placeholder => false)
|
357
|
+
end
|
358
|
+
if !Caboose::BlockType.where(:name => 'file').exists?
|
359
|
+
Caboose::BlockType.create(:name => 'file', :description => 'File', :field_type => 'file', :default => '', :width => 800, :height => 400, :fixed_placeholder => false)
|
354
360
|
end
|
355
361
|
|
356
362
|
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.4.
|
4
|
+
version: 0.4.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -314,6 +314,7 @@ files:
|
|
314
314
|
- app/views/caboose/block_types/admin_index.html.erb
|
315
315
|
- app/views/caboose/block_types/admin_new.html.erb
|
316
316
|
- app/views/caboose/blocks/_block.html.erb
|
317
|
+
- app/views/caboose/blocks/_file.html.erb
|
317
318
|
- app/views/caboose/blocks/_heading.html.erb
|
318
319
|
- app/views/caboose/blocks/_html.html.erb
|
319
320
|
- app/views/caboose/blocks/_image.html.erb
|