dm-searcher 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,7 @@ module DataMapper
62
62
  #
63
63
  # @return [DataMapper::Collection] Matched records
64
64
  def search(opts = {})
65
- options = parse_opts(self, opts)
65
+ options = parse_opts(self, opts || {})
66
66
 
67
67
  self.all(options)
68
68
  end
@@ -1,5 +1,5 @@
1
1
  module Dm
2
2
  module Searcher
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-searcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
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: 2012-10-09 00:00:00.000000000 Z
12
+ date: 2012-10-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: data_mapper
@@ -69,4 +69,3 @@ signing_key:
69
69
  specification_version: 3
70
70
  summary: DataMapper plugin providing for searching models with nested conditions.
71
71
  test_files: []
72
- has_rdoc: