ruby-factual 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/factual.rb +1 -2
  2. metadata +4 -4
data/lib/factual.rb CHANGED
@@ -388,8 +388,7 @@ module Factual
388
388
  offset = (page.to_i - 1) * limit
389
389
  offset = 0 unless offset > 0
390
390
 
391
- # TODO clean it
392
- filters_query = "&filters=" + filters.to_json if filters
391
+ filters_query = "&filters=" + CGI.escape(filters.to_json) if filters
393
392
 
394
393
  if sorts
395
394
  sorts = sorts[0] if sorts.length == 1
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-factual
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Forrest Cao
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-29 00:00:00 +08:00
18
+ date: 2011-03-30 00:00:00 +08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency