redde_seo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/redde/seo/default_seo.rb +4 -0
- data/app/models/redde/seo/template.rb +28 -0
- data/lib/redde_seo/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8909fb8c57f9490335d8200f06c1ff3c425a9c
|
4
|
+
data.tar.gz: 5bd6cd94f8addb7ad42a2c77bd7fce2cbbe3e20c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb61431a46bb6aa0af98e756e1ea1605dc7d7eee657216144a5008fe2c6b27794d06b4b342a009334c9c3ac74b74b0e4da839e56703f2576ce6df7963c7e00d4
|
7
|
+
data.tar.gz: b98cbdc081f5f5fe6116d4587491caa89e03b3ecf9675e63e062b58a33291297e035ab4373f100d43ccc5ac280c9f2b3d47eafcad286fba827b3ef5a3938bc03
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
class Redde::Seo::Template
|
4
|
+
attr_accessor :objekt
|
5
|
+
def initialize(objekt)
|
6
|
+
@objekt = objekt
|
7
|
+
end
|
8
|
+
|
9
|
+
def empty?
|
10
|
+
false
|
11
|
+
end
|
12
|
+
|
13
|
+
def title
|
14
|
+
''
|
15
|
+
end
|
16
|
+
|
17
|
+
def description
|
18
|
+
''
|
19
|
+
end
|
20
|
+
|
21
|
+
def keywords
|
22
|
+
''
|
23
|
+
end
|
24
|
+
|
25
|
+
def text
|
26
|
+
''
|
27
|
+
end
|
28
|
+
end
|
data/lib/redde_seo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redde_seo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Bovykin
|
@@ -210,6 +210,7 @@ files:
|
|
210
210
|
- app/models/redde/seo/finder.rb
|
211
211
|
- app/models/redde/seo/finder/objected.rb
|
212
212
|
- app/models/redde/seo/finder/urled.rb
|
213
|
+
- app/models/redde/seo/template.rb
|
213
214
|
- app/validators/redde/seo_validator.rb
|
214
215
|
- app/views/admin/seos/_block.html.haml
|
215
216
|
- app/views/admin/seos/_form.html.haml
|