query_string_interface 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- query_string_interface (0.3.0)
4
+ query_string_interface (0.4.0)
5
5
  activesupport (>= 3.0.0)
6
6
 
7
7
  GEM
@@ -7,7 +7,7 @@ module QueryStringInterface
7
7
 
8
8
  def parse(value)
9
9
  if value =~ /^\/(.*)\/(i|m|x)?$/
10
- eval($&)
10
+ Regexp.new $1, $2
11
11
  end
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module QueryStringInterface
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
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.1
5
+ version: 0.4.0
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: 2012-01-27 00:00:00 Z
13
+ date: 2012-03-07 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.rb
47
+ - lib/query_string_interface/filter.rb
48
+ - lib/query_string_interface/filter_collection.rb
49
+ - lib/query_string_interface/helpers.rb
48
50
  - lib/query_string_interface/parsers/array_parser.rb
51
+ - lib/query_string_interface/parsers/boolean_and_nil_parser.rb
49
52
  - lib/query_string_interface/parsers/date_time_parser.rb
50
53
  - lib/query_string_interface/parsers/number_parser.rb
51
- - lib/query_string_interface/parsers/boolean_and_nil_parser.rb
52
54
  - 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
57
55
  - lib/query_string_interface/parsers.rb
58
56
  - 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.5
86
+ rubygems_version: 1.8.15
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