moneta 0.7.19 → 0.7.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -1
- data/CHANGES +11 -0
- data/Gemfile +9 -0
- data/README.md +15 -2
- data/lib/moneta.rb +8 -9
- data/lib/moneta/adapters/cassandra.rb +11 -11
- data/lib/moneta/adapters/lmdb.rb +93 -0
- data/lib/moneta/adapters/lruhash.rb +16 -10
- data/lib/moneta/adapters/mongo.rb +2 -3
- data/lib/moneta/adapters/sequel.rb +12 -5
- data/lib/moneta/cache.rb +1 -2
- data/lib/moneta/proxy.rb +1 -0
- data/lib/moneta/synchronize.rb +2 -3
- data/lib/moneta/transformer/config.rb +5 -3
- data/lib/moneta/utils.rb +8 -0
- data/lib/moneta/version.rb +1 -1
- data/script/benchmarks +1 -0
- data/script/generate-specs +139 -92
- data/script/travis-logs +2 -1
- data/spec/helper.rb +2 -2
- data/spec/moneta/adapter_activerecord_exisiting_connection_spec.rb +5 -0
- data/spec/moneta/adapter_activerecord_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_spec.rb +5 -0
- data/spec/moneta/adapter_cassandra_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_client_spec.rb +5 -0
- data/spec/moneta/adapter_cookie_spec.rb +4 -0
- data/spec/moneta/adapter_couch_spec.rb +12 -11
- data/spec/moneta/adapter_datamapper_spec.rb +5 -0
- data/spec/moneta/adapter_daybreak_spec.rb +5 -0
- data/spec/moneta/adapter_dbm_spec.rb +5 -0
- data/spec/moneta/adapter_file_spec.rb +5 -0
- data/spec/moneta/adapter_fog_spec.rb +5 -0
- data/spec/moneta/adapter_gdbm_spec.rb +5 -0
- data/spec/moneta/adapter_hbase_spec.rb +5 -0
- data/spec/moneta/adapter_kyotocabinet_spec.rb +5 -0
- data/spec/moneta/adapter_leveldb_spec.rb +5 -0
- data/spec/moneta/adapter_lmdb_spec.rb +32 -0
- data/spec/moneta/adapter_lmdb_with_db_spec.rb +32 -0
- data/spec/moneta/adapter_localmemcache_spec.rb +5 -0
- data/spec/moneta/adapter_lruhash_spec.rb +4 -0
- data/spec/moneta/adapter_memcached_dalli_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_dalli_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_native_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_spec.rb +5 -0
- data/spec/moneta/adapter_memcached_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_memory_spec.rb +42 -0
- data/spec/moneta/adapter_mongo_spec.rb +12 -0
- data/spec/moneta/adapter_mongo_with_default_expires_spec.rb +12 -0
- data/spec/moneta/adapter_pstore_spec.rb +57 -0
- data/spec/moneta/adapter_redis_spec.rb +5 -0
- data/spec/moneta/adapter_redis_with_default_expires_spec.rb +5 -0
- data/spec/moneta/adapter_restclient_spec.rb +5 -0
- data/spec/moneta/adapter_riak_spec.rb +5 -0
- data/spec/moneta/adapter_sdbm_spec.rb +5 -0
- data/spec/moneta/adapter_sequel_spec.rb +5 -0
- data/spec/moneta/adapter_sqlite_spec.rb +5 -0
- data/spec/moneta/adapter_tdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_bdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyocabinet_hdb_spec.rb +5 -0
- data/spec/moneta/adapter_tokyotyrant_spec.rb +5 -0
- data/spec/moneta/adapter_yaml_spec.rb +1 -0
- data/spec/moneta/cache_file_memory_spec.rb +5 -0
- data/spec/moneta/cache_memory_null_spec.rb +4 -0
- data/spec/moneta/expires_file_spec.rb +5 -0
- data/spec/moneta/expires_memory_spec.rb +42 -0
- data/spec/moneta/expires_memory_with_default_expires_spec.rb +42 -0
- data/spec/moneta/lock_spec.rb +42 -0
- data/spec/moneta/mutex_spec.rb +1 -0
- data/spec/moneta/null_adapter_spec.rb +16 -0
- data/spec/moneta/optionmerger_spec.rb +1 -0
- data/spec/moneta/pool_spec.rb +5 -0
- data/spec/moneta/proxy_expires_memory_spec.rb +42 -0
- data/spec/moneta/proxy_redis_spec.rb +5 -0
- data/spec/moneta/semaphore_spec.rb +1 -0
- data/spec/moneta/shared_tcp_spec.rb +5 -0
- data/spec/moneta/shared_unix_spec.rb +5 -0
- data/spec/moneta/stack_file_memory_spec.rb +5 -0
- data/spec/moneta/stack_memory_file_spec.rb +5 -0
- data/spec/moneta/{simple_activerecord_spec.rb → standard_activerecord_spec.rb} +59 -2
- data/spec/moneta/{simple_activerecord_with_expires_spec.rb → standard_activerecord_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_cassandra_spec.rb → standard_cassandra_spec.rb} +59 -2
- data/spec/moneta/{simple_client_tcp_spec.rb → standard_client_tcp_spec.rb} +59 -2
- data/spec/moneta/standard_client_unix_spec.rb +254 -0
- data/spec/moneta/{simple_couch_spec.rb → standard_couch_spec.rb} +59 -2
- data/spec/moneta/{simple_couch_with_expires_spec.rb → standard_couch_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_spec.rb → standard_datamapper_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_expires_spec.rb → standard_datamapper_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_datamapper_with_repository_spec.rb → standard_datamapper_with_repository_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_spec.rb → standard_daybreak_spec.rb} +59 -2
- data/spec/moneta/{simple_daybreak_with_expires_spec.rb → standard_daybreak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_spec.rb → standard_dbm_spec.rb} +59 -2
- data/spec/moneta/{simple_dbm_with_expires_spec.rb → standard_dbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_file_spec.rb → standard_file_spec.rb} +59 -2
- data/spec/moneta/{simple_file_with_expires_spec.rb → standard_file_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_spec.rb → standard_fog_spec.rb} +59 -2
- data/spec/moneta/{simple_fog_with_expires_spec.rb → standard_fog_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_gdbm_spec.rb → standard_gdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_gdbm_with_expires_spec.rb → standard_gdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_spec.rb → standard_hashfile_spec.rb} +59 -2
- data/spec/moneta/{simple_hashfile_with_expires_spec.rb → standard_hashfile_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_spec.rb → standard_hbase_spec.rb} +59 -2
- data/spec/moneta/{simple_hbase_with_expires_spec.rb → standard_hbase_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_spec.rb → standard_kyotocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_kyotocabinet_with_expires_spec.rb → standard_kyotocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_spec.rb → standard_leveldb_spec.rb} +59 -2
- data/spec/moneta/{simple_leveldb_with_expires_spec.rb → standard_leveldb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_client_unix_spec.rb → standard_lmdb_spec.rb} +59 -5
- data/spec/moneta/standard_lmdb_with_expires_spec.rb +253 -0
- data/spec/moneta/{simple_localmemcache_spec.rb → standard_localmemcache_spec.rb} +59 -2
- data/spec/moneta/{simple_localmemcache_with_expires_spec.rb → standard_localmemcache_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_lruhash_spec.rb → standard_lruhash_spec.rb} +44 -2
- data/spec/moneta/{simple_lruhash_with_expires_spec.rb → standard_lruhash_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memcached_dalli_spec.rb → standard_memcached_dalli_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_native_spec.rb → standard_memcached_native_spec.rb} +59 -2
- data/spec/moneta/{simple_memcached_spec.rb → standard_memcached_spec.rb} +59 -2
- data/spec/moneta/{simple_memory_spec.rb → standard_memory_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_compress_spec.rb → standard_memory_with_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_expires_spec.rb → standard_memory_with_expires_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_json_key_serializer_spec.rb → standard_memory_with_json_key_serializer_spec.rb} +12 -2
- data/spec/moneta/{simple_memory_with_json_serializer_spec.rb → standard_memory_with_json_serializer_spec.rb} +4 -3
- data/spec/moneta/{simple_memory_with_json_value_serializer_spec.rb → standard_memory_with_json_value_serializer_spec.rb} +12 -3
- data/spec/moneta/{simple_memory_with_prefix_spec.rb → standard_memory_with_prefix_spec.rb} +44 -2
- data/spec/moneta/{simple_memory_with_snappy_compress_spec.rb → standard_memory_with_snappy_compress_spec.rb} +44 -2
- data/spec/moneta/{simple_mongo_spec.rb → standard_mongo_spec.rb} +59 -2
- data/spec/moneta/{simple_null_spec.rb → standard_null_spec.rb} +29 -2
- data/spec/moneta/{simple_pstore_spec.rb → standard_pstore_spec.rb} +59 -2
- data/spec/moneta/{simple_pstore_with_expires_spec.rb → standard_pstore_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_redis_spec.rb → standard_redis_spec.rb} +59 -2
- data/spec/moneta/{simple_restclient_spec.rb → standard_restclient_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_spec.rb → standard_riak_spec.rb} +59 -2
- data/spec/moneta/{simple_riak_with_expires_spec.rb → standard_riak_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_spec.rb → standard_sdbm_spec.rb} +59 -2
- data/spec/moneta/{simple_sdbm_with_expires_spec.rb → standard_sdbm_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_sequel_spec.rb → standard_sequel_spec.rb} +60 -3
- data/spec/moneta/{simple_sequel_with_expires_spec.rb → standard_sequel_with_expires_spec.rb} +60 -3
- data/spec/moneta/{simple_sqlite_spec.rb → standard_sqlite_spec.rb} +59 -2
- data/spec/moneta/{simple_sqlite_with_expires_spec.rb → standard_sqlite_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_spec.rb → standard_tdb_spec.rb} +59 -2
- data/spec/moneta/{simple_tdb_with_expires_spec.rb → standard_tdb_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_spec.rb → standard_tokyocabinet_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyocabinet_with_expires_spec.rb → standard_tokyocabinet_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_spec.rb → standard_tokyotyrant_spec.rb} +59 -2
- data/spec/moneta/{simple_tokyotyrant_with_expires_spec.rb → standard_tokyotyrant_with_expires_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_spec.rb → standard_yaml_spec.rb} +59 -2
- data/spec/moneta/{simple_yaml_with_expires_spec.rb → standard_yaml_with_expires_spec.rb} +59 -2
- data/spec/moneta/transformer_bencode_spec.rb +1 -0
- data/spec/moneta/transformer_bert_spec.rb +1 -0
- data/spec/moneta/transformer_bson_spec.rb +1 -0
- data/spec/moneta/transformer_bzip2_spec.rb +4 -0
- data/spec/moneta/transformer_json_spec.rb +2 -1
- data/spec/moneta/transformer_key_inspect_spec.rb +10 -0
- data/spec/moneta/transformer_key_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_key_to_s_spec.rb +10 -0
- data/spec/moneta/transformer_key_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_lz4_spec.rb +4 -0
- data/spec/moneta/transformer_lzma_spec.rb +4 -0
- data/spec/moneta/transformer_lzo_spec.rb +4 -0
- data/spec/moneta/transformer_marshal_base64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city128_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city32_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_city64_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_escape_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_hex_spec.rb +194 -0
- data/spec/moneta/transformer_marshal_hmac_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_md5_spread_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_prefix_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_qp_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_rmd160_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha1_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha256_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha384_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_sha512_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_truncate_spec.rb +42 -0
- data/spec/moneta/transformer_marshal_uuencode_spec.rb +42 -0
- data/spec/moneta/transformer_msgpack_spec.rb +1 -0
- data/spec/moneta/transformer_ox_spec.rb +42 -0
- data/spec/moneta/transformer_php_spec.rb +55 -0
- data/spec/moneta/transformer_quicklz_spec.rb +4 -0
- data/spec/moneta/transformer_snappy_spec.rb +4 -0
- data/spec/moneta/transformer_tnet_spec.rb +1 -0
- data/spec/moneta/transformer_value_marshal_spec.rb +42 -0
- data/spec/moneta/transformer_value_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_yaml_spec.rb +42 -0
- data/spec/moneta/transformer_zlib_spec.rb +4 -0
- data/spec/moneta/weak_create_spec.rb +5 -0
- data/spec/moneta/weak_increment_spec.rb +5 -0
- data/spec/monetaspecs.rb +26531 -16522
- metadata +145 -133
- data/script/kill-travis +0 -16
@@ -1,13 +1,14 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
4
|
-
describe_moneta "
|
5
|
+
describe_moneta "standard_lruhash" do
|
5
6
|
def features
|
6
7
|
[:create, :increment]
|
7
8
|
end
|
8
9
|
|
9
10
|
def new_store
|
10
|
-
Moneta.new(:LRUHash, :logger => {:file => File.join(make_tempdir, '
|
11
|
+
Moneta.new(:LRUHash, :logger => {:file => File.join(make_tempdir, 'standard_lruhash.log')})
|
11
12
|
end
|
12
13
|
|
13
14
|
def load_value(value)
|
@@ -23,6 +24,7 @@ describe_moneta "simple_lruhash" do
|
|
23
24
|
it_should_behave_like 'not_persist'
|
24
25
|
it_should_behave_like 'null_objectkey_objectvalue'
|
25
26
|
it_should_behave_like 'null_objectkey_stringvalue'
|
27
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
26
28
|
it_should_behave_like 'null_objectkey_hashvalue'
|
27
29
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
28
30
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -30,13 +32,23 @@ describe_moneta "simple_lruhash" do
|
|
30
32
|
it_should_behave_like 'null_objectkey_numbervalue'
|
31
33
|
it_should_behave_like 'null_stringkey_objectvalue'
|
32
34
|
it_should_behave_like 'null_stringkey_stringvalue'
|
35
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
33
36
|
it_should_behave_like 'null_stringkey_hashvalue'
|
34
37
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
35
38
|
it_should_behave_like 'null_stringkey_nilvalue'
|
36
39
|
it_should_behave_like 'null_stringkey_integervalue'
|
37
40
|
it_should_behave_like 'null_stringkey_numbervalue'
|
41
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
42
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
43
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
44
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
45
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
48
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
38
49
|
it_should_behave_like 'null_hashkey_objectvalue'
|
39
50
|
it_should_behave_like 'null_hashkey_stringvalue'
|
51
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
40
52
|
it_should_behave_like 'null_hashkey_hashvalue'
|
41
53
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
42
54
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -44,6 +56,7 @@ describe_moneta "simple_lruhash" do
|
|
44
56
|
it_should_behave_like 'null_hashkey_numbervalue'
|
45
57
|
it_should_behave_like 'null_booleankey_objectvalue'
|
46
58
|
it_should_behave_like 'null_booleankey_stringvalue'
|
59
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
47
60
|
it_should_behave_like 'null_booleankey_hashvalue'
|
48
61
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
49
62
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -51,6 +64,7 @@ describe_moneta "simple_lruhash" do
|
|
51
64
|
it_should_behave_like 'null_booleankey_numbervalue'
|
52
65
|
it_should_behave_like 'null_nilkey_objectvalue'
|
53
66
|
it_should_behave_like 'null_nilkey_stringvalue'
|
67
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
54
68
|
it_should_behave_like 'null_nilkey_hashvalue'
|
55
69
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
56
70
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -58,6 +72,7 @@ describe_moneta "simple_lruhash" do
|
|
58
72
|
it_should_behave_like 'null_nilkey_numbervalue'
|
59
73
|
it_should_behave_like 'null_integerkey_objectvalue'
|
60
74
|
it_should_behave_like 'null_integerkey_stringvalue'
|
75
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
61
76
|
it_should_behave_like 'null_integerkey_hashvalue'
|
62
77
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
63
78
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -65,6 +80,7 @@ describe_moneta "simple_lruhash" do
|
|
65
80
|
it_should_behave_like 'null_integerkey_numbervalue'
|
66
81
|
it_should_behave_like 'null_numberkey_objectvalue'
|
67
82
|
it_should_behave_like 'null_numberkey_stringvalue'
|
83
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
68
84
|
it_should_behave_like 'null_numberkey_hashvalue'
|
69
85
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
70
86
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -72,27 +88,39 @@ describe_moneta "simple_lruhash" do
|
|
72
88
|
it_should_behave_like 'null_numberkey_numbervalue'
|
73
89
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
74
90
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
91
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
75
92
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
76
93
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
77
94
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
95
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
78
96
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
97
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
98
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
99
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
100
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
79
101
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
80
102
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
103
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
81
104
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
82
105
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
83
106
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
107
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
84
108
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
85
109
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
86
110
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
111
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
87
112
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
88
113
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
89
114
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
115
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
90
116
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
91
117
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
92
118
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
119
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
93
120
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
94
121
|
it_should_behave_like 'store_objectkey_objectvalue'
|
95
122
|
it_should_behave_like 'store_objectkey_stringvalue'
|
123
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
96
124
|
it_should_behave_like 'store_objectkey_hashvalue'
|
97
125
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
98
126
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -100,13 +128,23 @@ describe_moneta "simple_lruhash" do
|
|
100
128
|
it_should_behave_like 'store_objectkey_numbervalue'
|
101
129
|
it_should_behave_like 'store_stringkey_objectvalue'
|
102
130
|
it_should_behave_like 'store_stringkey_stringvalue'
|
131
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
103
132
|
it_should_behave_like 'store_stringkey_hashvalue'
|
104
133
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
105
134
|
it_should_behave_like 'store_stringkey_nilvalue'
|
106
135
|
it_should_behave_like 'store_stringkey_integervalue'
|
107
136
|
it_should_behave_like 'store_stringkey_numbervalue'
|
137
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
138
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
139
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
140
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
141
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
142
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
143
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
144
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
108
145
|
it_should_behave_like 'store_hashkey_objectvalue'
|
109
146
|
it_should_behave_like 'store_hashkey_stringvalue'
|
147
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
110
148
|
it_should_behave_like 'store_hashkey_hashvalue'
|
111
149
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
112
150
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -114,6 +152,7 @@ describe_moneta "simple_lruhash" do
|
|
114
152
|
it_should_behave_like 'store_hashkey_numbervalue'
|
115
153
|
it_should_behave_like 'store_booleankey_objectvalue'
|
116
154
|
it_should_behave_like 'store_booleankey_stringvalue'
|
155
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
117
156
|
it_should_behave_like 'store_booleankey_hashvalue'
|
118
157
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
119
158
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -121,6 +160,7 @@ describe_moneta "simple_lruhash" do
|
|
121
160
|
it_should_behave_like 'store_booleankey_numbervalue'
|
122
161
|
it_should_behave_like 'store_nilkey_objectvalue'
|
123
162
|
it_should_behave_like 'store_nilkey_stringvalue'
|
163
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
124
164
|
it_should_behave_like 'store_nilkey_hashvalue'
|
125
165
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
126
166
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -128,6 +168,7 @@ describe_moneta "simple_lruhash" do
|
|
128
168
|
it_should_behave_like 'store_nilkey_numbervalue'
|
129
169
|
it_should_behave_like 'store_integerkey_objectvalue'
|
130
170
|
it_should_behave_like 'store_integerkey_stringvalue'
|
171
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
131
172
|
it_should_behave_like 'store_integerkey_hashvalue'
|
132
173
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
133
174
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -135,6 +176,7 @@ describe_moneta "simple_lruhash" do
|
|
135
176
|
it_should_behave_like 'store_integerkey_numbervalue'
|
136
177
|
it_should_behave_like 'store_numberkey_objectvalue'
|
137
178
|
it_should_behave_like 'store_numberkey_stringvalue'
|
179
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
138
180
|
it_should_behave_like 'store_numberkey_hashvalue'
|
139
181
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
140
182
|
it_should_behave_like 'store_numberkey_nilvalue'
|
data/spec/moneta/{simple_lruhash_with_expires_spec.rb → standard_lruhash_with_expires_spec.rb}
RENAMED
@@ -1,13 +1,14 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
4
|
-
describe_moneta "
|
5
|
+
describe_moneta "standard_lruhash_with_expires" do
|
5
6
|
def features
|
6
7
|
[:create, :expires, :increment]
|
7
8
|
end
|
8
9
|
|
9
10
|
def new_store
|
10
|
-
Moneta.new(:LRUHash, :expires => true, :logger => {:file => File.join(make_tempdir, '
|
11
|
+
Moneta.new(:LRUHash, :expires => true, :logger => {:file => File.join(make_tempdir, 'standard_lruhash_with_expires.log')})
|
11
12
|
end
|
12
13
|
|
13
14
|
def load_value(value)
|
@@ -25,6 +26,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
25
26
|
it_should_behave_like 'not_persist'
|
26
27
|
it_should_behave_like 'null_objectkey_objectvalue'
|
27
28
|
it_should_behave_like 'null_objectkey_stringvalue'
|
29
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
28
30
|
it_should_behave_like 'null_objectkey_hashvalue'
|
29
31
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
30
32
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -32,13 +34,23 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
32
34
|
it_should_behave_like 'null_objectkey_numbervalue'
|
33
35
|
it_should_behave_like 'null_stringkey_objectvalue'
|
34
36
|
it_should_behave_like 'null_stringkey_stringvalue'
|
37
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
35
38
|
it_should_behave_like 'null_stringkey_hashvalue'
|
36
39
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
37
40
|
it_should_behave_like 'null_stringkey_nilvalue'
|
38
41
|
it_should_behave_like 'null_stringkey_integervalue'
|
39
42
|
it_should_behave_like 'null_stringkey_numbervalue'
|
43
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
44
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
45
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
50
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
40
51
|
it_should_behave_like 'null_hashkey_objectvalue'
|
41
52
|
it_should_behave_like 'null_hashkey_stringvalue'
|
53
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
42
54
|
it_should_behave_like 'null_hashkey_hashvalue'
|
43
55
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
44
56
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -46,6 +58,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
46
58
|
it_should_behave_like 'null_hashkey_numbervalue'
|
47
59
|
it_should_behave_like 'null_booleankey_objectvalue'
|
48
60
|
it_should_behave_like 'null_booleankey_stringvalue'
|
61
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
49
62
|
it_should_behave_like 'null_booleankey_hashvalue'
|
50
63
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
51
64
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -53,6 +66,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
53
66
|
it_should_behave_like 'null_booleankey_numbervalue'
|
54
67
|
it_should_behave_like 'null_nilkey_objectvalue'
|
55
68
|
it_should_behave_like 'null_nilkey_stringvalue'
|
69
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
56
70
|
it_should_behave_like 'null_nilkey_hashvalue'
|
57
71
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
58
72
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -60,6 +74,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
60
74
|
it_should_behave_like 'null_nilkey_numbervalue'
|
61
75
|
it_should_behave_like 'null_integerkey_objectvalue'
|
62
76
|
it_should_behave_like 'null_integerkey_stringvalue'
|
77
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
63
78
|
it_should_behave_like 'null_integerkey_hashvalue'
|
64
79
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
65
80
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -67,6 +82,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
67
82
|
it_should_behave_like 'null_integerkey_numbervalue'
|
68
83
|
it_should_behave_like 'null_numberkey_objectvalue'
|
69
84
|
it_should_behave_like 'null_numberkey_stringvalue'
|
85
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
70
86
|
it_should_behave_like 'null_numberkey_hashvalue'
|
71
87
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
72
88
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -74,27 +90,39 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
74
90
|
it_should_behave_like 'null_numberkey_numbervalue'
|
75
91
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
76
92
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
93
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
77
94
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
78
95
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
79
96
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
97
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
80
98
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
99
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
100
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
101
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
102
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
81
103
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
82
104
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
105
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
83
106
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
84
107
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
85
108
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
109
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
86
110
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
87
111
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
88
112
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
113
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
89
114
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
90
115
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
91
116
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
117
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
92
118
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
93
119
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
94
120
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
121
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
95
122
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
96
123
|
it_should_behave_like 'store_objectkey_objectvalue'
|
97
124
|
it_should_behave_like 'store_objectkey_stringvalue'
|
125
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
98
126
|
it_should_behave_like 'store_objectkey_hashvalue'
|
99
127
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
100
128
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -102,13 +130,23 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
102
130
|
it_should_behave_like 'store_objectkey_numbervalue'
|
103
131
|
it_should_behave_like 'store_stringkey_objectvalue'
|
104
132
|
it_should_behave_like 'store_stringkey_stringvalue'
|
133
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
105
134
|
it_should_behave_like 'store_stringkey_hashvalue'
|
106
135
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
107
136
|
it_should_behave_like 'store_stringkey_nilvalue'
|
108
137
|
it_should_behave_like 'store_stringkey_integervalue'
|
109
138
|
it_should_behave_like 'store_stringkey_numbervalue'
|
139
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
140
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
141
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
142
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
143
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
144
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
145
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
146
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
110
147
|
it_should_behave_like 'store_hashkey_objectvalue'
|
111
148
|
it_should_behave_like 'store_hashkey_stringvalue'
|
149
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
112
150
|
it_should_behave_like 'store_hashkey_hashvalue'
|
113
151
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
114
152
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -116,6 +154,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
116
154
|
it_should_behave_like 'store_hashkey_numbervalue'
|
117
155
|
it_should_behave_like 'store_booleankey_objectvalue'
|
118
156
|
it_should_behave_like 'store_booleankey_stringvalue'
|
157
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
119
158
|
it_should_behave_like 'store_booleankey_hashvalue'
|
120
159
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
121
160
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -123,6 +162,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
123
162
|
it_should_behave_like 'store_booleankey_numbervalue'
|
124
163
|
it_should_behave_like 'store_nilkey_objectvalue'
|
125
164
|
it_should_behave_like 'store_nilkey_stringvalue'
|
165
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
126
166
|
it_should_behave_like 'store_nilkey_hashvalue'
|
127
167
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
128
168
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -130,6 +170,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
130
170
|
it_should_behave_like 'store_nilkey_numbervalue'
|
131
171
|
it_should_behave_like 'store_integerkey_objectvalue'
|
132
172
|
it_should_behave_like 'store_integerkey_stringvalue'
|
173
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
133
174
|
it_should_behave_like 'store_integerkey_hashvalue'
|
134
175
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
135
176
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -137,6 +178,7 @@ describe_moneta "simple_lruhash_with_expires" do
|
|
137
178
|
it_should_behave_like 'store_integerkey_numbervalue'
|
138
179
|
it_should_behave_like 'store_numberkey_objectvalue'
|
139
180
|
it_should_behave_like 'store_numberkey_stringvalue'
|
181
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
140
182
|
it_should_behave_like 'store_numberkey_hashvalue'
|
141
183
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
142
184
|
it_should_behave_like 'store_numberkey_nilvalue'
|
@@ -1,13 +1,14 @@
|
|
1
|
+
# coding: binary
|
1
2
|
# Generated by generate-specs
|
2
3
|
require 'helper'
|
3
4
|
|
4
|
-
describe_moneta "
|
5
|
+
describe_moneta "standard_memcached_dalli" do
|
5
6
|
def features
|
6
7
|
[:create, :expires, :increment]
|
7
8
|
end
|
8
9
|
|
9
10
|
def new_store
|
10
|
-
Moneta.new(:MemcachedDalli, :namespace => "simple_memcached_dalli", :logger => {:file => File.join(make_tempdir, '
|
11
|
+
Moneta.new(:MemcachedDalli, :namespace => "simple_memcached_dalli", :logger => {:file => File.join(make_tempdir, 'standard_memcached_dalli.log')})
|
11
12
|
end
|
12
13
|
|
13
14
|
def load_value(value)
|
@@ -27,6 +28,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
27
28
|
it_should_behave_like 'multiprocess'
|
28
29
|
it_should_behave_like 'null_objectkey_objectvalue'
|
29
30
|
it_should_behave_like 'null_objectkey_stringvalue'
|
31
|
+
it_should_behave_like 'null_objectkey_binaryvalue'
|
30
32
|
it_should_behave_like 'null_objectkey_hashvalue'
|
31
33
|
it_should_behave_like 'null_objectkey_booleanvalue'
|
32
34
|
it_should_behave_like 'null_objectkey_nilvalue'
|
@@ -34,13 +36,23 @@ describe_moneta "simple_memcached_dalli" do
|
|
34
36
|
it_should_behave_like 'null_objectkey_numbervalue'
|
35
37
|
it_should_behave_like 'null_stringkey_objectvalue'
|
36
38
|
it_should_behave_like 'null_stringkey_stringvalue'
|
39
|
+
it_should_behave_like 'null_stringkey_binaryvalue'
|
37
40
|
it_should_behave_like 'null_stringkey_hashvalue'
|
38
41
|
it_should_behave_like 'null_stringkey_booleanvalue'
|
39
42
|
it_should_behave_like 'null_stringkey_nilvalue'
|
40
43
|
it_should_behave_like 'null_stringkey_integervalue'
|
41
44
|
it_should_behave_like 'null_stringkey_numbervalue'
|
45
|
+
it_should_behave_like 'null_binarykey_objectvalue'
|
46
|
+
it_should_behave_like 'null_binarykey_stringvalue'
|
47
|
+
it_should_behave_like 'null_binarykey_binaryvalue'
|
48
|
+
it_should_behave_like 'null_binarykey_hashvalue'
|
49
|
+
it_should_behave_like 'null_binarykey_booleanvalue'
|
50
|
+
it_should_behave_like 'null_binarykey_nilvalue'
|
51
|
+
it_should_behave_like 'null_binarykey_integervalue'
|
52
|
+
it_should_behave_like 'null_binarykey_numbervalue'
|
42
53
|
it_should_behave_like 'null_hashkey_objectvalue'
|
43
54
|
it_should_behave_like 'null_hashkey_stringvalue'
|
55
|
+
it_should_behave_like 'null_hashkey_binaryvalue'
|
44
56
|
it_should_behave_like 'null_hashkey_hashvalue'
|
45
57
|
it_should_behave_like 'null_hashkey_booleanvalue'
|
46
58
|
it_should_behave_like 'null_hashkey_nilvalue'
|
@@ -48,6 +60,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
48
60
|
it_should_behave_like 'null_hashkey_numbervalue'
|
49
61
|
it_should_behave_like 'null_booleankey_objectvalue'
|
50
62
|
it_should_behave_like 'null_booleankey_stringvalue'
|
63
|
+
it_should_behave_like 'null_booleankey_binaryvalue'
|
51
64
|
it_should_behave_like 'null_booleankey_hashvalue'
|
52
65
|
it_should_behave_like 'null_booleankey_booleanvalue'
|
53
66
|
it_should_behave_like 'null_booleankey_nilvalue'
|
@@ -55,6 +68,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
55
68
|
it_should_behave_like 'null_booleankey_numbervalue'
|
56
69
|
it_should_behave_like 'null_nilkey_objectvalue'
|
57
70
|
it_should_behave_like 'null_nilkey_stringvalue'
|
71
|
+
it_should_behave_like 'null_nilkey_binaryvalue'
|
58
72
|
it_should_behave_like 'null_nilkey_hashvalue'
|
59
73
|
it_should_behave_like 'null_nilkey_booleanvalue'
|
60
74
|
it_should_behave_like 'null_nilkey_nilvalue'
|
@@ -62,6 +76,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
62
76
|
it_should_behave_like 'null_nilkey_numbervalue'
|
63
77
|
it_should_behave_like 'null_integerkey_objectvalue'
|
64
78
|
it_should_behave_like 'null_integerkey_stringvalue'
|
79
|
+
it_should_behave_like 'null_integerkey_binaryvalue'
|
65
80
|
it_should_behave_like 'null_integerkey_hashvalue'
|
66
81
|
it_should_behave_like 'null_integerkey_booleanvalue'
|
67
82
|
it_should_behave_like 'null_integerkey_nilvalue'
|
@@ -69,6 +84,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
69
84
|
it_should_behave_like 'null_integerkey_numbervalue'
|
70
85
|
it_should_behave_like 'null_numberkey_objectvalue'
|
71
86
|
it_should_behave_like 'null_numberkey_stringvalue'
|
87
|
+
it_should_behave_like 'null_numberkey_binaryvalue'
|
72
88
|
it_should_behave_like 'null_numberkey_hashvalue'
|
73
89
|
it_should_behave_like 'null_numberkey_booleanvalue'
|
74
90
|
it_should_behave_like 'null_numberkey_nilvalue'
|
@@ -76,6 +92,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
76
92
|
it_should_behave_like 'null_numberkey_numbervalue'
|
77
93
|
it_should_behave_like 'persist_objectkey_objectvalue'
|
78
94
|
it_should_behave_like 'persist_objectkey_stringvalue'
|
95
|
+
it_should_behave_like 'persist_objectkey_binaryvalue'
|
79
96
|
it_should_behave_like 'persist_objectkey_hashvalue'
|
80
97
|
it_should_behave_like 'persist_objectkey_booleanvalue'
|
81
98
|
it_should_behave_like 'persist_objectkey_nilvalue'
|
@@ -83,13 +100,23 @@ describe_moneta "simple_memcached_dalli" do
|
|
83
100
|
it_should_behave_like 'persist_objectkey_numbervalue'
|
84
101
|
it_should_behave_like 'persist_stringkey_objectvalue'
|
85
102
|
it_should_behave_like 'persist_stringkey_stringvalue'
|
103
|
+
it_should_behave_like 'persist_stringkey_binaryvalue'
|
86
104
|
it_should_behave_like 'persist_stringkey_hashvalue'
|
87
105
|
it_should_behave_like 'persist_stringkey_booleanvalue'
|
88
106
|
it_should_behave_like 'persist_stringkey_nilvalue'
|
89
107
|
it_should_behave_like 'persist_stringkey_integervalue'
|
90
108
|
it_should_behave_like 'persist_stringkey_numbervalue'
|
109
|
+
it_should_behave_like 'persist_binarykey_objectvalue'
|
110
|
+
it_should_behave_like 'persist_binarykey_stringvalue'
|
111
|
+
it_should_behave_like 'persist_binarykey_binaryvalue'
|
112
|
+
it_should_behave_like 'persist_binarykey_hashvalue'
|
113
|
+
it_should_behave_like 'persist_binarykey_booleanvalue'
|
114
|
+
it_should_behave_like 'persist_binarykey_nilvalue'
|
115
|
+
it_should_behave_like 'persist_binarykey_integervalue'
|
116
|
+
it_should_behave_like 'persist_binarykey_numbervalue'
|
91
117
|
it_should_behave_like 'persist_hashkey_objectvalue'
|
92
118
|
it_should_behave_like 'persist_hashkey_stringvalue'
|
119
|
+
it_should_behave_like 'persist_hashkey_binaryvalue'
|
93
120
|
it_should_behave_like 'persist_hashkey_hashvalue'
|
94
121
|
it_should_behave_like 'persist_hashkey_booleanvalue'
|
95
122
|
it_should_behave_like 'persist_hashkey_nilvalue'
|
@@ -97,6 +124,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
97
124
|
it_should_behave_like 'persist_hashkey_numbervalue'
|
98
125
|
it_should_behave_like 'persist_booleankey_objectvalue'
|
99
126
|
it_should_behave_like 'persist_booleankey_stringvalue'
|
127
|
+
it_should_behave_like 'persist_booleankey_binaryvalue'
|
100
128
|
it_should_behave_like 'persist_booleankey_hashvalue'
|
101
129
|
it_should_behave_like 'persist_booleankey_booleanvalue'
|
102
130
|
it_should_behave_like 'persist_booleankey_nilvalue'
|
@@ -104,6 +132,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
104
132
|
it_should_behave_like 'persist_booleankey_numbervalue'
|
105
133
|
it_should_behave_like 'persist_nilkey_objectvalue'
|
106
134
|
it_should_behave_like 'persist_nilkey_stringvalue'
|
135
|
+
it_should_behave_like 'persist_nilkey_binaryvalue'
|
107
136
|
it_should_behave_like 'persist_nilkey_hashvalue'
|
108
137
|
it_should_behave_like 'persist_nilkey_booleanvalue'
|
109
138
|
it_should_behave_like 'persist_nilkey_nilvalue'
|
@@ -111,6 +140,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
111
140
|
it_should_behave_like 'persist_nilkey_numbervalue'
|
112
141
|
it_should_behave_like 'persist_integerkey_objectvalue'
|
113
142
|
it_should_behave_like 'persist_integerkey_stringvalue'
|
143
|
+
it_should_behave_like 'persist_integerkey_binaryvalue'
|
114
144
|
it_should_behave_like 'persist_integerkey_hashvalue'
|
115
145
|
it_should_behave_like 'persist_integerkey_booleanvalue'
|
116
146
|
it_should_behave_like 'persist_integerkey_nilvalue'
|
@@ -118,6 +148,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
118
148
|
it_should_behave_like 'persist_integerkey_numbervalue'
|
119
149
|
it_should_behave_like 'persist_numberkey_objectvalue'
|
120
150
|
it_should_behave_like 'persist_numberkey_stringvalue'
|
151
|
+
it_should_behave_like 'persist_numberkey_binaryvalue'
|
121
152
|
it_should_behave_like 'persist_numberkey_hashvalue'
|
122
153
|
it_should_behave_like 'persist_numberkey_booleanvalue'
|
123
154
|
it_should_behave_like 'persist_numberkey_nilvalue'
|
@@ -125,27 +156,39 @@ describe_moneta "simple_memcached_dalli" do
|
|
125
156
|
it_should_behave_like 'persist_numberkey_numbervalue'
|
126
157
|
it_should_behave_like 'returndifferent_objectkey_objectvalue'
|
127
158
|
it_should_behave_like 'returndifferent_objectkey_stringvalue'
|
159
|
+
it_should_behave_like 'returndifferent_objectkey_binaryvalue'
|
128
160
|
it_should_behave_like 'returndifferent_objectkey_hashvalue'
|
129
161
|
it_should_behave_like 'returndifferent_stringkey_objectvalue'
|
130
162
|
it_should_behave_like 'returndifferent_stringkey_stringvalue'
|
163
|
+
it_should_behave_like 'returndifferent_stringkey_binaryvalue'
|
131
164
|
it_should_behave_like 'returndifferent_stringkey_hashvalue'
|
165
|
+
it_should_behave_like 'returndifferent_binarykey_objectvalue'
|
166
|
+
it_should_behave_like 'returndifferent_binarykey_stringvalue'
|
167
|
+
it_should_behave_like 'returndifferent_binarykey_binaryvalue'
|
168
|
+
it_should_behave_like 'returndifferent_binarykey_hashvalue'
|
132
169
|
it_should_behave_like 'returndifferent_hashkey_objectvalue'
|
133
170
|
it_should_behave_like 'returndifferent_hashkey_stringvalue'
|
171
|
+
it_should_behave_like 'returndifferent_hashkey_binaryvalue'
|
134
172
|
it_should_behave_like 'returndifferent_hashkey_hashvalue'
|
135
173
|
it_should_behave_like 'returndifferent_booleankey_objectvalue'
|
136
174
|
it_should_behave_like 'returndifferent_booleankey_stringvalue'
|
175
|
+
it_should_behave_like 'returndifferent_booleankey_binaryvalue'
|
137
176
|
it_should_behave_like 'returndifferent_booleankey_hashvalue'
|
138
177
|
it_should_behave_like 'returndifferent_nilkey_objectvalue'
|
139
178
|
it_should_behave_like 'returndifferent_nilkey_stringvalue'
|
179
|
+
it_should_behave_like 'returndifferent_nilkey_binaryvalue'
|
140
180
|
it_should_behave_like 'returndifferent_nilkey_hashvalue'
|
141
181
|
it_should_behave_like 'returndifferent_integerkey_objectvalue'
|
142
182
|
it_should_behave_like 'returndifferent_integerkey_stringvalue'
|
183
|
+
it_should_behave_like 'returndifferent_integerkey_binaryvalue'
|
143
184
|
it_should_behave_like 'returndifferent_integerkey_hashvalue'
|
144
185
|
it_should_behave_like 'returndifferent_numberkey_objectvalue'
|
145
186
|
it_should_behave_like 'returndifferent_numberkey_stringvalue'
|
187
|
+
it_should_behave_like 'returndifferent_numberkey_binaryvalue'
|
146
188
|
it_should_behave_like 'returndifferent_numberkey_hashvalue'
|
147
189
|
it_should_behave_like 'store_objectkey_objectvalue'
|
148
190
|
it_should_behave_like 'store_objectkey_stringvalue'
|
191
|
+
it_should_behave_like 'store_objectkey_binaryvalue'
|
149
192
|
it_should_behave_like 'store_objectkey_hashvalue'
|
150
193
|
it_should_behave_like 'store_objectkey_booleanvalue'
|
151
194
|
it_should_behave_like 'store_objectkey_nilvalue'
|
@@ -153,13 +196,23 @@ describe_moneta "simple_memcached_dalli" do
|
|
153
196
|
it_should_behave_like 'store_objectkey_numbervalue'
|
154
197
|
it_should_behave_like 'store_stringkey_objectvalue'
|
155
198
|
it_should_behave_like 'store_stringkey_stringvalue'
|
199
|
+
it_should_behave_like 'store_stringkey_binaryvalue'
|
156
200
|
it_should_behave_like 'store_stringkey_hashvalue'
|
157
201
|
it_should_behave_like 'store_stringkey_booleanvalue'
|
158
202
|
it_should_behave_like 'store_stringkey_nilvalue'
|
159
203
|
it_should_behave_like 'store_stringkey_integervalue'
|
160
204
|
it_should_behave_like 'store_stringkey_numbervalue'
|
205
|
+
it_should_behave_like 'store_binarykey_objectvalue'
|
206
|
+
it_should_behave_like 'store_binarykey_stringvalue'
|
207
|
+
it_should_behave_like 'store_binarykey_binaryvalue'
|
208
|
+
it_should_behave_like 'store_binarykey_hashvalue'
|
209
|
+
it_should_behave_like 'store_binarykey_booleanvalue'
|
210
|
+
it_should_behave_like 'store_binarykey_nilvalue'
|
211
|
+
it_should_behave_like 'store_binarykey_integervalue'
|
212
|
+
it_should_behave_like 'store_binarykey_numbervalue'
|
161
213
|
it_should_behave_like 'store_hashkey_objectvalue'
|
162
214
|
it_should_behave_like 'store_hashkey_stringvalue'
|
215
|
+
it_should_behave_like 'store_hashkey_binaryvalue'
|
163
216
|
it_should_behave_like 'store_hashkey_hashvalue'
|
164
217
|
it_should_behave_like 'store_hashkey_booleanvalue'
|
165
218
|
it_should_behave_like 'store_hashkey_nilvalue'
|
@@ -167,6 +220,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
167
220
|
it_should_behave_like 'store_hashkey_numbervalue'
|
168
221
|
it_should_behave_like 'store_booleankey_objectvalue'
|
169
222
|
it_should_behave_like 'store_booleankey_stringvalue'
|
223
|
+
it_should_behave_like 'store_booleankey_binaryvalue'
|
170
224
|
it_should_behave_like 'store_booleankey_hashvalue'
|
171
225
|
it_should_behave_like 'store_booleankey_booleanvalue'
|
172
226
|
it_should_behave_like 'store_booleankey_nilvalue'
|
@@ -174,6 +228,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
174
228
|
it_should_behave_like 'store_booleankey_numbervalue'
|
175
229
|
it_should_behave_like 'store_nilkey_objectvalue'
|
176
230
|
it_should_behave_like 'store_nilkey_stringvalue'
|
231
|
+
it_should_behave_like 'store_nilkey_binaryvalue'
|
177
232
|
it_should_behave_like 'store_nilkey_hashvalue'
|
178
233
|
it_should_behave_like 'store_nilkey_booleanvalue'
|
179
234
|
it_should_behave_like 'store_nilkey_nilvalue'
|
@@ -181,6 +236,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
181
236
|
it_should_behave_like 'store_nilkey_numbervalue'
|
182
237
|
it_should_behave_like 'store_integerkey_objectvalue'
|
183
238
|
it_should_behave_like 'store_integerkey_stringvalue'
|
239
|
+
it_should_behave_like 'store_integerkey_binaryvalue'
|
184
240
|
it_should_behave_like 'store_integerkey_hashvalue'
|
185
241
|
it_should_behave_like 'store_integerkey_booleanvalue'
|
186
242
|
it_should_behave_like 'store_integerkey_nilvalue'
|
@@ -188,6 +244,7 @@ describe_moneta "simple_memcached_dalli" do
|
|
188
244
|
it_should_behave_like 'store_integerkey_numbervalue'
|
189
245
|
it_should_behave_like 'store_numberkey_objectvalue'
|
190
246
|
it_should_behave_like 'store_numberkey_stringvalue'
|
247
|
+
it_should_behave_like 'store_numberkey_binaryvalue'
|
191
248
|
it_should_behave_like 'store_numberkey_hashvalue'
|
192
249
|
it_should_behave_like 'store_numberkey_booleanvalue'
|
193
250
|
it_should_behave_like 'store_numberkey_nilvalue'
|