openurl 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -127,8 +127,8 @@ module OpenURL
127
127
  def kev(abbr)
128
128
  kevs = []
129
129
 
130
- @metadata.each do |k,v|
131
- kevs << "#{abbr}.#{k}="+CGI.escape(v) if v
130
+ @metadata.each do |k,v|
131
+ kevs << "#{abbr}.#{k}=#{CGI.escape(v.to_str)}" if v
132
132
  end
133
133
  if @kev_ns
134
134
  kevs << "#{abbr}_val_fmt="+CGI.escape(@kev_ns)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-07-10 00:00:00.000000000 Z
13
+ date: 2012-07-25 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: marc