juno 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -1
- data/README.md +9 -4
- data/lib/juno.rb +10 -9
- data/lib/juno/adapters/activerecord.rb +1 -1
- data/lib/juno/adapters/cassandra.rb +8 -1
- data/lib/juno/adapters/couch.rb +1 -1
- data/lib/juno/adapters/datamapper.rb +3 -3
- data/lib/juno/adapters/fog.rb +1 -1
- data/lib/juno/adapters/hbase.rb +64 -0
- data/lib/juno/adapters/lruhash.rb +69 -5
- data/lib/juno/adapters/memcached_dalli.rb +0 -4
- data/lib/juno/adapters/memcached_native.rb +0 -7
- data/lib/juno/adapters/mongo.rb +0 -4
- data/lib/juno/adapters/redis.rb +8 -1
- data/lib/juno/adapters/sequel.rb +1 -1
- data/lib/juno/adapters/tokyocabinet.rb +0 -4
- data/lib/juno/base.rb +10 -0
- data/lib/juno/expires.rb +1 -1
- data/lib/juno/transformer.rb +1 -0
- data/lib/juno/version.rb +1 -1
- data/spec/generate.rb +75 -17
- data/spec/juno/adapter_datamapper_spec.rb +0 -3
- data/spec/juno/adapter_hbase_spec.rb +13 -0
- data/spec/juno/adapter_lruhash_spec.rb +14 -16
- data/spec/juno/adapter_memory_spec.rb +6 -0
- data/spec/juno/expires_file_spec.rb +9 -0
- data/spec/juno/expires_memory_spec.rb +9 -0
- data/spec/juno/lock_spec.rb +6 -0
- data/spec/juno/null_adapter_spec.rb +3 -0
- data/spec/juno/proxy_expires_memory_spec.rb +9 -0
- data/spec/juno/simple_activerecord_spec.rb +7 -0
- data/spec/juno/simple_activerecord_with_expires_spec.rb +7 -0
- data/spec/juno/simple_cassandra_spec.rb +7 -0
- data/spec/juno/simple_couch_spec.rb +7 -0
- data/spec/juno/simple_couch_with_expires_spec.rb +7 -0
- data/spec/juno/simple_datamapper_spec.rb +7 -0
- data/spec/juno/simple_datamapper_with_expires_spec.rb +7 -0
- data/spec/juno/simple_datamapper_with_repository_spec.rb +7 -0
- data/spec/juno/simple_dbm_spec.rb +7 -0
- data/spec/juno/simple_dbm_with_expires_spec.rb +7 -0
- data/spec/juno/simple_file_spec.rb +7 -0
- data/spec/juno/simple_file_with_expires_spec.rb +7 -0
- data/spec/juno/simple_fog_spec.rb +7 -0
- data/spec/juno/simple_fog_with_expires_spec.rb +7 -0
- data/spec/juno/simple_gdbm_spec.rb +7 -0
- data/spec/juno/simple_gdbm_with_expires_spec.rb +7 -0
- data/spec/juno/simple_hashfile_spec.rb +7 -0
- data/spec/juno/simple_hashfile_with_expires_spec.rb +7 -0
- data/spec/juno/simple_hbase_spec.rb +45 -0
- data/spec/juno/simple_hbase_with_expires_spec.rb +46 -0
- data/spec/juno/simple_leveldb_spec.rb +7 -0
- data/spec/juno/simple_leveldb_with_expires_spec.rb +7 -0
- data/spec/juno/simple_localmemcache_spec.rb +7 -0
- data/spec/juno/simple_localmemcache_with_expires_spec.rb +7 -0
- data/spec/juno/simple_lruhash_spec.rb +7 -0
- data/spec/juno/simple_lruhash_with_expires_spec.rb +7 -0
- data/spec/juno/simple_memcached_dalli_spec.rb +7 -0
- data/spec/juno/simple_memcached_native_spec.rb +7 -0
- data/spec/juno/simple_memcached_spec.rb +7 -0
- data/spec/juno/simple_memory_spec.rb +7 -0
- data/spec/juno/simple_memory_with_compress_spec.rb +7 -0
- data/spec/juno/simple_memory_with_expires_spec.rb +7 -0
- data/spec/juno/simple_memory_with_json_key_serializer_spec.rb +4 -0
- data/spec/juno/simple_memory_with_json_md5_key_serializer_spec.rb +4 -0
- data/spec/juno/simple_memory_with_prefix_spec.rb +7 -0
- data/spec/juno/simple_memory_with_quicklz_compress_spec.rb +7 -0
- data/spec/juno/simple_mongo_spec.rb +7 -0
- data/spec/juno/simple_mongo_with_expires_spec.rb +7 -0
- data/spec/juno/simple_null_spec.rb +3 -0
- data/spec/juno/simple_pstore_spec.rb +7 -0
- data/spec/juno/simple_pstore_with_expires_spec.rb +7 -0
- data/spec/juno/simple_redis_spec.rb +7 -0
- data/spec/juno/simple_riak_spec.rb +7 -0
- data/spec/juno/simple_riak_with_expires_spec.rb +7 -0
- data/spec/juno/simple_sdbm_spec.rb +7 -0
- data/spec/juno/simple_sdbm_with_expires_spec.rb +7 -0
- data/spec/juno/simple_sequel_spec.rb +7 -0
- data/spec/juno/simple_sequel_with_expires_spec.rb +7 -0
- data/spec/juno/simple_sqlite_spec.rb +7 -0
- data/spec/juno/simple_sqlite_with_expires_spec.rb +7 -0
- data/spec/juno/simple_tokyocabinet_spec.rb +7 -0
- data/spec/juno/simple_tokyocabinet_with_expires_spec.rb +7 -0
- data/spec/juno/simple_yaml_spec.rb +6 -0
- data/spec/juno/simple_yaml_with_expires_spec.rb +6 -0
- data/spec/juno/transformer_bzip2_spec.rb +22 -0
- data/spec/juno/transformer_marshal_base64_spec.rb +7 -0
- data/spec/juno/transformer_marshal_escape_spec.rb +7 -0
- data/spec/juno/transformer_marshal_hmac_spec.rb +7 -0
- data/spec/juno/transformer_marshal_md5_spec.rb +7 -0
- data/spec/juno/transformer_marshal_md5_spread_spec.rb +7 -0
- data/spec/juno/transformer_marshal_prefix_spec.rb +7 -0
- data/spec/juno/transformer_marshal_rmd160_spec.rb +7 -0
- data/spec/juno/transformer_marshal_sha1_spec.rb +7 -0
- data/spec/juno/transformer_marshal_sha256_spec.rb +7 -0
- data/spec/juno/transformer_marshal_sha384_spec.rb +7 -0
- data/spec/juno/transformer_marshal_sha512_spec.rb +7 -0
- data/spec/juno/transformer_marshal_uuencode_spec.rb +7 -0
- data/spec/juno/transformer_ox_spec.rb +6 -0
- data/spec/juno/transformer_yaml_spec.rb +6 -0
- data/spec/junospecs.rb +990 -320
- metadata +11 -2
@@ -10,21 +10,27 @@ describe_juno "simple_memcached_dalli" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_memcached_dalli" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memcached_native" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_memcached_native" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memcached" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_memcached" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memory" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_memory" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memory_with_compress" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_memory_with_compress" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memory_with_expires" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_memory_with_expires" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|
@@ -10,15 +10,19 @@ describe_juno "simple_memory_with_json_key_serializer" do
|
|
10
10
|
it_should_behave_like 'null_hashkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_hashkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_hashkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'store_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'store_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'store_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_stringkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_stringkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_stringkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
22
26
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
23
27
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
24
28
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
@@ -10,15 +10,19 @@ describe_juno "simple_memory_with_json_md5_key_serializer" do
|
|
10
10
|
it_should_behave_like 'null_hashkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_hashkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_hashkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'store_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'store_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'store_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_stringkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_stringkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_stringkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
22
26
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
23
27
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
24
28
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
@@ -10,21 +10,27 @@ describe_juno "simple_memory_with_prefix" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_memory_with_prefix" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_memory_with_quicklz_compress" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_memory_with_quicklz_compress" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_mongo" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_mongo" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_mongo_with_expires" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_mongo_with_expires" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|
@@ -10,12 +10,15 @@ describe_juno "simple_null" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'marshallable_key'
|
20
23
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
21
24
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
@@ -10,21 +10,27 @@ describe_juno "simple_pstore" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,4 +41,5 @@ describe_juno "simple_pstore" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
end
|
@@ -10,21 +10,27 @@ describe_juno "simple_pstore_with_expires" do
|
|
10
10
|
it_should_behave_like 'null_objectkey_objectvalue'
|
11
11
|
it_should_behave_like 'null_objectkey_stringvalue'
|
12
12
|
it_should_behave_like 'null_objectkey_hashvalue'
|
13
|
+
it_should_behave_like 'null_objectkey_booleanvalue'
|
13
14
|
it_should_behave_like 'null_stringkey_objectvalue'
|
14
15
|
it_should_behave_like 'null_stringkey_stringvalue'
|
15
16
|
it_should_behave_like 'null_stringkey_hashvalue'
|
17
|
+
it_should_behave_like 'null_stringkey_booleanvalue'
|
16
18
|
it_should_behave_like 'null_hashkey_objectvalue'
|
17
19
|
it_should_behave_like 'null_hashkey_stringvalue'
|
18
20
|
it_should_behave_like 'null_hashkey_hashvalue'
|
21
|
+
it_should_behave_like 'null_hashkey_booleanvalue'
|
19
22
|
it_should_behave_like 'store_objectkey_objectvalue'
|
20
23
|
it_should_behave_like 'store_objectkey_stringvalue'
|
21
24
|
it_should_behave_like 'store_objectkey_hashvalue'
|
25
|
+
it_should_behave_like 'store_objectkey_booleanvalue'
|
22
26
|
it_should_behave_like 'store_stringkey_objectvalue'
|
23
27
|
it_should_behave_like 'store_stringkey_stringvalue'
|
24
28
|
it_should_behave_like 'store_stringkey_hashvalue'
|
29
|
+
it_should_behave_like 'store_stringkey_booleanvalue'
|
25
30
|
it_should_behave_like 'store_hashkey_objectvalue'
|
26
31
|
it_should_behave_like 'store_hashkey_stringvalue'
|
27
32
|
it_should_behave_like 'store_hashkey_hashvalue'
|
33
|
+
it_should_behave_like 'store_hashkey_booleanvalue'
|
28
34
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
29
35
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
30
36
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
@@ -35,5 +41,6 @@ describe_juno "simple_pstore_with_expires" do
|
|
35
41
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
36
42
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
37
43
|
it_should_behave_like 'marshallable_key'
|
44
|
+
it_should_behave_like 'marshallable_value'
|
38
45
|
it_should_behave_like 'expires_stringkey_stringvalue'
|
39
46
|
end
|