scrivito_seo_headline_extender 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/headline_widget.rb +7 -0
- data/lib/scrivito_seo_headline_extender/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: 194dcb396301d096f42ad5f2145313c39b543a43
|
4
|
+
data.tar.gz: a6164ea26d4d3de4e22a2724af9d00e507c008ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f50812b71c2ff4351204a820a3591f5fecebe211faa47a5ba1e28a8f2aa83d383bb6f33eaa24b02e23636624724042d9a460ee7a88adb63e7d1345fd6b924e
|
7
|
+
data.tar.gz: 9a425d4d0b8ad1d6c7419e6662f9f92c1bb69c302c6329ab5382f9c0615c5e9859fd193a87013708502e292d4cac2779f0d33cad98fbd6723ebe7f7d6bbe2725
|
@@ -1,4 +1,11 @@
|
|
1
1
|
class HeadlineWidget < Widget
|
2
|
+
attribute :headline, :string
|
3
|
+
attribute :anchor, :string
|
4
|
+
attribute :type, :enum, values: ['h1','h2','h3','h4','h5','h6']
|
5
|
+
attribute :size, :enum, values: ['large','medium','small','text']
|
6
|
+
attribute :style, :enum, values: ['normal','bold','italic','bold-italic']
|
7
|
+
attribute :alignment, :enum, values: ['center','left','right']
|
8
|
+
|
2
9
|
def css_class
|
3
10
|
[self.size, self.css_style, self.alignment].join(" ")
|
4
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_seo_headline_extender
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
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-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|