seo_meta_keywords 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -2
- data/app/overrides/add_meta_keywords_to_head.rb +5 -0
- data/lib/seo_meta_keywords.rb +1 -0
- data/seo_meta_keywords.gemspec +2 -1
- metadata +17 -3
- data/app/views/refinery/_head.html.erb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1fd6bd2cf0ce5484621b70f61dd445e4a77e11b
|
4
|
+
data.tar.gz: 82fa4460fd19521fe8ab6e404687f094226406ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499b4b92e57648b5e6204637102aee6a39df220dc04aae0fddad5916e8c14945590c609de7b2f28c0cc5c3b4b55f00ff147719f5cb3dd25250076855bafc5cc1
|
7
|
+
data.tar.gz: a190c1ae59f1db6c5d20870d749987ce0ac92f86df2f834600fd377dd0315b241c5bfee20305586a62dd335697b17283a3d8153fc7cd074ba2a03fb54c5771dc
|
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# SEO Meta Tags Keywords
|
2
2
|
|
3
|
-
This gem is an extension to [seo_meta](https://github.com/parndt/seo_meta) which
|
4
|
-
adds meta keywords back in to meta tags.
|
3
|
+
This gem is an extension to [seo_meta](https://github.com/parndt/seo_meta) which adds meta keywords back in to meta tags.
|
5
4
|
|
6
5
|
## Installation
|
7
6
|
|
@@ -25,4 +24,10 @@ rake db:migrate
|
|
25
24
|
|
26
25
|
## Usage
|
27
26
|
|
27
|
+
The following line will be added to the `<head>` section after the `<title>` tag:
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
<%= raw %(<meta name="keywords" content="#{@meta.meta_keywords}" />) if @meta.meta_keywords.present? -%>
|
31
|
+
```
|
32
|
+
|
28
33
|
For documentation, please refer to the [seo_meta](https://github.com/parndt/seo_meta) gem.
|
data/lib/seo_meta_keywords.rb
CHANGED
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.2.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'
|
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.add_dependency 'seo_meta', '~> 1.4.0'
|
21
21
|
s.add_dependency 'decorators', '~> 1.0.0'
|
22
|
+
s.add_dependency 'deface', '~> 1.0.0'
|
22
23
|
|
23
24
|
s.add_development_dependency "bundler", "~> 1.3"
|
24
25
|
s.add_development_dependency "rake"
|
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.2.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-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: seo_meta
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.0.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: deface
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 1.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.0.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,7 +93,7 @@ files:
|
|
79
93
|
- README.md
|
80
94
|
- Rakefile
|
81
95
|
- app/decorators/models/seo_metum_decorator.rb
|
82
|
-
- app/
|
96
|
+
- app/overrides/add_meta_keywords_to_head.rb
|
83
97
|
- app/views/seo_meta/_form.html.erb
|
84
98
|
- config/locales/en.yml
|
85
99
|
- db/migrate/1_create_seo_meta_keywords.rb
|
@@ -1,15 +0,0 @@
|
|
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' %>
|