metamagic 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/metamagic/helper_methods.rb +2 -2
- metadata +4 -4
@@ -21,9 +21,9 @@ module Metamagic
|
|
21
21
|
if option.is_a?(Hash)
|
22
22
|
option.each_pair do |key, value|
|
23
23
|
if value.is_a?(Array)
|
24
|
-
add_tag_if_not_existing :name => key, :content =>
|
24
|
+
add_tag_if_not_existing :name => key, :content => value.join(", ")
|
25
25
|
else
|
26
|
-
add_tag_if_not_existing :name => key, :content =>
|
26
|
+
add_tag_if_not_existing :name => key, :content => 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:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 2.0.
|
9
|
+
- 4
|
10
|
+
version: 2.0.4
|
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-
|
18
|
+
date: 2012-07-07 00:00:00 Z
|
19
19
|
dependencies: []
|
20
20
|
|
21
21
|
description: Metamagic is a simple Ruby on Rails plugin for creating meta tags.
|