plucky 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/plucky/query.rb CHANGED
@@ -61,6 +61,7 @@ module Plucky
61
61
  end
62
62
 
63
63
  def find(*ids)
64
+ return nil if ids.empty?
64
65
  if ids.size == 1 && !ids[0].is_a?(Array)
65
66
  first(:_id => ids[0])
66
67
  else
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Plucky
3
- Version = '0.2'
3
+ Version = '0.2.1'
4
4
  end
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- version: "0.2"
8
+ - 1
9
+ version: 0.2.1
9
10
  platform: ruby
10
11
  authors:
11
12
  - John Nunemaker