plucky 0.2 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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