picky-client 4.12.0 → 4.12.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -56,7 +56,7 @@ module Picky
56
56
  #
57
57
  def populate_with model_class, options = {}, &block
58
58
  the_ids = ids options.delete(:up_to)
59
- finder_method = options.delete(:finder_method) || :find_by_id
59
+ finder_method = options.delete(:finder_method) || :find_all_by_id
60
60
 
61
61
  # Call finder method.
62
62
  #
@@ -93,7 +93,7 @@ describe Picky::Convenience do
93
93
  def initialize id
94
94
  @id = id
95
95
  end
96
- def self.find_by_id ids, options = {}
96
+ def self.find_all_by_id ids, options = {}
97
97
  ids.map { |id| new(id) }
98
98
  end
99
99
  def == other
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: picky-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.12.0
4
+ version: 4.12.1
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-11-19 00:00:00.000000000 Z
12
+ date: 2012-11-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby