seo_meta_keywords 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/refinery/_head.html.erb +15 -0
- data/lib/generators/seo_meta_keywords_generator.rb +5 -2
- data/seo_meta_keywords.gemspec +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a709f4fc3b8009cdad07533cbbccf974a80ee80
|
4
|
+
data.tar.gz: 78f649e70e63da64b33ff9ac7e8d2f9b2f70f586
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80f8b6bca29b294d913d350bcb80eb2f69a18b25452f51cc9dce4808c4bbe55848b4147e2950cc3e9ea3cc4b2b380c8d112104f5942358ff73b397ffc7ad0ee4
|
7
|
+
data.tar.gz: d9eeca73028c4cce17cac26d882ab28d838b1da08aace8755b1765da9772003696390890905c53c2b5c623a4884d1bbd682f8f68b1ea2808796d9c6237ba2b60
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<meta charset='<%= Rails.application.config.encoding %>' />
|
2
|
+
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
|
3
|
+
<title><%= browser_title(yield(:title)) %></title>
|
4
|
+
<%= raw %(<meta name="description" content="#{@meta.meta_description}" />) if @meta.meta_description.present? -%>
|
5
|
+
<%= raw %(<meta name="keywords" content="#{@meta.meta_keywords}" />) if @meta.meta_keywords.present? -%>
|
6
|
+
<%= raw %(<link rel="canonical" content="#{@canonical}" />) if @canonical.present? -%>
|
7
|
+
<%= csrf_meta_tags if Refinery::Core.authenticity_token_on_frontend -%>
|
8
|
+
<%= yield :meta %>
|
9
|
+
|
10
|
+
<%= stylesheet_link_tag "application" %>
|
11
|
+
<%= yield :stylesheets %>
|
12
|
+
|
13
|
+
<%= render '/refinery/google_analytics' %>
|
14
|
+
|
15
|
+
<%= javascript_include_tag 'modernizr-min' %>
|
@@ -1,6 +1,9 @@
|
|
1
|
-
|
1
|
+
class SeoMetaKeywordsGenerator < Rails::Generators::Base
|
2
|
+
|
3
|
+
def run_seo_meta_generator!
|
4
|
+
SeoMetaGenerator.start if defined?(SeoMetaGenerator)
|
5
|
+
end
|
2
6
|
|
3
|
-
class SeoMetaKeywordsGenerator < SeoMetaGenerator
|
4
7
|
def rake_db
|
5
8
|
rake("seo_meta_keywords:install:migrations")
|
6
9
|
end
|
data/seo_meta_keywords.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "seo_meta_keywords"
|
7
|
-
s.version = '1.
|
7
|
+
s.version = '1.1.0'
|
8
8
|
s.authors = ["Fernando Aleman"]
|
9
9
|
s.email = ["fernandoaleman@mac.com"]
|
10
10
|
s.description = 'Adds meta keywords back into seo_meta'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seo_meta_keywords
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fernando Aleman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: seo_meta
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- README.md
|
80
80
|
- Rakefile
|
81
81
|
- app/decorators/models/seo_metum_decorator.rb
|
82
|
+
- app/views/refinery/_head.html.erb
|
82
83
|
- app/views/seo_meta/_form.html.erb
|
83
84
|
- config/locales/en.yml
|
84
85
|
- db/migrate/1_create_seo_meta_keywords.rb
|