seo_meta 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 attributes
14
- seo_meta_attributes.merge(super)
13
+ def attributes_with_seo_meta
14
+ seo_meta_attributes.merge(attributes_without_seo_meta)
15
15
  end
16
16
 
17
- def attributes=(attributes, *args)
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
- super
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.6
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 Z
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.8.0
69
+ rubygems_version: 1.6.2
68
70
  signing_key:
69
71
  specification_version: 3
70
72
  summary: SEO Meta tags plugin