sovaa 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sovaa.rb +1 -1
  2. data/sovaa.gemspec +1 -1
  3. metadata +1 -1
@@ -86,7 +86,7 @@ module Sovaa
86
86
  def paramify_url url, params = {}
87
87
  if params && !params.empty?
88
88
  query = params.collect do |k,v|
89
- v = v.to_json if %w{key startkey endkey}.include?(k.to_s)
89
+ v = Yajl::Encoder.encode(v) if %w{key startkey endkey}.include?(k.to_s)
90
90
  "#{k}=#{CGI.escape(v.to_s)}"
91
91
  end.join("&")
92
92
  url = "#{url}?#{query}"
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sovaa"
3
- s.version = "0.0.4"
3
+ s.version = "0.0.5"
4
4
  s.date = "2011-03-19"
5
5
  s.summary = "CouchDB library"
6
6
  s.email = "jonathan.stott@gmail.com"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: sovaa
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.4
5
+ version: 0.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jonathan Stott