query_string_interface 0.3.0 → 0.3.1

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.
@@ -1,4 +1,4 @@
1
- require 'cgi'
1
+ require 'uri'
2
2
  require 'json'
3
3
 
4
4
  module QueryStringInterface
@@ -138,7 +138,7 @@ module QueryStringInterface
138
138
  end
139
139
 
140
140
  def unescaped_raw_value
141
- @unescaped_raw_value ||= raw_value.is_a?(String) ? CGI.unescape(raw_value) : raw_value
141
+ @unescaped_raw_value ||= raw_value.is_a?(String) ? URI.unescape(raw_value) : raw_value
142
142
  end
143
143
 
144
144
  def conditional_array_operators
@@ -1,3 +1,3 @@
1
1
  module QueryStringInterface
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: query_string_interface
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Vicente Mundim
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-12-07 00:00:00 Z
13
+ date: 2012-01-27 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -44,18 +44,18 @@ extensions: []
44
44
  extra_rdoc_files: []
45
45
 
46
46
  files:
47
- - lib/query_string_interface/filter.rb
48
- - lib/query_string_interface/filter_collection.rb
49
- - lib/query_string_interface/helpers.rb
47
+ - lib/query_string_interface.rb
50
48
  - lib/query_string_interface/parsers/array_parser.rb
51
- - lib/query_string_interface/parsers/boolean_and_nil_parser.rb
52
49
  - lib/query_string_interface/parsers/date_time_parser.rb
53
50
  - lib/query_string_interface/parsers/number_parser.rb
51
+ - lib/query_string_interface/parsers/boolean_and_nil_parser.rb
54
52
  - lib/query_string_interface/parsers/regex_parser.rb
53
+ - lib/query_string_interface/version.rb
54
+ - lib/query_string_interface/filter_collection.rb
55
+ - lib/query_string_interface/filter.rb
56
+ - lib/query_string_interface/helpers.rb
55
57
  - lib/query_string_interface/parsers.rb
56
58
  - lib/query_string_interface/sorting_filters.rb
57
- - lib/query_string_interface/version.rb
58
- - lib/query_string_interface.rb
59
59
  - MIT_LICENSE
60
60
  - README.md
61
61
  - Gemfile
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  requirements: []
84
84
 
85
85
  rubyforge_project: query_string_interface
86
- rubygems_version: 1.8.10
86
+ rubygems_version: 1.8.5
87
87
  signing_key:
88
88
  specification_version: 3
89
89
  summary: Extracts query string params to a structured data, suitable to use for model queries