scrivito_three_column_widget 0.0.3 → 0.0.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/three_column_widget.rb +15 -0
- data/lib/scrivito_three_column_widget/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 634b4eb4b2731f66c4909b735857e83acebea701
|
4
|
+
data.tar.gz: daf9b42a8fa36dff1388a858f22ee2f2e4581c52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64d32f00bb7c0b68759995f63026d7fd371ffd1089b2511ac4319425bea1a01b96383b05f43d0402ca7e9043a07fa26600895cf181af1d597190702400ce5328
|
7
|
+
data.tar.gz: 2211ba59b1971ab1997d651a98367ec1d3778fb7a39ab5db84d32f1621bfa4d480b0723efa05b98b8b04e643b220f1ba0401a6c1f04015a830bb5fc584620399
|
@@ -1,4 +1,18 @@
|
|
1
1
|
class ThreeColumnWidget < Widget
|
2
|
+
attribute :column_1, :widgetlist
|
3
|
+
attribute :column_1_width, :string
|
4
|
+
attribute :column_2, :widgetlist
|
5
|
+
attribute :column_2_width, :string
|
6
|
+
attribute :column_3, :widgetlist
|
7
|
+
attribute :column_3_width, :string
|
8
|
+
|
9
|
+
attribute :column_1, :widgetlist
|
10
|
+
attribute :column_2, :widgetlist
|
11
|
+
attribute :column_3, :widgetlist
|
12
|
+
attribute :column_1_width, :string
|
13
|
+
attribute :column_2_width, :string
|
14
|
+
attribute :column_3_width, :string
|
15
|
+
|
2
16
|
def column_1_width
|
3
17
|
self[:column_1_width].presence || '4'
|
4
18
|
end
|
@@ -10,4 +24,5 @@ class ThreeColumnWidget < Widget
|
|
10
24
|
def column_3_width
|
11
25
|
self[:column_3_width].presence || '4'
|
12
26
|
end
|
27
|
+
|
13
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_three_column_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|