caboose-cms 0.5.96 → 0.5.97
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/caboose/schema.rb +2 -2
- data/app/views/caboose/blocks/_checkbox.html.erb +3 -2
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDg1ZWE4OWMwYTllNDhmMjk0OGRiNjc1NWVhMzFlZWQ4YzgzMDk0Mw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZmVmOTA0MjU4Y2NhYWRiMDYzODdjMGExN2RmMDYzMjc3Mjc1ZmQ4Mg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGVlMjA5NjI2YjMzZmVkZTcwNDQ5MmUwOTQ5MjMwZTYxMjYwODg4YzlhZDUx
|
10
|
+
Mzk0ZTk1ZjJmOGJmNWQwMTE2YjEzNDc4NTc1YTVmNzU1NTM3ZWFjNDIyMGM3
|
11
|
+
ZThlZjgzMDViODNiZjQwMDQ3NGU0OTQyMWMxMjVkNzk1MmNiOGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjBmZTkwYmIxYTQ5ZDY1ZTk2YjNiMWJiZDgxZGUzZjk3YzM3NjRhNGM4OTE1
|
14
|
+
Njc1NTQ1MzI3NmE5OWRlZTQyNjA2ZjZiNGVlNWRiMzdlY2Y2ODE2MjRkZDI4
|
15
|
+
NTVhMTI0YzNlOTE5YTQyZTU5YmM4NzZjMmZhMjQ2OTlhMTA1MzA=
|
@@ -624,8 +624,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
|
|
624
624
|
[ :alternate_id , :string ],
|
625
625
|
[ :sku , :string ],
|
626
626
|
[ :barcode , :string ],
|
627
|
-
[ :price , :numeric , :default => 0 ],
|
628
|
-
[ :sale_price , :numeric , :default => 0 ],
|
627
|
+
[ :price , :numeric , :default => 0.00 ],
|
628
|
+
[ :sale_price , :numeric , :default => 0.00 ],
|
629
629
|
[ :date_sale_starts , :datetime ],
|
630
630
|
[ :date_sale_end , :datetime ],
|
631
631
|
[ :available , :boolean ],
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<%
|
2
|
-
checked = block.value
|
3
|
-
checked =
|
2
|
+
checked = block.value
|
3
|
+
checked = 0 if checked.nil?
|
4
|
+
checked = checked == 1 || checked == '1' ? true : false
|
4
5
|
%>
|
5
6
|
<% if editing %>
|
6
7
|
<div id='block_<%= block.id %>'><%= raw block.block_type.description %> = <%= (checked ? "Yes" : "No") %></div>
|
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.5.
|
4
|
+
version: 0.5.97
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|