seo_meta 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/seo_meta/instance_methods.rb +9 -4
- metadata +5 -3
@@ -10,14 +10,19 @@ module SeoMeta
|
|
10
10
|
end
|
11
11
|
|
12
12
|
# Allow attributes supplied to override the current seo_meta_attributes.
|
13
|
-
def
|
14
|
-
seo_meta_attributes.merge(
|
13
|
+
def attributes_with_seo_meta
|
14
|
+
seo_meta_attributes.merge(attributes_without_seo_meta)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
alias_method_chain :attributes, :seo_meta
|
18
|
+
|
19
|
+
def attributes_equals_with_seo_meta(attributes, *args)
|
18
20
|
seo_meta_attributes.merge(attributes)
|
19
|
-
|
21
|
+
attributes_equals_without_seo_meta
|
20
22
|
end
|
23
|
+
|
24
|
+
alias_method :attributes_equals, :attributes=
|
25
|
+
alias_method_chain :attributes_equals, :seo_meta
|
21
26
|
end
|
22
27
|
end
|
23
28
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: seo_meta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.0.
|
5
|
+
version: 1.0.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Philip Arndt
|
@@ -10,7 +10,8 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-06 00:00:00
|
13
|
+
date: 2011-05-06 00:00:00 +12:00
|
14
|
+
default_executable:
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: refinerycms-generators
|
@@ -41,6 +42,7 @@ files:
|
|
41
42
|
- app/models/seo_metum.rb
|
42
43
|
- license.md
|
43
44
|
- readme.md
|
45
|
+
has_rdoc: true
|
44
46
|
homepage: http://philiparndt.name
|
45
47
|
licenses: []
|
46
48
|
|
@@ -64,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
66
|
requirements: []
|
65
67
|
|
66
68
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.
|
69
|
+
rubygems_version: 1.6.2
|
68
70
|
signing_key:
|
69
71
|
specification_version: 3
|
70
72
|
summary: SEO Meta tags plugin
|