rocket_cms 0.8.0.pre.5 → 0.8.0.pre.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/models/concerns/seoable.rb +1 -0
- data/lib/rocket_cms.rb +1 -0
- data/lib/rocket_cms/models/seo.rb +1 -8
- data/lib/rocket_cms/seo_helpers.rb +13 -0
- data/lib/rocket_cms/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: c435abf4bab646d020c211fe4908bd8e871f7fe0
|
4
|
+
data.tar.gz: 1715732d78ec2450a345858277dd34bed2e2093d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d350328115337170dbca7a427df2af03ab6fa48995c627b527434191327c21597c59c4ce82a192f79033c228c0f74576625af3bcffc9817a0a95fe464f15aced
|
7
|
+
data.tar.gz: b6c3936de5887a928ad02b041c8906cf102aae3611480a6f191c4e8e6f63ca5412e72ecd025e21ac87e0be80231036ac4c1b0a17250cf93725ae619541c8562d
|
data/Gemfile.lock
CHANGED
data/lib/rocket_cms.rb
CHANGED
@@ -5,6 +5,7 @@ module RocketCMS
|
|
5
5
|
include RocketCMS::Model
|
6
6
|
include Enableable
|
7
7
|
include RocketCMS.orm_specific('Seo')
|
8
|
+
include RocketCMS::SeoHelpers
|
8
9
|
|
9
10
|
included do
|
10
11
|
RocketCMS.apply_patches self
|
@@ -12,13 +13,5 @@ module RocketCMS
|
|
12
13
|
end
|
13
14
|
end
|
14
15
|
end
|
15
|
-
|
16
|
-
def page_title
|
17
|
-
title.blank? ? name : title
|
18
|
-
end
|
19
|
-
|
20
|
-
def get_og_title
|
21
|
-
og_title.blank? ? name : og_title
|
22
|
-
end
|
23
16
|
end
|
24
17
|
|
data/lib/rocket_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.0.pre.
|
4
|
+
version: 0.8.0.pre.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
@@ -472,6 +472,7 @@ files:
|
|
472
472
|
- lib/rocket_cms/models/seo.rb
|
473
473
|
- lib/rocket_cms/patch.rb
|
474
474
|
- lib/rocket_cms/rails_admin_menu.rb
|
475
|
+
- lib/rocket_cms/seo_helpers.rb
|
475
476
|
- lib/rocket_cms/simple_form_patch.rb
|
476
477
|
- lib/rocket_cms/tasks.rb
|
477
478
|
- lib/rocket_cms/version.rb
|