store-spec 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3afa5647bf9ecefc25e15179c181f3935c1f7e02
4
- data.tar.gz: dfb940b47a44a6b3b34f47282a856b8cb7f9c92b
3
+ metadata.gz: b4105ee7a17132ecc30b165c5e4d281e3f8d8eac
4
+ data.tar.gz: c525bd54c3c3a57ac2b861bea00d25dc3a7d8540
5
5
  SHA512:
6
- metadata.gz: a5df94ee9eb1feca5e09426d12b9fa0dfca54b044402294b5a53f361d4511125b2f02c1133f3af164d0170e9683aad7ee97e625c5a9ee5a894efd4b1d4540c73
7
- data.tar.gz: b2c679e36838ee2f26f615a1f7606427e2c240f38976279fe9236026704c810b5c1bfd0850ef48097938932b02aba0563e8bce81dd4999da2596017c4b4e2b40
6
+ metadata.gz: 5cace10ae78221b6cd8eca752de0a28d68ae8216c751d1c290142838e18725319a62b1ea866f72e41fed916805dd8ed23abe9849769462c1498c492903ed6711
7
+ data.tar.gz: dbbd259feac8c74fedb5f28e0fa1db2f189a3ca94f5cd3adfcde6e4d84a6c1ce95313a90bd286dcc2de76f27dad1c7e6a47ec8bed807d3613a3105c65730e7f2
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Store::Spec
2
2
 
3
- Shared specs for different DataMapper implementations as Memory or ActiveRecord.
3
+ Shared specs for different DataMapper implementations such as [Memory](https://github.com/janowiesniak/store-memory) or ActiveRecord (tbd) for [Store](https://github.com/holderbaum/store)
4
4
 
5
5
  ## Installation
6
6
 
@@ -18,7 +18,14 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- tbd
21
+ ```
22
+ require 'store/spec'
23
+
24
+ describe Store::DataMapper::Memory do
25
+ subject { Store::DataMapper::Memory.new }
26
+ instance_eval &Store::Spec::Specs
27
+ end
28
+ ```
22
29
 
23
30
  ## Contributing
24
31
 
@@ -1,5 +1,5 @@
1
1
  class Store
2
2
  module Spec
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
data/lib/store/spec.rb CHANGED
@@ -5,7 +5,11 @@ class Store
5
5
 
6
6
  Specs = Proc.new do
7
7
 
8
- let(:data) { Hash.new }
8
+ let(:data) do
9
+ {
10
+ 'foo' => nil
11
+ }
12
+ end
9
13
 
10
14
  Query = Struct.new(:name, :args)
11
15
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: store-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Owiesniak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-03 00:00:00.000000000 Z
11
+ date: 2013-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler