collector 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module Collector
54
54
  end
55
55
 
56
56
  def all
57
- collection.find_all.map do |document|
57
+ collection.find.map do |document|
58
58
  deserialize!(document)
59
59
  end
60
60
  end
@@ -1,3 +1,3 @@
1
1
  module Collector
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
@@ -90,7 +90,7 @@ describe Collector::Repository do
90
90
  documents = [document_1, document_2]
91
91
  TestRepository.expects(:deserialize!).with(document_1)
92
92
  TestRepository.expects(:deserialize!).with(document_2)
93
- collection = mock { expects(:find_all).returns(documents) }
93
+ collection = mock { expects(:find).returns(documents) }
94
94
  TestRepository.expects(:collection).returns(collection)
95
95
  TestRepository.all
96
96
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
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-23 00:00:00.000000000 Z
12
+ date: 2012-12-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport