arel_search 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -35,7 +35,8 @@ Or install it yourself as:
35
35
 
36
36
  ## TODO
37
37
 
38
- Work with namespace
38
+ * Work with namespace
39
+ * Allow 'OR' conditions
39
40
 
40
41
  ## Contributing
41
42
 
@@ -16,7 +16,7 @@ module ArelSearch
16
16
  attr_reader :fields, :model, :params
17
17
  attr_accessor :scope
18
18
 
19
- def initialize(m, params)
19
+ def initialize(m, params={})
20
20
  @model = m
21
21
  @scope = self.model
22
22
  @params = params
@@ -1,3 +1,3 @@
1
1
  module ArelSearch
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arel_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-28 00:00:00.000000000 Z
12
+ date: 2013-08-30 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Arel based search gem
15
15
  email: