scrivito_two_column_widget 0.65.0 → 0.90.0
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: 845d11abbf10b57027ea1b65a11b577219eeb8d3
|
4
|
+
data.tar.gz: a7fa1e2dec3232dc755e85ba4da9344b2370b9fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afdc8b6b6e5c9e2efff5c611f2a009f66515ca70acca7653ed073915aa55d239017b6954876c5dcdcb95f7c9a9f6f58b4d48db16574969113f9053e5fa168618
|
7
|
+
data.tar.gz: bb73e74f96c2c775e5caccab606a240c38a00dbfe80968b3658063d8acdcdd9e4e623d2a3797bd0e05a3659e0ffe87c04714d6ab61d391ea7ee00ae43f4c9b29
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
class TwoColumnWidget < Widget
|
2
2
|
attribute :column_1, :widgetlist
|
3
3
|
attribute :column_2, :widgetlist
|
4
|
-
attribute :column_1_width, :
|
4
|
+
attribute :column_1_width, :enum, values: (1..12).to_a.map {|e| e.to_s}, default: '6'
|
5
5
|
|
6
6
|
def column_2_width
|
7
7
|
12 - self.column_1_width.to_i
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_two_column_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: scrivito
|
@@ -43,7 +43,6 @@ files:
|
|
43
43
|
- lib/scrivito_two_column_widget/engine.rb
|
44
44
|
- lib/scrivito_two_column_widget/version.rb
|
45
45
|
- lib/tasks/scrivito_two_column_widget_tasks.rake
|
46
|
-
- scrivito/migrate/0_create_two_column_widget.rb
|
47
46
|
homepage: https://www.scrivito.com
|
48
47
|
licenses:
|
49
48
|
- LGPL-3.0
|
@@ -1,27 +0,0 @@
|
|
1
|
-
class CreateTwoColumnWidget < ::Scrivito::Migration
|
2
|
-
def up
|
3
|
-
Scrivito::ObjClass.create(
|
4
|
-
name: 'TwoColumnWidget',
|
5
|
-
is_binary: false,
|
6
|
-
attributes: [
|
7
|
-
{
|
8
|
-
name: 'column_1',
|
9
|
-
type: :widget,
|
10
|
-
},
|
11
|
-
{
|
12
|
-
name: 'column_2',
|
13
|
-
type: :widget,
|
14
|
-
},
|
15
|
-
{
|
16
|
-
name: 'column_1_width',
|
17
|
-
type: :string,
|
18
|
-
},
|
19
|
-
{
|
20
|
-
name: 'column_2_width',
|
21
|
-
type: :string,
|
22
|
-
},
|
23
|
-
]
|
24
|
-
)
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|