metamagic 2.0.2 → 2.0.3

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.
Files changed (2) hide show
  1. data/lib/metamagic/helper_methods.rb +1 -1
  2. metadata +4 -4
@@ -23,7 +23,7 @@ module Metamagic
23
23
  if value.is_a?(Array)
24
24
  add_tag_if_not_existing :name => key, :content => CGI::escapeHTML(value.join(", "))
25
25
  else
26
- add_tag_if_not_existing :name => key, :content => CGI::escapeHTML(value)
26
+ add_tag_if_not_existing :name => key, :content => CGI::escapeHTML(value || "")
27
27
  end
28
28
  end
29
29
  elsif option.is_a?(Array)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metamagic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 2
10
- version: 2.0.2
9
+ - 3
10
+ version: 2.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lasse Bunk
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-07-03 00:00:00 Z
18
+ date: 2012-07-04 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Metamagic is a simple Ruby on Rails plugin for creating meta tags.