query_string_interface 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
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) ?
|
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
|
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.
|
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:
|
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
|
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.
|
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
|